|
Player12
An open source football management simulator
|
Drawing helpers shared by the translation units of ScoutingScene (scouting_scene.cpp and scouting_scouts_page.cpp). More...
Functions | |
| float | dpi () |
| Font DPI factor for pixel sizes. | |
| std::string | lower (std::string text) |
| ASCII lower case, for name searches. | |
| std::string | rangeText (float low, float high) |
| "68–76". | |
| ImVec4 | gradeColor (ScoutGrade grade) |
| const char * | gradeLabel (ScoutGrade grade) |
| void | knowledgeBar (uint8_t knowledge) |
| void | knowledgeBar (std::uint8_t knowledge) |
| Thin bar showing how well the club knows a player (0-100). | |
Drawing helpers shared by the translation units of ScoutingScene (scouting_scene.cpp and scouting_scouts_page.cpp).
| float ScoutingUi::dpi | ( | ) |
Font DPI factor for pixel sizes.
| ImVec4 ScoutingUi::gradeColor | ( | ScoutGrade | grade | ) |
| const char * ScoutingUi::gradeLabel | ( | ScoutGrade | grade | ) |
| void ScoutingUi::knowledgeBar | ( | std::uint8_t | knowledge | ) |
Thin bar showing how well the club knows a player (0-100).
| void ScoutingUi::knowledgeBar | ( | uint8_t | knowledge | ) |
Thin bar showing how well the club knows a player.
| std::string ScoutingUi::lower | ( | std::string | text | ) |
ASCII lower case, for name searches.
| std::string ScoutingUi::rangeText | ( | float | low, |
| float | high | ||
| ) |
"68–76".