]>
git.saurik.com Git - wxWidgets.git/blob - src/mgl/colour.cpp
   1 ///////////////////////////////////////////////////////////////////////////// 
   2 // Name:        src/mgl/colour.cpp 
   3 // Purpose:     wxColour class 
   4 // Author:      Julian Smart 
   8 // Copyright:   (c) Julian Smart 
   9 // Licence:     wxWindows licence 
  10 ///////////////////////////////////////////////////////////////////////////// 
  12 // For compilers that support precompilation, includes "wx.h". 
  13 #include "wx/wxprec.h" 
  19 #include "wx/colour.h" 
  22     #include "wx/gdicmn.h" 
  25 IMPLEMENT_DYNAMIC_CLASS(wxColour
, wxObject
) 
  42 wxColour::wxColour(const wxColour
& col
) 
  47 wxColour
& wxColour::operator =(const wxColour
& col
) 
  50     m_green 
= col
.m_green
; 
  52     m_isInit 
= col
.m_isInit
; 
  60 void wxColour::InitWith(unsigned char r
, unsigned char g
, unsigned char b
)