Difference between revisions of "Dear ImGui Flags"

From GiderosMobile
(wip)
(wip)
Line 93: Line 93:
 
ImGui.ColorEditFlags_NoLabel
 
ImGui.ColorEditFlags_NoLabel
 
ImGui.ColorEditFlags_NoTooltip
 
ImGui.ColorEditFlags_NoTooltip
 +
</syntaxhighlight>
 +
 +
== ComboFlags ==
 +
<syntaxhighlight lang="lua">
 +
ImGui.ComboFlags_HeightSmall
 +
ImGui.ComboFlags_HeightLarge
 +
ImGui.ComboFlags_PopupAlignLeft
 +
ImGui.ComboFlags_None
 +
ImGui.ComboFlags_NoPreview
 +
ImGui.ComboFlags_HeightRegular
 +
ImGui.ComboFlags_HeightMask
 +
ImGui.ComboFlags_NoArrowButton
 +
ImGui.ComboFlags_HeightLargest
 +
</syntaxhighlight>
 +
 +
== Cond ==
 +
<syntaxhighlight lang="lua">
 +
ImGui.Cond_Appearing
 +
ImGui.Cond_None
 +
ImGui.Cond_Always
 +
ImGui.Cond_FirstUseEver
 +
ImGui.Cond_Once
 +
</syntaxhighlight>
 +
 +
== ConfigFlags ==
 +
<syntaxhighlight lang="lua">
 +
ImGui.ConfigFlags_None                 
 +
ImGui.ConfigFlags_NavEnableKeyboard     
 +
ImGui.ConfigFlags_NavEnableGamepad     
 +
ImGui.ConfigFlags_NavEnableSetMousePos 
 +
ImGui.ConfigFlags_NavNoCaptureKeyboard 
 +
ImGui.ConfigFlags_NoMouse               
 +
ImGui.ConfigFlags_NoMouseCursorChange
 +
ImGui.ConfigFlags_IsSRGB               
 +
ImGui.ConfigFlags_IsTouchScreen
 +
</syntaxhighlight>
 +
 +
== corner_flags ==
 +
<syntaxhighlight lang="lua">
 +
ImGui.DrawFlags_None
 +
ImGui.DrawFlags_Closed
 +
ImGui.DrawFlags_RoundCornersTopLeft
 +
ImGui.DrawFlags_RoundCornersTopRight
 +
ImGui.DrawFlags_RoundCornersBottomLeft
 +
ImGui.DrawFlags_RoundCornersBottomRight
 +
ImGui.DrawFlags_RoundCornersTop
 +
ImGui.DrawFlags_RoundCornersBottom
 +
ImGui.DrawFlags_RoundCornersLeft
 +
ImGui.DrawFlags_RoundCornersRight
 +
ImGui.DrawFlags_RoundCornersAll
 +
</syntaxhighlight>
 +
 +
== DataType ==
 +
<syntaxhighlight lang="lua">
 +
ImGui.DataType_U8
 +
ImGui.DataType_S64
 +
ImGui.DataType_Float
 +
ImGui.DataType_S16
 +
ImGui.DataType_U16
 +
ImGui.DataType_Double
 +
ImGui.DataType_S8
 +
ImGui.DataType_U32
 +
ImGui.DataType_S32
 +
ImGui.DataType_U64
 +
</syntaxhighlight>
 +
 +
== Dir ==
 +
<syntaxhighlight lang="lua">
 +
ImGui.Dir_None
 +
ImGui.Dir_Left
 +
ImGui.Dir_Up
 +
ImGui.Dir_Down
 +
ImGui.Dir_Right
 +
</syntaxhighlight>
 +
 +
== DragDropFlags ==
 +
<syntaxhighlight lang="lua">
 +
ImGui.DragDropFlags_SourceNoPreviewTooltip
 +
ImGui.DragDropFlags_SourceAllowNullID
 +
ImGui.DragDropFlags_AcceptNoDrawDefaultRect
 +
ImGui.DragDropFlags_AcceptPeekOnly
 +
ImGui.DragDropFlags_AcceptBeforeDelivery
 +
ImGui.DragDropFlags_SourceNoHoldToOpenOthers
 +
ImGui.DragDropFlags_AcceptNoPreviewTooltip
 +
ImGui.DragDropFlags_SourceAutoExpirePayload
 +
ImGui.DragDropFlags_SourceExtern
 +
ImGui.DragDropFlags_None
 +
ImGui.DragDropFlags_SourceNoDisableHover
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 105: Line 193:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
== PopupFlags ==
+
== GlyphRanges ==
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
ImGui.PopupFlags_NoOpenOverExistingPopup
+
ImGui.GlyphRanges_Default,
ImGui.PopupFlags_MouseButtonLeft
+
ImGui.GlyphRanges_Korean,
ImGui.PopupFlags_MouseButtonMask
+
ImGui.GlyphRanges_ChineseFull,
ImGui.PopupFlags_MouseButtonRight
+
ImGui.GlyphRanges_ChineseSimplifiedCommon,
ImGui.PopupFlags_AnyPopupId
+
ImGui.GlyphRanges_Japanese,
ImGui.PopupFlags_MouseButtonDefault
+
ImGui.GlyphRanges_Cyrillic,
ImGui.PopupFlags_MouseButtonMiddle
+
ImGui.GlyphRanges_Thai,
ImGui.PopupFlags_None
+
ImGui.GlyphRanges_Vietnamese
ImGui.PopupFlags_AnyPopup
 
ImGui.PopupFlags_AnyPopupLevel
 
ImGui.PopupFlags_NoOpenOverItems
 
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 136: Line 221:
 
ImGui.HoveredFlags_DelayShort
 
ImGui.HoveredFlags_DelayShort
 
ImGui.HoveredFlags_NoSharedDelay
 
ImGui.HoveredFlags_NoSharedDelay
 +
</syntaxhighlight>
 +
 +
== ImageScaleMode ==
 +
