Dear ImGui Flags

From GiderosMobile
Revision as of 23:57, 7 October 2024 by MoKaLux (talk | contribs) (→‎corner_flags: a bit weird)

_VERSION

  • ImGui._VERSION: Dear ImGui version

BackendFlags

Backend capabilities flags stored in io.BackendFlags. Set by imgui_impl_xxx or custom backend.

  • ImGui.BackendFlags_None: default = 0
  • ImGui.BackendFlags_HasGamepad: Backend Platform supports gamepad and currently has one connected
  • ImGui.BackendFlags_HasMouseCursors: Backend Platform supports honoring GetMouseCursor() value to change the OS cursor shape
  • ImGui.BackendFlags_HasSetMousePos: Backend Platform supports io.WantSetMousePos requests to reposition the OS mouse position (only used if ImGuiConfigFlags_NavEnableSetMousePos is set)
  • ImGui.BackendFlags_RendererHasVtxOffset: Backend Renderer supports ImDrawCmd::VtxOffset. This enables output of large meshes (64K+ vertices) while still using 16-bit indices

Col

Enumeration for PushStyleColor() / PopStyleColor()

  • ImGui.Col_Border:
  • ImGui.Col_BorderShadow:
  • ImGui.Col_Button:
  • ImGui.Col_ButtonActive:
  • ImGui.Col_ButtonHovered:
  • ImGui.Col_CheckMark:
  • ImGui.Col_ChildBg: Background of child windows
  • ImGui.Col_DragDropTarget: Rectangle highlighting a drop target
  • ImGui.Col_FrameBg: Background of checkbox, radio button, plot, slider, text input
  • ImGui.Col_FrameBgActive:
  • ImGui.Col_FrameBgHovered:
  • ImGui.Col_Header: Header* colors are used for CollapsingHeader, TreeNode, Selectable, MenuItem
  • ImGui.Col_HeaderActive:
  • ImGui.Col_HeaderHovered:
  • ImGui.Col_MenuBarBg:
  • ImGui.Col_ModalWindowDimBg: Darken/colorize entire screen behind a modal window, when one is active
  • ImGui.Col_NavHighlight: Gamepad/keyboard: current highlighted item
  • ImGui.Col_NavWindowingDimBg: Darken/colorize entire screen behind the CTRL+TAB window list, when active
  • ImGui.Col_NavWindowingHighlight: Highlight window when using CTRL+TAB
  • ImGui.Col_PlotHistogram:
  • ImGui.Col_PlotHistogramHovered:
  • ImGui.Col_PlotLines:
  • ImGui.Col_PlotLinesHovered:
  • ImGui.Col_PopupBg: Background of popups, menus, tooltips windows
  • ImGui.Col_ResizeGrip: Resize grip in lower-right and lower-left corners of windows.
  • 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: TabItem in a TabBar
  • ImGui.Col_TabActive:
  • ImGui.Col_TabHovered:
  • ImGui.Col_TableBorderLight: Table inner borders (prefer using Alpha=1.0 here)
  • ImGui.Col_TableBorderStrong: Table outer and header borders (prefer using Alpha=1.0 here)
  • ImGui.Col_TableHeaderBg: Table header background
  • ImGui.Col_TableRowBg: Table row background (even rows)
  • ImGui.Col_TableRowBgAlt: Table row background (odd rows)
  • 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: Background of normal windows

ColorEditFlags

