Player12
An open source football management simulator
Loading...
Searching...
No Matches
scouting_scene_internal.h File Reference
#include <imgui.h>
#include <cstdint>
#include <string>
#include "model/scouting.h"

Go to the source code of this file.

Namespaces

namespace  ScoutingUi
 Drawing helpers shared by the translation units of ScoutingScene (scouting_scene.cpp and scouting_scouts_page.cpp).
 

Functions

float ScoutingUi::dpi ()
 Font DPI factor for pixel sizes.
 
std::string ScoutingUi::lower (std::string text)
 ASCII lower case, for name searches.
 
std::string ScoutingUi::rangeText (float low, float high)
 "68–76".
 
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).