<syntaxhighlight lang="lua">
 +
ImGui.ImageScaleMode_LetterBox
 +
ImGui.ImageScaleMode_FitWidth
 +
ImGui.ImageScaleMode_FitHeight
 +
ImGui.ImageScaleMode_Stretch
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 163: Line 256:
 
ImGui.InputTextFlags_CallbackCharFilter
 
ImGui.InputTextFlags_CallbackCharFilter
 
ImGui.InputTextFlags_CallbackEdit
 
ImGui.InputTextFlags_CallbackEdit
 +
</syntaxhighlight>
 +
 +
== ItemFlags ==
 +
<syntaxhighlight lang="lua">
 +
ImGui.ItemFlags_Disabled
 +
ImGui.ItemFlags_ButtonRepeat
 +
ImGui.ItemFlags_NoTabStop
 +
</syntaxhighlight>
 +
 +
== MouseButton ==
 +
<syntaxhighlight lang="lua">
 +
ImGui.MouseButton_Right
 +
ImGui.MouseButton_Middle
 +
ImGui.MouseButton_Left
 +
</syntaxhighlight>
 +
 +
== MouseCursor ==
 +
<syntaxhighlight lang="lua">
 +
ImGui.MouseCursor_Hand
 +
ImGui.MouseCursor_ResizeAll
 +
ImGui.MouseCursor_ResizeEW
 +
ImGui.MouseCursor_Arrow
 +
ImGui.MouseCursor_ResizeNS
 +
ImGui.MouseCursor_None
 +
ImGui.MouseCursor_NotAllowed
 +
ImGui.MouseCursor_ResizeNWSE
 +
ImGui.MouseCursor_ResizeNESW
 +
ImGui.MouseCursor_TextInput
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 185: Line 306:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
== TabBarFlags ==
+
== PopupFlags ==
 +
<syntaxhighlight lang="lua">
 +
ImGui.PopupFlags_NoOpenOverExistingPopup
 +
ImGui.PopupFlags_MouseButtonLeft
 +
ImGui.PopupFlags_MouseButtonMask
 +
ImGui.PopupFlags_MouseButtonRight
 +
ImGui.PopupFlags_AnyPopupId
 +
ImGui.PopupFlags_MouseButtonDefault
 +
ImGui.PopupFlags_MouseButtonMiddle
 +
ImGui.PopupFlags_None
 +
ImGui.PopupFlags_AnyPopup
 +
ImGui.PopupFlags_AnyPopupLevel
 +
ImGui.PopupFlags_NoOpenOverItems
 +
</syntaxhighlight>
 +
 
 +
== SelectableFlags ==
 +
<syntaxhighlight lang="lua">
 +
ImGui.SelectableFlags_None
 +
ImGui.SelectableFlags_SpanAllColumns
 +
ImGui.SelectableFlags_AllowItemOverlap
 +
ImGui.SelectableFlags_DontClosePopups
 +
ImGui.SelectableFlags_AllowDoubleClick
 +
ImGui.SelectableFlags_Disabled
 +
</syntaxhighlight>
 +
 
 +
== SliderFlags ==
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
ImGui.TabBarFlags_AutoSelectNewTabs
+
ImGui.SliderFlags_None         
ImGui.TabBarFlags_NoCloseWithMiddleMouseButton
+
ImGui.SliderFlags_AlwaysClamp
ImGui.TabBarFlags_TabListPopupButton
+
ImGui.SliderFlags_Logarithmic 
ImGui.TabBarFlags_NoTooltip
+
ImGui.SliderFlags_NoRoundToFormat
ImGui.TabBarFlags_FittingPolicyMask
+
ImGui.SliderFlags_NoInput
ImGui.TabBarFlags_Reorderable
 
ImGui.TabBarFlags_FittingPolicyDefault
 
ImGui.TabBarFlags_FittingPolicyScroll
 
ImGui.TabBarFlags_FittingPolicyResizeDown
 
ImGui.TabBarFlags_None
 
ImGui.TabBarFlags_NoTabListScrollingButtons
 
 
</syntaxhighlight>
 
</syntaxhighlight>
  
== TreeNodeFlags ==
+
== SortDirection ==
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
ImGui.TreeNodeFlags_Bullet
+
ImGui.SortDirection_None
ImGui.TreeNodeFlags_None
+
ImGui.SortDirection_Ascending
ImGui.TreeNodeFlags_CollapsingHeader
+
ImGui.SortDirection_Descending
ImGui.TreeNodeFlags_NavLeftJumpsBackHere
 
ImGui.TreeNodeFlags_Framed
 
ImGui.TreeNodeFlags_FramePadding
 
ImGui.TreeNodeFlags_AllowItemOverlap
 
ImGui.TreeNodeFlags_OpenOnArrow
 
ImGui.TreeNodeFlags_SpanFullWidth
 
ImGui.TreeNodeFlags_NoAutoOpenOnLog
 
ImGui.TreeNodeFlags_Leaf
 
ImGui.TreeNodeFlags_NoTreePushOnOpen
 
ImGui.TreeNodeFlags_Selected
 
ImGui.TreeNodeFlags_SpanAvailWidth
 
ImGui.TreeNodeFlags_OpenOnDoubleClick
 
ImGui.TreeNodeFlags_DefaultOpen
 
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 252: Line 379:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
== DataType ==
+
== TabBarFlags ==
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
ImGui.DataType_U8
+
ImGui.TabBarFlags_AutoSelectNewTabs
ImGui.DataType_S64
+
ImGui.TabBarFlags_NoCloseWithMiddleMouseButton
ImGui.DataType_Float
+
ImGui.TabBarFlags_TabListPopupButton
ImGui.DataType_S16
+
ImGui.TabBarFlags_NoTooltip
ImGui.DataType_U16
+
ImGui.TabBarFlags_FittingPolicyMask
ImGui.DataType_Double
+
ImGui.TabBarFlags_Reorderable
ImGui.DataType_S8
+
ImGui.TabBarFlags_FittingPolicyDefault
ImGui.DataType_U32
+
ImGui.TabBarFlags_FittingPolicyScroll
ImGui.DataType_S32
+
ImGui.TabBarFlags_FittingPolicyResizeDown
ImGui.DataType_U64
+
ImGui.TabBarFlags_None
</syntaxhighlight>
+
ImGui.TabBarFlags_NoTabListScrollingButtons
 
 
== Dir ==
 
