add the name of missing skin element to debug output
[enigma2.git] / lib / gui / epixmap.h
1 #ifndef __lib_gui_epixmap_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         void checkSize();
20 private:
21         enum eLabelEvent
22         {
23                 evtChangedPixmap = evtUserWidget,
24         };
25 };
26
27 #endif