-#ifndef __lib_gui_epximap_h
+#ifndef __lib_gui_epixmap_h
#define __lib_gui_epixmap_h
#include <lib/gui/ewidget.h>
class ePixmap: public eWidget
{
+ int m_alphatest;
public:
ePixmap(eWidget *parent);
-
+
void setPixmap(gPixmap *pixmap);
+ void setPixmap(ePtr<gPixmap> &pixmap);
+ void setPixmapFromFile(const char *filename);
+ void setAlphatest(int alphatest); /* 1 for alphatest, 2 for alphablend */
protected:
ePtr<gPixmap> m_pixmap;
int event(int event, void *data=0, void *data2=0);
+ void checkSize();
private:
enum eLabelEvent
{