Difference between revisions of "Dear ImGui Flags"
From GiderosMobile
(→SliderFlags: doc test) |
|||
Line 338: | Line 338: | ||
== SliderFlags == | == SliderFlags == | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
− | ImGui.SliderFlags_None | + | ImGui.SliderFlags_None -- default = 0 |
− | ImGui.SliderFlags_AlwaysClamp | + | 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 | + | 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 | + | ImGui.SliderFlags_NoInput -- disable CTRL+Click or Enter key allowing to input text directly into the widget |
− | ImGui.SliderFlags_NoRoundToFormat | + | 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) |
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 20:13, 6 October 2024
_VERSION
ImGui._VERSION
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_None
ImGui.ColorEditFlags_AlphaBar
ImGui.ColorEditFlags_AlphaPreview
ImGui.ColorEditFlags_AlphaPreviewHalf
ImGui.ColorEditFlags_DisplayHex
ImGui.ColorEditFlags_DisplayHSV
ImGui.ColorEditFlags_DisplayRGB
ImGui.ColorEditFlags_Float
ImGui.ColorEditFlags_HDR
ImGui.ColorEditFlags_InputHSV
ImGui.ColorEditFlags_InputRGB
ImGui.ColorEditFlags_NoAlpha
ImGui.ColorEditFlags_NoBorder
ImGui.ColorEditFlags_NoDragDrop
ImGui.ColorEditFlags_NoInputs
ImGui.ColorEditFlags_NoLabel
ImGui.ColorEditFlags_NoOptions
ImGui.ColorEditFlags_NoPicker
ImGui.ColorEditFlags_NoSidePreview
ImGui.ColorEditFlags_NoSmallPreview
ImGui.ColorEditFlags_NoTooltip
ImGui.ColorEditFlags_OptionsDefault
ImGui.ColorEditFlags_PickerHueBar
ImGui.ColorEditFlags_PickerHueWheel
ImGui.ColorEditFlags_Uint8
ComboFlags
ImGui.ComboFlags_None
ImGui.ComboFlags_HeightLarge
ImGui.ComboFlags_HeightLargest
ImGui.ComboFlags_HeightMask
ImGui.ComboFlags_HeightRegular
ImGui.ComboFlags_HeightSmall
ImGui.ComboFlags_NoArrowButton
ImGui.ComboFlags_NoPreview
ImGui.ComboFlags_PopupAlignLeft
Cond
ImGui.Cond_None
ImGui.Cond_Always
ImGui.Cond_Appearing
ImGui.Cond_FirstUseEver
ImGui.Cond_Once
ConfigFlags
ImGui.ConfigFlags_None
ImGui.ConfigFlags_IsSRGB
ImGui.ConfigFlags_IsTouchScreen
ImGui.ConfigFlags_NavEnableGamepad
ImGui.ConfigFlags_NavEnableKeyboard
ImGui.ConfigFlags_NavEnableSetMousePos
ImGui.ConfigFlags_NavNoCaptureKeyboard
ImGui.ConfigFlags_NoMouse
ImGui.ConfigFlags_NoMouseCursorChange
corner_flags
ImGui.DrawFlags_None
ImGui.DrawFlags_Closed
ImGui.DrawFlags_RoundCornersAll
ImGui.DrawFlags_RoundCornersBottom
ImGui.DrawFlags_RoundCornersBottomLeft
ImGui.DrawFlags_RoundCornersBottomRight
ImGui.DrawFlags_RoundCornersLeft
ImGui.DrawFlags_RoundCornersRight
ImGui.DrawFlags_RoundCornersTop
ImGui.DrawFlags_RoundCornersTopLeft
ImGui.DrawFlags_RoundCornersTopRight
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
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
ImGui.WindowFlags_AlwaysAutoResize
ImGui.WindowFlags_AlwaysHorizontalScrollbar
ImGui.WindowFlags_AlwaysUseWindowPadding
ImGui.WindowFlags_AlwaysVerticalScrollbar
ImGui.WindowFlags_FullScreen -- custom constant, used to create a fullscreen window
ImGui.WindowFlags_HorizontalScrollbar
ImGui.WindowFlags_MenuBar
ImGui.WindowFlags_NoBackground
ImGui.WindowFlags_NoBringToFrontOnFocus
ImGui.WindowFlags_NoCollapse
ImGui.WindowFlags_NoDecoration
ImGui.WindowFlags_NoFocusOnAppearing
ImGui.WindowFlags_NoInputs
ImGui.WindowFlags_NoMouseInputs
ImGui.WindowFlags_NoMove
ImGui.WindowFlags_NoNav
ImGui.WindowFlags_NoNavFocus
ImGui.WindowFlags_NoNavInputs
ImGui.WindowFlags_NoResize
ImGui.WindowFlags_NoSavedSettings
ImGui.WindowFlags_NoScrollbar
ImGui.WindowFlags_NoScrollWithMouse
ImGui.WindowFlags_NoTitleBar
ImGui.WindowFlags_UnsavedDocument