Results 1 to 4 of 4

Thread: VB6 RC6+RC6Widgets (Dark-Themed WidgetDemo for Game-Scenarios)

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Jun 2013
    Posts
    7,219

    VB6 RC6+RC6Widgets (Dark-Themed WidgetDemo for Game-Scenarios)

    A dark-themed Widget-Demo, as one would use it in "graphics-heavy" Game-scenarios
    (with full support for KeyBoard-Navigation, as "Tabbing", "Focus-Visualization", ShortCut-Keys etc.)

    Beside a normal VB-Form, there is only one additional Class contained:
    - cThemeDark (which overrides the "white-ish" default-Win7-Theme, making it look more "flat" and Win11-like)

    To address "Listing-Scenarios" - an instance of the virtual cwVList-Widget is included, with:
    - support for "rendering of multiple SubItems in a single Item-Cell"
    - hover-support on each of these "Sub-Item-Areas"
    - and also "Click-detection" for these Sub-Item-Areas

    Here is a ScreenShot of this:
    Name:  WidgetsDarkThemed.jpg
Views: 599
Size:  39.0 KB
    The "yellowish" colored List-Cell is the currently selected Item(-Row, or -Cell).
    The "red-ish" area below it shows the currently Mouse-Hovered Item -
    and the cyan-colored rectangle within it, shows the currently hovered SubItem in that Cell...
    (there's 3 of these SubAreas per Item-Cell, each filled from an associated "JSON-Item" which holds the Data externally).

    Well, a few more explanations are contained as code-comments...
    Please don't beat me up for the "Color-choices" of the accents like "Focus-Color", "Selection-Color", "Hover-Color" -
    they are all adjustable in the cThemeDark-Class - I'm sure a graphics-guy can come up with some better adjustments than me )

    Here's the Code-Zip:
    WidgetsDarkThemed.zip

    Have fun,

    Olaf
    Last edited by Schmidt; Nov 27th, 2022 at 08:32 AM.

  2. #2
    PowerPoster
    Join Date
    Jan 2020
    Posts
    3,746

    Re: VB6 RC6+RC6Widgets (Dark-Themed WidgetDemo for Game-Scenarios)

    It's very good stuff. I just want to replace all the standard controls in VB6 with RC6+RC6Widgets(
    As long as the use of their own design of the control for his implementation.
    Such as text box background color, text size. Font settings

  3. #3
    PowerPoster
    Join Date
    Aug 2010
    Location
    Canada
    Posts
    2,412

    Re: VB6 RC6+RC6Widgets (Dark-Themed WidgetDemo for Game-Scenarios)

    Olaf wrote a VB6 .FRM -> Cairo Form/Widget parser quite a few years back (not sure how well it's been exercised, but it should be useful as a starting point at least):

    https://www.vbforums.com/showthread....=1#post5041053

  4. #4
    PowerPoster
    Join Date
    Jan 2020
    Posts
    3,746

    Re: VB6 RC6+RC6Widgets (Dark-Themed WidgetDemo for Game-Scenarios)

    Quote Originally Posted by jpbro View Post
    Olaf wrote a VB6 .FRM -> Cairo Form/Widget parser quite a few years back (not sure how well it's been exercised, but it should be useful as a starting point at least):

    https://www.vbforums.com/showthread....=1#post5041053
    That's what it means. If we replace all VB6 controls and make them transparent, setting a background image would be even better

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width