From b02ee52deefcafc6317e0a520182b98e6d24d3aa Mon Sep 17 00:00:00 2001 From: Codex Date: Tue, 27 Oct 2026 00:27:46 +0100 Subject: [PATCH] Prepare native office main-menu layout and contained Almanac icon (by Codex) --- assets/modern/front.rcss | 13 +++++++++++++ assets/modern/icons/almanac.svg | 2 ++ docs/new_ui/main-menu/README.md | 20 ++++++++++++++++++++ src/modern/ui/front_screens.inc | 9 +++++---- 4 files changed, 40 insertions(+), 4 deletions(-) diff --git a/assets/modern/front.rcss b/assets/modern/front.rcss index dd4e5b9..a84a421 100644 --- a/assets/modern/front.rcss +++ b/assets/modern/front.rcss @@ -93,3 +93,16 @@ .front-import-choices button {height:142dp;min-height:142dp;flex-shrink:0;} .front-import-choices button:last-child {margin-bottom:0;} .front-mod-downloads button {flex-shrink:0;} + +/* Selected office study; layout and controls follow the HTML gold reference. */ +.front-office-art {position:absolute;left:0;top:0;width:3840dp;height:2160dp;} +.front-office-shade {background-color:transparent;decorator:linear-gradient(90deg,#07101333,#07101300);} +.office-home .main-options {position:absolute;left:220dp;top:550dp;width:1160dp;gap:22dp;} +.office-home .main-options button {height:132dp;padding:22dp 42dp;background-color:#040a0d73;border:1dp #e6ebe10b;border-radius:6dp;color:#f0f1e9;font-size:62dp;font-weight:normal;letter-spacing:-1dp;} +.office-home .main-options button:hover,.office-home .main-options button:focus-visible {background-color:#040a0dad;border-color:#d2b67e66;color:#fff8e9;box-shadow:inset 4dp 0dp 0dp #d2b67e;} +.office-home .main-options button .front-hover-arrow {color:#d2b67e;} +.office-home .main-options button:disabled {color:#c4cdc7;opacity:.48;} +.office-home .main-options button:last-child {margin-top:32dp;font-size:56dp;} +.office-home .front-footer {left:260dp;right:130dp;bottom:110dp;} +.office-home .front-active small,.office-home .front-footer .front-version {color:#d6dbd2;} +.office-home .front-active strong {color:#f0f1e9;} diff --git a/assets/modern/icons/almanac.svg b/assets/modern/icons/almanac.svg index 3dd1ba2..53bd935 100644 --- a/assets/modern/icons/almanac.svg +++ b/assets/modern/icons/almanac.svg @@ -19,6 +19,7 @@ + @@ -26,4 +27,5 @@ + diff --git a/docs/new_ui/main-menu/README.md b/docs/new_ui/main-menu/README.md index fafbf26..c4560ac 100644 --- a/docs/new_ui/main-menu/README.md +++ b/docs/new_ui/main-menu/README.md @@ -194,3 +194,23 @@ und prüft synthetisch, ersetzt aber keine Windows-/macOS-Spielabnahme. Grundeinstellungen, Managerwahl, Entwürfe und Bestätigungen sind im [separaten Einstiegsvertrag](entry/README.md) beschrieben. + +## Nachtstand 26./27. Oktober 2026: Büro-Hauptmenü + +Das HTML-Hauptmenü verwendet die transparente Navigation der Studie4832d248. +Die sechs vorhandenen Funktionen bleiben Neues Spiel, Laden, Netzwerk (gesperrt), +Mod, Einstellungen und Beenden. Die aktive Mod steht dezent unten. Die große +OpenBMH-Überschrift entfällt. Das Vereinsbüro ist Vorgabe; die alternative +Trophäenbüro-Studie bleibt in der privaten HTML-Vorschau erhalten. + +Die RmlUI-Fassung übernimmt Anordnung, Menüflächen und Navigation in `front_screens.inc` +und `front.rcss`. Das feste Bild wird als GUI-Ressource `menu.club-office` +geladen, nicht aus dem Weltpaket. Ältere GUI-Ressourcensätze ohne diesen neuen +Schlüssel behalten ihren vorhandenen Hintergrund; es wird kein Bild aus fremden +Weltassets erraten. Die getrennte Vorbereitung kann zusätzlich `menu.trophy-office` +führen. Das Almanach-SVG bleibt mit seinem Ball innerhalb des Buchdeckels. + +HTML-Bedienprüfungen und tatsächliche Bilder liegen im privaten Repository unter +`docs/qa/night-ui-2026-10-27/main-menu`. Der native Build-/Sichtnachweis folgt +nach Integration des zeitgleich überarbeiteten Karrierepakets; dieser Eintrag +behauptet noch keine native Abnahme. diff --git a/src/modern/ui/front_screens.inc b/src/modern/ui/front_screens.inc index ab7feac..5601984 100644 --- a/src/modern/ui/front_screens.inc +++ b/src/modern/ui/front_screens.inc @@ -21,10 +21,11 @@ std::string App::front_size(uint64_t bytes) const { std::string App::main_menu() { const auto *active = mod(active_mod_); const bool available = active && active->error.empty(); - std::string out = - "

FUSSBALLMANAGER

OpenBMH