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

@@ -28,7 +28,7 @@ void CSimulation::removeJunction(class CJunction *ju) {
junctions.remove(ju);
}
int CSimulation::drawTextStats(int h) {
h = drawText(10, h, "Objects %i, wires %i", objects.size(), wires.size());
h = drawText(NULL, 10, h, "Objects %i, wires %i", objects.size(), wires.size());
return h;
}
void CSimulation::recalcBounds() {