<syntaxhighlight lang="lua">
 
ImGui.Dir_None
 
ImGui.Dir_Left
 
ImGui.Dir_Up
 
ImGui.Dir_Down
 
ImGui.Dir_Right
 
</syntaxhighlight>
 
 
 
== WindowFlags ==
 
<syntaxhighlight lang="lua">
 
ImGui.WindowFlags_NoScrollWithMouse
 
ImGui.WindowFlags_None
 
ImGui.WindowFlags_NoScrollbar
 
ImGui.WindowFlags_HorizontalScrollbar
 
ImGui.WindowFlags_NoFocusOnAppearing
 
ImGui.WindowFlags_NoBringToFrontOnFocus
 
ImGui.WindowFlags_NoDecoration
 
ImGui.WindowFlags_NoCollapse
 
ImGui.WindowFlags_NoTitleBar
 
ImGui.WindowFlags_NoMove
 
ImGui.WindowFlags_NoInputs
 
ImGui.WindowFlags_NoMouseInputs
 
ImGui.WindowFlags_NoSavedSettings
 
ImGui.WindowFlags_NoNav
 
ImGui.WindowFlags_UnsavedDocument
 
ImGui.WindowFlags_NoNavFocus
 
ImGui.WindowFlags_AlwaysHorizontalScrollbar
 
ImGui.WindowFlags_AlwaysUseWindowPadding
 
ImGui.WindowFlags_NoNavInputs
 
ImGui.WindowFlags_NoResize
 
ImGui.WindowFlags_AlwaysVerticalScrollbar
 
ImGui.WindowFlags_MenuBar
 
ImGui.WindowFlags_NoBackground
 
ImGui.WindowFlags_AlwaysAutoResize
 
ImGui.WindowFlags_FullScreen -- custom constant, used to create a fullscreen window
 
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 315: Line 405:
 
ImGui.TabItemFlags_Trailing
 
ImGui.TabItemFlags_Trailing
 
ImGui.TabItemFlags_NoReorder
 
ImGui.TabItemFlags_NoReorder
</syntaxhighlight>
 
 
== ComboFlags ==
 
<syntaxhighlight lang="lua">
 
ImGui.ComboFlags_HeightSmall
 
ImGui.ComboFlags_HeightLarge
 
ImGui.ComboFlags_PopupAlignLeft
 
ImGui.ComboFlags_None
 
ImGui.ComboFlags_NoPreview
 
ImGui.ComboFlags_HeightRegular
 
ImGui.ComboFlags_HeightMask
 
ImGui.ComboFlags_NoArrowButton
 
ImGui.ComboFlags_HeightLargest
 
</syntaxhighlight>
 
 
== Cond ==
 
<syntaxhighlight lang="lua">
 
ImGui.Cond_Appearing
 
ImGui.Cond_None
 
ImGui.Cond_Always
 
ImGui.Cond_FirstUseEver
 
ImGui.Cond_Once
 
</syntaxhighlight>
 
 
== SelectableFlags ==
 
<syntaxhighlight lang="lua">
 
ImGui.SelectableFlags_None
 
ImGui.SelectableFlags_SpanAllColumns
 
ImGui.SelectableFlags_AllowItemOverlap
 
ImGui.SelectableFlags_DontClosePopups
 
ImGui.SelectableFlags_AllowDoubleClick
 
ImGui.SelectableFlags_Disabled
 
</syntaxhighlight>
 
 
== MouseCursor ==
 
<syntaxhighlight lang="lua">
 
ImGui.MouseCursor_Hand
 
ImGui.MouseCursor_ResizeAll
 
ImGui.MouseCursor_ResizeEW
 
ImGui.MouseCursor_Arrow
 
ImGui.MouseCursor_ResizeNS
 
ImGui.MouseCursor_None
 
ImGui.MouseCursor_NotAllowed
 
ImGui.MouseCursor_ResizeNWSE
 
ImGui.MouseCursor_ResizeNESW
 
ImGui.MouseCursor_TextInput
 
</syntaxhighlight>
 
 
== MouseButton ==
 
<syntaxhighlight lang="lua">
 
ImGui.MouseButton_Right
 
ImGui.MouseButton_Middle
 
ImGui.MouseButton_Left
 
</syntaxhighlight>
 
 
== ColorEditFlags ==
 
<syntaxhighlight lang="lua">
 
 
== DragDropFlags ==
 
<syntaxhighlight lang="lua">
 
ImGui.DragDropFlags_SourceNoPreviewTooltip
 
ImGui.DragDropFlags_SourceAllowNullID
 
ImGui.DragDropFlags_AcceptNoDrawDefaultRect
 
ImGui.DragDropFlags_AcceptPeekOnly
 
ImGui.DragDropFlags_AcceptBeforeDelivery
 
ImGui.DragDropFlags_SourceNoHoldToOpenOthers
 
ImGui.DragDropFlags_AcceptNoPreviewTooltip
 
ImGui.DragDropFlags_SourceAutoExpirePayload
 
ImGui.DragDropFlags_SourceExtern
 
ImGui.DragDropFlags_None
 
ImGui.DragDropFlags_SourceNoDisableHover
 
</syntaxhighlight>
 
 
== corner_flags ==
 
<syntaxhighlight lang="lua">
 
ImGui.DrawFlags_None
 
ImGui.DrawFlags_Closed
 
ImGui.DrawFlags_RoundCornersTopLeft
 
ImGui.DrawFlags_RoundCornersTopRight
 
