git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix small memleak
[enigma2.git]
/
lib
/
gui
/
epositiongauge.cpp
diff --git
a/lib/gui/epositiongauge.cpp
b/lib/gui/epositiongauge.cpp
index a7608b7addcd4a57b70b81969c48d94aed031688..4785d7aff46462cf01ba435e9023f3ec14933b6b 100644
(file)
--- a/
lib/gui/epositiongauge.cpp
+++ b/
lib/gui/epositiongauge.cpp
@@
-43,6
+43,11
@@
void ePositionGauge::setInColor(const gRGB &color)
invalidate();
}
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)
void ePositionGauge::setPointer(int which, gPixmap *pixmap, const ePoint ¢er)
{
if (which == 0)