remove python support for some (unneeded) classes
[enigma2.git] / lib / gdi / gpixmap.h
index 7158e26989b6e72c1eba4cb7911f7de4468d9695..cc2a4cf41e39a6dd8e12c623d2be85ff44ea1741 100644 (file)
@@ -8,8 +8,8 @@
 #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;
@@ -103,6 +103,9 @@ struct gSurface
        gSurface(eSize size, int bpp, int accel);
        ~gSurface();
 };
+#endif
+
+class gRegion;
 
 class gPixmap: public iObject
 {
@@ -131,6 +134,7 @@ public:
        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);