diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-03-22 22:43:43 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-03-22 22:43:43 +0000 |
| commit | 058d38ca9bcfe94c5c551eac231f808330af3581 (patch) | |
| tree | 026bacac5a55e946b0c21ded180538c29116af5b /lib | |
| parent | 358ee56f81aa18698d0fe7c949995111b051847f (diff) | |
| download | enigma2-058d38ca9bcfe94c5c551eac231f808330af3581.tar.gz enigma2-058d38ca9bcfe94c5c551eac231f808330af3581.zip | |
fix bluescreen on movieplayback
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/gui/epositiongauge.cpp | 5 | ||||
| -rw-r--r-- | lib/gui/epositiongauge.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/lib/gui/epositiongauge.cpp b/lib/gui/epositiongauge.cpp index a7608b7a..4785d7af 100644 --- a/lib/gui/epositiongauge.cpp +++ b/lib/gui/epositiongauge.cpp @@ -43,6 +43,11 @@ void ePositionGauge::setInColor(const gRGB &color) invalidate(); } +void ePositionGauge::setPointer(int which, ePtr<gPixmap> &pixmap, const ePoint ¢er) +{ + setPointer(which, pixmap.operator->(), center); +} + void ePositionGauge::setPointer(int which, gPixmap *pixmap, const ePoint ¢er) { if (which == 0) diff --git a/lib/gui/epositiongauge.h b/lib/gui/epositiongauge.h index 36da1ef9..f90b2809 100644 --- a/lib/gui/epositiongauge.h +++ b/lib/gui/epositiongauge.h @@ -18,6 +18,7 @@ public: void setInColor(const gRGB &color); /* foreground? */ void setPointer(int which, gPixmap *pixmap, const ePoint ¢er); + void setPointer(int which, ePtr<gPixmap> &pixmap, const ePoint ¢er); void setInOutList(SWIG_PYOBJECT(ePyObject) list); void setForegroundColor(const gRGB &col); |
