fix bluescreen on movieplayback
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Thu, 22 Mar 2007 22:43:43 +0000 (22:43 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Thu, 22 Mar 2007 22:43:43 +0000 (22:43 +0000)
lib/gui/epositiongauge.cpp
lib/gui/epositiongauge.h

index a7608b7..4785d7a 100644 (file)
@@ -43,6 +43,11 @@ void ePositionGauge::setInColor(const gRGB &color)
        invalidate();
 }
 
+void ePositionGauge::setPointer(int which, ePtr<gPixmap> &pixmap, const ePoint &center)
+{
+       setPointer(which, pixmap.operator->(), center);
+}
+
 void ePositionGauge::setPointer(int which, gPixmap *pixmap, const ePoint &center)
 {
        if (which == 0)
index 36da1ef..f90b280 100644 (file)
@@ -18,6 +18,7 @@ public:
        
        void setInColor(const gRGB &color); /* foreground? */
        void setPointer(int which, gPixmap *pixmap, const ePoint &center);
+       void setPointer(int which, ePtr<gPixmap> &pixmap, const ePoint &center);
        
        void setInOutList(SWIG_PYOBJECT(ePyObject) list);
        void setForegroundColor(const gRGB &col);