now its possible to call ePixmap.setPixmap from python without use of
[enigma2.git] / lib / gui / epixmap.cpp
index 4e15b4e..3e396c9 100644 (file)
@@ -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);