company logo

Font :: textColor - Text color property

The property contains the color for displaying the text glyphs

Return value:  Color ( odabagui::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).

Implementation overview

Implementation details

  1. Get text color
    odabagui::Color Font  :: textColor (  )

    The function returns the text color currently set for the font.

  2. to list
  3. Change text color
    odabagui::Color Font  :: textColor ( odabagui::Color &cColor )

    The function changes the text color value for the 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).

  4. to list