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