Tactics as a pencil sketch on the page, after the design

The pitch, the own eleven, the runs of the forwards, the passes and the goal kick
are drawn in pencil; their shape follows the settings. Wide players and arrow heads
are dragged, the two boxes and the exclamation marks are clicked, the list at the
right steps every setting. The question before a change is the same cream note as
the other dialogs. The chalkboard picture stays in the library for its tests.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
MichaelandClaude Fable 5.2 committed 2026-11-15 18:03:32 +01:00
1 parent 03b46a32f7
commit 1af53ec26a
7 files changed
+253 -45

No files matched your search

+5 -1
View File
@@ -892,6 +892,9 @@ class App final : public Rml::EventListener {
static std::string pg_dialog(const std::string &title, const std::string &sub, const std::string &body, const std::string &actions, double width, const std::string &attrs = {});
std::string pg_club(const std::string &id, double size = 50, bool reverse = false);
void notebook_finish(std::string &markup);
// the tactics sketch (tactics_page.inc): what is being dragged on it
bool tactics_page_event(Rml::Event &event);
Json tactic_drag_;
// what the page says in the heading of the sheet instead of its plain name, and after it
std::string page_title_, page_hint_;
// a career menu is a page of the notebook, not a window of its own
@@ -1270,7 +1273,7 @@ class App final : public Rml::EventListener {
return;
element("popup")->SetInnerRML(
"<div class=\"fill popup-backdrop\"></div><div "
"class=\"popup-box\"><h2>Dreierpack Manager</h2><p>" +
"class=\"popup-box\"><h2>" + std::string(confirm_ || text_accept_ ? "Rückfrage" : "Hinweis") + "</h2><p>" +
esc(popup_) + "</p>" +
(popup_has_input_
? "<input id=\"popup-text\" value=\"" + esc(popup_input_) +
@@ -1774,6 +1777,7 @@ public:
#include "modern/ui/notebook.inc"
#include "modern/ui/notebook_home.inc"
#include "modern/ui/pages.inc"
#include "modern/ui/tactics_page.inc"
#include "modern/ui/finance_simulation.inc"
#include "modern/ui/statistics_analysis.inc"
#include "modern/ui/engine_rankings.inc"