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)
continue;
} else if (i->what == 1) /* out */
out = i++->where;
- else /* mark */
+ else if (i->what == 2) /* mark */
{
int xm = scale(i->where);
painter.setForegroundColor(gRGB(0xFF8080));
painter.fill(eRect(xm - 2, 0, 4, s.height()));
i++;
continue;
+ } else /* other marker, like last position */
+ {
+ ++i;
+ continue;
}
}