|
@ -48,6 +48,7 @@ typedef int ImGuiButtonFlags; // flags: for ButtonEx(), ButtonBehavior() |
|
|
typedef int ImGuiItemFlags; // flags: for PushItemFlag() // enum ImGuiItemFlags_
|
|
|
typedef int ImGuiItemFlags; // flags: for PushItemFlag() // enum ImGuiItemFlags_
|
|
|
typedef int ImGuiSeparatorFlags; // flags: for Separator() - internal // enum ImGuiSeparatorFlags_
|
|
|
typedef int ImGuiSeparatorFlags; // flags: for Separator() - internal // enum ImGuiSeparatorFlags_
|
|
|
typedef int ImGuiSliderFlags; // flags: for SliderBehavior() // enum ImGuiSliderFlags_
|
|
|
typedef int ImGuiSliderFlags; // flags: for SliderBehavior() // enum ImGuiSliderFlags_
|
|
|
|
|
|
typedef int ImGuiComboFlags; // flags: for BeginCombo() // enum ImGuiComboFlags_
|
|
|
|
|
|
|
|
|
//-------------------------------------------------------------------------
|
|
|
//-------------------------------------------------------------------------
|
|
|
// STB libraries
|
|
|
// STB libraries
|
|
@ -209,6 +210,10 @@ enum ImGuiSelectableFlagsPrivate_ |
|
|
ImGuiSelectableFlags_DrawFillAvailWidth = 1 << 6 |
|
|
ImGuiSelectableFlags_DrawFillAvailWidth = 1 << 6 |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
enum ImGuiComboFlags_ |
|
|
|
|
|
{ |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
enum ImGuiSeparatorFlags_ |
|
|
enum ImGuiSeparatorFlags_ |
|
|
{ |
|
|
{ |
|
|
ImGuiSeparatorFlags_Horizontal = 1 << 0, // Axis default to current layout type, so generally Horizontal unless e.g. in a menu bar
|
|
|
ImGuiSeparatorFlags_Horizontal = 1 << 0, // Axis default to current layout type, so generally Horizontal unless e.g. in a menu bar
|
|
@ -847,7 +852,7 @@ namespace ImGui |
|
|
IMGUI_API void PushColumnClipRect(int column_index = -1); |
|
|
IMGUI_API void PushColumnClipRect(int column_index = -1); |
|
|
|
|
|
|
|
|
// FIXME-WIP: New Combo API
|
|
|
// FIXME-WIP: New Combo API
|
|
|
IMGUI_API bool BeginCombo(const char* label, const char* preview_value, ImVec2 popup_size = ImVec2(0.0f,0.0f)); |
|
|
IMGUI_API bool BeginCombo(const char* label, const char* preview_value, ImGuiComboFlags flags = 0, ImVec2 popup_size = ImVec2(0.0f,0.0f)); |
|
|
IMGUI_API void EndCombo(); |
|
|
IMGUI_API void EndCombo(); |
|
|
|
|
|
|
|
|
// NB: All position are in absolute pixels coordinates (never using window coordinates internally)
|
|
|
// NB: All position are in absolute pixels coordinates (never using window coordinates internally)
|
|
|