- sdl is now default output
[enigma2.git] / lib / gdi / gpixmap.h
index f29a0fe747cbb805a7bf40fb8e5201623e7833c0..d598fdbd3786a9f78661f5a6917cad88d6ffec66 100644 (file)
@@ -97,8 +97,9 @@ struct gSurfaceSystem: gSurface
        ~gSurfaceSystem();
 };
 
-struct gPixmap: public iObject
+class gPixmap: public iObject
 {
+private:
 DECLARE_REF(gPixmap);
 private:
        friend class gDC;
@@ -121,7 +122,7 @@ public:
        gPixmap *lock();
        void unlock();
        
-       eSize getSize() const { return eSize(surface->x, surface->y); }
+       eSize size() const { return eSize(surface->x, surface->y); }
        
        gPixmap(gSurface *surface);
        gPixmap(eSize, int bpp);