Port environment, advertising and Toto menus to native Modern UI (by Codex)

This commit is contained in:
Codex committed 2026-10-24 11:12:25 +02:00
1 parent 0aa0ed68ca
commit d92cfc3110
36 files changed
+1805 -13

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
// SPDX-License-Identifier: GPL-3.0-only
#pragma once
#include "modern/ui/catalog.hpp"
namespace bmh::modern_ui {
// Presentation-only coupon: six independent columns, eleven games, raw money.
// These helpers accept the full UI state and never debit the shared wallet.
bool migrate_demo_toto(Json &, const Catalog &);
bool valid_demo_toto(const Json &, const Catalog &);
std::string edit_demo_toto(Json &, const Json &, const Catalog &);
Json demo_toto_summary(const Json &, const Catalog &);
// Fixed programme independent of report filters: 9 first-tier + 2 second-tier
// matches. Missing clubs yield an incomplete projection, never invented teams.
Json demo_toto_programme(const Catalog &);
} // namespace bmh::modern_ui