translations
[enigma2.git] / lib / gdi / gpixmap.h
index bd7c61a0f780eae6de221d65bff3c29d4a5d3f66..8ea125741cc6e9b93d301ae242f83057774a0028 100644 (file)
@@ -88,13 +88,12 @@ struct gSurface
        gPalette clut;
        
        void *data;
-       virtual ~gSurface();
-};
+       int data_phys;
+       int offset; // only for backbuffers
 
-struct gSurfaceSystem: gSurface
-{
-       gSurfaceSystem(eSize size, int bpp);
-       ~gSurfaceSystem();
+       gSurface();
+       gSurface(eSize size, int bpp, int accel);
+       ~gSurface();
 };
 
 class gPixmap: public iObject
@@ -127,7 +126,7 @@ public:
        eSize size() const { return eSize(surface->x, surface->y); }
        
        gPixmap(gSurface *surface);
-       gPixmap(eSize, int bpp);
+       gPixmap(eSize, int bpp, int accel = 0);
        virtual ~gPixmap();
 };