Theme configuration options

Kevin Koltzau kevin at plop.org
Mon Oct 6 19:45:45 CDT 2003


I've come to a point in the development of uxtheme where configuration options 
will be needed, and am looking for feedback on how this should be done.
I currently forsee the following options needed:

EnableTheme ="Y|N"
ThemeMethod = "XP|GTK|KDE|..." GTK, KDE, etc are conceivable, but wont be in 
initial implementation, will default to XP
ThemeName="name of theme" for example "Luna" if ThemeMethod=="XP" and the 
default XP theme is installed

These should probably go into the [Tweak.Layout] section (possibly only 
enabled with a "WineLook"="WinXP") and of course needs the ability for 
application specific settings

The theme API also has a function EnableTheming(BOOL) which under XP turns 
theming on/off for all applications immediately (all applications are 
redrawn), and it is persistant across reboots. I havent checked up on if I 
can update the EnableTheme config option from code, or if I would need to 
possibly store this value elsewhere in the registry

Another possible option would simply be to only apply that call to the current 
running app, and not make it persistant..but that would deviate from how 
windows handles it

Thanks
Kevin




More information about the wine-devel mailing list