Jump to content

Recommended Posts

Posted

Hello! Just letting everyone know that I'm still hard at work on this. Decided to make some major changes to the structure once again. Now I can continue to lay out the GUI.

 

Now it is based on an event queue. Any time an action is performed or information is requested, the object pushes it to a queue which announces to other objects that have subscribed to the queue. I'm hoping this will allow me to implement an undo/redo!

  • 2 weeks later...
Posted

Just posting an update of what I have done. Just pretty much brought it back to where it was before I started the rewrites.

 

Guiscape.zip

Posted (edited)
On 11/5/2025 at 7:01 PM, argumentum said:

image.thumb.png.370a7d7713589a14fddab0b00fe2b640.png

For some reason the parent resized the work area.

How did you color the tabs? I've begun fleshing out custom theme options.

Edited by jaberwacky
Posted
1 hour ago, jaberwacky said:

How did you color the tabs? I've begun fleshing out custom theme options.

I'd like to say is my awesomeness but is just the theme I use. Makes everything dark mode. Here is a sample of 2 of them :

BIB3                                                                Buuf                                                              Regular
   image.png    image.png    image.png

And that is the way it should be. You choose a theme and that's the theme for the OS, but M$ don't do it and I search the net for ways to get it done.

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Posted
6 minutes ago, jaberwacky said:

So, I guess it isn't worth the time to make it themeable?

In my opinion, making it themeable would still be best. That way it would still work with custom themes like @argumentum uses, but would also be ideal for users who use default Windows theme (Aero). The vast majority of users use the default Windows theme because Microsoft makes it more difficult for users to apply custom themes.

When using the default Windows theme, you can have Guiscape detect whether Windows is set to dark or light theme and you can have Guiscape use dark or light depending on what the user has set on their machine.

I am actually a big fan of custom Windows themes (msstyles), but I also recognize that the majority of users just use default Windows theme and therefore I make any of my GUI apps adapt to default Windows settings.

Posted
30 minutes ago, jaberwacky said:

So, I guess it isn't worth the time to make it themeable? 

...to be or not to be... ...to theme or not to theme.., that is a good question. I believe that in your project, theme-ing each control will not be possible. Don't worry about themes but do use proper windows coloring if you need to color something:

#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#include <WinAPISysWin.au3>
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 400, 100)
GUICtrlCreateLabel("Label just as is, will be seen", 10, 10, 380, 17, -1, $WS_EX_STATICEDGE)
GUICtrlCreateLabel("Label with COLOR_HIGHLIGHT will be seen as it should", 10, 40, 380, 17, -1, $WS_EX_STATICEDGE)
GUICtrlSetColor(-1, _WinAPI_SwitchColor(_WinAPI_GetSysColor($COLOR_HIGHLIGHT)))
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
    Switch GUIGetMsg()
        Case $GUI_EVENT_CLOSE
            GUIDelete()
            Exit
    EndSwitch
WEnd

image.png.483a6210e1b2264de20aaa9fa710957b.png    image.png.3ca2ddbabf81a6cace79074679b7dc70.png

Therefore, if we respect default coloring, everything should be visible by default. Then give users the ability to use custom colors. But by default, default theme colors should be sufficient.

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...