X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..93bfe54527a7a64ea87cdc03be3015f7963fd227:/include/wx/x11/colour.h?ds=inline diff --git a/include/wx/x11/colour.h b/include/wx/x11/colour.h index 17cc3d1345..e5735c3b2e 100644 --- a/include/wx/x11/colour.h +++ b/include/wx/x11/colour.h @@ -1,12 +1,12 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: colour.h +// Name: wx/x11/colour.h // Purpose: wxColour class // Author: Julian Smart, Robert Roebling // Modified by: // Created: 17/09/98 // RCS-ID: $Id$ // Copyright: (c) Julian Smart, Robert Roebling -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_COLOUR_H_ @@ -36,10 +36,16 @@ class WXDLLIMPEXP_CORE wxColour; class WXDLLEXPORT wxColour: public wxGDIObject { public: + // constructors + // ------------ + + // default wxColour() { } - // Construct from RGB + // from separate RGB wxColour( unsigned char red, unsigned char green, unsigned char blue ); + + // from packed RGB wxColour( unsigned long colRGB ) { Set(colRGB); } // Implicit conversion from the colour name @@ -97,4 +103,3 @@ private: #endif // _WX_COLOUR_H_ -