mirror of
				https://github.com/Drezil/imgui.git
				synced 2025-11-04 07:01:04 +01:00 
			
		
		
		
	Merge branch 'master' into viewport
# Conflicts: # examples/imgui_impl_opengl3.cpp # imgui.cpp # imgui.h # imgui_draw.cpp # imgui_internal.h
This commit is contained in:
		@@ -210,6 +210,7 @@ static inline ImVec2 ImMul(const ImVec2& lhs, const ImVec2& rhs)
 | 
			
		||||
 | 
			
		||||
enum ImGuiButtonFlags_
 | 
			
		||||
{
 | 
			
		||||
    ImGuiButtonFlags_None                   = 0,
 | 
			
		||||
    ImGuiButtonFlags_Repeat                 = 1 << 0,   // hold to repeat
 | 
			
		||||
    ImGuiButtonFlags_PressedOnClickRelease  = 1 << 1,   // return true on click + release on same item [DEFAULT if no PressedOn* flag is set]
 | 
			
		||||
    ImGuiButtonFlags_PressedOnClick         = 1 << 2,   // return true on click (default requires click+release)
 | 
			
		||||
@@ -228,12 +229,14 @@ enum ImGuiButtonFlags_
 | 
			
		||||
 | 
			
		||||
enum ImGuiSliderFlags_
 | 
			
		||||
{
 | 
			
		||||
    ImGuiSliderFlags_None                   = 0,
 | 
			
		||||
    ImGuiSliderFlags_Vertical               = 1 << 0
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
enum ImGuiColumnsFlags_
 | 
			
		||||
{
 | 
			
		||||
    // Default: 0
 | 
			
		||||
    ImGuiColumnsFlags_None                  = 0,
 | 
			
		||||
    ImGuiColumnsFlags_NoBorder              = 1 << 0,   // Disable column dividers
 | 
			
		||||
    ImGuiColumnsFlags_NoResize              = 1 << 1,   // Disable resizing columns when clicking on the dividers
 | 
			
		||||
    ImGuiColumnsFlags_NoPreserveWidths      = 1 << 2,   // Disable column width preservation when adjusting columns
 | 
			
		||||
@@ -253,6 +256,7 @@ enum ImGuiSelectableFlagsPrivate_
 | 
			
		||||
 | 
			
		||||
enum ImGuiSeparatorFlags_
 | 
			
		||||
{
 | 
			
		||||
    ImGuiSeparatorFlags_None                = 0,
 | 
			
		||||
    ImGuiSeparatorFlags_Horizontal          = 1 << 0,   // Axis default to current layout type, so generally Horizontal unless e.g. in a menu bar
 | 
			
		||||
    ImGuiSeparatorFlags_Vertical            = 1 << 1
 | 
			
		||||
};
 | 
			
		||||
@@ -260,6 +264,7 @@ enum ImGuiSeparatorFlags_
 | 
			
		||||
// Storage for LastItem data
 | 
			
		||||
enum ImGuiItemStatusFlags_
 | 
			
		||||
{
 | 
			
		||||
    ImGuiItemStatusFlags_None               = 0,
 | 
			
		||||
    ImGuiItemStatusFlags_HoveredRect        = 1 << 0,
 | 
			
		||||
    ImGuiItemStatusFlags_HasDisplayRect     = 1 << 1
 | 
			
		||||
};
 | 
			
		||||
@@ -910,7 +915,7 @@ enum ImGuiItemFlags_
 | 
			
		||||
{
 | 
			
		||||
    ImGuiItemFlags_AllowKeyboardFocus           = 1 << 0,  // true
 | 
			
		||||
    ImGuiItemFlags_ButtonRepeat                 = 1 << 1,  // false    // Button() will return true multiple times based on io.KeyRepeatDelay and io.KeyRepeatRate settings.
 | 
			
		||||
    ImGuiItemFlags_Disabled                     = 1 << 2,  // false    // FIXME-WIP: Disable interactions but doesn't affect visuals. Should be: grey out and disable interactions with widgets that affect data + view widgets (WIP)
 | 
			
		||||
    ImGuiItemFlags_Disabled                     = 1 << 2,  // false    // [BETA] Disable interactions but doesn't affect visuals yet. See github.com/ocornut/imgui/issues/211
 | 
			
		||||
    ImGuiItemFlags_NoNav                        = 1 << 3,  // false
 | 
			
		||||
    ImGuiItemFlags_NoNavDefaultFocus            = 1 << 4,  // false
 | 
			
		||||
    ImGuiItemFlags_SelectableDontClosePopup     = 1 << 5,  // false    // MenuItem/Selectable() automatically closes current Popup window
 | 
			
		||||
@@ -1138,7 +1143,8 @@ namespace ImGui
 | 
			
		||||
    IMGUI_API void          Shutdown(ImGuiContext* context);    // Since 1.60 this is a _private_ function. You can call DestroyContext() to destroy the context created by CreateContext().
 | 
			
		||||
 | 
			
		||||
    IMGUI_API void          UpdateHoveredWindowAndCaptureFlags();
 | 
			
		||||
    IMGUI_API void          UpdateMovingWindow();
 | 
			
		||||
    IMGUI_API void          StartMouseMovingWindow(ImGuiWindow* window);
 | 
			
		||||
    IMGUI_API void          UpdateMouseMovingWindow();
 | 
			
		||||
 | 
			
		||||
    // Viewports
 | 
			
		||||
    IMGUI_API ImGuiViewportP*       FindViewportByID(ImGuiID id);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user