isCompatible with can now handle all frontend types
[enigma2.git] / lib / gui / epixmap.h
index e69de29..220db1f 100644 (file)
@@ -0,0 +1,23 @@
+#ifndef __lib_gui_epximap_h
+#define __lib_gui_epixmap_h
+
+#include <lib/gui/ewidget.h>
+
+class ePixmap: public eWidget
+{
+public:
+       ePixmap(eWidget *parent);
+       
+       void setPixmap(gPixmap *pixmap);
+       void setPixmapFromFile(const char *filename);
+protected:
+       ePtr<gPixmap> m_pixmap;
+       int event(int event, void *data=0, void *data2=0);
+private:
+       enum eLabelEvent
+       {
+               evtChangedPixmap = evtUserWidget,
+       };
+};
+
+#endif