1 #ifndef __lib_gui_epixmap_h
2 #define __lib_gui_epixmap_h
4 #include <lib/gui/ewidget.h>
6 class ePixmap: public eWidget
10 ePixmap(eWidget *parent);
12 void setPixmap(gPixmap *pixmap);
13 void setPixmap(ePtr<gPixmap> &pixmap);
14 void setPixmapFromFile(const char *filename);
15 void setAlphatest(int alphatest); /* 1 for alphatest, 2 for alphablend */
17 ePtr<gPixmap> m_pixmap;
18 int event(int event, void *data=0, void *data2=0);
23 evtChangedPixmap = evtUserWidget,