colour.h File Reference

Classes

class  wxColour
 A colour is an object representing a combination of Red, Green, and Blue (RGB) intensity values, and is used to determine drawing colours. More...

Defines



#define wxC2S_NAME   1
 Flags for wxColour -> wxString conversion (see wxColour::GetAsString).
#define wxC2S_CSS_SYNTAX   2
 Return colour in "rgb(r,g,b)" syntax.
#define wxC2S_HTML_SYNTAX   4
 Return colour in "#rrggbb" syntax.

Functions

bool wxFromString (const wxString &string, wxColour *colour)
 Converts string to a wxColour best represented by the given string.
wxString wxToString (const wxColour &colour)
 Converts the given wxColour into a string.

Variables

Predefined colors.



wxColour wxNullColour
wxColourwxBLACK
wxColourwxBLUE
wxColourwxCYAN
wxColourwxGREEN
wxColourwxYELLOW
wxColourwxLIGHT_GREY
wxColourwxRED
wxColourwxWHITE

Define Documentation

#define wxC2S_CSS_SYNTAX   2

Return colour in "rgb(r,g,b)" syntax.

#define wxC2S_HTML_SYNTAX   4

Return colour in "#rrggbb" syntax.

#define wxC2S_NAME   1

Flags for wxColour -> wxString conversion (see wxColour::GetAsString).

Return colour name, when possible.


Variable Documentation

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines



wxWidgets logo

[ top ]