From b1da412c845aadc9ecdc0d961b52d112cb6bf3d5 Mon Sep 17 00:00:00 2001 From: Baoulettes Date: Wed, 27 Apr 2022 04:24:16 +0200 Subject: [PATCH] A more generic name --- libultraship/libultraship/SohImGuiImpl.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libultraship/libultraship/SohImGuiImpl.h b/libultraship/libultraship/SohImGuiImpl.h index e814f4217..93750432a 100644 --- a/libultraship/libultraship/SohImGuiImpl.h +++ b/libultraship/libultraship/SohImGuiImpl.h @@ -60,6 +60,9 @@ namespace SohImGui { extern Console* console; void Init(WindowImpl window_impl); void Update(EventImpl event); + void EnhancementColorEdit3(std::string text, std::string cvarName, float ColorRGB[3]); + void EnhancementCheckbox(std::string text, std::string cvarName); + int ClampFloatToInt(float value, int min, int max); void DrawMainMenuAndCalculateGameSize(void); void DrawFramebufferAndGameInput(void); void Render(void); @@ -70,5 +73,5 @@ namespace SohImGui { void LoadResource(const std::string& name, const std::string& path, const ImVec4& tint = ImVec4(1, 1, 1, 1)); ImTextureID GetTextureByID(int id); ImTextureID GetTextureByName(const std::string& name); - void LoadHUDColors(); + void LoadCosmeticColors(); }