class WXDLLEXPORT wxImage;
class WXDLLEXPORT wxMask;
class WXDLLEXPORT wxPalette;
-class WXDLLEXPORT wxRawBitmapData;
+class WXDLLEXPORT wxPixelDataBase;
// ----------------------------------------------------------------------------
// wxBitmap: a mono or colour bitmap
{ return (wxBitmapRefData *)m_refData; }
// raw bitmap access support functions
- bool GetRawData(wxRawBitmapData *data);
- void UngetRawData(wxRawBitmapData *) { /* nothing to do here */ }
+ void *GetRawData(wxPixelDataBase& data, int bpp);
+ void UngetRawData(wxPixelDataBase& data);
#if wxUSE_PALETTE
wxPalette* GetPalette() const;
bool operator==(const wxBitmap& bitmap) const { return m_refData == bitmap.m_refData; }
bool operator!=(const wxBitmap& bitmap) const { return m_refData != bitmap.m_refData; }
- // this function is internal and shouldn't be used, it risks to disappear
+ // these functions are internal and shouldn't be used, they risk to
+ // disappear in the future
bool HasAlpha() const;
+ void UseAlpha();
#if WXWIN_COMPATIBILITY_2_4
// these functions do nothing and are only there for backwards