Flags for ColorEdit3() / ColorEdit4() / ColorPicker3() / ColorPicker4() / ColorButton()

  • ImGui.ColorEditFlags_None: default = 0
  • ImGui.ColorEditFlags_AlphaBar: User Options (right-click on widget to change some of them). ColorEdit, ColorPicker: show vertical alpha bar/gradient in picker
  • ImGui.ColorEditFlags_AlphaPreview: User Options (right-click on widget to change some of them). ColorEdit, ColorPicker, ColorButton: display preview as a transparent color over a checkerboard, instead of opaque
  • ImGui.ColorEditFlags_AlphaPreviewHalf: User Options (right-click on widget to change some of them). ColorEdit, ColorPicker, ColorButton: display half opaque / half checkerboard, instead of opaque
  • ImGui.ColorEditFlags_DisplayHex: User Options (right-click on widget to change some of them). [Display] ColorEdit: override _display_ type among RGB/HSV/Hex. ColorPicker: select any combination using one or more of RGB/HSV/Hex
  • ImGui.ColorEditFlags_DisplayHSV: User Options (right-click on widget to change some of them). [Display] ColorEdit: override _display_ type among RGB/HSV/Hex. ColorPicker: select any combination using one or more of RGB/HSV/Hex
  • ImGui.ColorEditFlags_DisplayRGB: User Options (right-click on widget to change some of them). [Display] ColorEdit: override _display_ type among RGB/HSV/Hex. ColorPicker: select any combination using one or more of RGB/HSV/Hex
  • ImGui.ColorEditFlags_Float: User Options (right-click on widget to change some of them). [DataType] ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0.0f..1.0f floats instead of 0..255 integers. No round-trip of value via integers
  • ImGui.ColorEditFlags_HDR: User Options (right-click on widget to change some of them). (WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well)
  • ImGui.ColorEditFlags_InputHSV: User Options (right-click on widget to change some of them). [Input] ColorEdit, ColorPicker: input and output data in HSV format
  • ImGui.ColorEditFlags_InputRGB: User Options (right-click on widget to change some of them). [Input] ColorEdit, ColorPicker: input and output data in RGB format
  • ImGui.ColorEditFlags_NoAlpha: ColorEdit, ColorPicker, ColorButton: ignore Alpha component (will only read 3 components from the input pointer)
  • ImGui.ColorEditFlags_NoBorder: ColorButton: disable border (which is enforced by default)
  • ImGui.ColorEditFlags_NoDragDrop: ColorEdit: disable drag and drop target. ColorButton: disable drag and drop source
  • ImGui.ColorEditFlags_NoInputs: ColorEdit, ColorPicker: disable inputs sliders/text widgets (e.g. to show only the small preview color square)
  • ImGui.ColorEditFlags_NoLabel: ColorEdit, ColorPicker: disable display of inline text label (the label is still forwarded to the tooltip and picker)
  • ImGui.ColorEditFlags_NoOptions: ColorEdit: disable toggling options menu when right-clicking on inputs/small preview
  • ImGui.ColorEditFlags_NoPicker: ColorEdit: disable picker when clicking on color square
  • ImGui.ColorEditFlags_NoSidePreview: ColorPicker: disable bigger color preview on right side of the picker, use small color square preview instead
  • ImGui.ColorEditFlags_NoSmallPreview: ColorEdit, ColorPicker: disable color square preview next to the inputs. (e.g. to show only the inputs)
  • ImGui.ColorEditFlags_NoTooltip: ColorEdit, ColorPicker, ColorButton: disable tooltip when hovering the preview
  • ImGui.ColorEditFlags_OptionsDefault: Defaults Options. You can set application defaults using SetColorEditOptions(). The intent is that you probably don't want to override them in most of your calls. Let the user choose via the option menu and/or call SetColorEditOptions() once during startup
  • ImGui.ColorEditFlags_PickerHueBar: User Options (right-click on widget to change some of them). [Picker] ColorPicker: bar for Hue, rectangle for Sat/Value
  • ImGui.ColorEditFlags_PickerHueWheel: User Options (right-click on widget to change some of them). [Picker] ColorPicker: wheel for Hue, triangle for Sat/Value
  • ImGui.ColorEditFlags_Uint8: User Options (right-click on widget to change some of them). [DataType] ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0..255

Sample:

ImGui.ColorEditFlags_OptionsDefault =
	ImGui.ColorEditFlags_Uint8 | ImGui.ColorEditFlags_DisplayRGB | ImGui.ColorEditFlags_InputRGB |
	ImGui.ColorEditFlags_PickerHueBar,

ComboFlags

Flags for ImGui::BeginCombo()

  • ImGui.ComboFlags_None: default = 0
  • ImGui.ComboFlags_HeightLarge: Max ~20 items visible
  • ImGui.ComboFlags_HeightLargest: As many fitting items as possible
  • ImGui.ComboFlags_HeightMask: ImGui.ComboFlags_HeightSmall | ImGui.ComboFlags_HeightRegular | ImGui.ComboFlags_HeightLarge | ImGui.ComboFlags_HeightLargest,
  • ImGui.ComboFlags_HeightRegular: Max ~8 items visible (default)
  • ImGui.ComboFlags_HeightSmall: Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo()
  • ImGui.ComboFlags_NoArrowButton: Display on the preview box without the square arrow button
  • ImGui.ComboFlags_NoPreview: Display only a square arrow button
  • ImGui.ComboFlags_PopupAlignLeft: Align the popup toward the left by default

Cond

Enumeration for ImGui::setWindow***(), setNextWindow***(), setNextItem***() functions

Represent a condition.

Important: treat as a regular enum! Do NOT combine multiple values using binary operators! All the functions above treat 0 as a shortcut to ImGui.Cond_Always.

  • ImGui.Cond_None: default = 0
  • ImGui.Cond_Always: No condition (always set the variable), same as _None
  • ImGui.Cond_Appearing: Set the variable if the object/window is appearing after being hidden/inactive (or the first time)
  • ImGui.Cond_FirstUseEver: Set the variable if the object/window has no persistently saved data (no entry in .ini file)
  • ImGui.Cond_Once: Set the variable once per runtime session (only the first call will succeed)

