The tactics sketch in a pencil hand: Caveat, under the SIL Open Font License

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
MichaelandClaude Fable 5.2 committed 2026-11-15 18:13:33 +01:00
1 parent 1af53ec26a
commit c83b020952
8 files changed
+203 -7

No files matched your search

+2 -2
View File
@@ -108,13 +108,13 @@ std::string App::render_tactics() {
box(6, 520, "Pressing", pressing);
// attitude and effort under the pitch
write(44, 592, "Ausrichtung:", 20, grey);
write(190, 592, text_of(0), 26, ink, "start", true);
write(150, 592, text_of(0), 26, ink, "start", true);
write(560, 592, "Einsatz:", 26, ink, "start", true);
const double mark_step = limits[7] > 6 ? 17 : 24;
for (int n = 1; n <= limits[7]; ++n)
over += btn("tactic-effort-set", "<span>!</span>", std::string("tk-mark") + (n <= values[7] ? " on" : ""),
"id=\"tactic-effort-" + std::to_string(n) + "\" data-id=\"" + std::to_string(n) + "\" aria-label=\"Einsatz " + std::to_string(n) + " von " + std::to_string(limits[7]) + "\" " + (n < minima[7] ? "disabled " : "") + "style=\"" +
at(672 + (n - 1) * mark_step, 556, mark_step, 50) + "color:" + (n <= values[7] ? red : faint) + ";\"");
at(646 + (n - 1) * mark_step, 556, mark_step, 50) + "color:" + (n <= values[7] ? red : faint) + ";\"");
// the own eleven; the wide ones are dragged out and in
for (size_t i = 0; i < 11; ++i) {
const auto &[x, y, side] = players[i];