aboutsummaryrefslogtreecommitdiff
path: root/lib/gui/epixmap.h
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2009-06-03 14:56:04 +0200
committerFelix Domke <tmbinc@elitedvb.net>2009-06-03 14:59:34 +0200
commit34d336d2c8e99b15045cd1ef7d40cbee4c0f18bb (patch)
treec0c29806ef949e9395bc5ebcfbe4ecea887e16fa /lib/gui/epixmap.h
parentefd0ff96e5fab635045a0e54f50216869559f838 (diff)
downloadenigma2-34d336d2c8e99b15045cd1ef7d40cbee4c0f18bb.tar.gz
enigma2-34d336d2c8e99b15045cd1ef7d40cbee4c0f18bb.zip
experimental scaling for pixmaps, requires more work (surface is likely not an accel-surface)
Diffstat (limited to 'lib/gui/epixmap.h')
-rw-r--r--lib/gui/epixmap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gui/epixmap.h b/lib/gui/epixmap.h
index 1c4a97c8..6280fb34 100644
--- a/lib/gui/epixmap.h
+++ b/lib/gui/epixmap.h
@@ -6,6 +6,7 @@
class ePixmap: public eWidget
{
int m_alphatest;
+ int m_scale;
public:
ePixmap(eWidget *parent);
@@ -13,6 +14,7 @@ public:
void setPixmap(ePtr<gPixmap> &pixmap);
void setPixmapFromFile(const char *filename);
void setAlphatest(int alphatest); /* 1 for alphatest, 2 for alphablend */
+ void setScale(int scale);
protected:
ePtr<gPixmap> m_pixmap;
int event(int event, void *data=0, void *data2=0);