]>
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"
32 m_alpha
= wxALPHA_OPAQUE
;
36 void wxColour::InitRGBA(unsigned char r
,
48 wxColour
& wxColour::operator=(const wxColour
& col
)
51 m_green
= col
.m_green
;
53 m_alpha
= col
.m_alpha
;
54 m_isInit
= col
.m_isInit
;