git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
display spinner after 2 seconds, not 500ms.
[enigma2.git]
/
lib
/
gui
/
epositiongauge.cpp
diff --git
a/lib/gui/epositiongauge.cpp
b/lib/gui/epositiongauge.cpp
index fbb24571d79d14683535926de8652263372739d9..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)
@@
-70,14
+75,14
@@
void ePositionGauge::setInOutList(ePyObject list)
for (i=0; i<size; ++i)
{
for (i=0; i<size; ++i)
{
- ePyObject tuple = PyList_G
etItem
(list, i);
+ ePyObject tuple = PyList_G
ET_ITEM
(list, i);
if (!PyTuple_Check(tuple))
continue;
if (PyTuple_Size(tuple) != 2)
continue;
if (!PyTuple_Check(tuple))
continue;
if (PyTuple_Size(tuple) != 2)
continue;
- ePyObject ppts = PyTuple_G
etItem(tuple, 0), ptype = PyTuple_GetItem
(tuple, 1);
+ ePyObject ppts = PyTuple_G
ET_ITEM(tuple, 0), ptype = PyTuple_GET_ITEM
(tuple, 1);
if (!(PyLong_Check(ppts) && PyInt_Check(ptype)))
continue;
if (!(PyLong_Check(ppts) && PyInt_Check(ptype)))
continue;