X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/d63d2c3c6cbbd574dda4f8b00ebe6c661735edd5..aa63e716977d5f341495cf0694b327116b978f89:/lib/gui/epixmap.h diff --git a/lib/gui/epixmap.h b/lib/gui/epixmap.h index e69de29b..1c4a97c8 100644 --- a/lib/gui/epixmap.h +++ b/lib/gui/epixmap.h @@ -0,0 +1,27 @@ +#ifndef __lib_gui_epixmap_h +#define __lib_gui_epixmap_h + +#include + +class ePixmap: public eWidget +{ + int m_alphatest; +public: + ePixmap(eWidget *parent); + + void setPixmap(gPixmap *pixmap); + void setPixmap(ePtr &pixmap); + void setPixmapFromFile(const char *filename); + void setAlphatest(int alphatest); /* 1 for alphatest, 2 for alphablend */ +protected: + ePtr m_pixmap; + int event(int event, void *data=0, void *data2=0); + void checkSize(); +private: + enum eLabelEvent + { + evtChangedPixmap = evtUserWidget, + }; +}; + +#endif