- sdl is now default output
[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 public:
9         ePixmap(eWidget *parent);
10         
11         void setPixmap(gPixmap *pixmap);
12         void setPixmapFromFile(const char *filename);
13 protected:
14         ePtr<gPixmap> m_pixmap;
15         int event(int event, void *data=0, void *data2=0);
16 private:
17         enum eLabelEvent
18         {
19                 evtChangedPixmap = evtUserWidget,
20         };
21 };
22
23 #endif