Lines Matching defs:col
29 RGBColor* col = (RGBColor*) color ;
30 col->red = (red << 8) + red;
31 col->blue = (blue << 8) + blue;
32 col->green = (green << 8) + green;
45 wxColour::wxColour (const wxColour& col)
48 m_red = col.m_red;
49 m_green = col.m_green;
50 m_blue = col.m_blue;
51 m_isInit = col.m_isInit;
53 memcpy( &m_pixel , &col.m_pixel , 6 ) ;
56 wxColour::wxColour (const wxColour* col)
58 m_red = col->m_red;
59 m_green = col->m_green;
60 m_blue = col->m_blue;
61 m_isInit = col->m_isInit;
63 memcpy( &m_pixel , &col->m_pixel , 6 ) ;
66 wxColour& wxColour::operator =(const wxColour& col)
68 m_red = col.m_red;
69 m_green = col.m_green;
70 m_blue = col.m_blue;
71 m_isInit = col.m_isInit;
73 memcpy( &m_pixel , &col.m_pixel , 6 ) ;
94 RGBColor* col = (RGBColor*) color ;
96 m_red = col->red>>8 ;
97 m_blue = col->blue>>8 ;
98 m_green = col->green>>8 ;