summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorAldrik Ramaekers <aldrik@mailbox.org>2026-01-11 12:28:43 +0100
committerAldrik Ramaekers <aldrik@mailbox.org>2026-01-11 12:28:43 +0100
commitccbc6a8f0836583fabd59919bd7930d7cfe1473e (patch)
tree9b40413d853ff9cce52b6d697314b6bc4ea015e4 /libs
parent6166eeda08fd1d4106afe47416a73de60700d17e (diff)
ui improvements
Diffstat (limited to 'libs')
-rw-r--r--libs/imgui/imgui.cpp8
-rw-r--r--libs/imgui/imgui.h2
2 files changed, 1 insertions, 9 deletions
diff --git a/libs/imgui/imgui.cpp b/libs/imgui/imgui.cpp
index dd13cc1..d3d82d4 100644
--- a/libs/imgui/imgui.cpp
+++ b/libs/imgui/imgui.cpp
@@ -16677,14 +16677,6 @@ void ImGui::DebugBreakButtonTooltip(bool keyboard_only, const char* description_
EndTooltip();
}
-void ImGui::LoadingIndicatorCircleSmall()
-{
- float radius = 10.0f;
- const ImVec4 col = ImGui::GetStyleColorVec4(ImGuiCol_ButtonHovered);
- const ImVec4 bg = ImGui::GetStyleColorVec4(ImGuiCol_Button);
- ImGui::LoadingIndicatorCircle(radius, bg, col, 6, 4.0f);
-}
-
// From https://github.com/ocornut/imgui/issues/1901#issuecomment-444929973
void ImGui::LoadingIndicatorCircle(const float indicator_radius,
const ImVec4& main_color, const ImVec4& backdrop_color,
diff --git a/libs/imgui/imgui.h b/libs/imgui/imgui.h
index ad874ab..bfe7b0f 100644
--- a/libs/imgui/imgui.h
+++ b/libs/imgui/imgui.h
@@ -2300,7 +2300,7 @@ struct ImGuiStyle
float CircleTessellationMaxError; // Maximum error (in pixels) allowed when using AddCircle()/AddCircleFilled() or drawing rounded corner rectangles with no explicit segment count specified. Decrease for higher quality but more geometry.
// Colors
- ImVec4 Colors[ImGuiCol_COUNT];
+ ImVec4 Colors[ImGuiCol_COUNT + 50];
// Behaviors
// (It is possible to modify those fields mid-frame if specific behavior need it, unlike e.g. configuration fields in ImGuiIO)