]>
git.saurik.com Git - wxWidgets.git/blob - src/generic/colour.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/generic/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
)
34 m_alpha
= wxALPHA_OPAQUE
;
38 wxColour
& wxColour::operator=(const wxColour
& col
)
41 m_green
= col
.m_green
;
43 m_alpha
= col
.m_alpha
;
44 m_isInit
= col
.m_isInit
;