ImGui.DrawFlags_RoundCornersBottomLeft
 
ImGui.DrawFlags_RoundCornersBottomRight
 
ImGui.DrawFlags_RoundCornersTop
 
ImGui.DrawFlags_RoundCornersBottom
 
ImGui.DrawFlags_RoundCornersLeft
 
ImGui.DrawFlags_RoundCornersRight
 
ImGui.DrawFlags_RoundCornersAll
 
</syntaxhighlight>
 
 
== ConfigFlags ==
 
<syntaxhighlight lang="lua">
 
ImGui.ConfigFlags_None                 
 
ImGui.ConfigFlags_NavEnableKeyboard     
 
ImGui.ConfigFlags_NavEnableGamepad     
 
ImGui.ConfigFlags_NavEnableSetMousePos 
 
ImGui.ConfigFlags_NavNoCaptureKeyboard 
 
ImGui.ConfigFlags_NoMouse               
 
ImGui.ConfigFlags_NoMouseCursorChange
 
ImGui.ConfigFlags_IsSRGB               
 
ImGui.ConfigFlags_IsTouchScreen
 
</syntaxhighlight>
 
 
== SliderFlags ==
 
<syntaxhighlight lang="lua">
 
ImGui.SliderFlags_None         
 
ImGui.SliderFlags_AlwaysClamp
 
ImGui.SliderFlags_Logarithmic 
 
ImGui.SliderFlags_NoRoundToFormat
 
ImGui.SliderFlags_NoInput
 
</syntaxhighlight>
 
 
== GlyphRanges ==
 
<syntaxhighlight lang="lua">
 
ImGui.GlyphRanges_Default,
 
ImGui.GlyphRanges_Korean,
 
ImGui.GlyphRanges_ChineseFull,
 
ImGui.GlyphRanges_ChineseSimplifiedCommon,
 
ImGui.GlyphRanges_Japanese,
 
ImGui.GlyphRanges_Cyrillic,
 
ImGui.GlyphRanges_Thai,
 
ImGui.GlyphRanges_Vietnamese
 
</syntaxhighlight>
 
 
== ItemFlags ==
 
<syntaxhighlight lang="lua">
 
ImGui.ItemFlags_Disabled
 
ImGui.ItemFlags_ButtonRepeat
 
ImGui.ItemFlags_NoTabStop
 
</syntaxhighlight>
 
 
== TableBgTarget ==
 
<syntaxhighlight lang="lua">
 
ImGui.TableBgTarget_None
 
ImGui.TableBgTarget_RowBg0
 
ImGui.TableBgTarget_RowBg1
 
ImGui.TableBgTarget_CellBg
 
</syntaxhighlight>
 
 
== TableColumnFlags ==
 
<syntaxhighlight lang="lua">
 
ImGui.TableColumnFlags_None
 
ImGui.TableColumnFlags_DefaultHide
 
ImGui.TableColumnFlags_DefaultSort
 
ImGui.TableColumnFlags_WidthStretch
 
ImGui.TableColumnFlags_WidthFixed
 
ImGui.TableColumnFlags_NoResize
 
ImGui.TableColumnFlags_NoReorder
 
ImGui.TableColumnFlags_NoHide
 
ImGui.TableColumnFlags_NoClip
 
ImGui.TableColumnFlags_NoSort
 
ImGui.TableColumnFlags_NoSortAscending
 
ImGui.TableColumnFlags_NoSortDescending
 
ImGui.TableColumnFlags_NoHeaderWidth
 
ImGui.TableColumnFlags_PreferSortAscending
 
ImGui.TableColumnFlags_PreferSortDescending
 
ImGui.TableColumnFlags_IndentEnable
 
ImGui.TableColumnFlags_IndentDisable
 
ImGui.TableColumnFlags_IsEnabled
 
ImGui.TableColumnFlags_IsVisible
 
ImGui.TableColumnFlags_IsSorted
 
ImGui.TableColumnFlags_IsHovered
 
ImGui.TableColumnFlags_Disabled
 
ImGui.TableColumnFlags_NoHeaderLabel
 
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 516: Line 444:
 
ImGui.TableFlags_SortMulti
 
ImGui.TableFlags_SortMulti
 
ImGui.TableFlags_SortTristate
 
ImGui.TableFlags_SortTristate
 +
</syntaxhighlight>
 +
 +
== TableBgTarget ==
 +
<syntaxhighlight lang="lua">
 +
ImGui.TableBgTarget_None
 +
ImGui.TableBgTarget_RowBg0
 +
ImGui.TableBgTarget_RowBg1
 +
ImGui.TableBgTarget_CellBg
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 541: Line 477:
 
ImGui.TableColumnFlags_IsSorted
 
ImGui.TableColumnFlags_IsSorted
 
ImGui.TableColumnFlags_IsHovered
 
ImGui.TableColumnFlags_IsHovered
 +
ImGui.TableColumnFlags_Disabled
 +
ImGui.TableColumnFlags_NoHeaderLabel
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 547: Line 485:
 
ImGui.TableRowFlags_None
 
ImGui.TableRowFlags_None
 
ImGui.TableRowFlags_Headers
 
ImGui.TableRowFlags_Headers
</syntaxhighlight>
 
 
== SortDirection ==
 
<syntaxhighlight lang="lua">
 
ImGui.SortDirection_None
 
ImGui.SortDirection_Ascending
 
ImGui.SortDirection_Descending
 
 
</syntaxhighlight>
 
</syntaxhighlight>
  
Line 581: Line 512:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
== ImageScaleMode ==
+
== TreeNodeFlags ==
 +
<syntaxhighlight lang="lua">
 +
ImGui.TreeNodeFlags_Bullet
 +
ImGui.TreeNodeFlags_None
 +
ImGui.TreeNodeFlags_CollapsingHeader
 +
ImGui.TreeNodeFlags_NavLeftJumpsBackHere
 +
