Drags, Sliders: Logarithmic: Moved flags to internals, allowing 1.0f to pass by. (#3361, #1823, #1316, #642)

This commit is contained in:
omar
2020-07-22 18:00:50 +02:00
committed by ocornut
parent 152dae9e2a
commit 43c099f31e
4 changed files with 45 additions and 35 deletions

View File

@ -631,6 +631,18 @@ enum ImGuiButtonFlagsPrivate_
ImGuiButtonFlags_PressedOnDefault_ = ImGuiButtonFlags_PressedOnClickRelease
};
// Extend ImGuiDragFlags_
enum ImGuiDragFlagsPrivate_
{
ImGuiDragFlags_Vertical = 1 << 20 // Should this widget be orientated vertically?
};
// Extend ImGuiSliderFlags_
enum ImGuiSliderFlagsPrivate_
{
ImGuiSliderFlags_Vertical = 1 << 20 // Should this slider be orientated vertically?
};
// Extend ImGuiSelectableFlags_
enum ImGuiSelectableFlagsPrivate_
{