now its possible to call ePixmap.setPixmap from python without use of
[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 setPixmap(ePtr<gPixmap> &pixmap);
14         void setPixmapFromFile(const char *filename);
15         void setAlphatest(bool alphatest);
16 protected:
17         ePtr<gPixmap> m_pixmap;
18         int event(int event, void *data=0, void *data2=0);
19 private:
20         enum eLabelEvent
21         {
22                 evtChangedPixmap = evtUserWidget,
23         };
24 };
25
26 #endif