git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54055
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
CGColorRef GetCGColor() const { return m_cgColour; };
CGColorRef CreateCGColor() const { return wxCFRetain( (CGColorRef)m_cgColour ); };
CGColorRef GetCGColor() const { return m_cgColour; };
CGColorRef CreateCGColor() const { return wxCFRetain( (CGColorRef)m_cgColour ); };
void GetRGBColor( RGBColor *col ) const;
void GetRGBColor( RGBColor *col ) const;
// Mac-specific ctor and assignment operator from the native colour
// assumes ownership of CGColorRef
wxColour( CGColorRef col );
// Mac-specific ctor and assignment operator from the native colour
// assumes ownership of CGColorRef
wxColour( CGColorRef col );
wxColour(const RGBColor& col);
wxColour& operator=(const RGBColor& col);
wxColour(const RGBColor& col);
wxColour& operator=(const RGBColor& col);
wxColour& operator=(CGColorRef col);
wxColour& operator=(const wxColour& col);
protected :
virtual void
InitRGBA(ChannelType r, ChannelType g, ChannelType b, ChannelType a);
wxColour& operator=(CGColorRef col);
wxColour& operator=(const wxColour& col);
protected :
virtual void
InitRGBA(ChannelType r, ChannelType g, ChannelType b, ChannelType a);
void InitRGBColor( const RGBColor& col );
void InitRGBColor( const RGBColor& col );
void InitCGColorRef( CGColorRef col );
private:
wxCFRef<CGColorRef> m_cgColour;
void InitCGColorRef( CGColorRef col );
private:
wxCFRef<CGColorRef> m_cgColour;