rotor turning with measure input power is now working
[enigma2.git] / lib / gdi / gpixmap.h
index e549787cffc7ca253694733def027145a88d425c..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,11 +122,13 @@ 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);
        virtual ~gPixmap();
 };
 
+TEMPLATE_TYPEDEF(ePtr<gPixmap>, gPixmapPtr);
+
 #endif