wxAccordion
Public Types | Public Member Functions | Static Public Member Functions | List of all members
wxColour Class Referenceabstract
+ Inheritance diagram for wxColour:

Public Types

typedef unsigned char ChannelType
 

Public Member Functions

void Set (ChannelType red, ChannelType green, ChannelType blue, ChannelType alpha=wxALPHA_OPAQUE)
 
bool Set (const wxString &str)
 
void Set (unsigned long colRGB)
 
virtual ChannelType Red () const =0
 
virtual ChannelType Green () const =0
 
virtual ChannelType Blue () const =0
 
virtual ChannelType Alpha () const
 
virtual wxString GetAsString (long flags=wxC2S_NAME|wxC2S_CSS_SYNTAX) const
 
void SetRGB (wxUint32 colRGB)
 
void SetRGBA (wxUint32 colRGBA)
 
wxUint32 GetRGB () const
 
wxUint32 GetRGBA () const
 
wxColour ChangeLightness (int ialpha) const
 
wxColourMakeDisabled (unsigned char brightness=255)
 

Static Public Member Functions

static void MakeMono (unsigned char *r, unsigned char *g, unsigned char *b, bool on)
 
static void MakeDisabled (unsigned char *r, unsigned char *g, unsigned char *b, unsigned char brightness=255)
 
static void MakeGrey (unsigned char *r, unsigned char *g, unsigned char *b)
 
static void MakeGrey (unsigned char *r, unsigned char *g, unsigned char *b, double weight_r, double weight_g, double weight_b)
 
static unsigned char AlphaBlend (unsigned char fg, unsigned char bg, double alpha)
 
static void ChangeLightness (unsigned char *r, unsigned char *g, unsigned char *b, int ialpha)