#include "wx/dcmemory.h"
#include "wx/icon.h"
#include "wx/log.h"
+ #include "wx/image.h"
#endif
#if wxUSE_WXDIB
#include "wx/palmos/dib.h"
#endif
-#include "wx/image.h"
#include "wx/xpmdecod.h"
-#ifdef wxHAVE_RAW_BITMAP
-#include "wx/rawbmp.h"
-#endif
-
// missing from mingw32 header
#ifndef CLR_INVALID
#define CLR_INVALID ((COLORREF)-1)
Init();
}
-// Create from XPM data
-#if wxUSE_IMAGE && wxUSE_XPM
-bool wxBitmap::CreateFromXpm(const char **data)
-#else
-bool wxBitmap::CreateFromXpm(const char **WXUNUSED(data))
-#endif
-{
- return false;
-}
-
wxBitmap::wxBitmap(int w, int h, int d)
{
}
{
}
-wxBitmap::wxBitmap(void *data, long type, int width, int height, int depth)
+wxBitmap::wxBitmap(const void* data, long type, int width, int height, int depth)
{
}
return false;
}
-bool wxBitmap::Create(void *data, long type, int width, int height, int depth)
+bool wxBitmap::Create(const void* data, long type, int width, int height, int depth)
{
return false;
}
#endif
-void wxBitmap::UseAlpha()
-{
-}
-
bool wxBitmap::HasAlpha() const
{
return false;
// raw bitmap access support
// ----------------------------------------------------------------------------
-#ifdef wxHAVE_RAW_BITMAP
-void *wxBitmap::GetRawData(wxPixelDataBase& data, int bpp)
-{
- return NULL;
-}
-
-void wxBitmap::UngetRawData(wxPixelDataBase& dataBase)
-{
- return;
-}
-#endif // #ifdef wxHAVE_RAW_BITMAP
-
// ----------------------------------------------------------------------------
// wxMask
// ----------------------------------------------------------------------------
// ----------------------------------------------------------------------------
bool wxBitmapHandler::Create(wxGDIImage *image,
- void *data,
+ const void* data,
long flags,
int width, int height, int depth)
{
}
bool wxBitmapHandler::Create(wxBitmap *WXUNUSED(bitmap),
- void *WXUNUSED(data),
+ const void* WXUNUSED(data),
long WXUNUSED(type),
int WXUNUSED(width),
int WXUNUSED(height),