]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dfb/bitmap.h
fix warnings in EventsSuppressor ctor from gcc with -O option
[wxWidgets.git] / include / wx / dfb / bitmap.h
index affe69eaedd16aeecf5bdb79494de9de7c3a5b12..28bd0b0f280f918897cd61ac98b3ce2ceaee3d31 100644 (file)
@@ -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)
 };