ControlContext :: colorSelection - Define color by means of color dialog
The function provides a color by help of a standard color dialog. The color passed in rColor will be displayed in the color dialog. The function returns an error ( false ) when the dialog has been canceled and color will not be changed.
In case of success, the function returns true and the new color is returned in rColor .
Return value: State of function return ( bool )
A State true indicates, that the function was executed successfully. Otherwise state is false .
Implementation details
bool
ControlContext  :: colorSelection ( odabagui::Color &rColor )
- rColor
- 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).