ImGui.TreeNodeFlags_Framed
 +
ImGui.TreeNodeFlags_FramePadding
 +
ImGui.TreeNodeFlags_AllowItemOverlap
 +
ImGui.TreeNodeFlags_OpenOnArrow
 +
ImGui.TreeNodeFlags_SpanFullWidth
 +
ImGui.TreeNodeFlags_NoAutoOpenOnLog
 +
ImGui.TreeNodeFlags_Leaf
 +
ImGui.TreeNodeFlags_NoTreePushOnOpen
 +
ImGui.TreeNodeFlags_Selected
 +
ImGui.TreeNodeFlags_SpanAvailWidth
 +
ImGui.TreeNodeFlags_OpenOnDoubleClick
 +
ImGui.TreeNodeFlags_DefaultOpen
 +
</syntaxhighlight>
 +
 
 +
== WindowFlags ==
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
ImGui.ImageScaleMode_LetterBox
+
ImGui.WindowFlags_NoScrollWithMouse
ImGui.ImageScaleMode_FitWidth
+
ImGui.WindowFlags_None
ImGui.ImageScaleMode_FitHeight
+
ImGui.WindowFlags_NoScrollbar
ImGui.ImageScaleMode_Stretch
+
ImGui.WindowFlags_HorizontalScrollbar
 +
ImGui.WindowFlags_NoFocusOnAppearing
 +
ImGui.WindowFlags_NoBringToFrontOnFocus
 +
ImGui.WindowFlags_NoDecoration
 +
ImGui.WindowFlags_NoCollapse
 +
ImGui.WindowFlags_NoTitleBar
 +
ImGui.WindowFlags_NoMove
 +
ImGui.WindowFlags_NoInputs
 +
ImGui.WindowFlags_NoMouseInputs
 +
ImGui.WindowFlags_NoSavedSettings
 +
ImGui.WindowFlags_NoNav
 +
ImGui.WindowFlags_UnsavedDocument
 +
ImGui.WindowFlags_NoNavFocus
 +
ImGui.WindowFlags_AlwaysHorizontalScrollbar
 +
ImGui.WindowFlags_AlwaysUseWindowPadding
 +
ImGui.WindowFlags_NoNavInputs
 +
ImGui.WindowFlags_NoResize
 +
ImGui.WindowFlags_AlwaysVerticalScrollbar
 +
ImGui.WindowFlags_MenuBar
 +
ImGui.WindowFlags_NoBackground
 +
ImGui.WindowFlags_AlwaysAutoResize
 +
ImGui.WindowFlags_FullScreen -- custom constant, used to create a fullscreen window
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 15:50, 6 October 2024

BackendFlags

ImGui.BackendFlags_None
ImGui.BackendFlags_HasGamepad
ImGui.BackendFlags_HasMouseCursors
ImGui.BackendFlags_HasSetMousePos
ImGui.BackendFlags_RendererHasVtxOffset

Col

ImGui.Col_Border
ImGui.Col_BorderShadow
ImGui.Col_Button
ImGui.Col_ButtonActive
ImGui.Col_ButtonHovered
ImGui.Col_CheckMark
ImGui.Col_ChildBg
ImGui.Col_DragDropTarget
ImGui.Col_FrameBg
ImGui.Col_FrameBgActive
ImGui.Col_FrameBgHovered
ImGui.Col_Header
ImGui.Col_HeaderActive
ImGui.Col_HeaderHovered
ImGui.Col_MenuBarBg
ImGui.Col_ModalWindowDimBg
ImGui.Col_NavHighlight
ImGui.Col_NavWindowingDimBg
ImGui.Col_NavWindowingHighlight
ImGui.Col_PlotHistogram
ImGui.Col_PlotHistogramHovered
ImGui.Col_PlotLines
ImGui.Col_PlotLinesHovered
ImGui.Col_PopupBg
ImGui.Col_ResizeGrip
ImGui.Col_ResizeGripActive
ImGui.Col_ResizeGripHovered
ImGui.Col_ScrollbarBg
ImGui.Col_ScrollbarGrab
ImGui.Col_ScrollbarGrabActive
ImGui.Col_ScrollbarGrabHovered
ImGui.Col_Separator
ImGui.Col_SeparatorActive
ImGui.Col_SeparatorHovered
ImGui.Col_SliderGrab
ImGui.Col_SliderGrabActive
ImGui.Col_Tab
ImGui.Col_TabActive
ImGui.Col_TabHovered
ImGui.Col_TableBorderLight
ImGui.Col_TableBorderStrong
ImGui.Col_TableHeaderBg
ImGui.Col_TableRowBg
ImGui.Col_TableRowBgAlt
ImGui.Col_TabUnfocused
ImGui.Col_TabUnfocusedActive
ImGui.Col_Text
ImGui.Col_TextDisabled
ImGui.Col_TextSelectedBg
ImGui.Col_TitleBg
ImGui.Col_TitleBgActive
ImGui.Col_TitleBgCollapsed
ImGui.Col_WindowBg

ColorEditFlags

ImGui.ColorEditFlags_AlphaPreview
ImGui.ColorEditFlags_DisplayRGB
ImGui.ColorEditFlags_DisplayHex
ImGui.ColorEditFlags_InputHSV
ImGui.ColorEditFlags_NoSidePreview
ImGui.ColorEditFlags_Uint8
ImGui.ColorEditFlags_AlphaPreviewHalf
ImGui.ColorEditFlags_Float
ImGui.ColorEditFlags_PickerHueWheel
ImGui.ColorEditFlags_OptionsDefault
ImGui.ColorEditFlags_InputRGB
ImGui.ColorEditFlags_HDR
ImGui.ColorEditFlags_NoPicker
ImGui.ColorEditFlags_AlphaBar
ImGui.ColorEditFlags_DisplayHSV
ImGui.ColorEditFlags_PickerHueBar
ImGui.ColorEditFlags_NoAlpha
ImGui.ColorEditFlags_NoOptions
ImGui.ColorEditFlags_NoDragDrop
ImGui.ColorEditFlags_NoInputs
ImGui.ColorEditFlags_None
ImGui.ColorEditFlags_NoSmallPreview
ImGui.ColorEditFlags_NoBorder
ImGui.ColorEditFlags_NoLabel
ImGui.ColorEditFlags_NoTooltip

