void SetWidth( int width );
void SetDepth( int depth );
void SetPixmap( GdkPixmap *pixmap );
- void SetBitmap( GdkBitmap *bitmap );
void SetPixbuf(GdkPixbuf *pixbuf);
GdkPixmap *GetPixmap() const;
- GdkBitmap *GetBitmap() const;
bool HasPixmap() const;
bool HasPixbuf() const;
GdkPixbuf *GetPixbuf() const;
private:
// to be called from CreateFromImage only!
- bool CreateFromImageAsBitmap(const wxImage& image);
- bool CreateFromImageAsPixmap(const wxImage& image);
-
+ bool CreateFromImageAsPixmap(const wxImage& image, int depth);
bool CreateFromImageAsPixbuf(const wxImage& image);
enum Representation