X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4bc67cc550bcd9d5f93f88ae22a4f6ac7fafb5f7..ebea0891d0a5531cfd1ff85e6d77fab66dcf834b:/include/wx/gtk/bitmap.h?ds=sidebyside diff --git a/include/wx/gtk/bitmap.h b/include/wx/gtk/bitmap.h index 45258f067b..b49423e6b1 100644 --- a/include/wx/gtk/bitmap.h +++ b/include/wx/gtk/bitmap.h @@ -27,18 +27,6 @@ class wxMask; class wxBitmap; -//----------------------------------------------------------------------------- -// also implemented here from wxImage -//----------------------------------------------------------------------------- - -/* -class wxImage : wxGDIObject -{ - wxImage( const wxBitmap &bitmap ); - wxBitmap ConvertToBitmap() const; -} -*/ - //----------------------------------------------------------------------------- // wxMask //----------------------------------------------------------------------------- @@ -53,9 +41,13 @@ public: wxMask( const wxBitmap& bitmap, int paletteIndex ); wxMask( const wxBitmap& bitmap ); ~wxMask(); + + bool Create( const wxBitmap& bitmap, const wxColour& colour ); + bool Create( const wxBitmap& bitmap, int paletteIndex ); + bool Create( const wxBitmap& bitmap ); // implementation - + GdkBitmap *m_bitmap; GdkBitmap *GetBitmap() const; }; @@ -75,14 +67,13 @@ public: wxBitmap( const char **bits ); wxBitmap( char **bits ); wxBitmap( const wxBitmap& bmp ); - wxBitmap( const wxBitmap* bmp ); wxBitmap( const wxString &filename, int type = wxBITMAP_TYPE_XPM ); ~wxBitmap(); wxBitmap& operator = ( const wxBitmap& bmp ); bool operator == ( const wxBitmap& bmp ); bool operator != ( const wxBitmap& bmp ); bool Ok() const; - + int GetHeight() const; int GetWidth() const; int GetDepth() const; @@ -96,14 +87,14 @@ public: wxPalette *GetPalette() const; wxPalette *GetColourMap() const { return GetPalette(); }; - -// implementation + +// implementation void SetHeight( int height ); void SetWidth( int width ); void SetDepth( int depth ); void SetPixmap( GdkPixmap *pixmap ); - + GdkPixmap *GetPixmap() const; GdkBitmap *GetBitmap() const;