ComboFlags

ImGui.ComboFlags_HeightSmall
ImGui.ComboFlags_HeightLarge
ImGui.ComboFlags_PopupAlignLeft
ImGui.ComboFlags_None
ImGui.ComboFlags_NoPreview
ImGui.ComboFlags_HeightRegular
ImGui.ComboFlags_HeightMask
ImGui.ComboFlags_NoArrowButton
ImGui.ComboFlags_HeightLargest

Cond

ImGui.Cond_Appearing
ImGui.Cond_None
ImGui.Cond_Always
ImGui.Cond_FirstUseEver
ImGui.Cond_Once

ConfigFlags

ImGui.ConfigFlags_None                   
ImGui.ConfigFlags_NavEnableKeyboard      
ImGui.ConfigFlags_NavEnableGamepad       
ImGui.ConfigFlags_NavEnableSetMousePos   
ImGui.ConfigFlags_NavNoCaptureKeyboard   
ImGui.ConfigFlags_NoMouse                
ImGui.ConfigFlags_NoMouseCursorChange
ImGui.ConfigFlags_IsSRGB                 
ImGui.ConfigFlags_IsTouchScreen

corner_flags

ImGui.DrawFlags_None
ImGui.DrawFlags_Closed
ImGui.DrawFlags_RoundCornersTopLeft
ImGui.DrawFlags_RoundCornersTopRight
ImGui.DrawFlags_RoundCornersBottomLeft
ImGui.DrawFlags_RoundCornersBottomRight
ImGui.DrawFlags_RoundCornersTop
ImGui.DrawFlags_RoundCornersBottom
ImGui.DrawFlags_RoundCornersLeft
ImGui.DrawFlags_RoundCornersRight
ImGui.DrawFlags_RoundCornersAll

DataType

ImGui.DataType_U8
ImGui.DataType_S64
ImGui.DataType_Float
ImGui.DataType_S16
ImGui.DataType_U16
ImGui.DataType_Double
ImGui.DataType_S8
ImGui.DataType_U32
ImGui.DataType_S32
ImGui.DataType_U64

Dir

ImGui.Dir_None
ImGui.Dir_Left
ImGui.Dir_Up
ImGui.Dir_Down
ImGui.Dir_Right

DragDropFlags

ImGui.DragDropFlags_SourceNoPreviewTooltip
ImGui.DragDropFlags_SourceAllowNullID
ImGui.DragDropFlags_AcceptNoDrawDefaultRect
ImGui.DragDropFlags_AcceptPeekOnly
ImGui.DragDropFlags_AcceptBeforeDelivery
ImGui.DragDropFlags_SourceNoHoldToOpenOthers
ImGui.DragDropFlags_AcceptNoPreviewTooltip
ImGui.DragDropFlags_SourceAutoExpirePayload
ImGui.DragDropFlags_SourceExtern
ImGui.DragDropFlags_None
ImGui.DragDropFlags_SourceNoDisableHover

FocusedFlags

ImGui.FocusedFlags_ChildWindows
ImGui.FocusedFlags_AnyWindow
ImGui.FocusedFlags_RootWindow
ImGui.FocusedFlags_RootAndChildWindows
ImGui.FocusedFlags_None
ImGui.FocusedFlags_NoPopupHierarchy

GlyphRanges

ImGui.GlyphRanges_Default,
ImGui.GlyphRanges_Korean,
ImGui.GlyphRanges_ChineseFull,
ImGui.GlyphRanges_ChineseSimplifiedCommon,
ImGui.GlyphRanges_Japanese,
ImGui.GlyphRanges_Cyrillic,
ImGui.GlyphRanges_Thai,
ImGui.GlyphRanges_Vietnamese

HoveredFlags

ImGui.HoveredFlags_None
ImGui.HoveredFlags_RootAndChildWindows
ImGui.HoveredFlags_AllowWhenBlockedByPopup
ImGui.HoveredFlags_AllowWhenBlockedByActiveItem
ImGui.HoveredFlags_ChildWindows
ImGui.HoveredFlags_RectOnly
ImGui.HoveredFlags_AllowWhenDisabled
ImGui.HoveredFlags_AllowWhenOverlapped
ImGui.HoveredFlags_AnyWindow
ImGui.HoveredFlags_RootWindow
ImGui.HoveredFlags_NoNavOverride
ImGui.HoveredFlags_DelayNormal
ImGui.HoveredFlags_DelayShort
ImGui.HoveredFlags_NoSharedDelay

ImageScaleMode

ImGui.ImageScaleMode_LetterBox
ImGui.ImageScaleMode_FitWidth
ImGui.ImageScaleMode_FitHeight
ImGui.ImageScaleMode_Stretch

InputTextFlags

ImGui.InputTextFlags_None
ImGui.InputTextFlags_EnterReturnsTrue
ImGui.InputTextFlags_ReadOnly
ImGui.InputTextFlags_AutoSelectAll
ImGui.InputTextFlags_AllowTabInput
ImGui.InputTextFlags_CharsScientific
ImGui.InputTextFlags_CharsDecimal
ImGui.InputTextFlags_NoUndoRedo
ImGui.InputTextFlags_CtrlEnterForNewLine
ImGui.InputTextFlags_CharsHexadecimal
ImGui.InputTextFlags_CharsNoBlank
ImGui.InputTextFlags_Password
ImGui.InputTextFlags_NoHorizontalScroll
ImGui.InputTextFlags_AlwaysInsertMode
ImGui.InputTextFlags_CharsUppercase
ImGui.InputTextFlags_NoBackground -- custom constant, used to disable background
ImGui.InputTextFlags_EscapeClearsAll
ImGui.InputTextFlags_CallbackCompletion
ImGui.InputTextFlags_CallbackResize
ImGui.InputTextFlags_CallbackAlways
ImGui.InputTextFlags_CallbackHistory
ImGui.InputTextFlags_CallbackCharFilter
ImGui.InputTextFlags_CallbackEdit

