16 ImGui::GetIO().IniFilename =
nullptr;
17 ImGui::GetIO().ConfigFlags |= ImGuiConfigFlags_NavEnableKeyboard;
19 ImGui::GetIO().ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange;
28 InterfaceScale(
static_cast<float>(GetScreenHeight()), player_scale);
29 if (scale != applied_) {
void Begin(float player_scale=1.0f)
std::string FontFolder()
Where the client's fonts are, next to it.
void LoadFonts(const std::string &folder)
void ApplyTheme(float at)
ImGui's style in our colours, with its sizes and its text at the scale.
float InterfaceScale(float height, float player)