diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-03-21 15:48:17 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-03-21 15:48:17 +0000 |
| commit | 4404768ce6bb07bf2784da7806444acd462c3a33 (patch) | |
| tree | 6dc2a0319bbb0b10f755a0460093f082d6bcdec6 /lib/gui/epixmap.cpp | |
| parent | 8bca0499b5a1d4366af1a5bb66593fe9ffd4b754 (diff) | |
| download | enigma2-4404768ce6bb07bf2784da7806444acd462c3a33.tar.gz enigma2-4404768ce6bb07bf2784da7806444acd462c3a33.zip | |
now its possible to call ePixmap.setPixmap from python without use of
__deref__
Diffstat (limited to 'lib/gui/epixmap.cpp')
| -rw-r--r-- | lib/gui/epixmap.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/gui/epixmap.cpp b/lib/gui/epixmap.cpp index 4e15b4eb..3e396c98 100644 --- a/lib/gui/epixmap.cpp +++ b/lib/gui/epixmap.cpp @@ -19,6 +19,12 @@ void ePixmap::setPixmap(gPixmap *pixmap) event(evtChangedPixmap); } +void ePixmap::setPixmap(ePtr<gPixmap> &pixmap) +{ + m_pixmap = pixmap; + event(evtChangedPixmap); +} + void ePixmap::setPixmapFromFile(const char *filename) { loadPNG(m_pixmap, filename); |