ItemFlags

ImGui.ItemFlags_Disabled
ImGui.ItemFlags_ButtonRepeat
ImGui.ItemFlags_NoTabStop

MouseButton

ImGui.MouseButton_Right
ImGui.MouseButton_Middle
ImGui.MouseButton_Left

MouseCursor

ImGui.MouseCursor_Hand
ImGui.MouseCursor_ResizeAll
ImGui.MouseCursor_ResizeEW
ImGui.MouseCursor_Arrow
ImGui.MouseCursor_ResizeNS
ImGui.MouseCursor_None
ImGui.MouseCursor_NotAllowed
ImGui.MouseCursor_ResizeNWSE
ImGui.MouseCursor_ResizeNESW
ImGui.MouseCursor_TextInput

NavInput

ImGui.NavInput_FocusNext
ImGui.NavInput_TweakFast
ImGui.NavInput_Input
ImGui.NavInput_DpadRight
ImGui.NavInput_FocusPrev
ImGui.NavInput_LStickDown
ImGui.NavInput_LStickUp
ImGui.NavInput_Activate
ImGui.NavInput_LStickLeft
ImGui.NavInput_LStickRight
ImGui.NavInput_DpadLeft
ImGui.NavInput_DpadDown
ImGui.NavInput_TweakSlow
ImGui.NavInput_DpadUp
ImGui.NavInput_Menu
ImGui.NavInput_Cancel

PopupFlags

ImGui.PopupFlags_NoOpenOverExistingPopup
ImGui.PopupFlags_MouseButtonLeft
ImGui.PopupFlags_MouseButtonMask
ImGui.PopupFlags_MouseButtonRight
ImGui.PopupFlags_AnyPopupId
ImGui.PopupFlags_MouseButtonDefault
ImGui.PopupFlags_MouseButtonMiddle
ImGui.PopupFlags_None
ImGui.PopupFlags_AnyPopup
ImGui.PopupFlags_AnyPopupLevel
ImGui.PopupFlags_NoOpenOverItems

SelectableFlags

ImGui.SelectableFlags_None
ImGui.SelectableFlags_SpanAllColumns
ImGui.SelectableFlags_AllowItemOverlap
ImGui.SelectableFlags_DontClosePopups
ImGui.SelectableFlags_AllowDoubleClick
ImGui.SelectableFlags_Disabled

SliderFlags

ImGui.SliderFlags_None          
ImGui.SliderFlags_AlwaysClamp
ImGui.SliderFlags_Logarithmic  
ImGui.SliderFlags_NoRoundToFormat
ImGui.SliderFlags_NoInput

SortDirection

ImGui.SortDirection_None
ImGui.SortDirection_Ascending
ImGui.SortDirection_Descending

StyleVar

ImGui.StyleVar_GrabRounding
ImGui.StyleVar_Alpha
ImGui.StyleVar_WindowMinSize
ImGui.StyleVar_PopupBorderSize
ImGui.StyleVar_WindowBorderSize
ImGui.StyleVar_FrameBorderSize
ImGui.StyleVar_ItemSpacing
ImGui.StyleVar_IndentSpacing
ImGui.StyleVar_FramePadding
ImGui.StyleVar_WindowPadding
ImGui.StyleVar_ChildRounding
ImGui.StyleVar_ItemInnerSpacing
ImGui.StyleVar_WindowRounding
ImGui.StyleVar_FrameRounding
ImGui.StyleVar_TabRounding
ImGui.StyleVar_ChildBorderSize
ImGui.StyleVar_GrabMinSize
ImGui.StyleVar_ScrollbarRounding
ImGui.StyleVar_ScrollbarSize
ImGui.StyleVar_WindowTitleAlign
ImGui.StyleVar_SelectableTextAlign
ImGui.StyleVar_PopupRounding
ImGui.StyleVar_ButtonTextAlign
ImGui.StyleVar_CellPadding
ImGui.StyleVar_DisabledAlpha
ImGui.StyleVar_SeparatorTextBorderSize
ImGui.StyleVar_SeparatorTextAlign
ImGui.StyleVar_SeparatorTextPadding

TabBarFlags

ImGui.TabBarFlags_AutoSelectNewTabs
ImGui.TabBarFlags_NoCloseWithMiddleMouseButton
ImGui.TabBarFlags_TabListPopupButton
ImGui.TabBarFlags_NoTooltip
ImGui.TabBarFlags_FittingPolicyMask
ImGui.TabBarFlags_Reorderable
ImGui.TabBarFlags_FittingPolicyDefault
ImGui.TabBarFlags_FittingPolicyScroll
ImGui.TabBarFlags_FittingPolicyResizeDown
ImGui.TabBarFlags_None
ImGui.TabBarFlags_NoTabListScrollingButtons

TabItemFlags

ImGui.TabItemFlags_SetSelected
ImGui.TabItemFlags_NoCloseWithMiddleMouseButton
ImGui.TabItemFlags_NoTooltip
ImGui.TabItemFlags_None
ImGui.TabItemFlags_NoPushId
ImGui.TabItemFlags_UnsavedDocument
ImGui.TabItemFlags_Leading
ImGui.TabItemFlags_Trailing
ImGui.TabItemFlags_NoReorder

TableFlags

