ImGuiManager: Remove unused function

This commit is contained in:
Stenzek
2024-08-26 18:53:30 +10:00
parent 63bf64b05d
commit 2c27b20090
9 changed files with 8 additions and 19 deletions

View File

@ -937,11 +937,6 @@ float ImGuiManager::GetGlobalScale()
return s_global_scale;
}
float Host::GetOSDScale()
{
return ImGuiManager::s_global_scale;
}
ImFont* ImGuiManager::GetStandardFont()
{
return s_standard_font;

View File

@ -130,9 +130,6 @@ static constexpr float OSD_WARNING_DURATION = 10.0f;
static constexpr float OSD_INFO_DURATION = 5.0f;
static constexpr float OSD_QUICK_DURATION = 2.5f;
/// Returns the scale of OSD elements.
float GetOSDScale();
/// Adds OSD messages, duration is in seconds.
void AddOSDMessage(std::string message, float duration = 2.0f);
void AddKeyedOSDMessage(std::string key, std::string message, float duration = 2.0f);