add preStart event and use it to load the cutlist
[enigma2.git] / lib / gui / epixmap.h
index 1be680974ec27ffdfb9baea2191b6d85ceef1ef7..6280fb34f36eb1cca4252b9bd10dc186242d578c 100644 (file)
@@ -5,14 +5,16 @@
 
 class ePixmap: public eWidget
 {
-       bool m_alphatest;
+       int m_alphatest;
+       int m_scale;
 public:
        ePixmap(eWidget *parent);
 
        void setPixmap(gPixmap *pixmap);
        void setPixmap(ePtr<gPixmap> &pixmap);
        void setPixmapFromFile(const char *filename);
-       void setAlphatest(bool alphatest);
+       void setAlphatest(int alphatest); /* 1 for alphatest, 2 for alphablend */
+       void setScale(int scale);
 protected:
        ePtr<gPixmap> m_pixmap;
        int event(int event, void *data=0, void *data2=0);