ImGui.TableFlags_None
ImGui.TableFlags_Resizable
ImGui.TableFlags_Reorderable
ImGui.TableFlags_Hideable
ImGui.TableFlags_Sortable
ImGui.TableFlags_NoSavedSettings
ImGui.TableFlags_ContextMenuInBody
ImGui.TableFlags_RowBg
ImGui.TableFlags_BordersInnerH 
ImGui.TableFlags_BordersOuterH
ImGui.TableFlags_BordersInnerV
ImGui.TableFlags_BordersOuterV
ImGui.TableFlags_BordersH
ImGui.TableFlags_BordersV
ImGui.TableFlags_BordersInner
ImGui.TableFlags_BordersOuter
ImGui.TableFlags_Borders
ImGui.TableFlags_NoBordersInBody
ImGui.TableFlags_NoBordersInBodyUntilResize
ImGui.TableFlags_SizingFixedFit
ImGui.TableFlags_SizingFixedSame
ImGui.TableFlags_SizingStretchProp
ImGui.TableFlags_SizingStretchSame
ImGui.TableFlags_NoHostExtendX
ImGui.TableFlags_NoHostExtendY
ImGui.TableFlags_NoKeepColumnsVisible
ImGui.TableFlags_PreciseWidths
ImGui.TableFlags_NoClip
ImGui.TableFlags_PadOuterX
ImGui.TableFlags_NoPadOuterX
ImGui.TableFlags_NoPadInnerX
ImGui.TableFlags_ScrollX
ImGui.TableFlags_ScrollY
ImGui.TableFlags_SortMulti
ImGui.TableFlags_SortTristate

TableBgTarget

ImGui.TableBgTarget_None
ImGui.TableBgTarget_RowBg0
ImGui.TableBgTarget_RowBg1
ImGui.TableBgTarget_CellBg

TableColumnFlags

ImGui.TableColumnFlags_None
ImGui.TableColumnFlags_DefaultHide
ImGui.TableColumnFlags_DefaultSort
ImGui.TableColumnFlags_WidthStretch
ImGui.TableColumnFlags_WidthFixed
ImGui.TableColumnFlags_NoResize
ImGui.TableColumnFlags_NoReorder
ImGui.TableColumnFlags_NoHide
ImGui.TableColumnFlags_NoClip
ImGui.TableColumnFlags_NoSort
ImGui.TableColumnFlags_NoSortAscending
ImGui.TableColumnFlags_NoSortDescending
ImGui.TableColumnFlags_NoHeaderWidth
ImGui.TableColumnFlags_PreferSortAscending
ImGui.TableColumnFlags_PreferSortDescending
ImGui.TableColumnFlags_IndentEnable
ImGui.TableColumnFlags_IndentDisable
ImGui.TableColumnFlags_IsEnabled
ImGui.TableColumnFlags_IsVisible
ImGui.TableColumnFlags_IsSorted
ImGui.TableColumnFlags_IsHovered
ImGui.TableColumnFlags_Disabled
ImGui.TableColumnFlags_NoHeaderLabel

TableRowFlags

ImGui.TableRowFlags_None
ImGui.TableRowFlags_Headers

TE_ColorIndex

ImGui.TE_Default
ImGui.TE_Keyword
ImGui.TE_Number
ImGui.TE_String
ImGui.TE_CharLiteral
ImGui.TE_Punctuation
ImGui.TE_Preprocessor
ImGui.TE_Identifier
ImGui.TE_KnownIdentifier
ImGui.TE_PreprocIdentifier
ImGui.TE_Comment
ImGui.TE_MultiLineComment
ImGui.TE_Background
ImGui.TE_Cursor
ImGui.TE_Selection
ImGui.TE_ErrorMarker
ImGui.TE_Breakpoint
ImGui.TE_LineNumber
ImGui.TE_CurrentLineFill
ImGui.TE_CurrentLineFillInactive
ImGui.TE_CurrentLineEdge

TreeNodeFlags

ImGui.TreeNodeFlags_Bullet
ImGui.TreeNodeFlags_None
ImGui.TreeNodeFlags_CollapsingHeader
ImGui.TreeNodeFlags_NavLeftJumpsBackHere
ImGui.TreeNodeFlags_Framed
ImGui.TreeNodeFlags_FramePadding
ImGui.TreeNodeFlags_AllowItemOverlap
ImGui.TreeNodeFlags_OpenOnArrow
ImGui.TreeNodeFlags_SpanFullWidth
ImGui.TreeNodeFlags_NoAutoOpenOnLog
ImGui.TreeNodeFlags_Leaf
ImGui.TreeNodeFlags_NoTreePushOnOpen
ImGui.TreeNodeFlags_Selected
ImGui.TreeNodeFlags_SpanAvailWidth
ImGui.TreeNodeFlags_OpenOnDoubleClick
ImGui.TreeNodeFlags_DefaultOpen

WindowFlags

ImGui.WindowFlags_NoScrollWithMouse
ImGui.WindowFlags_None
ImGui.WindowFlags_NoScrollbar
ImGui.WindowFlags_HorizontalScrollbar
ImGui.WindowFlags_NoFocusOnAppearing
ImGui.WindowFlags_NoBringToFrontOnFocus
ImGui.WindowFlags_NoDecoration
ImGui.WindowFlags_NoCollapse
ImGui.WindowFlags_NoTitleBar
ImGui.WindowFlags_NoMove
ImGui.WindowFlags_NoInputs
ImGui.WindowFlags_NoMouseInputs
ImGui.WindowFlags_NoSavedSettings
ImGui.WindowFlags_NoNav
ImGui.WindowFlags_UnsavedDocument
ImGui.WindowFlags_NoNavFocus
ImGui.WindowFlags_AlwaysHorizontalScrollbar
ImGui.WindowFlags_AlwaysUseWindowPadding
ImGui.WindowFlags_NoNavInputs
ImGui.WindowFlags_NoResize
ImGui.WindowFlags_AlwaysVerticalScrollbar
ImGui.WindowFlags_MenuBar
ImGui.WindowFlags_NoBackground
ImGui.WindowFlags_AlwaysAutoResize
ImGui.WindowFlags_FullScreen -- custom constant, used to create a fullscreen window


Dear ImGui