⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 colour.h

📁 wxGTK 是 wxWidgets 的 linux GTK+ (>2.2.3)版本。wxWidgets 是一个跨平台的 GUI 框架
💻 H
字号:
/////////////////////////////////////////////////////////////////////////////// Name:        wx/gtk/colour.h// Purpose:// Author:      Robert Roebling// Id:          $Id: colour.h,v 1.34 2006/10/08 21:55:31 VZ Exp $// Copyright:   (c) 1998 Robert Roebling// Licence:     wxWindows licence/////////////////////////////////////////////////////////////////////////////#ifndef _WX_GTK_COLOUR_H_#define _WX_GTK_COLOUR_H_//-----------------------------------------------------------------------------// wxColour//-----------------------------------------------------------------------------class WXDLLIMPEXP_CORE wxColour : public wxColourBase{public:    // constructors    // ------------    // default    wxColour() {}    DEFINE_STD_WXCOLOUR_CONSTRUCTORS    wxColour(const GdkColor& gdkColor);    virtual ~wxColour();    bool Ok() const { return IsOk(); }    bool IsOk() const { return m_refData != NULL; }    bool operator == ( const wxColour& col ) const;    bool operator != ( const wxColour& col ) const { return !(*this == col); }    unsigned char Red() const;    unsigned char Green() const;    unsigned char Blue() const;    unsigned char Alpha() const;    // Implementation part    void CalcPixel( GdkColormap *cmap );    int GetPixel() const;#ifdef __WXGTK24__    const GdkColor *GetColor() const;#else    // GDK functions from old gtk2 versions take non-const color parameters,    // too many uses to deal with individually    GdkColor *GetColor() const;#endifprotected:    virtual void    InitRGBA(unsigned char r, unsigned char g, unsigned char b, unsigned char a);    virtual bool FromString(const wxChar *str);private:    DECLARE_DYNAMIC_CLASS(wxColour)};#endif // _WX_GTK_COLOUR_H_

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -