]>
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
7 // Copyright: (c) Julian Smart
8 // Licence: wxWindows licence
9 /////////////////////////////////////////////////////////////////////////////
11 // For compilers that support precompilation, includes "wx.h".
12 #include "wx/wxprec.h"
18 #include "wx/colour.h"
21 #include "wx/gdicmn.h"
31 m_alpha
= wxALPHA_OPAQUE
;
35 void wxColour::InitRGBA(unsigned char r
,
47 wxColour
& wxColour::operator=(const wxColour
& col
)
50 m_green
= col
.m_green
;
52 m_alpha
= col
.m_alpha
;
53 m_isInit
= col
.m_isInit
;