fixes to language activation callbacks and using the callbacks in mytest for setting...
[enigma2.git] / lib / gui / epixmap.h
1 #ifndef __lib_gui_epximap_h
2 #define __lib_gui_epixmap_h
3
4 #include <lib/gui/ewidget.h>
5
6 class ePixmap: public eWidget
7 {
8         bool m_alphatest;
9 public:
10         ePixmap(eWidget *parent);
11         
12         void setPixmap(gPixmap *pixmap);
13         void setPixmapFromFile(const char *filename);
14         void setAlphatest(bool alphatest);
15 protected:
16         ePtr<gPixmap> m_pixmap;
17         int event(int event, void *data=0, void *data2=0);
18 private:
19         enum eLabelEvent
20         {
21                 evtChangedPixmap = evtUserWidget,
22         };
23 };
24
25 #endif