This commit is contained in:
3djc
2021-04-10 09:23:00 +02:00
parent 8a2eaeef9e
commit 4191fa15dd
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -55,8 +55,9 @@ class RadioAnalogsDiagsWindow: public Window {
x = dc->drawNumber(x + 5, y, touchState.x);
x = dc->drawText(x, y, ":");
dc->drawNumber(x, y, touchState.y);
TRACE("Drawing: %d,%d - %d,%d", touchState.x - 10, touchState.y - 8 - parent->top(), touchState.x + 10, touchState.y + 8 - parent->top());
dc->drawLine(touchState.x - 10, touchState.y - 8 - parent->top(), touchState.x + 10, touchState.y + 8 - parent->top(), SOLID, 0);
dc->drawLine(touchState.x - 10, touchState.y + 8 - parent->top(), touchState.x + 10, touchState.y - 8- parent->top(), SOLID, 0);
//dc->drawLine(touchState.x - 10, touchState.y + 8 - parent->top(), touchState.x + 10, touchState.y - 8- parent->top(), SOLID, 0);
}
#endif
};