Layout :: labelColor - Background label color
Background label color of the text glyphs (usually refers to the background of the header). The color returned is still owned by the layout. Thus, changing color properties implicitly changes the layout, too.
When no label color has been set explicitly, the background color for the control is used.
Color is a resource object type, which can be used for defining the color for different resource objects. Color is passed as red/green/blue component with values between 0 and 255 for each color component (16 million colors).
Implementation overview
- Get label background color
Layout :: labelColor (  ) - Change label backgroung color
Layout :: labelColor ( cColor )
Implementation details
-
Get label background color
odabagui::Color Layout  :: labelColor (  )
The function returns the background color currently set for the label font.
to list
-
Change label backgroung color
odabagui::Color Layout  :: labelColor ( odabagui::Color &cColor )
The function changes the background color value for the label font to the value passed in cColor . In order to apply the changes to the related control, setLayout() has to be called.
- cColor
- Color
Color is a resource object type, which can be used for defining the color for different resource objects. Color is passed as red/green/blue component with values between 0 and 255 for each color component (16 million colors).
to list
- cColor
- Color