/////////////////////////////////////////////////////////////////////////////
-// Name: colour.h
+// Name: wx/cocoa/colour.h
// Purpose: wxColour class
// Author: David Elliott
// Modified by:
class WXDLLEXPORT wxColour: public wxObject
{
public:
+ // constructors
+ // ------------
+
+ // default
wxColour() { Init(); }
- // from RGB
+ // from separate RGB
wxColour( unsigned char red, unsigned char green, unsigned char blue )
: m_cocoaNSColor(NULL)
{ Set(red,green,blue); }
+
+ // from packed RGB
wxColour( unsigned long colRGB )
: m_cocoaNSColor(NULL)
{ Set(colRGB); }