diff options
Diffstat (limited to 'libs/imgui-1.92.1')
| -rw-r--r-- | libs/imgui-1.92.1/imgui.cpp | 4 | ||||
| -rw-r--r-- | libs/imgui-1.92.1/imgui.h | 4 | ||||
| -rw-r--r-- | libs/imgui-1.92.1/imgui_widgets.cpp | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/libs/imgui-1.92.1/imgui.cpp b/libs/imgui-1.92.1/imgui.cpp index 6838e50..d3d82d4 100644 --- a/libs/imgui-1.92.1/imgui.cpp +++ b/libs/imgui-1.92.1/imgui.cpp @@ -1386,7 +1386,7 @@ ImGuiStyle::ImGuiStyle() FontScaleDpi = 1.0f; // Additional scale factor from viewport/monitor contents scale. When io.ConfigDpiScaleFonts is enabled, this is automatically overwritten when changing monitor DPI. Alpha = 1.0f; // Global alpha applies to everything in Dear ImGui. - DisabledAlpha = 0.60f; // Additional alpha multiplier applied by BeginDisabled(). Multiply over current value of Alpha. + DisabledAlpha = 0.75f; // Additional alpha multiplier applied by BeginDisabled(). Multiply over current value of Alpha. WindowPadding = ImVec2(8,8); // Padding within a window WindowRounding = 0.0f; // Radius of window corners rounding. Set to 0.0f to have rectangular windows. Large values tend to lead to variety of artifacts and are not recommended. WindowBorderSize = 1.0f; // Thickness of border around windows. Generally set to 0.0f or 1.0f. Other values not well tested. @@ -16678,7 +16678,7 @@ void ImGui::DebugBreakButtonTooltip(bool keyboard_only, const char* description_ } // From https://github.com/ocornut/imgui/issues/1901#issuecomment-444929973 -void ImGui::LoadingIndicatorCircle(const char* label, const float indicator_radius, +void ImGui::LoadingIndicatorCircle(const float indicator_radius, const ImVec4& main_color, const ImVec4& backdrop_color, const int circle_count, const float speed) { ImGuiWindow* window = GetCurrentWindow(); diff --git a/libs/imgui-1.92.1/imgui.h b/libs/imgui-1.92.1/imgui.h index bfc70d4..7a3c8cd 100644 --- a/libs/imgui-1.92.1/imgui.h +++ b/libs/imgui-1.92.1/imgui.h @@ -377,7 +377,7 @@ namespace ImGui { IMGUI_API bool BeginComboPreview(); IMGUI_API void EndComboPreview(); - IMGUI_API void LoadingIndicatorCircle(const char* label, const float indicator_radius, + IMGUI_API void LoadingIndicatorCircle(const float indicator_radius, const ImVec4& main_color, const ImVec4& backdrop_color, const int circle_count, const float speed); @@ -570,7 +570,7 @@ namespace ImGui IMGUI_API ImVec2 GetCursorStartPos(); // [window-local] initial cursor position, in window-local coordinates. Call GetCursorScreenPos() after Begin() to get the absolute coordinates version. // Other layout functions - IMGUI_API void Separator(); // separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator. + IMGUI_API void Separator(float thickness = 1.0f); // separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator. IMGUI_API void SameLine(float offset_from_start_x=0.0f, float spacing=-1.0f); // call between widgets or groups to layout them horizontally. X position given in window coordinates. IMGUI_API void NewLine(); // undo a SameLine() or force a new line when in a horizontal-layout context. IMGUI_API void Spacing(); // add vertical spacing. diff --git a/libs/imgui-1.92.1/imgui_widgets.cpp b/libs/imgui-1.92.1/imgui_widgets.cpp index a0c4f14..501ec22 100644 --- a/libs/imgui-1.92.1/imgui_widgets.cpp +++ b/libs/imgui-1.92.1/imgui_widgets.cpp @@ -1677,7 +1677,7 @@ void ImGui::SeparatorEx(ImGuiSeparatorFlags flags, float thickness) } } -void ImGui::Separator() +void ImGui::Separator(float thickness) { ImGuiContext& g = *GImGui; ImGuiWindow* window = g.CurrentWindow; @@ -1692,7 +1692,7 @@ void ImGui::Separator() if (window->DC.CurrentColumns) flags |= ImGuiSeparatorFlags_SpanAllColumns; - SeparatorEx(flags, 1.0f); + SeparatorEx(flags, thickness); } void ImGui::SeparatorTextEx(ImGuiID id, const char* label, const char* label_end, float extra_w) |
