mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-03-22 23:26:58 +01:00
sim: all add headers to project file. Text drawing supports external style.
This commit is contained in:
@@ -18,14 +18,14 @@ void Tool_Move::onEnd() {
|
||||
int Tool_Move::drawTextStats(int h) {
|
||||
if (currentTarget) {
|
||||
if (bMovingButtonHeld) {
|
||||
h = drawText(20, h, "Moving %s", currentTarget->getClassName());
|
||||
h = drawText(NULL, 20, h, "Moving %s", currentTarget->getClassName());
|
||||
}
|
||||
else {
|
||||
h = drawText(20, h, "Last target %s", currentTarget->getClassName());
|
||||
h = drawText(NULL, 20, h, "Last target %s", currentTarget->getClassName());
|
||||
}
|
||||
}
|
||||
else {
|
||||
h = drawText(20, h, "No target");
|
||||
h = drawText(NULL, 20, h, "No target");
|
||||
}
|
||||
return h;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user