diff options
Diffstat (limited to 'lib/gui')
| -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); |
