Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Look and Chameleon Technology » Help for naming a package bringing some styles to Button class
Re: Help for naming a package bringing some styles to Button class [message #39036 is a reply to message #38734] Sat, 09 February 2013 08:46 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Button::Style::textcolor[4]

There are 4 values, corresponding to

enum {
CTRL_NORMAL, CTRL_HOT, CTRL_PRESSED, CTRL_DISABLED,
CTRL_CHECKED, CTRL_HOTCHECKED
};

(regular button does not have checked/hotcheked states).

So the one you are looking for is Button::Style::textcolor[CTRL_DISABLED].

Note that this pattern is quite standard for all of chameleon.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ChMakeSkin
Next Topic: [solved] Flags loose colors in Windows dark theme
Goto Forum:
  


Current Time: Tue May 07 16:32:48 CEST 2024

Total time taken to generate the page: 0.02732 seconds