virtual ~wxMask();
// implementation
- GdkPixmap* m_bitmap;
+ wxMask(GdkPixmap*);
GdkPixmap* GetBitmap() const;
protected:
virtual bool InitFromColour(const wxBitmap& bitmap, const wxColour& colour);
virtual bool InitFromMonoBitmap(const wxBitmap& bitmap);
+private:
+ GdkPixmap* m_bitmap;
+
DECLARE_DYNAMIC_CLASS(wxMask)
};
wxBitmap( const wxImage& image, int depth = wxBITMAP_SCREEN_DEPTH )
{ (void)CreateFromImage(image, depth); }
#endif // wxUSE_IMAGE
+ wxBitmap(GdkPixbuf* pixbuf);
virtual ~wxBitmap();
bool Create(int width, int height, int depth = wxBITMAP_SCREEN_DEPTH);
void SetHeight( int height );
void SetWidth( int width );
void SetDepth( int depth );
- void SetPixbuf(GdkPixbuf* pixbuf);
GdkPixmap *GetPixmap() const;
bool HasPixmap() const;