Audio Effect : when all of 3D surround audioout are set to off, 3D surround speaker...
[vuplus_dvbapp] / lib / gui / epixmap.h
index e69de29..2db26f2 100644 (file)
@@ -0,0 +1,34 @@
+#ifndef __lib_gui_epixmap_h
+#define __lib_gui_epixmap_h
+
+#include <lib/gui/ewidget.h>
+
+class ePixmap: public eWidget
+{
+       int m_alphatest;
+       int m_scale;
+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 */
+       void setScale(int scale);
+       void setBorderWidth(int pixel);
+       void setBorderColor(const gRGB &color);
+protected:
+       ePtr<gPixmap> m_pixmap;
+       int event(int event, void *data=0, void *data2=0);
+       void checkSize();
+private:
+       enum eLabelEvent
+       {
+               evtChangedPixmap = evtUserWidget,
+       };
+       bool m_have_border_color;
+       int m_border_width;
+       gRGB m_border_color;
+};
+
+#endif