#include <lib/base/elock.h>
#include <lib/gdi/erect.h>
#include <lib/gdi/fb.h>
-#include <lib/gdi/region.h>
+#ifndef SWIG
struct gColor
{
int color;
gSurface(eSize size, int bpp, int accel);
~gSurface();
};
+#endif
+
+class gRegion;
class gPixmap: public iObject
{
eSize size() const { return eSize(surface->x, surface->y); }
inline bool needClut() const { return surface && surface->bpp <= 8; }
private:
+ bool must_delete_surface;
#ifndef SWIG
friend class gDC;
void fill(const gRegion &clip, const gColor &color);