sim: all add headers to project file. Text drawing supports external style.

This commit is contained in:
openshwprojects
2022-12-08 10:32:59 +01:00
parent f58f99aa0e
commit 86195b03be
12 changed files with 93 additions and 20 deletions

View File

@@ -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;
}