A season calendar of twelve months that open with a zoom; training camps on a paper map
The career's calendar shows the months as small sheets with the own matches and other dates marked; a click opens a month as a sheet with a field per day (opponent's crest, venue, result), the right mouse button returns. The training camps lie on a map in paper tones with named pins, the chosen camp on a framed card. Further paper motifs (boards, press room, trophies, bench) and more opaque panels so that text never stands on the bare picture. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
b9d8b2db96
commit
20e7497f67
8 files changed
+244
-28
No files matched your search
@@ -277,6 +277,12 @@ void App::engine_event(Rml::Event &event) {
|
||||
if (type == "keydown") keyboard_navigation_ = true;
|
||||
if (type == "mousedown") keyboard_navigation_ = false;
|
||||
if (balance_simulation_event(event)) return;
|
||||
// the right mouse button leaves an opened month of the calendar
|
||||
if (menu_ == "calendar" && calendar_month_ >= 0 && popup_.empty() &&
|
||||
(type == "contextmenu" || (type == "mousedown" && event.GetParameter<int>("button", 0) == 1))) {
|
||||
if (type == "mousedown") calendar_open_month(-1);
|
||||
return;
|
||||
}
|
||||
if (scene_ == "live" && live_.available()) {
|
||||
// The ticker of a played kickoff: only its own controls, nothing of the desk beneath.
|
||||
if (live_event(event)) return;
|
||||
@@ -486,7 +492,7 @@ void App::engine_event(Rml::Event &event) {
|
||||
else if(action=="engine-open"&&(id=="tables"||id=="strengths")){menu_=id;engine_reports_sync();engine_reports_load(engine_reports_state_.at("league"),engine_reports_state_.at("filter"));}
|
||||
else if (action == "engine-open" && id == "almanac") { menu_=id;engine_almanac_sync();engine_almanac_load({{"kind","index"}}); }
|
||||
else if (action == "engine-open" && id == "friendlies") { menu_ = id; planning_dialog_.clear(); engine_friendly_sync(); refresh(); }
|
||||
else if (action == "engine-open" && (id == "calendar" || id == "postpone")) { menu_ = id; engine_move_id_.clear(); engine_calendar_sync(); refresh(); }
|
||||
else if (action == "engine-open" && (id == "calendar" || id == "postpone")) { menu_ = id; engine_move_id_.clear(); calendar_month_ = -1; calendar_anim_.clear(); engine_calendar_sync(); refresh(); }
|
||||
else if (action == "engine-open" && id == "contracts") { menu_ = id; engine_contracts_clear(false); contracts_player_.clear(); engine_contract_scroll_ = 0.f; refresh(); }
|
||||
else if (action == "engine-open" && id == "bank") { bank_view_ = "entrance"; bank_hint_.clear(); menu_ = "bank"; refresh(); }
|
||||
else if (action == "engine-open" && id == "save") engine_save();
|
||||
|
||||
Reference in new issue
Block a user