dont ignore background color when transparent=1 is set.. (needed for font
[enigma2.git] / lib / gui / epixmap.h
index 8a12e2e9037416c0b1c887f0ff3af313a3ad215c..1be680974ec27ffdfb9baea2191b6d85ceef1ef7 100644 (file)
@@ -1,17 +1,22 @@
-#ifndef __lib_gui_epximap_h
+#ifndef __lib_gui_epixmap_h
 #define __lib_gui_epixmap_h
 
 #include <lib/gui/ewidget.h>
 
 class ePixmap: public eWidget
 {
+       bool m_alphatest;
 public:
        ePixmap(eWidget *parent);
-       
+
        void setPixmap(gPixmap *pixmap);
+       void setPixmap(ePtr<gPixmap> &pixmap);
+       void setPixmapFromFile(const char *filename);
+       void setAlphatest(bool alphatest);
 protected:
        ePtr<gPixmap> m_pixmap;
        int event(int event, void *data=0, void *data2=0);
+       void checkSize();
 private:
        enum eLabelEvent
        {