#ifndef __lib_gui_epixmap_h #define __lib_gui_epixmap_h #include class ePixmap: public eWidget { int m_alphatest; int m_scale; 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 */ void setScale(int scale); protected: ePtr m_pixmap; int event(int event, void *data=0, void *data2=0); void checkSize(); private: enum eLabelEvent { evtChangedPixmap = evtUserWidget, }; }; #endif