X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55ccdb93e4ae4b606a4068cb37492c1ec3ed77a6..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/include/wx/dfb/bitmap.h?ds=sidebyside diff --git a/include/wx/dfb/bitmap.h b/include/wx/dfb/bitmap.h index affe69eaed..28bd0b0f28 100644 --- a/include/wx/dfb/bitmap.h +++ b/include/wx/dfb/bitmap.h @@ -13,6 +13,8 @@ #include "wx/dfb/dfbptr.h" +class WXDLLIMPEXP_FWD_CORE wxPixelDataBase; + wxDFB_DECLARE_INTERFACE(IDirectFBSurface); //----------------------------------------------------------------------------- @@ -69,6 +71,12 @@ public: static void InitStandardHandlers(); + // raw bitmap access support functions + void *GetRawData(wxPixelDataBase& data, int bpp); + void UngetRawData(wxPixelDataBase& data); + + bool HasAlpha() const; + // implementation: virtual void SetHeight(int height); virtual void SetWidth(int width); @@ -82,6 +90,8 @@ protected: virtual wxObjectRefData *CreateRefData() const; virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const; + bool CreateWithFormat(int width, int height, int dfbFormat); + DECLARE_DYNAMIC_CLASS(wxBitmap) };