X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4b61c88d55f71d59affa4e57df52c99cdaaa5c08..32485259c1342115488d219776dfebeb3d4d81b1:/include/wx/gtk/bitmap.h diff --git a/include/wx/gtk/bitmap.h b/include/wx/gtk/bitmap.h index c343811598..c3058826d5 100644 --- a/include/wx/gtk/bitmap.h +++ b/include/wx/gtk/bitmap.h @@ -25,6 +25,8 @@ typedef struct _GdkPixbuf GdkPixbuf; #endif +class WXDLLEXPORT wxPixelDataBase; + //----------------------------------------------------------------------------- // classes //----------------------------------------------------------------------------- @@ -130,6 +132,14 @@ public: // Basically, this corresponds to Win32 StretchBlt() wxBitmap Rescale( int clipx, int clipy, int clipwidth, int clipheight, int width, int height ); + + // raw bitmap access support functions + void *GetRawData(wxPixelDataBase& data, int bpp); + void UngetRawData(wxPixelDataBase& data); + + bool HasAlpha() const; + void UseAlpha(); + protected: bool CreateFromXpm(const char **bits); bool CreateFromImage(const wxImage& image, int depth);