ConfigFlags

Configuration flags stored in io.ConfigFlags. Set by user/application.

  • ImGui.ConfigFlags_None: default = 0
  • ImGui.ConfigFlags_IsSRGB: User storage (to allow your backend/engine to communicate to code that may be shared between multiple projects. Those flags are NOT used by core Dear ImGui). Application is SRGB-aware
  • ImGui.ConfigFlags_IsTouchScreen: User storage (to allow your backend/engine to communicate to code that may be shared between multiple projects. Those flags are NOT used by core Dear ImGui). Application is using a touch screen instead of a mouse
  • ImGui.ConfigFlags_NavEnableGamepad: Master gamepad navigation enable flag. Backend also needs to set ImGuiBackendFlags_HasGamepad
  • ImGui.ConfigFlags_NavEnableKeyboard: Master keyboard navigation enable flag. Enable full Tabbing + directional arrows + space/enter to activate
  • ImGui.ConfigFlags_NavEnableSetMousePos: Instruct navigation to move the mouse cursor. May be useful on TV/console systems where moving a virtual mouse is awkward. Will update io.MousePos and set io.WantSetMousePos=true. If enabled you MUST honor io.WantSetMousePos requests in your backend, otherwise ImGui will react as if the mouse is jumping around back and forth
  • ImGui.ConfigFlags_NavNoCaptureKeyboard: Instruct navigation to not set the io.WantCaptureKeyboard flag when io.NavActive is set
  • ImGui.ConfigFlags_NoMouse: Instruct imgui to clear mouse position/buttons in NewFrame(). This allows ignoring the mouse information set by the backend
  • ImGui.ConfigFlags_NoMouseCursorChange: Instruct backend to not alter mouse cursor shape and visibility. Use if the backend cursor changes are interfering with yours and you don't want to use SetMouseCursor() to change mouse cursor. You may want to honor requests from imgui by reading GetMouseCursor() yourself instead

corner_flags

Flags for ImGui DrawList functions.

(Legacy: bit 0 must always correspond to ImDrawFlags_Closed to be backward compatible with old API using a bool. Bits 1..3 must be unused)

  • ImGui.DrawFlags_None: default = 0
  • ImGui.DrawFlags_Closed: PathStroke(), AddPolyline(): specify that shape should be closed (Important: this is always == 1 for legacy reason)
  • ImGui.DrawFlags_RoundCornersAll: ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight | ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight,
  • ImGui.DrawFlags_RoundCornersBottom: ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersBottomRight,
  • ImGui.DrawFlags_RoundCornersBottomLeft: AddRect(), AddRectFilled(), PathRect(): enable rounding bottom-left corner only (when rounding > 0.0f, we default to all corners). Was 0x04
  • ImGui.DrawFlags_RoundCornersBottomRight: AddRect(), AddRectFilled(), PathRect(): enable rounding bottom-right corner only (when rounding > 0.0f, we default to all corners). Wax 0x08
  • ImGui.DrawFlags_RoundCornersLeft: ImDrawFlags_RoundCornersBottomLeft | ImDrawFlags_RoundCornersTopLeft,
  • ImGui.DrawFlags_RoundCornersRight: ImDrawFlags_RoundCornersBottomRight | ImDrawFlags_RoundCornersTopRight,
  • ImGui.DrawFlags_RoundCornersTop: ImDrawFlags_RoundCornersTopLeft | ImDrawFlags_RoundCornersTopRight,
  • ImGui.DrawFlags_RoundCornersTopLeft: AddRect(), AddRectFilled(), PathRect(): enable rounding top-left corner only (when rounding > 0.0f, we default to all corners). Was 0x01
  • ImGui.DrawFlags_RoundCornersTopRight: AddRect(), AddRectFilled(), PathRect(): enable rounding top-right corner only (when rounding > 0.0f, we default to all corners). Was 0x02


  • ImGui.DrawFlags_RoundCornersNone: AddRect(), AddRectFilled(), PathRect(): disable rounding on all corners (when rounding > 0.0f). This is NOT zero, NOT an implicit flag!
  • ImGui.DrawFlags_RoundCornersDefault: ImDrawFlags_RoundCornersAll, // Default to ALL corners if none of the _RoundCornersXX flags are specified

DataType

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

Dir

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

DragDropFlags

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

FocusedFlags

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

GlyphRanges

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

HoveredFlags

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

ImageScaleMode

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

InputTextFlags

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

ItemFlags

