diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2009-06-03 14:56:04 +0200 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2009-06-03 14:59:34 +0200 |
| commit | 34d336d2c8e99b15045cd1ef7d40cbee4c0f18bb (patch) | |
| tree | c0c29806ef949e9395bc5ebcfbe4ecea887e16fa /lib/gui/epixmap.h | |
| parent | efd0ff96e5fab635045a0e54f50216869559f838 (diff) | |
| download | enigma2-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.h | 2 |
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); |
