|
Player12
An open source football management simulator
|
Guidance pieces shared by the management screens: first-visit screen tips, the first-week checklist and the "Next steps" card. More...
Functions | |
| std::optional< OnboardingTask > | taskForSection (NavSection section) |
| NavSection | sectionForTask (OnboardingTask task) |
| void | noteVisit (GameController &controller, NavSection section) |
| void | openAction (GUIView *view, const NextAction &action) |
| std::string | text (const AnalysisLine &line) |
| const char * | tipKey (NavSection section) |
| void | renderScreenTip (NavSection section) |
| void | renderReclaimNotice (const GUIView *view) |
Guidance pieces shared by the management screens: first-visit screen tips, the first-week checklist and the "Next steps" card.
| void GuidanceUI::noteVisit | ( | GameController & | controller, |
| NavSection | section | ||
| ) |
Ticks the checklist step of a section the manager just opened.
| void GuidanceUI::openAction | ( | GUIView * | view, |
| const NextAction & | action | ||
| ) |
Opens the screen (or player) where an action is handled.
| void GuidanceUI::renderReclaimNotice | ( | const GUIView * | view | ) |
Notice after the manager took a delegated duty back by changing it by hand, with Undo (hand it back) and OK.
| void GuidanceUI::renderScreenTip | ( | NavSection | section | ) |
One-line tip at the top of a screen on its first visit. It stays for the rest of that visit and never comes back once seen; "Got it" hides it and "Turn off tips" disables tips (the Settings screen brings them back).
| NavSection GuidanceUI::sectionForTask | ( | OnboardingTask | task | ) |
Section where a checklist step is done.
| std::optional< OnboardingTask > GuidanceUI::taskForSection | ( | NavSection | section | ) |
Checklist step a section completes when it is opened.
| std::string GuidanceUI::text | ( | const AnalysisLine & | line | ) |
Localised text of an analysis/report line.
| const char * GuidanceUI::tipKey | ( | NavSection | section | ) |
Language key of a section's tip (nullptr when it has none).