ImGui.ItemFlags_ButtonRepeat
ImGui.ItemFlags_Disabled
ImGui.ItemFlags_NoTabStop

MouseButton

ImGui.MouseButton_Left
ImGui.MouseButton_Middle
ImGui.MouseButton_Right

MouseCursor

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

NavInput

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

PopupFlags

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

SelectableFlags

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

SliderFlags

  • ImGui.SliderFlags_None: default = 0
  • ImGui.SliderFlags_AlwaysClamp: clamp value to min/max bounds when input manually with CTRL+Click. By default CTRL+Click allows going out of bounds
  • ImGui.SliderFlags_Logarithmic: make the widget logarithmic (linear otherwise). Consider using ImGuiSliderFlags_NoRoundToFormat with this if using a format-string with small amount of digits
  • ImGui.SliderFlags_NoInput: disable CTRL+Click or Enter key allowing to input text directly into the widget
  • ImGui.SliderFlags_NoRoundToFormat: disable rounding underlying value to match precision of the display format string (e.g. %.3f values are rounded to those 3 digits)

SortDirection

ImGui.SortDirection_None
ImGui.SortDirection_Ascending
ImGui.SortDirection_Descending

StyleVar

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

TabBarFlags

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

TabItemFlags

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

TableFlags

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

TableBgTarget

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

TableColumnFlags

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

TableRowFlags

ImGui.TableRowFlags_None
ImGui.TableRowFlags_Headers

TE

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

TreeNodeFlags

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

WindowFlags

  • ImGui.WindowFlags_None: default = 0
  • ImGui.WindowFlags_AlwaysAutoResize: resize every window to its content every frame
  • ImGui.WindowFlags_AlwaysHorizontalScrollbar: always show horizontal scrollbar (even if ContentSize.x < Size.x)
  • ImGui.WindowFlags_AlwaysUseWindowPadding: ensure child windows without border uses style.WindowPadding (ignored by default for non-bordered child windows, because more convenient)
  • ImGui.WindowFlags_AlwaysVerticalScrollbar: always show vertical scrollbar (even if ContentSize.y < Size.y)
  • ImGui.WindowFlags_FullScreen: custom constant, used to create a fullscreen window
  • ImGui.WindowFlags_HorizontalScrollbar: allow horizontal scrollbar to appear (off by default). You may use SetNextWindowContentSize(ImVec2(width,0.0f)); prior to calling Begin() to specify width. Read code in imgui_demo in the "Horizontal Scrolling" section
  • ImGui.WindowFlags_MenuBar: has a menu-bar
  • ImGui.WindowFlags_NoBackground: disable drawing background color (WindowBg, etc.) and outside border. Similar as using SetNextWindowBgAlpha(0.0f)
  • ImGui.WindowFlags_NoBringToFrontOnFocus: disable bringing window to front when taking focus (e.g. clicking on it or programmatically giving it focus)
  • ImGui.WindowFlags_NoCollapse: disable user collapsing window by double-clicking on it. Also referred to as Window Menu Button (e.g. within a docking node)
  • ImGui.WindowFlags_NoDecoration: a combination of ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoCollapse
  • ImGui.WindowFlags_NoFocusOnAppearing: disable taking focus when transitioning from hidden to visible state
  • ImGui.WindowFlags_NoInputs: a combination of ImGuiWindowFlags_NoMouseInputs | ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus
  • ImGui.WindowFlags_NoMouseInputs: disable catching mouse, hovering test with pass through
  • ImGui.WindowFlags_NoMove: disable user moving the window
  • ImGui.WindowFlags_NoNav: a combination of ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus
  • ImGui.WindowFlags_NoNavFocus: no focusing toward this window with gamepad/keyboard navigation (e.g. skipped by CTRL+TAB)
  • ImGui.WindowFlags_NoNavInputs: no gamepad/keyboard navigation within the window
  • ImGui.WindowFlags_NoResize: disable user resizing with the lower-right grip
  • ImGui.WindowFlags_NoSavedSettings: never load/save settings in .ini file
  • ImGui.WindowFlags_NoScrollbar: disable scrollbars (window can still scroll with mouse or programmatically)
  • ImGui.WindowFlags_NoScrollWithMouse: disable user vertically scrolling with mouse wheel. On child window, mouse wheel will be forwarded to the parent unless NoScrollbar is also set
  • ImGui.WindowFlags_NoTitleBar: disable title-bar
  • ImGui.WindowFlags_UnsavedDocument: display a dot next to the title. When used in a tab/docking context, tab is selected when clicking the X + closure is not assumed (will wait for user to stop submitting the tab). Otherwise closure is assumed when pressing the X, so if you keep submitting the tab may reappear at end of tab bar


Dear ImGui