-
Nov 27th, 2022, 07:54 AM
#1
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:
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.
-
Apr 29th, 2023, 08:28 AM
#2
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
-
Apr 29th, 2023, 01:42 PM
#3
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
-
Apr 29th, 2023, 10:55 PM
#4
Re: VB6 RC6+RC6Widgets (Dark-Themed WidgetDemo for Game-Scenarios)
Originally Posted by jpbro
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|