diff --git a/Project.toml b/Project.toml index 7a8e4fa..4e0e792 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "CImGui" uuid = "5d785b6c-b76f-510e-a07c-3070796c7e87" authors = ["Yupei Qi "] -version = "3.1.1" +version = "4.0.0" [deps] CEnum = "fa961155-64e5-5f13-b03f-caf6b980ea82" @@ -23,7 +23,7 @@ MakieIntegration = ["GLFW", "ModernGL", "GLMakie"] [compat] CEnum = "0.4, 0.5" -CImGuiPack_jll = "0.6.0" +CImGuiPack_jll = "0.7.0" CSyntax = "0.4" Compat = "4.16.0" DocStringExtensions = "0.9.3" diff --git a/docs/src/_changelog.md b/docs/src/_changelog.md index b4b48e7..cfebb12 100644 --- a/docs/src/_changelog.md +++ b/docs/src/_changelog.md @@ -6,6 +6,24 @@ CurrentModule = CImGui This documents notable changes in CImGui.jl. The format is based on [Keep a Changelog](https://keepachangelog.com). +## [v4.0.0] - 2024-11-19 + +### Changed +- **Breaking**: We updated to [Dear ImGui + 1.91.6](https://github.com/ocornut/imgui/releases/tag/v1.91.6) ([#157]). All + the changes from 1.91.3 through to 1.91.6 apply to this release. Here's a + non-exhaustive list of changes: + - `ImTextureID` is now an unsigned integer instead of a pointer. You should + replace any calls to e.g. `ig.Image(Ptr{Cvoid}(tex), ...)` with + `ig.Image(ig.ImTextureID(tex), ...)`. + - `ig.ImGuiConfigFlags_NavEnableSetMousePos` and + `ig.ImGuiConfigFlags_NavNoCaptureKeyboard` were replaced with + `ImGuiIO.ConfigNavMoveSetMousePos` and `ImGuiIO.ConfigNavCaptureKeyboard` + respectively. + + For Linux/GLFW users, there's also a fix for a long-standing docking bug: + https://github.com/ocornut/imgui/issues/7733 + ## [v3.1.1] - 2024-11-05 ### Fixed diff --git a/examples/demo.jl b/examples/demo.jl index 9fa4b8b..90da760 100644 --- a/examples/demo.jl +++ b/examples/demo.jl @@ -69,7 +69,7 @@ function julia_demo(; engine=nothing) if CImGui.Begin("Image Demo") image = rand(GL.GLubyte, 4, img_width, img_height) CImGui.update_image_texture(image_id, image, img_width, img_height) - CImGui.Image(Ptr{Cvoid}(image_id), CImGui.ImVec2(img_width, img_height)) + CImGui.Image(image_id, CImGui.ImVec2(img_width, img_height)) CImGui.End() end end diff --git a/examples/demo_helper.jl b/examples/demo_helper.jl index 3a0fecf..373e5db 100644 --- a/examples/demo_helper.jl +++ b/examples/demo_helper.jl @@ -53,8 +53,8 @@ function ShowAboutWindow(p_open::Ref{Bool}) CImGui.Text(@sprintf("io.ConfigFlags: 0x%08X", unsafe_load(io.ConfigFlags))) unsafe_load(io.ConfigFlags) & CImGui.ImGuiConfigFlags_NavEnableKeyboard != 0 && CImGui.Text(" NavEnableKeyboard") unsafe_load(io.ConfigFlags) & CImGui.ImGuiConfigFlags_NavEnableGamepad != 0 && CImGui.Text(" NavEnableGamepad") - unsafe_load(io.ConfigFlags) & CImGui.ImGuiConfigFlags_NavEnableSetMousePos != 0 && CImGui.Text(" NavEnableSetMousePos") - unsafe_load(io.ConfigFlags) & CImGui.ImGuiConfigFlags_NavNoCaptureKeyboard != 0 && CImGui.Text(" NavNoCaptureKeyboard") + unsafe_load(io.ConfigNavMoveSetMousePos) && CImGui.Text(" ConfigNavMoveSetMousePos") + unsafe_load(io.ConfigNavCaptureKeyboard) && CImGui.Text(" ConfigNavCaptureKeyboard") unsafe_load(io.ConfigFlags) & CImGui.ImGuiConfigFlags_NoMouse != 0 && CImGui.Text(" NoMouse") unsafe_load(io.ConfigFlags) & CImGui.ImGuiConfigFlags_NoMouseCursorChange != 0 && CImGui.Text(" NoMouseCursorChange") unsafe_load(io.MouseDrawCursor) && CImGui.Text("io.MouseDrawCursor") diff --git a/examples/demo_window.jl b/examples/demo_window.jl index 1bba674..1542bed 100644 --- a/examples/demo_window.jl +++ b/examples/demo_window.jl @@ -152,9 +152,6 @@ global function ShowJuliaDemoWindow(p_open::Ref{Bool}) CImGui.CheckboxFlags("io.ConfigFlags: NavEnableGamepad", io.ConfigFlags, CImGui.ImGuiConfigFlags_NavEnableGamepad) CImGui.SameLine() CImGui.HelpMarker("Required back-end to feed in gamepad inputs in io.NavInputs[] and set io.BackendFlags |= ImGuiBackendFlags_HasGamepad.\n\nRead instructions in imgui.cpp for details."); - CImGui.CheckboxFlags("io.ConfigFlags: NavEnableSetMousePos", io.ConfigFlags, CImGui.ImGuiConfigFlags_NavEnableSetMousePos) - CImGui.SameLine() - CImGui.HelpMarker("Instruct navigation to move the mouse cursor. See comment for ImGuiConfigFlags_NavEnableSetMousePos.") CImGui.CheckboxFlags("io.ConfigFlags: NoMouse", io.ConfigFlags, CImGui.ImGuiConfigFlags_NoMouse) if unsafe_load(io.ConfigFlags) & CImGui.ImGuiConfigFlags_NoMouse != 0 # create a way to restore this flag otherwise we could be stuck completely! if mod(CImGui.GetTime(), 0.4) < 0.2 @@ -168,6 +165,9 @@ global function ShowJuliaDemoWindow(p_open::Ref{Bool}) CImGui.CheckboxFlags("io.ConfigFlags: NoMouseCursorChange", io.ConfigFlags, CImGui.ImGuiConfigFlags_NoMouseCursorChange) CImGui.SameLine() CImGui.HelpMarker("Instruct back-end to not alter mouse cursor shape and visibility.") + CImGui.Checkbox("io.ConfigNavMoveSetMousePos", io.ConfigNavMoveSetMousePos) + CImGui.SameLine() + CImGui.HelpMarker("Instruct navigation to move the mouse cursor. See comment for ImGuiIO.ConfigNavMoveSetMousePos") CImGui.Checkbox("io.ConfigInputTextCursorBlink", io.ConfigInputTextCursorBlink) CImGui.SameLine() CImGui.HelpMarker("Set to false to disable blinking cursor, for users who consider it distracting") diff --git a/ext/GlfwOpenGLBackend.jl b/ext/GlfwOpenGLBackend.jl index 89e4dcd..ebb5b9d 100644 --- a/ext/GlfwOpenGLBackend.jl +++ b/ext/GlfwOpenGLBackend.jl @@ -33,7 +33,7 @@ function ig._create_image_texture(::Val{:GlfwOpenGL3}, image_width, image_height GL.glPixelStorei(GL.GL_UNPACK_ROW_LENGTH, 0) GL.glTexImage2D(GL.GL_TEXTURE_2D, 0, format, GL.GLsizei(image_width), GL.GLsizei(image_height), 0, format, type, C_NULL) g_ImageTexture[id] = id - return Int(id) + return ig.ImTextureID(id) end function ig._update_image_texture(::Val{:GlfwOpenGL3}, id, image_data, image_width, image_height; format=GL.GL_RGBA, type=GL.GL_UNSIGNED_BYTE) diff --git a/ext/MakieIntegration.jl b/ext/MakieIntegration.jl index 2f8d16f..b12d0a2 100644 --- a/ext/MakieIntegration.jl +++ b/ext/MakieIntegration.jl @@ -159,7 +159,7 @@ function ig.MakieFigure(title_id::String, f::GLMakie.Figure; cursor_pos = ig.GetCursorScreenPos() image_size = size(color_buffer) ig.AddImage(drawlist, - Ptr{Cvoid}(Int(color_buffer.id)), + ig.ImTextureID(color_buffer.id), cursor_pos, (cursor_pos.x + image_size[1], cursor_pos.y + image_size[2]), (0, 1), (1, 0)) diff --git a/lib/aarch64-apple-darwin20.jl b/lib/aarch64-apple-darwin20.jl index 6f0cd24..057f5bd 100644 --- a/lib/aarch64-apple-darwin20.jl +++ b/lib/aarch64-apple-darwin20.jl @@ -45,7 +45,9 @@ function Base.setproperty!(x::Ptr{ImVec4}, f::Symbol, v) end -const ImTextureID = Ptr{Cvoid} +const ImU64 = Culonglong + +const ImTextureID = ImU64 struct ImDrawCmd ClipRect::ImVec4 @@ -55,6 +57,8 @@ struct ImDrawCmd ElemCount::Cuint UserCallback::ImDrawCallback UserCallbackData::Ptr{Cvoid} + UserCallbackDataSize::Cint + UserCallbackDataOffset::Cint end function Base.getproperty(x::Ptr{ImDrawCmd}, f::Symbol) f === :ClipRect && return Ptr{ImVec4}(x + 0) @@ -64,6 +68,8 @@ function Base.getproperty(x::Ptr{ImDrawCmd}, f::Symbol) f === :ElemCount && return Ptr{Cuint}(x + 32) f === :UserCallback && return Ptr{ImDrawCallback}(x + 40) f === :UserCallbackData && return Ptr{Ptr{Cvoid}}(x + 48) + f === :UserCallbackDataSize && return Ptr{Cint}(x + 56) + f === :UserCallbackDataOffset && return Ptr{Cint}(x + 60) return getfield(x, f) end @@ -221,19 +227,63 @@ function Base.getproperty(x::ImVector_ImFontPtr, f::Symbol) end struct ImFontAtlasCustomRect - Width::Cushort - Height::Cushort - X::Cushort - Y::Cushort - GlyphID::Cuint - GlyphAdvanceX::Cfloat - GlyphOffset::ImVec2 - Font::Ptr{Cvoid} # Font::Ptr{ImFont} + data::NTuple{32, UInt8} +end + +function Base.getproperty(x::Ptr{ImFontAtlasCustomRect}, f::Symbol) + f === :X && return Ptr{Cushort}(x + 0) + f === :Y && return Ptr{Cushort}(x + 2) + f === :Width && return Ptr{Cushort}(x + 4) + f === :Height && return Ptr{Cushort}(x + 6) + f === :GlyphID && return (Ptr{Cuint}(x + 8), 0, 31) + f === :GlyphColored && return (Ptr{Cuint}(x + 8), 31, 1) + f === :GlyphAdvanceX && return Ptr{Cfloat}(x + 12) + f === :GlyphOffset && return Ptr{ImVec2}(x + 16) + f === :Font && return Ptr{Ptr{ImFont}}(x + 24) + return getfield(x, f) end function Base.getproperty(x::ImFontAtlasCustomRect, f::Symbol) - f === :Font && return Ptr{ImFont}(getfield(x, f)) - return getfield(x, f) + r = Ref{ImFontAtlasCustomRect}(x) + ptr = Base.unsafe_convert(Ptr{ImFontAtlasCustomRect}, r) + fptr = getproperty(ptr, f) + begin + if fptr isa Ptr + return GC.@preserve(r, unsafe_load(fptr)) + else + (baseptr, offset, width) = fptr + ty = eltype(baseptr) + baseptr32 = convert(Ptr{UInt32}, baseptr) + u64 = GC.@preserve(r, unsafe_load(baseptr32)) + if offset + width > 32 + u64 |= GC.@preserve(r, unsafe_load(baseptr32 + 4)) << 32 + end + u64 = u64 >> offset & (1 << width - 1) + return u64 % ty + end + end +end + +function Base.setproperty!(x::Ptr{ImFontAtlasCustomRect}, f::Symbol, v) + fptr = getproperty(x, f) + if fptr isa Ptr + unsafe_store!(getproperty(x, f), v) + else + (baseptr, offset, width) = fptr + baseptr32 = convert(Ptr{UInt32}, baseptr) + u64 = unsafe_load(baseptr32) + straddle = offset + width > 32 + if straddle + u64 |= unsafe_load(baseptr32 + 4) << 32 + end + mask = 1 << width - 1 + u64 &= ~(mask << offset) + u64 |= (unsigned(v) & mask) << offset + unsafe_store!(baseptr32, u64 & typemax(UInt32)) + if straddle + unsafe_store!(baseptr32 + 4, u64 >> 32) + end + end end struct ImVector_ImFontAtlasCustomRect @@ -375,9 +425,9 @@ struct ImFont ContainerAtlas::Ptr{ImFontAtlas} ConfigData::Ptr{ImFontConfig} ConfigDataCount::Cshort - FallbackChar::ImWchar - EllipsisChar::ImWchar EllipsisCharCount::Cshort + EllipsisChar::ImWchar + FallbackChar::ImWchar EllipsisWidth::Cfloat EllipsisCharStep::Cfloat DirtyLookupTables::Bool @@ -396,6 +446,7 @@ end struct ImDrawListSharedData TexUvWhitePixel::ImVec2 + TexUvLines::Ptr{ImVec4} Font::Ptr{ImFont} FontSize::Cfloat FontScale::Cfloat @@ -407,7 +458,6 @@ struct ImDrawListSharedData ArcFastVtx::NTuple{48, ImVec2} ArcFastRadiusCutoff::Cfloat CircleSegmentCounts::NTuple{64, ImU8} - TexUvLines::Ptr{ImVec4} end struct ImDrawCmdHeader @@ -440,6 +490,12 @@ struct ImVector_ImTextureID Data::Ptr{ImTextureID} end +struct ImVector_ImU8 + Size::Cint + Capacity::Cint + Data::Ptr{ImU8} +end + struct ImDrawList CmdBuffer::ImVector_ImDrawCmd IdxBuffer::ImVector_ImDrawIdx @@ -454,6 +510,7 @@ struct ImDrawList _Splitter::ImDrawListSplitter _ClipRectStack::ImVector_ImVec4 _TextureIdStack::ImVector_ImTextureID + _CallbacksDataBuf::ImVector_ImU8 _FringeScale::Cfloat _OwnerName::Ptr{Cchar} end @@ -471,8 +528,9 @@ function Base.getproperty(x::Ptr{ImDrawList}, f::Symbol) f === :_Splitter && return Ptr{ImDrawListSplitter}(x + 128) f === :_ClipRectStack && return Ptr{ImVector_ImVec4}(x + 152) f === :_TextureIdStack && return Ptr{ImVector_ImTextureID}(x + 168) - f === :_FringeScale && return Ptr{Cfloat}(x + 184) - f === :_OwnerName && return Ptr{Ptr{Cchar}}(x + 192) + f === :_CallbacksDataBuf && return Ptr{ImVector_ImU8}(x + 184) + f === :_FringeScale && return Ptr{Cfloat}(x + 200) + f === :_OwnerName && return Ptr{Ptr{Cchar}}(x + 208) return getfield(x, f) end @@ -606,8 +664,6 @@ end const ImU16 = Cushort -const ImS8 = Int8 - struct ImGuiIO ConfigFlags::ImGuiConfigFlags BackendFlags::ImGuiBackendFlags @@ -622,6 +678,13 @@ struct ImGuiIO FontAllowUserScaling::Bool FontDefault::Ptr{ImFont} DisplayFramebufferScale::ImVec2 + ConfigNavSwapGamepadButtons::Bool + ConfigNavMoveSetMousePos::Bool + ConfigNavCaptureKeyboard::Bool + ConfigNavEscapeClearFocusItem::Bool + ConfigNavEscapeClearFocusWindow::Bool + ConfigNavCursorVisibleAuto::Bool + ConfigNavCursorVisibleAlways::Bool ConfigDockingNoSplit::Bool ConfigDockingWithShift::Bool ConfigDockingAlwaysTabBar::Bool @@ -632,19 +695,24 @@ struct ImGuiIO ConfigViewportsNoDefaultParent::Bool MouseDrawCursor::Bool ConfigMacOSXBehaviors::Bool - ConfigNavSwapGamepadButtons::Bool ConfigInputTrickleEventQueue::Bool ConfigInputTextCursorBlink::Bool ConfigInputTextEnterKeepActive::Bool ConfigDragClickToInputText::Bool ConfigWindowsResizeFromEdges::Bool ConfigWindowsMoveFromTitleBarOnly::Bool + ConfigWindowsCopyContentsWithCtrlC::Bool + ConfigScrollbarScrollByPage::Bool ConfigMemoryCompactTimer::Cfloat MouseDoubleClickTime::Cfloat MouseDoubleClickMaxDist::Cfloat MouseDragThreshold::Cfloat KeyRepeatDelay::Cfloat KeyRepeatRate::Cfloat + ConfigErrorRecovery::Bool + ConfigErrorRecoveryEnableAssert::Bool + ConfigErrorRecoveryEnableDebugLog::Bool + ConfigErrorRecoveryEnableTooltip::Bool ConfigDebugIsDebuggerPresent::Bool ConfigDebugHighlightIdConflicts::Bool ConfigDebugBeginReturnValueOnce::Bool @@ -702,8 +770,6 @@ struct ImGuiIO PenPressure::Cfloat AppFocusLost::Bool AppAcceptingEvents::Bool - BackendUsingLegacyKeyArrays::ImS8 - BackendUsingLegacyNavInputArray::Bool InputQueueSurrogate::ImWchar16 InputQueueCharacters::ImVector_ImWchar end @@ -727,90 +793,100 @@ function Base.getproperty(x::Ptr{ImGuiIO}, f::Symbol) f === :FontAllowUserScaling && return Ptr{Bool}(x + 60) f === :FontDefault && return Ptr{Ptr{ImFont}}(x + 64) f === :DisplayFramebufferScale && return Ptr{ImVec2}(x + 72) - f === :ConfigDockingNoSplit && return Ptr{Bool}(x + 80) - f === :ConfigDockingWithShift && return Ptr{Bool}(x + 81) - f === :ConfigDockingAlwaysTabBar && return Ptr{Bool}(x + 82) - f === :ConfigDockingTransparentPayload && return Ptr{Bool}(x + 83) - f === :ConfigViewportsNoAutoMerge && return Ptr{Bool}(x + 84) - f === :ConfigViewportsNoTaskBarIcon && return Ptr{Bool}(x + 85) - f === :ConfigViewportsNoDecoration && return Ptr{Bool}(x + 86) - f === :ConfigViewportsNoDefaultParent && return Ptr{Bool}(x + 87) - f === :MouseDrawCursor && return Ptr{Bool}(x + 88) - f === :ConfigMacOSXBehaviors && return Ptr{Bool}(x + 89) - f === :ConfigNavSwapGamepadButtons && return Ptr{Bool}(x + 90) - f === :ConfigInputTrickleEventQueue && return Ptr{Bool}(x + 91) - f === :ConfigInputTextCursorBlink && return Ptr{Bool}(x + 92) - f === :ConfigInputTextEnterKeepActive && return Ptr{Bool}(x + 93) - f === :ConfigDragClickToInputText && return Ptr{Bool}(x + 94) - f === :ConfigWindowsResizeFromEdges && return Ptr{Bool}(x + 95) - f === :ConfigWindowsMoveFromTitleBarOnly && return Ptr{Bool}(x + 96) - f === :ConfigMemoryCompactTimer && return Ptr{Cfloat}(x + 100) - f === :MouseDoubleClickTime && return Ptr{Cfloat}(x + 104) - f === :MouseDoubleClickMaxDist && return Ptr{Cfloat}(x + 108) - f === :MouseDragThreshold && return Ptr{Cfloat}(x + 112) - f === :KeyRepeatDelay && return Ptr{Cfloat}(x + 116) - f === :KeyRepeatRate && return Ptr{Cfloat}(x + 120) - f === :ConfigDebugIsDebuggerPresent && return Ptr{Bool}(x + 124) - f === :ConfigDebugHighlightIdConflicts && return Ptr{Bool}(x + 125) - f === :ConfigDebugBeginReturnValueOnce && return Ptr{Bool}(x + 126) - f === :ConfigDebugBeginReturnValueLoop && return Ptr{Bool}(x + 127) - f === :ConfigDebugIgnoreFocusLoss && return Ptr{Bool}(x + 128) - f === :ConfigDebugIniSettings && return Ptr{Bool}(x + 129) - f === :BackendPlatformName && return Ptr{Ptr{Cchar}}(x + 136) - f === :BackendRendererName && return Ptr{Ptr{Cchar}}(x + 144) - f === :BackendPlatformUserData && return Ptr{Ptr{Cvoid}}(x + 152) - f === :BackendRendererUserData && return Ptr{Ptr{Cvoid}}(x + 160) - f === :BackendLanguageUserData && return Ptr{Ptr{Cvoid}}(x + 168) - f === :WantCaptureMouse && return Ptr{Bool}(x + 176) - f === :WantCaptureKeyboard && return Ptr{Bool}(x + 177) - f === :WantTextInput && return Ptr{Bool}(x + 178) - f === :WantSetMousePos && return Ptr{Bool}(x + 179) - f === :WantSaveIniSettings && return Ptr{Bool}(x + 180) - f === :NavActive && return Ptr{Bool}(x + 181) - f === :NavVisible && return Ptr{Bool}(x + 182) - f === :Framerate && return Ptr{Cfloat}(x + 184) - f === :MetricsRenderVertices && return Ptr{Cint}(x + 188) - f === :MetricsRenderIndices && return Ptr{Cint}(x + 192) - f === :MetricsRenderWindows && return Ptr{Cint}(x + 196) - f === :MetricsActiveWindows && return Ptr{Cint}(x + 200) - f === :MouseDelta && return Ptr{ImVec2}(x + 204) - f === :Ctx && return Ptr{Ptr{ImGuiContext}}(x + 216) - f === :MousePos && return Ptr{ImVec2}(x + 224) - f === :MouseDown && return Ptr{NTuple{5, Bool}}(x + 232) - f === :MouseWheel && return Ptr{Cfloat}(x + 240) - f === :MouseWheelH && return Ptr{Cfloat}(x + 244) - f === :MouseSource && return Ptr{ImGuiMouseSource}(x + 248) - f === :MouseHoveredViewport && return Ptr{ImGuiID}(x + 252) - f === :KeyCtrl && return Ptr{Bool}(x + 256) - f === :KeyShift && return Ptr{Bool}(x + 257) - f === :KeyAlt && return Ptr{Bool}(x + 258) - f === :KeySuper && return Ptr{Bool}(x + 259) - f === :KeyMods && return Ptr{ImGuiKeyChord}(x + 260) - f === :KeysData && return Ptr{NTuple{154, ImGuiKeyData}}(x + 264) - f === :WantCaptureMouseUnlessPopupClose && return Ptr{Bool}(x + 2728) - f === :MousePosPrev && return Ptr{ImVec2}(x + 2732) - f === :MouseClickedPos && return Ptr{NTuple{5, ImVec2}}(x + 2740) - f === :MouseClickedTime && return Ptr{NTuple{5, Cdouble}}(x + 2784) - f === :MouseClicked && return Ptr{NTuple{5, Bool}}(x + 2824) - f === :MouseDoubleClicked && return Ptr{NTuple{5, Bool}}(x + 2829) - f === :MouseClickedCount && return Ptr{NTuple{5, ImU16}}(x + 2834) - f === :MouseClickedLastCount && return Ptr{NTuple{5, ImU16}}(x + 2844) - f === :MouseReleased && return Ptr{NTuple{5, Bool}}(x + 2854) - f === :MouseDownOwned && return Ptr{NTuple{5, Bool}}(x + 2859) - f === :MouseDownOwnedUnlessPopupClose && return Ptr{NTuple{5, Bool}}(x + 2864) - f === :MouseWheelRequestAxisSwap && return Ptr{Bool}(x + 2869) - f === :MouseCtrlLeftAsRightClick && return Ptr{Bool}(x + 2870) - f === :MouseDownDuration && return Ptr{NTuple{5, Cfloat}}(x + 2872) - f === :MouseDownDurationPrev && return Ptr{NTuple{5, Cfloat}}(x + 2892) - f === :MouseDragMaxDistanceAbs && return Ptr{NTuple{5, ImVec2}}(x + 2912) - f === :MouseDragMaxDistanceSqr && return Ptr{NTuple{5, Cfloat}}(x + 2952) - f === :PenPressure && return Ptr{Cfloat}(x + 2972) - f === :AppFocusLost && return Ptr{Bool}(x + 2976) - f === :AppAcceptingEvents && return Ptr{Bool}(x + 2977) - f === :BackendUsingLegacyKeyArrays && return Ptr{ImS8}(x + 2978) - f === :BackendUsingLegacyNavInputArray && return Ptr{Bool}(x + 2979) - f === :InputQueueSurrogate && return Ptr{ImWchar16}(x + 2980) - f === :InputQueueCharacters && return Ptr{ImVector_ImWchar}(x + 2984) + f === :ConfigNavSwapGamepadButtons && return Ptr{Bool}(x + 80) + f === :ConfigNavMoveSetMousePos && return Ptr{Bool}(x + 81) + f === :ConfigNavCaptureKeyboard && return Ptr{Bool}(x + 82) + f === :ConfigNavEscapeClearFocusItem && return Ptr{Bool}(x + 83) + f === :ConfigNavEscapeClearFocusWindow && return Ptr{Bool}(x + 84) + f === :ConfigNavCursorVisibleAuto && return Ptr{Bool}(x + 85) + f === :ConfigNavCursorVisibleAlways && return Ptr{Bool}(x + 86) + f === :ConfigDockingNoSplit && return Ptr{Bool}(x + 87) + f === :ConfigDockingWithShift && return Ptr{Bool}(x + 88) + f === :ConfigDockingAlwaysTabBar && return Ptr{Bool}(x + 89) + f === :ConfigDockingTransparentPayload && return Ptr{Bool}(x + 90) + f === :ConfigViewportsNoAutoMerge && return Ptr{Bool}(x + 91) + f === :ConfigViewportsNoTaskBarIcon && return Ptr{Bool}(x + 92) + f === :ConfigViewportsNoDecoration && return Ptr{Bool}(x + 93) + f === :ConfigViewportsNoDefaultParent && return Ptr{Bool}(x + 94) + f === :MouseDrawCursor && return Ptr{Bool}(x + 95) + f === :ConfigMacOSXBehaviors && return Ptr{Bool}(x + 96) + f === :ConfigInputTrickleEventQueue && return Ptr{Bool}(x + 97) + f === :ConfigInputTextCursorBlink && return Ptr{Bool}(x + 98) + f === :ConfigInputTextEnterKeepActive && return Ptr{Bool}(x + 99) + f === :ConfigDragClickToInputText && return Ptr{Bool}(x + 100) + f === :ConfigWindowsResizeFromEdges && return Ptr{Bool}(x + 101) + f === :ConfigWindowsMoveFromTitleBarOnly && return Ptr{Bool}(x + 102) + f === :ConfigWindowsCopyContentsWithCtrlC && return Ptr{Bool}(x + 103) + f === :ConfigScrollbarScrollByPage && return Ptr{Bool}(x + 104) + f === :ConfigMemoryCompactTimer && return Ptr{Cfloat}(x + 108) + f === :MouseDoubleClickTime && return Ptr{Cfloat}(x + 112) + f === :MouseDoubleClickMaxDist && return Ptr{Cfloat}(x + 116) + f === :MouseDragThreshold && return Ptr{Cfloat}(x + 120) + f === :KeyRepeatDelay && return Ptr{Cfloat}(x + 124) + f === :KeyRepeatRate && return Ptr{Cfloat}(x + 128) + f === :ConfigErrorRecovery && return Ptr{Bool}(x + 132) + f === :ConfigErrorRecoveryEnableAssert && return Ptr{Bool}(x + 133) + f === :ConfigErrorRecoveryEnableDebugLog && return Ptr{Bool}(x + 134) + f === :ConfigErrorRecoveryEnableTooltip && return Ptr{Bool}(x + 135) + f === :ConfigDebugIsDebuggerPresent && return Ptr{Bool}(x + 136) + f === :ConfigDebugHighlightIdConflicts && return Ptr{Bool}(x + 137) + f === :ConfigDebugBeginReturnValueOnce && return Ptr{Bool}(x + 138) + f === :ConfigDebugBeginReturnValueLoop && return Ptr{Bool}(x + 139) + f === :ConfigDebugIgnoreFocusLoss && return Ptr{Bool}(x + 140) + f === :ConfigDebugIniSettings && return Ptr{Bool}(x + 141) + f === :BackendPlatformName && return Ptr{Ptr{Cchar}}(x + 144) + f === :BackendRendererName && return Ptr{Ptr{Cchar}}(x + 152) + f === :BackendPlatformUserData && return Ptr{Ptr{Cvoid}}(x + 160) + f === :BackendRendererUserData && return Ptr{Ptr{Cvoid}}(x + 168) + f === :BackendLanguageUserData && return Ptr{Ptr{Cvoid}}(x + 176) + f === :WantCaptureMouse && return Ptr{Bool}(x + 184) + f === :WantCaptureKeyboard && return Ptr{Bool}(x + 185) + f === :WantTextInput && return Ptr{Bool}(x + 186) + f === :WantSetMousePos && return Ptr{Bool}(x + 187) + f === :WantSaveIniSettings && return Ptr{Bool}(x + 188) + f === :NavActive && return Ptr{Bool}(x + 189) + f === :NavVisible && return Ptr{Bool}(x + 190) + f === :Framerate && return Ptr{Cfloat}(x + 192) + f === :MetricsRenderVertices && return Ptr{Cint}(x + 196) + f === :MetricsRenderIndices && return Ptr{Cint}(x + 200) + f === :MetricsRenderWindows && return Ptr{Cint}(x + 204) + f === :MetricsActiveWindows && return Ptr{Cint}(x + 208) + f === :MouseDelta && return Ptr{ImVec2}(x + 212) + f === :Ctx && return Ptr{Ptr{ImGuiContext}}(x + 224) + f === :MousePos && return Ptr{ImVec2}(x + 232) + f === :MouseDown && return Ptr{NTuple{5, Bool}}(x + 240) + f === :MouseWheel && return Ptr{Cfloat}(x + 248) + f === :MouseWheelH && return Ptr{Cfloat}(x + 252) + f === :MouseSource && return Ptr{ImGuiMouseSource}(x + 256) + f === :MouseHoveredViewport && return Ptr{ImGuiID}(x + 260) + f === :KeyCtrl && return Ptr{Bool}(x + 264) + f === :KeyShift && return Ptr{Bool}(x + 265) + f === :KeyAlt && return Ptr{Bool}(x + 266) + f === :KeySuper && return Ptr{Bool}(x + 267) + f === :KeyMods && return Ptr{ImGuiKeyChord}(x + 268) + f === :KeysData && return Ptr{NTuple{154, ImGuiKeyData}}(x + 272) + f === :WantCaptureMouseUnlessPopupClose && return Ptr{Bool}(x + 2736) + f === :MousePosPrev && return Ptr{ImVec2}(x + 2740) + f === :MouseClickedPos && return Ptr{NTuple{5, ImVec2}}(x + 2748) + f === :MouseClickedTime && return Ptr{NTuple{5, Cdouble}}(x + 2792) + f === :MouseClicked && return Ptr{NTuple{5, Bool}}(x + 2832) + f === :MouseDoubleClicked && return Ptr{NTuple{5, Bool}}(x + 2837) + f === :MouseClickedCount && return Ptr{NTuple{5, ImU16}}(x + 2842) + f === :MouseClickedLastCount && return Ptr{NTuple{5, ImU16}}(x + 2852) + f === :MouseReleased && return Ptr{NTuple{5, Bool}}(x + 2862) + f === :MouseDownOwned && return Ptr{NTuple{5, Bool}}(x + 2867) + f === :MouseDownOwnedUnlessPopupClose && return Ptr{NTuple{5, Bool}}(x + 2872) + f === :MouseWheelRequestAxisSwap && return Ptr{Bool}(x + 2877) + f === :MouseCtrlLeftAsRightClick && return Ptr{Bool}(x + 2878) + f === :MouseDownDuration && return Ptr{NTuple{5, Cfloat}}(x + 2880) + f === :MouseDownDurationPrev && return Ptr{NTuple{5, Cfloat}}(x + 2900) + f === :MouseDragMaxDistanceAbs && return Ptr{NTuple{5, ImVec2}}(x + 2920) + f === :MouseDragMaxDistanceSqr && return Ptr{NTuple{5, Cfloat}}(x + 2960) + f === :PenPressure && return Ptr{Cfloat}(x + 2980) + f === :AppFocusLost && return Ptr{Bool}(x + 2984) + f === :AppAcceptingEvents && return Ptr{Bool}(x + 2985) + f === :InputQueueSurrogate && return Ptr{ImWchar16}(x + 2986) + f === :InputQueueCharacters && return Ptr{ImVector_ImWchar}(x + 2992) return getfield(x, f) end @@ -862,6 +938,7 @@ struct ImGuiPlatformIO Platform_SetImeDataFn::Ptr{Cvoid} Platform_ImeUserData::Ptr{Cvoid} Platform_LocaleDecimalPoint::ImWchar + Renderer_RenderState::Ptr{Cvoid} Platform_CreateWindow::Ptr{Cvoid} Platform_DestroyWindow::Ptr{Cvoid} Platform_ShowWindow::Ptr{Cvoid} @@ -898,32 +975,33 @@ function Base.getproperty(x::Ptr{ImGuiPlatformIO}, f::Symbol) f === :Platform_SetImeDataFn && return Ptr{Ptr{Cvoid}}(x + 40) f === :Platform_ImeUserData && return Ptr{Ptr{Cvoid}}(x + 48) f === :Platform_LocaleDecimalPoint && return Ptr{ImWchar}(x + 56) - f === :Platform_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 64) - f === :Platform_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 72) - f === :Platform_ShowWindow && return Ptr{Ptr{Cvoid}}(x + 80) - f === :Platform_SetWindowPos && return Ptr{Ptr{Cvoid}}(x + 88) - f === :Platform_GetWindowPos && return Ptr{Ptr{Cvoid}}(x + 96) - f === :Platform_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 104) - f === :Platform_GetWindowSize && return Ptr{Ptr{Cvoid}}(x + 112) - f === :Platform_SetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 120) - f === :Platform_GetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 128) - f === :Platform_GetWindowMinimized && return Ptr{Ptr{Cvoid}}(x + 136) - f === :Platform_SetWindowTitle && return Ptr{Ptr{Cvoid}}(x + 144) - f === :Platform_SetWindowAlpha && return Ptr{Ptr{Cvoid}}(x + 152) - f === :Platform_UpdateWindow && return Ptr{Ptr{Cvoid}}(x + 160) - f === :Platform_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 168) - f === :Platform_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 176) - f === :Platform_GetWindowDpiScale && return Ptr{Ptr{Cvoid}}(x + 184) - f === :Platform_OnChangedViewport && return Ptr{Ptr{Cvoid}}(x + 192) - f === :Platform_GetWindowWorkAreaInsets && return Ptr{Ptr{Cvoid}}(x + 200) - f === :Platform_CreateVkSurface && return Ptr{Ptr{Cvoid}}(x + 208) - f === :Renderer_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 216) - f === :Renderer_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 224) - f === :Renderer_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 232) - f === :Renderer_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 240) - f === :Renderer_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 248) - f === :Monitors && return Ptr{ImVector_ImGuiPlatformMonitor}(x + 256) - f === :Viewports && return Ptr{ImVector_ImGuiViewportPtr}(x + 272) + f === :Renderer_RenderState && return Ptr{Ptr{Cvoid}}(x + 64) + f === :Platform_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 72) + f === :Platform_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 80) + f === :Platform_ShowWindow && return Ptr{Ptr{Cvoid}}(x + 88) + f === :Platform_SetWindowPos && return Ptr{Ptr{Cvoid}}(x + 96) + f === :Platform_GetWindowPos && return Ptr{Ptr{Cvoid}}(x + 104) + f === :Platform_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 112) + f === :Platform_GetWindowSize && return Ptr{Ptr{Cvoid}}(x + 120) + f === :Platform_SetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 128) + f === :Platform_GetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 136) + f === :Platform_GetWindowMinimized && return Ptr{Ptr{Cvoid}}(x + 144) + f === :Platform_SetWindowTitle && return Ptr{Ptr{Cvoid}}(x + 152) + f === :Platform_SetWindowAlpha && return Ptr{Ptr{Cvoid}}(x + 160) + f === :Platform_UpdateWindow && return Ptr{Ptr{Cvoid}}(x + 168) + f === :Platform_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 176) + f === :Platform_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 184) + f === :Platform_GetWindowDpiScale && return Ptr{Ptr{Cvoid}}(x + 192) + f === :Platform_OnChangedViewport && return Ptr{Ptr{Cvoid}}(x + 200) + f === :Platform_GetWindowWorkAreaInsets && return Ptr{Ptr{Cvoid}}(x + 208) + f === :Platform_CreateVkSurface && return Ptr{Ptr{Cvoid}}(x + 216) + f === :Renderer_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 224) + f === :Renderer_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 232) + f === :Renderer_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 240) + f === :Renderer_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 248) + f === :Renderer_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 256) + f === :Monitors && return Ptr{ImVector_ImGuiPlatformMonitor}(x + 264) + f === :Viewports && return Ptr{ImVector_ImGuiViewportPtr}(x + 280) return getfield(x, f) end @@ -1185,6 +1263,8 @@ function Base.getproperty(x::ImGuiViewportP, f::Symbol) return getfield(x, f) end +const ImS8 = Int8 + const ImGuiCond = Cint struct ImVector_ImGuiID @@ -1395,6 +1475,7 @@ struct ImGuiTextBuffer end struct ImGuiTabBar + Window::Ptr{Cvoid} # Window::Ptr{ImGuiWindow} Tabs::ImVector_ImGuiTabItem Flags::ImGuiTabBarFlags ID::ImGuiID @@ -1430,6 +1511,11 @@ struct ImGuiTabBar TabsNames::ImGuiTextBuffer end +function Base.getproperty(x::ImGuiTabBar, f::Symbol) + f === :Window && return Ptr{ImGuiWindow}(getfield(x, f)) + return getfield(x, f) +end + @cenum ImGuiAxis::Int32 begin ImGuiAxis_None = -1 ImGuiAxis_X = 0 @@ -1534,7 +1620,7 @@ end const ImGuiItemStatusFlags = Cint struct ImGuiWindow - data::NTuple{1168, UInt8} + data::NTuple{1184, UInt8} end function Base.getproperty(x::Ptr{ImGuiWindow}, f::Symbol) @@ -1635,33 +1721,33 @@ function Base.getproperty(x::Ptr{ImGuiWindow}, f::Symbol) f === :SettingsOffset && return Ptr{Cint}(x + 736) f === :DrawList && return Ptr{Ptr{ImDrawList}}(x + 744) f === :DrawListInst && return Ptr{ImDrawList}(x + 752) - f === :ParentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 952) - f === :ParentWindowInBeginStack && return Ptr{Ptr{ImGuiWindow}}(x + 960) - f === :RootWindow && return Ptr{Ptr{ImGuiWindow}}(x + 968) - f === :RootWindowPopupTree && return Ptr{Ptr{ImGuiWindow}}(x + 976) - f === :RootWindowDockTree && return Ptr{Ptr{ImGuiWindow}}(x + 984) - f === :RootWindowForTitleBarHighlight && return Ptr{Ptr{ImGuiWindow}}(x + 992) - f === :RootWindowForNav && return Ptr{Ptr{ImGuiWindow}}(x + 1000) - f === :ParentWindowForFocusRoute && return Ptr{Ptr{ImGuiWindow}}(x + 1008) - f === :NavLastChildNavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 1016) - f === :NavLastIds && return Ptr{NTuple{2, ImGuiID}}(x + 1024) - f === :NavRectRel && return Ptr{NTuple{2, ImRect}}(x + 1032) - f === :NavPreferredScoringPosRel && return Ptr{NTuple{2, ImVec2}}(x + 1064) - f === :NavRootFocusScopeId && return Ptr{ImGuiID}(x + 1080) - f === :MemoryDrawListIdxCapacity && return Ptr{Cint}(x + 1084) - f === :MemoryDrawListVtxCapacity && return Ptr{Cint}(x + 1088) - f === :MemoryCompacted && return Ptr{Bool}(x + 1092) - f === :DockIsActive && return (Ptr{Bool}(x + 1092), 8, 1) - f === :DockNodeIsVisible && return (Ptr{Bool}(x + 1092), 9, 1) - f === :DockTabIsVisible && return (Ptr{Bool}(x + 1092), 10, 1) - f === :DockTabWantClose && return (Ptr{Bool}(x + 1092), 11, 1) - f === :DockOrder && return Ptr{Cshort}(x + 1094) - f === :DockStyle && return Ptr{ImGuiWindowDockStyle}(x + 1096) - f === :DockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 1128) - f === :DockNodeAsHost && return Ptr{Ptr{ImGuiDockNode}}(x + 1136) - f === :DockId && return Ptr{ImGuiID}(x + 1144) - f === :DockTabItemStatusFlags && return Ptr{ImGuiItemStatusFlags}(x + 1148) - f === :DockTabItemRect && return Ptr{ImRect}(x + 1152) + f === :ParentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 968) + f === :ParentWindowInBeginStack && return Ptr{Ptr{ImGuiWindow}}(x + 976) + f === :RootWindow && return Ptr{Ptr{ImGuiWindow}}(x + 984) + f === :RootWindowPopupTree && return Ptr{Ptr{ImGuiWindow}}(x + 992) + f === :RootWindowDockTree && return Ptr{Ptr{ImGuiWindow}}(x + 1000) + f === :RootWindowForTitleBarHighlight && return Ptr{Ptr{ImGuiWindow}}(x + 1008) + f === :RootWindowForNav && return Ptr{Ptr{ImGuiWindow}}(x + 1016) + f === :ParentWindowForFocusRoute && return Ptr{Ptr{ImGuiWindow}}(x + 1024) + f === :NavLastChildNavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 1032) + f === :NavLastIds && return Ptr{NTuple{2, ImGuiID}}(x + 1040) + f === :NavRectRel && return Ptr{NTuple{2, ImRect}}(x + 1048) + f === :NavPreferredScoringPosRel && return Ptr{NTuple{2, ImVec2}}(x + 1080) + f === :NavRootFocusScopeId && return Ptr{ImGuiID}(x + 1096) + f === :MemoryDrawListIdxCapacity && return Ptr{Cint}(x + 1100) + f === :MemoryDrawListVtxCapacity && return Ptr{Cint}(x + 1104) + f === :MemoryCompacted && return Ptr{Bool}(x + 1108) + f === :DockIsActive && return (Ptr{Bool}(x + 1108), 8, 1) + f === :DockNodeIsVisible && return (Ptr{Bool}(x + 1108), 9, 1) + f === :DockTabIsVisible && return (Ptr{Bool}(x + 1108), 10, 1) + f === :DockTabWantClose && return (Ptr{Bool}(x + 1108), 11, 1) + f === :DockOrder && return Ptr{Cshort}(x + 1110) + f === :DockStyle && return Ptr{ImGuiWindowDockStyle}(x + 1112) + f === :DockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 1144) + f === :DockNodeAsHost && return Ptr{Ptr{ImGuiDockNode}}(x + 1152) + f === :DockId && return Ptr{ImGuiID}(x + 1160) + f === :DockTabItemStatusFlags && return Ptr{ImGuiItemStatusFlags}(x + 1164) + f === :DockTabItemRect && return Ptr{ImRect}(x + 1168) return getfield(x, f) end @@ -1712,7 +1798,7 @@ const ImGuiItemFlags = Cint struct ImGuiLastItemData ID::ImGuiID - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags StatusFlags::ImGuiItemStatusFlags Rect::ImRect NavRect::ImRect @@ -1721,8 +1807,10 @@ struct ImGuiLastItemData Shortcut::ImGuiKeyChord end -struct ImGuiStackSizes +struct ImGuiErrorRecoveryState + SizeOfWindowStack::Cshort SizeOfIDStack::Cshort + SizeOfTreeStack::Cshort SizeOfColorStack::Cshort SizeOfStyleVarStack::Cshort SizeOfFontStack::Cshort @@ -1736,7 +1824,7 @@ end struct ImGuiWindowStackData Window::Ptr{ImGuiWindow} ParentLastItemDataBackup::ImGuiLastItemData - StackSizesOnBegin::ImGuiStackSizes + StackSizesInBegin::ImGuiErrorRecoveryState DisabledOverrideReenable::Bool end @@ -1795,7 +1883,7 @@ struct ImGuiDataTypeStorage end struct ImGuiNextItemData - Flags::ImGuiNextItemDataFlags + HasFlags::ImGuiNextItemDataFlags ItemFlags::ImGuiItemFlags FocusScopeId::ImGuiID SelectionUserData::ImGuiSelectionUserData @@ -1944,7 +2032,7 @@ const ImGuiTreeNodeFlags = Cint struct ImGuiTreeNodeStackData ID::ImGuiID TreeFlags::ImGuiTreeNodeFlags - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags NavRect::ImRect end @@ -1967,7 +2055,7 @@ struct ImGuiNavItemData ID::ImGuiID FocusScopeId::ImGuiID RectRel::ImRect - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags DistBox::Cfloat DistCenter::Cfloat DistAxial::Cfloat @@ -1980,6 +2068,7 @@ const ImGuiScrollFlags = Cint @cenum ImGuiKey::UInt32 begin ImGuiKey_None = 0 + ImGuiKey_NamedKey_BEGIN = 512 ImGuiKey_Tab = 512 ImGuiKey_LeftArrow = 513 ImGuiKey_RightArrow = 514 @@ -2134,18 +2223,14 @@ const ImGuiScrollFlags = Cint ImGuiKey_ReservedForModShift = 663 ImGuiKey_ReservedForModAlt = 664 ImGuiKey_ReservedForModSuper = 665 - ImGuiKey_COUNT = 666 + ImGuiKey_NamedKey_END = 666 ImGuiMod_None = 0 ImGuiMod_Ctrl = 4096 ImGuiMod_Shift = 8192 ImGuiMod_Alt = 16384 ImGuiMod_Super = 32768 ImGuiMod_Mask_ = 61440 - ImGuiKey_NamedKey_BEGIN = 512 - ImGuiKey_NamedKey_END = 666 ImGuiKey_NamedKey_COUNT = 154 - ImGuiKey_KeysData_SIZE = 154 - ImGuiKey_KeysData_OFFSET = 512 end const ImGuiDragDropFlags = Cint @@ -2800,11 +2885,11 @@ struct ImGuiInputTextState Ctx::Ptr{Cvoid} # Ctx::Ptr{ImGuiContext} Stb::Ptr{ImStbTexteditState} ID::ImGuiID - CurLenA::Cint + TextLen::Cint TextA::ImVector_char - InitialTextA::ImVector_char + TextToRevertTo::ImVector_char CallbackTextBackup::ImVector_char - BufCapacityA::Cint + BufCapacity::Cint Scroll::ImVec2 CursorAnim::Cfloat CursorFollow::Bool @@ -2940,16 +3025,13 @@ struct ImVector_ImGuiContextHook Data::Ptr{ImGuiContextHook} end -@cenum ImGuiLogType::UInt32 begin - ImGuiLogType_None = 0 - ImGuiLogType_TTY = 1 - ImGuiLogType_File = 2 - ImGuiLogType_Buffer = 3 - ImGuiLogType_Clipboard = 4 -end +const ImGuiLogFlags = Cint const ImFileHandle = Ptr{Libc.FILE} +# typedef void ( * ImGuiErrorCallback ) ( ImGuiContext * ctx , void * user_data , const char * msg ) +const ImGuiErrorCallback = Ptr{Cvoid} + const ImGuiDebugLogFlags = Cint struct ImVector_int @@ -3067,313 +3149,324 @@ struct ImGuiDebugAllocInfo end struct ImGuiContext - data::NTuple{10920, UInt8} + data::NTuple{11016, UInt8} end function Base.getproperty(x::Ptr{ImGuiContext}, f::Symbol) f === :Initialized && return Ptr{Bool}(x + 0) f === :FontAtlasOwnedByContext && return Ptr{Bool}(x + 1) f === :IO && return Ptr{ImGuiIO}(x + 8) - f === :PlatformIO && return Ptr{ImGuiPlatformIO}(x + 3008) - f === :Style && return Ptr{ImGuiStyle}(x + 3296) - f === :ConfigFlagsCurrFrame && return Ptr{ImGuiConfigFlags}(x + 4488) - f === :ConfigFlagsLastFrame && return Ptr{ImGuiConfigFlags}(x + 4492) - f === :Font && return Ptr{Ptr{ImFont}}(x + 4496) - f === :FontSize && return Ptr{Cfloat}(x + 4504) - f === :FontBaseSize && return Ptr{Cfloat}(x + 4508) - f === :FontScale && return Ptr{Cfloat}(x + 4512) - f === :CurrentDpiScale && return Ptr{Cfloat}(x + 4516) - f === :DrawListSharedData && return Ptr{ImDrawListSharedData}(x + 4520) - f === :Time && return Ptr{Cdouble}(x + 5056) - f === :FrameCount && return Ptr{Cint}(x + 5064) - f === :FrameCountEnded && return Ptr{Cint}(x + 5068) - f === :FrameCountPlatformEnded && return Ptr{Cint}(x + 5072) - f === :FrameCountRendered && return Ptr{Cint}(x + 5076) - f === :WithinFrameScope && return Ptr{Bool}(x + 5080) - f === :WithinFrameScopeWithImplicitWindow && return Ptr{Bool}(x + 5081) - f === :WithinEndChild && return Ptr{Bool}(x + 5082) - f === :GcCompactAll && return Ptr{Bool}(x + 5083) - f === :TestEngineHookItems && return Ptr{Bool}(x + 5084) - f === :TestEngine && return Ptr{Ptr{Cvoid}}(x + 5088) - f === :ContextName && return Ptr{NTuple{16, Cchar}}(x + 5096) - f === :InputEventsQueue && return Ptr{ImVector_ImGuiInputEvent}(x + 5112) - f === :InputEventsTrail && return Ptr{ImVector_ImGuiInputEvent}(x + 5128) - f === :InputEventsNextMouseSource && return Ptr{ImGuiMouseSource}(x + 5144) - f === :InputEventsNextEventId && return Ptr{ImU32}(x + 5148) - f === :Windows && return Ptr{ImVector_ImGuiWindowPtr}(x + 5152) - f === :WindowsFocusOrder && return Ptr{ImVector_ImGuiWindowPtr}(x + 5168) - f === :WindowsTempSortBuffer && return Ptr{ImVector_ImGuiWindowPtr}(x + 5184) - f === :CurrentWindowStack && return Ptr{ImVector_ImGuiWindowStackData}(x + 5200) - f === :WindowsById && return Ptr{ImGuiStorage}(x + 5216) - f === :WindowsActiveCount && return Ptr{Cint}(x + 5232) - f === :WindowsHoverPadding && return Ptr{ImVec2}(x + 5236) - f === :DebugBreakInWindow && return Ptr{ImGuiID}(x + 5244) - f === :CurrentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5248) - f === :HoveredWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5256) - f === :HoveredWindowUnderMovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5264) - f === :HoveredWindowBeforeClear && return Ptr{Ptr{ImGuiWindow}}(x + 5272) - f === :MovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5280) - f === :WheelingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5288) - f === :WheelingWindowRefMousePos && return Ptr{ImVec2}(x + 5296) - f === :WheelingWindowStartFrame && return Ptr{Cint}(x + 5304) - f === :WheelingWindowScrolledFrame && return Ptr{Cint}(x + 5308) - f === :WheelingWindowReleaseTimer && return Ptr{Cfloat}(x + 5312) - f === :WheelingWindowWheelRemainder && return Ptr{ImVec2}(x + 5316) - f === :WheelingAxisAvg && return Ptr{ImVec2}(x + 5324) - f === :DebugDrawIdConflicts && return Ptr{ImGuiID}(x + 5332) - f === :DebugHookIdInfo && return Ptr{ImGuiID}(x + 5336) - f === :HoveredId && return Ptr{ImGuiID}(x + 5340) - f === :HoveredIdPreviousFrame && return Ptr{ImGuiID}(x + 5344) - f === :HoveredIdPreviousFrameItemCount && return Ptr{Cint}(x + 5348) - f === :HoveredIdTimer && return Ptr{Cfloat}(x + 5352) - f === :HoveredIdNotActiveTimer && return Ptr{Cfloat}(x + 5356) - f === :HoveredIdAllowOverlap && return Ptr{Bool}(x + 5360) - f === :HoveredIdIsDisabled && return Ptr{Bool}(x + 5361) - f === :ItemUnclipByLog && return Ptr{Bool}(x + 5362) - f === :ActiveId && return Ptr{ImGuiID}(x + 5364) - f === :ActiveIdIsAlive && return Ptr{ImGuiID}(x + 5368) - f === :ActiveIdTimer && return Ptr{Cfloat}(x + 5372) - f === :ActiveIdIsJustActivated && return Ptr{Bool}(x + 5376) - f === :ActiveIdAllowOverlap && return Ptr{Bool}(x + 5377) - f === :ActiveIdNoClearOnFocusLoss && return Ptr{Bool}(x + 5378) - f === :ActiveIdHasBeenPressedBefore && return Ptr{Bool}(x + 5379) - f === :ActiveIdHasBeenEditedBefore && return Ptr{Bool}(x + 5380) - f === :ActiveIdHasBeenEditedThisFrame && return Ptr{Bool}(x + 5381) - f === :ActiveIdFromShortcut && return Ptr{Bool}(x + 5382) - f === :ActiveIdMouseButton && return (Ptr{Cint}(x + 5380), 24, 8) - f === :ActiveIdClickOffset && return Ptr{ImVec2}(x + 5384) - f === :ActiveIdWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5392) - f === :ActiveIdSource && return Ptr{ImGuiInputSource}(x + 5400) - f === :ActiveIdPreviousFrame && return Ptr{ImGuiID}(x + 5404) - f === :ActiveIdPreviousFrameIsAlive && return Ptr{Bool}(x + 5408) - f === :ActiveIdPreviousFrameHasBeenEditedBefore && return Ptr{Bool}(x + 5409) - f === :ActiveIdPreviousFrameWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5416) - f === :LastActiveId && return Ptr{ImGuiID}(x + 5424) - f === :LastActiveIdTimer && return Ptr{Cfloat}(x + 5428) - f === :LastKeyModsChangeTime && return Ptr{Cdouble}(x + 5432) - f === :LastKeyModsChangeFromNoneTime && return Ptr{Cdouble}(x + 5440) - f === :LastKeyboardKeyPressTime && return Ptr{Cdouble}(x + 5448) - f === :KeysMayBeCharInput && return Ptr{ImBitArrayForNamedKeys}(x + 5456) - f === :KeysOwnerData && return Ptr{NTuple{154, ImGuiKeyOwnerData}}(x + 5476) - f === :KeysRoutingTable && return Ptr{ImGuiKeyRoutingTable}(x + 7328) - f === :ActiveIdUsingNavDirMask && return Ptr{ImU32}(x + 7672) - f === :ActiveIdUsingAllKeyboardKeys && return Ptr{Bool}(x + 7676) - f === :DebugBreakInShortcutRouting && return Ptr{ImGuiKeyChord}(x + 7680) - f === :CurrentFocusScopeId && return Ptr{ImGuiID}(x + 7684) - f === :CurrentItemFlags && return Ptr{ImGuiItemFlags}(x + 7688) - f === :DebugLocateId && return Ptr{ImGuiID}(x + 7692) - f === :NextItemData && return Ptr{ImGuiNextItemData}(x + 7696) - f === :LastItemData && return Ptr{ImGuiLastItemData}(x + 7752) - f === :NextWindowData && return Ptr{ImGuiNextWindowData}(x + 7832) - f === :DebugShowGroupRects && return Ptr{Bool}(x + 7992) - f === :DebugFlashStyleColorIdx && return Ptr{ImGuiCol}(x + 7996) - f === :ColorStack && return Ptr{ImVector_ImGuiColorMod}(x + 8000) - f === :StyleVarStack && return Ptr{ImVector_ImGuiStyleMod}(x + 8016) - f === :FontStack && return Ptr{ImVector_ImFontPtr}(x + 8032) - f === :FocusScopeStack && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8048) - f === :ItemFlagsStack && return Ptr{ImVector_ImGuiItemFlags}(x + 8064) - f === :GroupStack && return Ptr{ImVector_ImGuiGroupData}(x + 8080) - f === :OpenPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8096) - f === :BeginPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8112) - f === :TreeNodeStack && return Ptr{ImVector_ImGuiTreeNodeStackData}(x + 8128) - f === :Viewports && return Ptr{ImVector_ImGuiViewportPPtr}(x + 8144) - f === :CurrentViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8160) - f === :MouseViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8168) - f === :MouseLastHoveredViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8176) - f === :PlatformLastFocusedViewportId && return Ptr{ImGuiID}(x + 8184) - f === :FallbackMonitor && return Ptr{ImGuiPlatformMonitor}(x + 8192) - f === :PlatformMonitorsFullWorkRect && return Ptr{ImRect}(x + 8240) - f === :ViewportCreatedCount && return Ptr{Cint}(x + 8256) - f === :PlatformWindowsCreatedCount && return Ptr{Cint}(x + 8260) - f === :ViewportFocusedStampCount && return Ptr{Cint}(x + 8264) - f === :NavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8272) - f === :NavId && return Ptr{ImGuiID}(x + 8280) - f === :NavFocusScopeId && return Ptr{ImGuiID}(x + 8284) - f === :NavLayer && return Ptr{ImGuiNavLayer}(x + 8288) - f === :NavActivateId && return Ptr{ImGuiID}(x + 8292) - f === :NavActivateDownId && return Ptr{ImGuiID}(x + 8296) - f === :NavActivatePressedId && return Ptr{ImGuiID}(x + 8300) - f === :NavActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8304) - f === :NavFocusRoute && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8312) - f === :NavHighlightActivatedId && return Ptr{ImGuiID}(x + 8328) - f === :NavHighlightActivatedTimer && return Ptr{Cfloat}(x + 8332) - f === :NavNextActivateId && return Ptr{ImGuiID}(x + 8336) - f === :NavNextActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8340) - f === :NavInputSource && return Ptr{ImGuiInputSource}(x + 8344) - f === :NavLastValidSelectionUserData && return Ptr{ImGuiSelectionUserData}(x + 8352) - f === :NavIdIsAlive && return Ptr{Bool}(x + 8360) - f === :NavMousePosDirty && return Ptr{Bool}(x + 8361) - f === :NavDisableHighlight && return Ptr{Bool}(x + 8362) - f === :NavDisableMouseHover && return Ptr{Bool}(x + 8363) - f === :NavAnyRequest && return Ptr{Bool}(x + 8364) - f === :NavInitRequest && return Ptr{Bool}(x + 8365) - f === :NavInitRequestFromMove && return Ptr{Bool}(x + 8366) - f === :NavInitResult && return Ptr{ImGuiNavItemData}(x + 8368) - f === :NavMoveSubmitted && return Ptr{Bool}(x + 8424) - f === :NavMoveScoringItems && return Ptr{Bool}(x + 8425) - f === :NavMoveForwardToNextFrame && return Ptr{Bool}(x + 8426) - f === :NavMoveFlags && return Ptr{ImGuiNavMoveFlags}(x + 8428) - f === :NavMoveScrollFlags && return Ptr{ImGuiScrollFlags}(x + 8432) - f === :NavMoveKeyMods && return Ptr{ImGuiKeyChord}(x + 8436) - f === :NavMoveDir && return Ptr{ImGuiDir}(x + 8440) - f === :NavMoveDirForDebug && return Ptr{ImGuiDir}(x + 8444) - f === :NavMoveClipDir && return Ptr{ImGuiDir}(x + 8448) - f === :NavScoringRect && return Ptr{ImRect}(x + 8452) - f === :NavScoringNoClipRect && return Ptr{ImRect}(x + 8468) - f === :NavScoringDebugCount && return Ptr{Cint}(x + 8484) - f === :NavTabbingDir && return Ptr{Cint}(x + 8488) - f === :NavTabbingCounter && return Ptr{Cint}(x + 8492) - f === :NavMoveResultLocal && return Ptr{ImGuiNavItemData}(x + 8496) - f === :NavMoveResultLocalVisible && return Ptr{ImGuiNavItemData}(x + 8552) - f === :NavMoveResultOther && return Ptr{ImGuiNavItemData}(x + 8608) - f === :NavTabbingResultFirst && return Ptr{ImGuiNavItemData}(x + 8664) - f === :NavJustMovedFromFocusScopeId && return Ptr{ImGuiID}(x + 8720) - f === :NavJustMovedToId && return Ptr{ImGuiID}(x + 8724) - f === :NavJustMovedToFocusScopeId && return Ptr{ImGuiID}(x + 8728) - f === :NavJustMovedToKeyMods && return Ptr{ImGuiKeyChord}(x + 8732) - f === :NavJustMovedToIsTabbing && return Ptr{Bool}(x + 8736) - f === :NavJustMovedToHasSelectionData && return Ptr{Bool}(x + 8737) - f === :ConfigNavWindowingKeyNext && return Ptr{ImGuiKeyChord}(x + 8740) - f === :ConfigNavWindowingKeyPrev && return Ptr{ImGuiKeyChord}(x + 8744) - f === :NavWindowingTarget && return Ptr{Ptr{ImGuiWindow}}(x + 8752) - f === :NavWindowingTargetAnim && return Ptr{Ptr{ImGuiWindow}}(x + 8760) - f === :NavWindowingListWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8768) - f === :NavWindowingTimer && return Ptr{Cfloat}(x + 8776) - f === :NavWindowingHighlightAlpha && return Ptr{Cfloat}(x + 8780) - f === :NavWindowingToggleLayer && return Ptr{Bool}(x + 8784) - f === :NavWindowingToggleKey && return Ptr{ImGuiKey}(x + 8788) - f === :NavWindowingAccumDeltaPos && return Ptr{ImVec2}(x + 8792) - f === :NavWindowingAccumDeltaSize && return Ptr{ImVec2}(x + 8800) - f === :DimBgRatio && return Ptr{Cfloat}(x + 8808) - f === :DragDropActive && return Ptr{Bool}(x + 8812) - f === :DragDropWithinSource && return Ptr{Bool}(x + 8813) - f === :DragDropWithinTarget && return Ptr{Bool}(x + 8814) - f === :DragDropSourceFlags && return Ptr{ImGuiDragDropFlags}(x + 8816) - f === :DragDropSourceFrameCount && return Ptr{Cint}(x + 8820) - f === :DragDropMouseButton && return Ptr{Cint}(x + 8824) - f === :DragDropPayload && return Ptr{ImGuiPayload}(x + 8832) - f === :DragDropTargetRect && return Ptr{ImRect}(x + 8896) - f === :DragDropTargetClipRect && return Ptr{ImRect}(x + 8912) - f === :DragDropTargetId && return Ptr{ImGuiID}(x + 8928) - f === :DragDropAcceptFlags && return Ptr{ImGuiDragDropFlags}(x + 8932) - f === :DragDropAcceptIdCurrRectSurface && return Ptr{Cfloat}(x + 8936) - f === :DragDropAcceptIdCurr && return Ptr{ImGuiID}(x + 8940) - f === :DragDropAcceptIdPrev && return Ptr{ImGuiID}(x + 8944) - f === :DragDropAcceptFrameCount && return Ptr{Cint}(x + 8948) - f === :DragDropHoldJustPressedId && return Ptr{ImGuiID}(x + 8952) - f === :DragDropPayloadBufHeap && return Ptr{ImVector_unsigned_char}(x + 8960) - f === :DragDropPayloadBufLocal && return Ptr{NTuple{16, Cuchar}}(x + 8976) - f === :ClipperTempDataStacked && return Ptr{Cint}(x + 8992) - f === :ClipperTempData && return Ptr{ImVector_ImGuiListClipperData}(x + 9000) - f === :CurrentTable && return Ptr{Ptr{ImGuiTable}}(x + 9016) - f === :DebugBreakInTable && return Ptr{ImGuiID}(x + 9024) - f === :TablesTempDataStacked && return Ptr{Cint}(x + 9028) - f === :TablesTempData && return Ptr{ImVector_ImGuiTableTempData}(x + 9032) - f === :Tables && return Ptr{ImPool_ImGuiTable}(x + 9048) - f === :TablesLastTimeActive && return Ptr{ImVector_float}(x + 9088) - f === :DrawChannelsTempMergeBuffer && return Ptr{ImVector_ImDrawChannel}(x + 9104) - f === :CurrentTabBar && return Ptr{Ptr{ImGuiTabBar}}(x + 9120) - f === :TabBars && return Ptr{ImPool_ImGuiTabBar}(x + 9128) - f === :CurrentTabBarStack && return Ptr{ImVector_ImGuiPtrOrIndex}(x + 9168) - f === :ShrinkWidthBuffer && return Ptr{ImVector_ImGuiShrinkWidthItem}(x + 9184) - f === :BoxSelectState && return Ptr{ImGuiBoxSelectState}(x + 9200) - f === :CurrentMultiSelect && return Ptr{Ptr{ImGuiMultiSelectTempData}}(x + 9304) - f === :MultiSelectTempDataStacked && return Ptr{Cint}(x + 9312) - f === :MultiSelectTempData && return Ptr{ImVector_ImGuiMultiSelectTempData}(x + 9320) - f === :MultiSelectStorage && return Ptr{ImPool_ImGuiMultiSelectState}(x + 9336) - f === :HoverItemDelayId && return Ptr{ImGuiID}(x + 9376) - f === :HoverItemDelayIdPreviousFrame && return Ptr{ImGuiID}(x + 9380) - f === :HoverItemDelayTimer && return Ptr{Cfloat}(x + 9384) - f === :HoverItemDelayClearTimer && return Ptr{Cfloat}(x + 9388) - f === :HoverItemUnlockedStationaryId && return Ptr{ImGuiID}(x + 9392) - f === :HoverWindowUnlockedStationaryId && return Ptr{ImGuiID}(x + 9396) - f === :MouseCursor && return Ptr{ImGuiMouseCursor}(x + 9400) - f === :MouseStationaryTimer && return Ptr{Cfloat}(x + 9404) - f === :MouseLastValidPos && return Ptr{ImVec2}(x + 9408) - f === :InputTextState && return Ptr{ImGuiInputTextState}(x + 9416) - f === :InputTextDeactivatedState && return Ptr{ImGuiInputTextDeactivatedState}(x + 9528) - f === :InputTextPasswordFont && return Ptr{ImFont}(x + 9552) - f === :TempInputId && return Ptr{ImGuiID}(x + 9672) - f === :DataTypeZeroValue && return Ptr{ImGuiDataTypeStorage}(x + 9676) - f === :BeginMenuDepth && return Ptr{Cint}(x + 9684) - f === :BeginComboDepth && return Ptr{Cint}(x + 9688) - f === :ColorEditOptions && return Ptr{ImGuiColorEditFlags}(x + 9692) - f === :ColorEditCurrentID && return Ptr{ImGuiID}(x + 9696) - f === :ColorEditSavedID && return Ptr{ImGuiID}(x + 9700) - f === :ColorEditSavedHue && return Ptr{Cfloat}(x + 9704) - f === :ColorEditSavedSat && return Ptr{Cfloat}(x + 9708) - f === :ColorEditSavedColor && return Ptr{ImU32}(x + 9712) - f === :ColorPickerRef && return Ptr{ImVec4}(x + 9716) - f === :ComboPreviewData && return Ptr{ImGuiComboPreviewData}(x + 9732) - f === :WindowResizeBorderExpectedRect && return Ptr{ImRect}(x + 9780) - f === :WindowResizeRelativeMode && return Ptr{Bool}(x + 9796) - f === :ScrollbarSeekMode && return Ptr{Cshort}(x + 9798) - f === :ScrollbarClickDeltaToGrabCenter && return Ptr{Cfloat}(x + 9800) - f === :SliderGrabClickOffset && return Ptr{Cfloat}(x + 9804) - f === :SliderCurrentAccum && return Ptr{Cfloat}(x + 9808) - f === :SliderCurrentAccumDirty && return Ptr{Bool}(x + 9812) - f === :DragCurrentAccumDirty && return Ptr{Bool}(x + 9813) - f === :DragCurrentAccum && return Ptr{Cfloat}(x + 9816) - f === :DragSpeedDefaultRatio && return Ptr{Cfloat}(x + 9820) - f === :DisabledAlphaBackup && return Ptr{Cfloat}(x + 9824) - f === :DisabledStackSize && return Ptr{Cshort}(x + 9828) - f === :LockMarkEdited && return Ptr{Cshort}(x + 9830) - f === :TooltipOverrideCount && return Ptr{Cshort}(x + 9832) - f === :ClipboardHandlerData && return Ptr{ImVector_char}(x + 9840) - f === :MenusIdSubmittedThisFrame && return Ptr{ImVector_ImGuiID}(x + 9856) - f === :TypingSelectState && return Ptr{ImGuiTypingSelectState}(x + 9872) - f === :PlatformImeData && return Ptr{ImGuiPlatformImeData}(x + 9976) - f === :PlatformImeDataPrev && return Ptr{ImGuiPlatformImeData}(x + 9992) - f === :PlatformImeViewport && return Ptr{ImGuiID}(x + 10008) - f === :DockContext && return Ptr{ImGuiDockContext}(x + 10016) - f === :DockNodeWindowMenuHandler && return Ptr{Ptr{Cvoid}}(x + 10072) - f === :SettingsLoaded && return Ptr{Bool}(x + 10080) - f === :SettingsDirtyTimer && return Ptr{Cfloat}(x + 10084) - f === :SettingsIniData && return Ptr{ImGuiTextBuffer}(x + 10088) - f === :SettingsHandlers && return Ptr{ImVector_ImGuiSettingsHandler}(x + 10104) - f === :SettingsWindows && return Ptr{ImChunkStream_ImGuiWindowSettings}(x + 10120) - f === :SettingsTables && return Ptr{ImChunkStream_ImGuiTableSettings}(x + 10136) - f === :Hooks && return Ptr{ImVector_ImGuiContextHook}(x + 10152) - f === :HookIdNext && return Ptr{ImGuiID}(x + 10168) - f === :LocalizationTable && return Ptr{NTuple{13, Ptr{Cchar}}}(x + 10176) - f === :LogEnabled && return Ptr{Bool}(x + 10280) - f === :LogType && return Ptr{ImGuiLogType}(x + 10284) - f === :LogFile && return Ptr{ImFileHandle}(x + 10288) - f === :LogBuffer && return Ptr{ImGuiTextBuffer}(x + 10296) - f === :LogNextPrefix && return Ptr{Ptr{Cchar}}(x + 10312) - f === :LogNextSuffix && return Ptr{Ptr{Cchar}}(x + 10320) - f === :LogLinePosY && return Ptr{Cfloat}(x + 10328) - f === :LogLineFirstItem && return Ptr{Bool}(x + 10332) - f === :LogDepthRef && return Ptr{Cint}(x + 10336) - f === :LogDepthToExpand && return Ptr{Cint}(x + 10340) - f === :LogDepthToExpandDefault && return Ptr{Cint}(x + 10344) - f === :DebugLogFlags && return Ptr{ImGuiDebugLogFlags}(x + 10348) - f === :DebugLogBuf && return Ptr{ImGuiTextBuffer}(x + 10352) - f === :DebugLogIndex && return Ptr{ImGuiTextIndex}(x + 10368) - f === :DebugLogAutoDisableFlags && return Ptr{ImGuiDebugLogFlags}(x + 10392) - f === :DebugLogAutoDisableFrames && return Ptr{ImU8}(x + 10396) - f === :DebugLocateFrames && return Ptr{ImU8}(x + 10397) - f === :DebugBreakInLocateId && return Ptr{Bool}(x + 10398) - f === :DebugBreakKeyChord && return Ptr{ImGuiKeyChord}(x + 10400) - f === :DebugBeginReturnValueCullDepth && return Ptr{ImS8}(x + 10404) - f === :DebugItemPickerActive && return Ptr{Bool}(x + 10405) - f === :DebugItemPickerMouseButton && return Ptr{ImU8}(x + 10406) - f === :DebugItemPickerBreakId && return Ptr{ImGuiID}(x + 10408) - f === :DebugFlashStyleColorTime && return Ptr{Cfloat}(x + 10412) - f === :DebugFlashStyleColorBackup && return Ptr{ImVec4}(x + 10416) - f === :DebugMetricsConfig && return Ptr{ImGuiMetricsConfig}(x + 10432) - f === :DebugIDStackTool && return Ptr{ImGuiIDStackTool}(x + 10464) - f === :DebugAllocInfo && return Ptr{ImGuiDebugAllocInfo}(x + 10504) - f === :DebugHoveredDockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 10568) - f === :FramerateSecPerFrame && return Ptr{NTuple{60, Cfloat}}(x + 10576) - f === :FramerateSecPerFrameIdx && return Ptr{Cint}(x + 10816) - f === :FramerateSecPerFrameCount && return Ptr{Cint}(x + 10820) - f === :FramerateSecPerFrameAccum && return Ptr{Cfloat}(x + 10824) - f === :WantCaptureMouseNextFrame && return Ptr{Cint}(x + 10828) - f === :WantCaptureKeyboardNextFrame && return Ptr{Cint}(x + 10832) - f === :WantTextInputNextFrame && return Ptr{Cint}(x + 10836) - f === :TempBuffer && return Ptr{ImVector_char}(x + 10840) - f === :TempKeychordName && return Ptr{NTuple{64, Cchar}}(x + 10856) + f === :PlatformIO && return Ptr{ImGuiPlatformIO}(x + 3016) + f === :Style && return Ptr{ImGuiStyle}(x + 3312) + f === :ConfigFlagsCurrFrame && return Ptr{ImGuiConfigFlags}(x + 4504) + f === :ConfigFlagsLastFrame && return Ptr{ImGuiConfigFlags}(x + 4508) + f === :Font && return Ptr{Ptr{ImFont}}(x + 4512) + f === :FontSize && return Ptr{Cfloat}(x + 4520) + f === :FontBaseSize && return Ptr{Cfloat}(x + 4524) + f === :FontScale && return Ptr{Cfloat}(x + 4528) + f === :CurrentDpiScale && return Ptr{Cfloat}(x + 4532) + f === :DrawListSharedData && return Ptr{ImDrawListSharedData}(x + 4536) + f === :Time && return Ptr{Cdouble}(x + 5072) + f === :FrameCount && return Ptr{Cint}(x + 5080) + f === :FrameCountEnded && return Ptr{Cint}(x + 5084) + f === :FrameCountPlatformEnded && return Ptr{Cint}(x + 5088) + f === :FrameCountRendered && return Ptr{Cint}(x + 5092) + f === :WithinFrameScope && return Ptr{Bool}(x + 5096) + f === :WithinFrameScopeWithImplicitWindow && return Ptr{Bool}(x + 5097) + f === :WithinEndChild && return Ptr{Bool}(x + 5098) + f === :GcCompactAll && return Ptr{Bool}(x + 5099) + f === :TestEngineHookItems && return Ptr{Bool}(x + 5100) + f === :TestEngine && return Ptr{Ptr{Cvoid}}(x + 5104) + f === :ContextName && return Ptr{NTuple{16, Cchar}}(x + 5112) + f === :InputEventsQueue && return Ptr{ImVector_ImGuiInputEvent}(x + 5128) + f === :InputEventsTrail && return Ptr{ImVector_ImGuiInputEvent}(x + 5144) + f === :InputEventsNextMouseSource && return Ptr{ImGuiMouseSource}(x + 5160) + f === :InputEventsNextEventId && return Ptr{ImU32}(x + 5164) + f === :Windows && return Ptr{ImVector_ImGuiWindowPtr}(x + 5168) + f === :WindowsFocusOrder && return Ptr{ImVector_ImGuiWindowPtr}(x + 5184) + f === :WindowsTempSortBuffer && return Ptr{ImVector_ImGuiWindowPtr}(x + 5200) + f === :CurrentWindowStack && return Ptr{ImVector_ImGuiWindowStackData}(x + 5216) + f === :WindowsById && return Ptr{ImGuiStorage}(x + 5232) + f === :WindowsActiveCount && return Ptr{Cint}(x + 5248) + f === :WindowsHoverPadding && return Ptr{ImVec2}(x + 5252) + f === :DebugBreakInWindow && return Ptr{ImGuiID}(x + 5260) + f === :CurrentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5264) + f === :HoveredWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5272) + f === :HoveredWindowUnderMovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5280) + f === :HoveredWindowBeforeClear && return Ptr{Ptr{ImGuiWindow}}(x + 5288) + f === :MovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5296) + f === :WheelingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5304) + f === :WheelingWindowRefMousePos && return Ptr{ImVec2}(x + 5312) + f === :WheelingWindowStartFrame && return Ptr{Cint}(x + 5320) + f === :WheelingWindowScrolledFrame && return Ptr{Cint}(x + 5324) + f === :WheelingWindowReleaseTimer && return Ptr{Cfloat}(x + 5328) + f === :WheelingWindowWheelRemainder && return Ptr{ImVec2}(x + 5332) + f === :WheelingAxisAvg && return Ptr{ImVec2}(x + 5340) + f === :DebugDrawIdConflicts && return Ptr{ImGuiID}(x + 5348) + f === :DebugHookIdInfo && return Ptr{ImGuiID}(x + 5352) + f === :HoveredId && return Ptr{ImGuiID}(x + 5356) + f === :HoveredIdPreviousFrame && return Ptr{ImGuiID}(x + 5360) + f === :HoveredIdPreviousFrameItemCount && return Ptr{Cint}(x + 5364) + f === :HoveredIdTimer && return Ptr{Cfloat}(x + 5368) + f === :HoveredIdNotActiveTimer && return Ptr{Cfloat}(x + 5372) + f === :HoveredIdAllowOverlap && return Ptr{Bool}(x + 5376) + f === :HoveredIdIsDisabled && return Ptr{Bool}(x + 5377) + f === :ItemUnclipByLog && return Ptr{Bool}(x + 5378) + f === :ActiveId && return Ptr{ImGuiID}(x + 5380) + f === :ActiveIdIsAlive && return Ptr{ImGuiID}(x + 5384) + f === :ActiveIdTimer && return Ptr{Cfloat}(x + 5388) + f === :ActiveIdIsJustActivated && return Ptr{Bool}(x + 5392) + f === :ActiveIdAllowOverlap && return Ptr{Bool}(x + 5393) + f === :ActiveIdNoClearOnFocusLoss && return Ptr{Bool}(x + 5394) + f === :ActiveIdHasBeenPressedBefore && return Ptr{Bool}(x + 5395) + f === :ActiveIdHasBeenEditedBefore && return Ptr{Bool}(x + 5396) + f === :ActiveIdHasBeenEditedThisFrame && return Ptr{Bool}(x + 5397) + f === :ActiveIdFromShortcut && return Ptr{Bool}(x + 5398) + f === :ActiveIdMouseButton && return (Ptr{Cint}(x + 5396), 24, 8) + f === :ActiveIdClickOffset && return Ptr{ImVec2}(x + 5400) + f === :ActiveIdWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5408) + f === :ActiveIdSource && return Ptr{ImGuiInputSource}(x + 5416) + f === :ActiveIdPreviousFrame && return Ptr{ImGuiID}(x + 5420) + f === :ActiveIdPreviousFrameIsAlive && return Ptr{Bool}(x + 5424) + f === :ActiveIdPreviousFrameHasBeenEditedBefore && return Ptr{Bool}(x + 5425) + f === :ActiveIdPreviousFrameWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5432) + f === :LastActiveId && return Ptr{ImGuiID}(x + 5440) + f === :LastActiveIdTimer && return Ptr{Cfloat}(x + 5444) + f === :LastKeyModsChangeTime && return Ptr{Cdouble}(x + 5448) + f === :LastKeyModsChangeFromNoneTime && return Ptr{Cdouble}(x + 5456) + f === :LastKeyboardKeyPressTime && return Ptr{Cdouble}(x + 5464) + f === :KeysMayBeCharInput && return Ptr{ImBitArrayForNamedKeys}(x + 5472) + f === :KeysOwnerData && return Ptr{NTuple{154, ImGuiKeyOwnerData}}(x + 5492) + f === :KeysRoutingTable && return Ptr{ImGuiKeyRoutingTable}(x + 7344) + f === :ActiveIdUsingNavDirMask && return Ptr{ImU32}(x + 7688) + f === :ActiveIdUsingAllKeyboardKeys && return Ptr{Bool}(x + 7692) + f === :DebugBreakInShortcutRouting && return Ptr{ImGuiKeyChord}(x + 7696) + f === :CurrentFocusScopeId && return Ptr{ImGuiID}(x + 7700) + f === :CurrentItemFlags && return Ptr{ImGuiItemFlags}(x + 7704) + f === :DebugLocateId && return Ptr{ImGuiID}(x + 7708) + f === :NextItemData && return Ptr{ImGuiNextItemData}(x + 7712) + f === :LastItemData && return Ptr{ImGuiLastItemData}(x + 7768) + f === :NextWindowData && return Ptr{ImGuiNextWindowData}(x + 7848) + f === :DebugShowGroupRects && return Ptr{Bool}(x + 8008) + f === :DebugFlashStyleColorIdx && return Ptr{ImGuiCol}(x + 8012) + f === :ColorStack && return Ptr{ImVector_ImGuiColorMod}(x + 8016) + f === :StyleVarStack && return Ptr{ImVector_ImGuiStyleMod}(x + 8032) + f === :FontStack && return Ptr{ImVector_ImFontPtr}(x + 8048) + f === :FocusScopeStack && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8064) + f === :ItemFlagsStack && return Ptr{ImVector_ImGuiItemFlags}(x + 8080) + f === :GroupStack && return Ptr{ImVector_ImGuiGroupData}(x + 8096) + f === :OpenPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8112) + f === :BeginPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8128) + f === :TreeNodeStack && return Ptr{ImVector_ImGuiTreeNodeStackData}(x + 8144) + f === :Viewports && return Ptr{ImVector_ImGuiViewportPPtr}(x + 8160) + f === :CurrentViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8176) + f === :MouseViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8184) + f === :MouseLastHoveredViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8192) + f === :PlatformLastFocusedViewportId && return Ptr{ImGuiID}(x + 8200) + f === :FallbackMonitor && return Ptr{ImGuiPlatformMonitor}(x + 8208) + f === :PlatformMonitorsFullWorkRect && return Ptr{ImRect}(x + 8256) + f === :ViewportCreatedCount && return Ptr{Cint}(x + 8272) + f === :PlatformWindowsCreatedCount && return Ptr{Cint}(x + 8276) + f === :ViewportFocusedStampCount && return Ptr{Cint}(x + 8280) + f === :NavCursorVisible && return Ptr{Bool}(x + 8284) + f === :NavHighlightItemUnderNav && return Ptr{Bool}(x + 8285) + f === :NavMousePosDirty && return Ptr{Bool}(x + 8286) + f === :NavIdIsAlive && return Ptr{Bool}(x + 8287) + f === :NavId && return Ptr{ImGuiID}(x + 8288) + f === :NavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8296) + f === :NavFocusScopeId && return Ptr{ImGuiID}(x + 8304) + f === :NavLayer && return Ptr{ImGuiNavLayer}(x + 8308) + f === :NavActivateId && return Ptr{ImGuiID}(x + 8312) + f === :NavActivateDownId && return Ptr{ImGuiID}(x + 8316) + f === :NavActivatePressedId && return Ptr{ImGuiID}(x + 8320) + f === :NavActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8324) + f === :NavFocusRoute && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8328) + f === :NavHighlightActivatedId && return Ptr{ImGuiID}(x + 8344) + f === :NavHighlightActivatedTimer && return Ptr{Cfloat}(x + 8348) + f === :NavNextActivateId && return Ptr{ImGuiID}(x + 8352) + f === :NavNextActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8356) + f === :NavInputSource && return Ptr{ImGuiInputSource}(x + 8360) + f === :NavLastValidSelectionUserData && return Ptr{ImGuiSelectionUserData}(x + 8368) + f === :NavCursorHideFrames && return Ptr{ImS8}(x + 8376) + f === :NavAnyRequest && return Ptr{Bool}(x + 8377) + f === :NavInitRequest && return Ptr{Bool}(x + 8378) + f === :NavInitRequestFromMove && return Ptr{Bool}(x + 8379) + f === :NavInitResult && return Ptr{ImGuiNavItemData}(x + 8384) + f === :NavMoveSubmitted && return Ptr{Bool}(x + 8440) + f === :NavMoveScoringItems && return Ptr{Bool}(x + 8441) + f === :NavMoveForwardToNextFrame && return Ptr{Bool}(x + 8442) + f === :NavMoveFlags && return Ptr{ImGuiNavMoveFlags}(x + 8444) + f === :NavMoveScrollFlags && return Ptr{ImGuiScrollFlags}(x + 8448) + f === :NavMoveKeyMods && return Ptr{ImGuiKeyChord}(x + 8452) + f === :NavMoveDir && return Ptr{ImGuiDir}(x + 8456) + f === :NavMoveDirForDebug && return Ptr{ImGuiDir}(x + 8460) + f === :NavMoveClipDir && return Ptr{ImGuiDir}(x + 8464) + f === :NavScoringRect && return Ptr{ImRect}(x + 8468) + f === :NavScoringNoClipRect && return Ptr{ImRect}(x + 8484) + f === :NavScoringDebugCount && return Ptr{Cint}(x + 8500) + f === :NavTabbingDir && return Ptr{Cint}(x + 8504) + f === :NavTabbingCounter && return Ptr{Cint}(x + 8508) + f === :NavMoveResultLocal && return Ptr{ImGuiNavItemData}(x + 8512) + f === :NavMoveResultLocalVisible && return Ptr{ImGuiNavItemData}(x + 8568) + f === :NavMoveResultOther && return Ptr{ImGuiNavItemData}(x + 8624) + f === :NavTabbingResultFirst && return Ptr{ImGuiNavItemData}(x + 8680) + f === :NavJustMovedFromFocusScopeId && return Ptr{ImGuiID}(x + 8736) + f === :NavJustMovedToId && return Ptr{ImGuiID}(x + 8740) + f === :NavJustMovedToFocusScopeId && return Ptr{ImGuiID}(x + 8744) + f === :NavJustMovedToKeyMods && return Ptr{ImGuiKeyChord}(x + 8748) + f === :NavJustMovedToIsTabbing && return Ptr{Bool}(x + 8752) + f === :NavJustMovedToHasSelectionData && return Ptr{Bool}(x + 8753) + f === :ConfigNavWindowingKeyNext && return Ptr{ImGuiKeyChord}(x + 8756) + f === :ConfigNavWindowingKeyPrev && return Ptr{ImGuiKeyChord}(x + 8760) + f === :NavWindowingTarget && return Ptr{Ptr{ImGuiWindow}}(x + 8768) + f === :NavWindowingTargetAnim && return Ptr{Ptr{ImGuiWindow}}(x + 8776) + f === :NavWindowingListWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8784) + f === :NavWindowingTimer && return Ptr{Cfloat}(x + 8792) + f === :NavWindowingHighlightAlpha && return Ptr{Cfloat}(x + 8796) + f === :NavWindowingToggleLayer && return Ptr{Bool}(x + 8800) + f === :NavWindowingToggleKey && return Ptr{ImGuiKey}(x + 8804) + f === :NavWindowingAccumDeltaPos && return Ptr{ImVec2}(x + 8808) + f === :NavWindowingAccumDeltaSize && return Ptr{ImVec2}(x + 8816) + f === :DimBgRatio && return Ptr{Cfloat}(x + 8824) + f === :DragDropActive && return Ptr{Bool}(x + 8828) + f === :DragDropWithinSource && return Ptr{Bool}(x + 8829) + f === :DragDropWithinTarget && return Ptr{Bool}(x + 8830) + f === :DragDropSourceFlags && return Ptr{ImGuiDragDropFlags}(x + 8832) + f === :DragDropSourceFrameCount && return Ptr{Cint}(x + 8836) + f === :DragDropMouseButton && return Ptr{Cint}(x + 8840) + f === :DragDropPayload && return Ptr{ImGuiPayload}(x + 8848) + f === :DragDropTargetRect && return Ptr{ImRect}(x + 8912) + f === :DragDropTargetClipRect && return Ptr{ImRect}(x + 8928) + f === :DragDropTargetId && return Ptr{ImGuiID}(x + 8944) + f === :DragDropAcceptFlags && return Ptr{ImGuiDragDropFlags}(x + 8948) + f === :DragDropAcceptIdCurrRectSurface && return Ptr{Cfloat}(x + 8952) + f === :DragDropAcceptIdCurr && return Ptr{ImGuiID}(x + 8956) + f === :DragDropAcceptIdPrev && return Ptr{ImGuiID}(x + 8960) + f === :DragDropAcceptFrameCount && return Ptr{Cint}(x + 8964) + f === :DragDropHoldJustPressedId && return Ptr{ImGuiID}(x + 8968) + f === :DragDropPayloadBufHeap && return Ptr{ImVector_unsigned_char}(x + 8976) + f === :DragDropPayloadBufLocal && return Ptr{NTuple{16, Cuchar}}(x + 8992) + f === :ClipperTempDataStacked && return Ptr{Cint}(x + 9008) + f === :ClipperTempData && return Ptr{ImVector_ImGuiListClipperData}(x + 9016) + f === :CurrentTable && return Ptr{Ptr{ImGuiTable}}(x + 9032) + f === :DebugBreakInTable && return Ptr{ImGuiID}(x + 9040) + f === :TablesTempDataStacked && return Ptr{Cint}(x + 9044) + f === :TablesTempData && return Ptr{ImVector_ImGuiTableTempData}(x + 9048) + f === :Tables && return Ptr{ImPool_ImGuiTable}(x + 9064) + f === :TablesLastTimeActive && return Ptr{ImVector_float}(x + 9104) + f === :DrawChannelsTempMergeBuffer && return Ptr{ImVector_ImDrawChannel}(x + 9120) + f === :CurrentTabBar && return Ptr{Ptr{ImGuiTabBar}}(x + 9136) + f === :TabBars && return Ptr{ImPool_ImGuiTabBar}(x + 9144) + f === :CurrentTabBarStack && return Ptr{ImVector_ImGuiPtrOrIndex}(x + 9184) + f === :ShrinkWidthBuffer && return Ptr{ImVector_ImGuiShrinkWidthItem}(x + 9200) + f === :BoxSelectState && return Ptr{ImGuiBoxSelectState}(x + 9216) + f === :CurrentMultiSelect && return Ptr{Ptr{ImGuiMultiSelectTempData}}(x + 9320) + f === :MultiSelectTempDataStacked && return Ptr{Cint}(x + 9328) + f === :MultiSelectTempData && return Ptr{ImVector_ImGuiMultiSelectTempData}(x + 9336) + f === :MultiSelectStorage && return Ptr{ImPool_ImGuiMultiSelectState}(x + 9352) + f === :HoverItemDelayId && return Ptr{ImGuiID}(x + 9392) + f === :HoverItemDelayIdPreviousFrame && return Ptr{ImGuiID}(x + 9396) + f === :HoverItemDelayTimer && return Ptr{Cfloat}(x + 9400) + f === :HoverItemDelayClearTimer && return Ptr{Cfloat}(x + 9404) + f === :HoverItemUnlockedStationaryId && return Ptr{ImGuiID}(x + 9408) + f === :HoverWindowUnlockedStationaryId && return Ptr{ImGuiID}(x + 9412) + f === :MouseCursor && return Ptr{ImGuiMouseCursor}(x + 9416) + f === :MouseStationaryTimer && return Ptr{Cfloat}(x + 9420) + f === :MouseLastValidPos && return Ptr{ImVec2}(x + 9424) + f === :InputTextState && return Ptr{ImGuiInputTextState}(x + 9432) + f === :InputTextDeactivatedState && return Ptr{ImGuiInputTextDeactivatedState}(x + 9544) + f === :InputTextPasswordFont && return Ptr{ImFont}(x + 9568) + f === :TempInputId && return Ptr{ImGuiID}(x + 9688) + f === :DataTypeZeroValue && return Ptr{ImGuiDataTypeStorage}(x + 9692) + f === :BeginMenuDepth && return Ptr{Cint}(x + 9700) + f === :BeginComboDepth && return Ptr{Cint}(x + 9704) + f === :ColorEditOptions && return Ptr{ImGuiColorEditFlags}(x + 9708) + f === :ColorEditCurrentID && return Ptr{ImGuiID}(x + 9712) + f === :ColorEditSavedID && return Ptr{ImGuiID}(x + 9716) + f === :ColorEditSavedHue && return Ptr{Cfloat}(x + 9720) + f === :ColorEditSavedSat && return Ptr{Cfloat}(x + 9724) + f === :ColorEditSavedColor && return Ptr{ImU32}(x + 9728) + f === :ColorPickerRef && return Ptr{ImVec4}(x + 9732) + f === :ComboPreviewData && return Ptr{ImGuiComboPreviewData}(x + 9748) + f === :WindowResizeBorderExpectedRect && return Ptr{ImRect}(x + 9796) + f === :WindowResizeRelativeMode && return Ptr{Bool}(x + 9812) + f === :ScrollbarSeekMode && return Ptr{Cshort}(x + 9814) + f === :ScrollbarClickDeltaToGrabCenter && return Ptr{Cfloat}(x + 9816) + f === :SliderGrabClickOffset && return Ptr{Cfloat}(x + 9820) + f === :SliderCurrentAccum && return Ptr{Cfloat}(x + 9824) + f === :SliderCurrentAccumDirty && return Ptr{Bool}(x + 9828) + f === :DragCurrentAccumDirty && return Ptr{Bool}(x + 9829) + f === :DragCurrentAccum && return Ptr{Cfloat}(x + 9832) + f === :DragSpeedDefaultRatio && return Ptr{Cfloat}(x + 9836) + f === :DisabledAlphaBackup && return Ptr{Cfloat}(x + 9840) + f === :DisabledStackSize && return Ptr{Cshort}(x + 9844) + f === :TooltipOverrideCount && return Ptr{Cshort}(x + 9846) + f === :TooltipPreviousWindow && return Ptr{Ptr{ImGuiWindow}}(x + 9848) + f === :ClipboardHandlerData && return Ptr{ImVector_char}(x + 9856) + f === :MenusIdSubmittedThisFrame && return Ptr{ImVector_ImGuiID}(x + 9872) + f === :TypingSelectState && return Ptr{ImGuiTypingSelectState}(x + 9888) + f === :PlatformImeData && return Ptr{ImGuiPlatformImeData}(x + 9992) + f === :PlatformImeDataPrev && return Ptr{ImGuiPlatformImeData}(x + 10008) + f === :PlatformImeViewport && return Ptr{ImGuiID}(x + 10024) + f === :DockContext && return Ptr{ImGuiDockContext}(x + 10032) + f === :DockNodeWindowMenuHandler && return Ptr{Ptr{Cvoid}}(x + 10088) + f === :SettingsLoaded && return Ptr{Bool}(x + 10096) + f === :SettingsDirtyTimer && return Ptr{Cfloat}(x + 10100) + f === :SettingsIniData && return Ptr{ImGuiTextBuffer}(x + 10104) + f === :SettingsHandlers && return Ptr{ImVector_ImGuiSettingsHandler}(x + 10120) + f === :SettingsWindows && return Ptr{ImChunkStream_ImGuiWindowSettings}(x + 10136) + f === :SettingsTables && return Ptr{ImChunkStream_ImGuiTableSettings}(x + 10152) + f === :Hooks && return Ptr{ImVector_ImGuiContextHook}(x + 10168) + f === :HookIdNext && return Ptr{ImGuiID}(x + 10184) + f === :LocalizationTable && return Ptr{NTuple{13, Ptr{Cchar}}}(x + 10192) + f === :LogEnabled && return Ptr{Bool}(x + 10296) + f === :LogFlags && return Ptr{ImGuiLogFlags}(x + 10300) + f === :LogWindow && return Ptr{Ptr{ImGuiWindow}}(x + 10304) + f === :LogFile && return Ptr{ImFileHandle}(x + 10312) + f === :LogBuffer && return Ptr{ImGuiTextBuffer}(x + 10320) + f === :LogNextPrefix && return Ptr{Ptr{Cchar}}(x + 10336) + f === :LogNextSuffix && return Ptr{Ptr{Cchar}}(x + 10344) + f === :LogLinePosY && return Ptr{Cfloat}(x + 10352) + f === :LogLineFirstItem && return Ptr{Bool}(x + 10356) + f === :LogDepthRef && return Ptr{Cint}(x + 10360) + f === :LogDepthToExpand && return Ptr{Cint}(x + 10364) + f === :LogDepthToExpandDefault && return Ptr{Cint}(x + 10368) + f === :ErrorCallback && return Ptr{ImGuiErrorCallback}(x + 10376) + f === :ErrorCallbackUserData && return Ptr{Ptr{Cvoid}}(x + 10384) + f === :ErrorTooltipLockedPos && return Ptr{ImVec2}(x + 10392) + f === :ErrorFirst && return Ptr{Bool}(x + 10400) + f === :ErrorCountCurrentFrame && return Ptr{Cint}(x + 10404) + f === :StackSizesInNewFrame && return Ptr{ImGuiErrorRecoveryState}(x + 10408) + f === :StackSizesInBeginForCurrentWindow && return Ptr{Ptr{ImGuiErrorRecoveryState}}(x + 10432) + f === :DebugDrawIdConflictsCount && return Ptr{Cint}(x + 10440) + f === :DebugLogFlags && return Ptr{ImGuiDebugLogFlags}(x + 10444) + f === :DebugLogBuf && return Ptr{ImGuiTextBuffer}(x + 10448) + f === :DebugLogIndex && return Ptr{ImGuiTextIndex}(x + 10464) + f === :DebugLogSkippedErrors && return Ptr{Cint}(x + 10488) + f === :DebugLogAutoDisableFlags && return Ptr{ImGuiDebugLogFlags}(x + 10492) + f === :DebugLogAutoDisableFrames && return Ptr{ImU8}(x + 10496) + f === :DebugLocateFrames && return Ptr{ImU8}(x + 10497) + f === :DebugBreakInLocateId && return Ptr{Bool}(x + 10498) + f === :DebugBreakKeyChord && return Ptr{ImGuiKeyChord}(x + 10500) + f === :DebugBeginReturnValueCullDepth && return Ptr{ImS8}(x + 10504) + f === :DebugItemPickerActive && return Ptr{Bool}(x + 10505) + f === :DebugItemPickerMouseButton && return Ptr{ImU8}(x + 10506) + f === :DebugItemPickerBreakId && return Ptr{ImGuiID}(x + 10508) + f === :DebugFlashStyleColorTime && return Ptr{Cfloat}(x + 10512) + f === :DebugFlashStyleColorBackup && return Ptr{ImVec4}(x + 10516) + f === :DebugMetricsConfig && return Ptr{ImGuiMetricsConfig}(x + 10532) + f === :DebugIDStackTool && return Ptr{ImGuiIDStackTool}(x + 10560) + f === :DebugAllocInfo && return Ptr{ImGuiDebugAllocInfo}(x + 10600) + f === :DebugHoveredDockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 10664) + f === :FramerateSecPerFrame && return Ptr{NTuple{60, Cfloat}}(x + 10672) + f === :FramerateSecPerFrameIdx && return Ptr{Cint}(x + 10912) + f === :FramerateSecPerFrameCount && return Ptr{Cint}(x + 10916) + f === :FramerateSecPerFrameAccum && return Ptr{Cfloat}(x + 10920) + f === :WantCaptureMouseNextFrame && return Ptr{Cint}(x + 10924) + f === :WantCaptureKeyboardNextFrame && return Ptr{Cint}(x + 10928) + f === :WantTextInputNextFrame && return Ptr{Cint}(x + 10932) + f === :TempBuffer && return Ptr{ImVector_char}(x + 10936) + f === :TempKeychordName && return Ptr{NTuple{64, Cchar}}(x + 10952) return getfield(x, f) end @@ -3563,8 +3656,6 @@ struct ImVector_const_charPtr Data::Ptr{Ptr{Cchar}} end -const ImU64 = Culonglong - const ImGuiMouseButton = Cint const ImGuiTableBgTarget = Cint @@ -3669,12 +3760,13 @@ end ImGuiInputTextFlags_DisplayEmptyRefVal = 16384 ImGuiInputTextFlags_NoHorizontalScroll = 32768 ImGuiInputTextFlags_NoUndoRedo = 65536 - ImGuiInputTextFlags_CallbackCompletion = 131072 - ImGuiInputTextFlags_CallbackHistory = 262144 - ImGuiInputTextFlags_CallbackAlways = 524288 - ImGuiInputTextFlags_CallbackCharFilter = 1048576 - ImGuiInputTextFlags_CallbackResize = 2097152 - ImGuiInputTextFlags_CallbackEdit = 4194304 + ImGuiInputTextFlags_ElideLeft = 131072 + ImGuiInputTextFlags_CallbackCompletion = 262144 + ImGuiInputTextFlags_CallbackHistory = 524288 + ImGuiInputTextFlags_CallbackAlways = 1048576 + ImGuiInputTextFlags_CallbackCharFilter = 2097152 + ImGuiInputTextFlags_CallbackResize = 4194304 + ImGuiInputTextFlags_CallbackEdit = 8388608 end @cenum ImGuiTreeNodeFlags_::UInt32 begin @@ -3858,8 +3950,6 @@ end ImGuiConfigFlags_None = 0 ImGuiConfigFlags_NavEnableKeyboard = 1 ImGuiConfigFlags_NavEnableGamepad = 2 - ImGuiConfigFlags_NavEnableSetMousePos = 4 - ImGuiConfigFlags_NavNoCaptureKeyboard = 8 ImGuiConfigFlags_NoMouse = 16 ImGuiConfigFlags_NoMouseCursorChange = 32 ImGuiConfigFlags_NoKeyboard = 64 @@ -3937,7 +4027,7 @@ end ImGuiCol_TextLink = 51 ImGuiCol_TextSelectedBg = 52 ImGuiCol_DragDropTarget = 53 - ImGuiCol_NavHighlight = 54 + ImGuiCol_NavCursor = 54 ImGuiCol_NavWindowingHighlight = 55 ImGuiCol_NavWindowingDimBg = 56 ImGuiCol_ModalWindowDimBg = 57 @@ -3988,6 +4078,7 @@ end ImGuiButtonFlags_MouseButtonRight = 2 ImGuiButtonFlags_MouseButtonMiddle = 4 ImGuiButtonFlags_MouseButtonMask_ = 7 + ImGuiButtonFlags_EnableNav = 8 end @cenum ImGuiColorEditFlags_::UInt32 begin @@ -4024,11 +4115,13 @@ end @cenum ImGuiSliderFlags_::UInt32 begin ImGuiSliderFlags_None = 0 - ImGuiSliderFlags_AlwaysClamp = 16 ImGuiSliderFlags_Logarithmic = 32 ImGuiSliderFlags_NoRoundToFormat = 64 ImGuiSliderFlags_NoInput = 128 ImGuiSliderFlags_WrapAround = 256 + ImGuiSliderFlags_ClampOnInput = 512 + ImGuiSliderFlags_ClampZeroRange = 1024 + ImGuiSliderFlags_AlwaysClamp = 1536 ImGuiSliderFlags_InvalidMask_ = 1879048207 end @@ -4216,7 +4309,7 @@ end const ImGuiFocusRequestFlags = Cint -const ImGuiNavHighlightFlags = Cint +const ImGuiNavRenderCursorFlags = Cint const ImGuiSeparatorFlags = Cint @@ -4224,9 +4317,6 @@ const ImGuiTextFlags = Cint const ImGuiTooltipFlags = Cint -# typedef void ( * ImGuiErrorLogCallback ) ( void * user_data , const char * fmt , ... ) -const ImGuiErrorLogCallback = Ptr{Cvoid} - @cenum ImGuiDataTypePrivate_::UInt32 begin ImGuiDataType_String = 12 ImGuiDataType_Pointer = 13 @@ -4239,6 +4329,8 @@ end ImGuiItemFlags_MixedValue = 4096 ImGuiItemFlags_NoWindowHoverableCheck = 8192 ImGuiItemFlags_AllowOverlap = 16384 + ImGuiItemFlags_NoNavDisableMouseHover = 32768 + ImGuiItemFlags_NoMarkEdited = 65536 ImGuiItemFlags_Inputable = 1048576 ImGuiItemFlags_HasSelectionUserData = 2097152 ImGuiItemFlags_IsMultiSelect = 4194304 @@ -4268,9 +4360,8 @@ end @cenum ImGuiInputTextFlagsPrivate_::UInt32 begin ImGuiInputTextFlags_Multiline = 67108864 - ImGuiInputTextFlags_NoMarkEdited = 134217728 - ImGuiInputTextFlags_MergedItem = 268435456 - ImGuiInputTextFlags_LocalizeDecimalPoint = 536870912 + ImGuiInputTextFlags_MergedItem = 134217728 + ImGuiInputTextFlags_LocalizeDecimalPoint = 268435456 end @cenum ImGuiButtonFlagsPrivate_::UInt32 begin @@ -4280,12 +4371,10 @@ end ImGuiButtonFlags_PressedOnRelease = 128 ImGuiButtonFlags_PressedOnDoubleClick = 256 ImGuiButtonFlags_PressedOnDragDropHold = 512 - ImGuiButtonFlags_Repeat = 1024 ImGuiButtonFlags_FlattenChildren = 2048 ImGuiButtonFlags_AllowOverlap = 4096 - ImGuiButtonFlags_DontClosePopups = 8192 ImGuiButtonFlags_AlignTextBaseLine = 32768 - ImGuiButtonFlags_NoKeyModifiers = 65536 + ImGuiButtonFlags_NoKeyModsAllowed = 65536 ImGuiButtonFlags_NoHoldingActiveId = 131072 ImGuiButtonFlags_NoNavFocus = 262144 ImGuiButtonFlags_NoHoveredOnFocus = 524288 @@ -4349,6 +4438,15 @@ end ImGuiLayoutType_Vertical = 1 end +@cenum ImGuiLogFlags_::UInt32 begin + ImGuiLogFlags_None = 0 + ImGuiLogFlags_OutputTTY = 1 + ImGuiLogFlags_OutputFile = 2 + ImGuiLogFlags_OutputBuffer = 4 + ImGuiLogFlags_OutputClipboard = 8 + ImGuiLogFlags_OutputMask_ = 15 +end + @cenum ImGuiPlotType::UInt32 begin ImGuiPlotType_Lines = 0 ImGuiPlotType_Histogram = 1 @@ -4478,11 +4576,11 @@ end ImGuiScrollFlags_MaskY_ = 42 end -@cenum ImGuiNavHighlightFlags_::UInt32 begin - ImGuiNavHighlightFlags_None = 0 - ImGuiNavHighlightFlags_Compact = 2 - ImGuiNavHighlightFlags_AlwaysDraw = 4 - ImGuiNavHighlightFlags_NoRounding = 8 +@cenum ImGuiNavRenderCursorFlags_::UInt32 begin + ImGuiNavRenderCursorFlags_None = 0 + ImGuiNavRenderCursorFlags_Compact = 2 + ImGuiNavRenderCursorFlags_AlwaysDraw = 4 + ImGuiNavRenderCursorFlags_NoRounding = 8 end @cenum ImGuiNavMoveFlags_::UInt32 begin @@ -4502,7 +4600,7 @@ end ImGuiNavMoveFlags_IsPageMove = 2048 ImGuiNavMoveFlags_Activate = 4096 ImGuiNavMoveFlags_NoSelect = 8192 - ImGuiNavMoveFlags_NoSetNavHighlight = 16384 + ImGuiNavMoveFlags_NoSetNavCursorVisible = 16384 ImGuiNavMoveFlags_NoClearActiveId = 32768 end @@ -4562,17 +4660,19 @@ end @cenum ImGuiDebugLogFlags_::UInt32 begin ImGuiDebugLogFlags_None = 0 - ImGuiDebugLogFlags_EventActiveId = 1 - ImGuiDebugLogFlags_EventFocus = 2 - ImGuiDebugLogFlags_EventPopup = 4 - ImGuiDebugLogFlags_EventNav = 8 - ImGuiDebugLogFlags_EventClipper = 16 - ImGuiDebugLogFlags_EventSelection = 32 - ImGuiDebugLogFlags_EventIO = 64 - ImGuiDebugLogFlags_EventInputRouting = 128 - ImGuiDebugLogFlags_EventDocking = 256 - ImGuiDebugLogFlags_EventViewport = 512 - ImGuiDebugLogFlags_EventMask_ = 1023 + ImGuiDebugLogFlags_EventError = 1 + ImGuiDebugLogFlags_EventActiveId = 2 + ImGuiDebugLogFlags_EventFocus = 4 + ImGuiDebugLogFlags_EventPopup = 8 + ImGuiDebugLogFlags_EventNav = 16 + ImGuiDebugLogFlags_EventClipper = 32 + ImGuiDebugLogFlags_EventSelection = 64 + ImGuiDebugLogFlags_EventIO = 128 + ImGuiDebugLogFlags_EventFont = 256 + ImGuiDebugLogFlags_EventInputRouting = 512 + ImGuiDebugLogFlags_EventDocking = 1024 + ImGuiDebugLogFlags_EventViewport = 2048 + ImGuiDebugLogFlags_EventMask_ = 4095 ImGuiDebugLogFlags_OutputToTTY = 1048576 ImGuiDebugLogFlags_OutputToTestEngine = 2097152 end @@ -5937,6 +6037,10 @@ function igSetKeyboardFocusHere(offset) ccall((:igSetKeyboardFocusHere, libcimgui), Cvoid, (Cint,), offset) end +function igSetNavCursorVisible(visible) + ccall((:igSetNavCursorVisible, libcimgui), Cvoid, (Bool,), visible) +end + function igSetNextItemAllowOverlap() ccall((:igSetNextItemAllowOverlap, libcimgui), Cvoid, ()) end @@ -6922,8 +7026,8 @@ function ImDrawList_PathRect(self, rect_min, rect_max, rounding, flags) ccall((:ImDrawList_PathRect, libcimgui), Cvoid, (Ptr{ImDrawList}, ImVec2, ImVec2, Cfloat, ImDrawFlags), self, rect_min, rect_max, rounding, flags) end -function ImDrawList_AddCallback(self, callback, callback_data) - ccall((:ImDrawList_AddCallback, libcimgui), Cvoid, (Ptr{ImDrawList}, ImDrawCallback, Ptr{Cvoid}), self, callback, callback_data) +function ImDrawList_AddCallback(self, callback, userdata, userdata_size) + ccall((:ImDrawList_AddCallback, libcimgui), Cvoid, (Ptr{ImDrawList}, ImDrawCallback, Ptr{Cvoid}, Csize_t), self, callback, userdata, userdata_size) end function ImDrawList_AddDrawCmd(self) @@ -8092,20 +8196,12 @@ function ImGuiLastItemData_destroy(self) ccall((:ImGuiLastItemData_destroy, libcimgui), Cvoid, (Ptr{ImGuiLastItemData},), self) end -function ImGuiStackSizes_ImGuiStackSizes() - ccall((:ImGuiStackSizes_ImGuiStackSizes, libcimgui), Ptr{ImGuiStackSizes}, ()) -end - -function ImGuiStackSizes_destroy(self) - ccall((:ImGuiStackSizes_destroy, libcimgui), Cvoid, (Ptr{ImGuiStackSizes},), self) +function ImGuiErrorRecoveryState_ImGuiErrorRecoveryState() + ccall((:ImGuiErrorRecoveryState_ImGuiErrorRecoveryState, libcimgui), Ptr{ImGuiErrorRecoveryState}, ()) end -function ImGuiStackSizes_SetToContextState(self, ctx) - ccall((:ImGuiStackSizes_SetToContextState, libcimgui), Cvoid, (Ptr{ImGuiStackSizes}, Ptr{ImGuiContext}), self, ctx) -end - -function ImGuiStackSizes_CompareWithContextState(self, ctx) - ccall((:ImGuiStackSizes_CompareWithContextState, libcimgui), Cvoid, (Ptr{ImGuiStackSizes}, Ptr{ImGuiContext}), self, ctx) +function ImGuiErrorRecoveryState_destroy(self) + ccall((:ImGuiErrorRecoveryState_destroy, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), self) end function ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr(ptr) @@ -8528,6 +8624,14 @@ function ImGuiTableSettings_GetColumnSettings(self) ccall((:ImGuiTableSettings_GetColumnSettings, libcimgui), Ptr{ImGuiTableColumnSettings}, (Ptr{ImGuiTableSettings},), self) end +function igGetIOEx(ctx) + ccall((:igGetIOEx, libcimgui), Ptr{ImGuiIO}, (Ptr{ImGuiContext},), ctx) +end + +function igGetPlatformIOEx(ctx) + ccall((:igGetPlatformIOEx, libcimgui), Ptr{ImGuiPlatformIO}, (Ptr{ImGuiContext},), ctx) +end + function igGetCurrentWindowRead() ccall((:igGetCurrentWindowRead, libcimgui), Ptr{ImGuiWindow}, ()) end @@ -8932,8 +9036,8 @@ function igEndDisabledOverrideReenable() ccall((:igEndDisabledOverrideReenable, libcimgui), Cvoid, ()) end -function igLogBegin(type, auto_open_depth) - ccall((:igLogBegin, libcimgui), Cvoid, (ImGuiLogType, Cint), type, auto_open_depth) +function igLogBegin(flags, auto_open_depth) + ccall((:igLogBegin, libcimgui), Cvoid, (ImGuiLogFlags, Cint), flags, auto_open_depth) end function igLogToBuffer(auto_open_depth) @@ -9080,8 +9184,8 @@ function igNavClearPreferredPosForAxis(axis) ccall((:igNavClearPreferredPosForAxis, libcimgui), Cvoid, (ImGuiAxis,), axis) end -function igNavRestoreHighlightAfterMove() - ccall((:igNavRestoreHighlightAfterMove, libcimgui), Cvoid, ()) +function igSetNavCursorVisibleAfterMove() + ccall((:igSetNavCursorVisibleAfterMove, libcimgui), Cvoid, ()) end function igNavUpdateCurrentWindowIsScrollPushableX() @@ -9800,8 +9904,12 @@ function igTabBarCloseTab(tab_bar, tab) ccall((:igTabBarCloseTab, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) end -function igTabBarQueueFocus(tab_bar, tab) - ccall((:igTabBarQueueFocus, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) +function igTabBarQueueFocus_TabItemPtr(tab_bar, tab) + ccall((:igTabBarQueueFocus_TabItemPtr, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) +end + +function igTabBarQueueFocus_Str(tab_bar, tab_name) + ccall((:igTabBarQueueFocus_Str, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{Cchar}), tab_bar, tab_name) end function igTabBarQueueReorder(tab_bar, tab, offset) @@ -9868,8 +9976,8 @@ function igRenderColorRectWithAlphaCheckerboard(draw_list, p_min, p_max, fill_co ccall((:igRenderColorRectWithAlphaCheckerboard, libcimgui), Cvoid, (Ptr{ImDrawList}, ImVec2, ImVec2, ImU32, Cfloat, ImVec2, Cfloat, ImDrawFlags), draw_list, p_min, p_max, fill_col, grid_step, grid_off, rounding, flags) end -function igRenderNavHighlight(bb, id, flags) - ccall((:igRenderNavHighlight, libcimgui), Cvoid, (ImRect, ImGuiID, ImGuiNavHighlightFlags), bb, id, flags) +function igRenderNavCursor(bb, id, flags) + ccall((:igRenderNavCursor, libcimgui), Cvoid, (ImRect, ImGuiID, ImGuiNavRenderCursorFlags), bb, id, flags) end function igFindRenderedTextEnd(text, text_end) @@ -9924,8 +10032,8 @@ function igArrowButtonEx(str_id, dir, size_arg, flags) ccall((:igArrowButtonEx, libcimgui), Bool, (Ptr{Cchar}, ImGuiDir, ImVec2, ImGuiButtonFlags), str_id, dir, size_arg, flags) end -function igImageButtonEx(id, texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) - ccall((:igImageButtonEx, libcimgui), Bool, (ImGuiID, ImTextureID, ImVec2, ImVec2, ImVec2, ImVec4, ImVec4, ImGuiButtonFlags), id, texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) +function igImageButtonEx(id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) + ccall((:igImageButtonEx, libcimgui), Bool, (ImGuiID, ImTextureID, ImVec2, ImVec2, ImVec2, ImVec4, ImVec4, ImGuiButtonFlags), id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) end function igSeparatorEx(flags, thickness) @@ -9956,8 +10064,8 @@ function igScrollbar(axis) ccall((:igScrollbar, libcimgui), Cvoid, (ImGuiAxis,), axis) end -function igScrollbarEx(bb, id, axis, p_scroll_v, avail_v, contents_v, flags) - ccall((:igScrollbarEx, libcimgui), Bool, (ImRect, ImGuiID, ImGuiAxis, Ptr{ImS64}, ImS64, ImS64, ImDrawFlags), bb, id, axis, p_scroll_v, avail_v, contents_v, flags) +function igScrollbarEx(bb, id, axis, p_scroll_v, avail_v, contents_v, draw_rounding_flags) + ccall((:igScrollbarEx, libcimgui), Bool, (ImRect, ImGuiID, ImGuiAxis, Ptr{ImS64}, ImS64, ImS64, ImDrawFlags), bb, id, axis, p_scroll_v, avail_v, contents_v, draw_rounding_flags) end function igGetWindowScrollbarRect(pOut, window, axis) @@ -10036,6 +10144,10 @@ function igDataTypeClamp(data_type, p_data, p_min, p_max) ccall((:igDataTypeClamp, libcimgui), Bool, (ImGuiDataType, Ptr{Cvoid}, Ptr{Cvoid}, Ptr{Cvoid}), data_type, p_data, p_min, p_max) end +function igDataTypeIsZero(data_type, p_data) + ccall((:igDataTypeIsZero, libcimgui), Bool, (ImGuiDataType, Ptr{Cvoid}), data_type, p_data) +end + function igInputTextEx(label, hint, buf, buf_size, size_arg, flags, callback, user_data) ccall((:igInputTextEx, libcimgui), Bool, (Ptr{Cchar}, Ptr{Cchar}, Ptr{Cchar}, Cint, ImVec2, ImGuiInputTextFlags, ImGuiInputTextCallback, Ptr{Cvoid}), label, hint, buf, buf_size, size_arg, flags, callback, user_data) end @@ -10104,22 +10216,42 @@ function igGcAwakeTransientWindowBuffers(window) ccall((:igGcAwakeTransientWindowBuffers, libcimgui), Cvoid, (Ptr{ImGuiWindow},), window) end -function igDebugAllocHook(info, frame_count, ptr, size) - ccall((:igDebugAllocHook, libcimgui), Cvoid, (Ptr{ImGuiDebugAllocInfo}, Cint, Ptr{Cvoid}, Csize_t), info, frame_count, ptr, size) +function igErrorLog(msg) + ccall((:igErrorLog, libcimgui), Bool, (Ptr{Cchar},), msg) +end + +function igErrorRecoveryStoreState(state_out) + ccall((:igErrorRecoveryStoreState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_out) end -function igErrorCheckEndFrameRecover(log_callback, user_data) - ccall((:igErrorCheckEndFrameRecover, libcimgui), Cvoid, (ImGuiErrorLogCallback, Ptr{Cvoid}), log_callback, user_data) +function igErrorRecoveryTryToRecoverState(state_in) + ccall((:igErrorRecoveryTryToRecoverState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_in) end -function igErrorCheckEndWindowRecover(log_callback, user_data) - ccall((:igErrorCheckEndWindowRecover, libcimgui), Cvoid, (ImGuiErrorLogCallback, Ptr{Cvoid}), log_callback, user_data) +function igErrorRecoveryTryToRecoverWindowState(state_in) + ccall((:igErrorRecoveryTryToRecoverWindowState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_in) end function igErrorCheckUsingSetCursorPosToExtendParentBoundaries() ccall((:igErrorCheckUsingSetCursorPosToExtendParentBoundaries, libcimgui), Cvoid, ()) end +function igErrorCheckEndFrameFinalizeErrorTooltip() + ccall((:igErrorCheckEndFrameFinalizeErrorTooltip, libcimgui), Cvoid, ()) +end + +function igBeginErrorTooltip() + ccall((:igBeginErrorTooltip, libcimgui), Bool, ()) +end + +function igEndErrorTooltip() + ccall((:igEndErrorTooltip, libcimgui), Cvoid, ()) +end + +function igDebugAllocHook(info, frame_count, ptr, size) + ccall((:igDebugAllocHook, libcimgui), Cvoid, (Ptr{ImGuiDebugAllocInfo}, Cint, Ptr{Cvoid}, Csize_t), info, frame_count, ptr, size) +end + function igDebugDrawCursorPos(col) ccall((:igDebugDrawCursorPos, libcimgui), Cvoid, (ImU32,), col) end @@ -10823,11 +10955,29 @@ struct ImVector_ImU64 Data::Ptr{ImU64} end -struct ImVector_ImU8 +struct var"##Ctag#230" Size::Cint Capacity::Cint Data::Ptr{ImU8} end +function Base.getproperty(x::Ptr{var"##Ctag#230"}, f::Symbol) + f === :Size && return Ptr{Cint}(x + 0) + f === :Capacity && return Ptr{Cint}(x + 0) + f === :Data && return Ptr{Ptr{ImU8}}(x + 0) + return getfield(x, f) +end + +function Base.getproperty(x::var"##Ctag#230", f::Symbol) + r = Ref{var"##Ctag#230"}(x) + ptr = Base.unsafe_convert(Ptr{var"##Ctag#230"}, r) + fptr = getproperty(ptr, f) + GC.@preserve r unsafe_load(fptr) +end + +function Base.setproperty!(x::Ptr{var"##Ctag#230"}, f::Symbol, v) + unsafe_store!(getproperty(x, f), v) +end + const ImPlotDragToolFlags = Cint @@ -14830,6 +14980,8 @@ function ImGui_ImplOpenGL3_DestroyDeviceObjects() ccall((:ImGui_ImplOpenGL3_DestroyDeviceObjects, libcimgui), Cvoid, ()) end +const IM_UNICODE_CODEPOINT_MAX = 65535 + const IMGUI_HAS_DOCK = 1 const ImDrawCallback_ResetRenderState = ImDrawCallback(-8) diff --git a/lib/aarch64-linux-gnu.jl b/lib/aarch64-linux-gnu.jl index 6dc623f..a7da25e 100644 --- a/lib/aarch64-linux-gnu.jl +++ b/lib/aarch64-linux-gnu.jl @@ -45,7 +45,9 @@ function Base.setproperty!(x::Ptr{ImVec4}, f::Symbol, v) end -const ImTextureID = Ptr{Cvoid} +const ImU64 = Culonglong + +const ImTextureID = ImU64 struct ImDrawCmd ClipRect::ImVec4 @@ -55,6 +57,8 @@ struct ImDrawCmd ElemCount::Cuint UserCallback::ImDrawCallback UserCallbackData::Ptr{Cvoid} + UserCallbackDataSize::Cint + UserCallbackDataOffset::Cint end function Base.getproperty(x::Ptr{ImDrawCmd}, f::Symbol) f === :ClipRect && return Ptr{ImVec4}(x + 0) @@ -64,6 +68,8 @@ function Base.getproperty(x::Ptr{ImDrawCmd}, f::Symbol) f === :ElemCount && return Ptr{Cuint}(x + 32) f === :UserCallback && return Ptr{ImDrawCallback}(x + 40) f === :UserCallbackData && return Ptr{Ptr{Cvoid}}(x + 48) + f === :UserCallbackDataSize && return Ptr{Cint}(x + 56) + f === :UserCallbackDataOffset && return Ptr{Cint}(x + 60) return getfield(x, f) end @@ -221,19 +227,63 @@ function Base.getproperty(x::ImVector_ImFontPtr, f::Symbol) end struct ImFontAtlasCustomRect - Width::Cushort - Height::Cushort - X::Cushort - Y::Cushort - GlyphID::Cuint - GlyphAdvanceX::Cfloat - GlyphOffset::ImVec2 - Font::Ptr{Cvoid} # Font::Ptr{ImFont} + data::NTuple{32, UInt8} +end + +function Base.getproperty(x::Ptr{ImFontAtlasCustomRect}, f::Symbol) + f === :X && return Ptr{Cushort}(x + 0) + f === :Y && return Ptr{Cushort}(x + 2) + f === :Width && return Ptr{Cushort}(x + 4) + f === :Height && return Ptr{Cushort}(x + 6) + f === :GlyphID && return (Ptr{Cuint}(x + 8), 0, 31) + f === :GlyphColored && return (Ptr{Cuint}(x + 8), 31, 1) + f === :GlyphAdvanceX && return Ptr{Cfloat}(x + 12) + f === :GlyphOffset && return Ptr{ImVec2}(x + 16) + f === :Font && return Ptr{Ptr{ImFont}}(x + 24) + return getfield(x, f) end function Base.getproperty(x::ImFontAtlasCustomRect, f::Symbol) - f === :Font && return Ptr{ImFont}(getfield(x, f)) - return getfield(x, f) + r = Ref{ImFontAtlasCustomRect}(x) + ptr = Base.unsafe_convert(Ptr{ImFontAtlasCustomRect}, r) + fptr = getproperty(ptr, f) + begin + if fptr isa Ptr + return GC.@preserve(r, unsafe_load(fptr)) + else + (baseptr, offset, width) = fptr + ty = eltype(baseptr) + baseptr32 = convert(Ptr{UInt32}, baseptr) + u64 = GC.@preserve(r, unsafe_load(baseptr32)) + if offset + width > 32 + u64 |= GC.@preserve(r, unsafe_load(baseptr32 + 4)) << 32 + end + u64 = u64 >> offset & (1 << width - 1) + return u64 % ty + end + end +end + +function Base.setproperty!(x::Ptr{ImFontAtlasCustomRect}, f::Symbol, v) + fptr = getproperty(x, f) + if fptr isa Ptr + unsafe_store!(getproperty(x, f), v) + else + (baseptr, offset, width) = fptr + baseptr32 = convert(Ptr{UInt32}, baseptr) + u64 = unsafe_load(baseptr32) + straddle = offset + width > 32 + if straddle + u64 |= unsafe_load(baseptr32 + 4) << 32 + end + mask = 1 << width - 1 + u64 &= ~(mask << offset) + u64 |= (unsigned(v) & mask) << offset + unsafe_store!(baseptr32, u64 & typemax(UInt32)) + if straddle + unsafe_store!(baseptr32 + 4, u64 >> 32) + end + end end struct ImVector_ImFontAtlasCustomRect @@ -375,9 +425,9 @@ struct ImFont ContainerAtlas::Ptr{ImFontAtlas} ConfigData::Ptr{ImFontConfig} ConfigDataCount::Cshort - FallbackChar::ImWchar - EllipsisChar::ImWchar EllipsisCharCount::Cshort + EllipsisChar::ImWchar + FallbackChar::ImWchar EllipsisWidth::Cfloat EllipsisCharStep::Cfloat DirtyLookupTables::Bool @@ -396,6 +446,7 @@ end struct ImDrawListSharedData TexUvWhitePixel::ImVec2 + TexUvLines::Ptr{ImVec4} Font::Ptr{ImFont} FontSize::Cfloat FontScale::Cfloat @@ -407,7 +458,6 @@ struct ImDrawListSharedData ArcFastVtx::NTuple{48, ImVec2} ArcFastRadiusCutoff::Cfloat CircleSegmentCounts::NTuple{64, ImU8} - TexUvLines::Ptr{ImVec4} end struct ImDrawCmdHeader @@ -440,6 +490,12 @@ struct ImVector_ImTextureID Data::Ptr{ImTextureID} end +struct ImVector_ImU8 + Size::Cint + Capacity::Cint + Data::Ptr{ImU8} +end + struct ImDrawList CmdBuffer::ImVector_ImDrawCmd IdxBuffer::ImVector_ImDrawIdx @@ -454,6 +510,7 @@ struct ImDrawList _Splitter::ImDrawListSplitter _ClipRectStack::ImVector_ImVec4 _TextureIdStack::ImVector_ImTextureID + _CallbacksDataBuf::ImVector_ImU8 _FringeScale::Cfloat _OwnerName::Ptr{Cchar} end @@ -471,8 +528,9 @@ function Base.getproperty(x::Ptr{ImDrawList}, f::Symbol) f === :_Splitter && return Ptr{ImDrawListSplitter}(x + 128) f === :_ClipRectStack && return Ptr{ImVector_ImVec4}(x + 152) f === :_TextureIdStack && return Ptr{ImVector_ImTextureID}(x + 168) - f === :_FringeScale && return Ptr{Cfloat}(x + 184) - f === :_OwnerName && return Ptr{Ptr{Cchar}}(x + 192) + f === :_CallbacksDataBuf && return Ptr{ImVector_ImU8}(x + 184) + f === :_FringeScale && return Ptr{Cfloat}(x + 200) + f === :_OwnerName && return Ptr{Ptr{Cchar}}(x + 208) return getfield(x, f) end @@ -606,8 +664,6 @@ end const ImU16 = Cushort -const ImS8 = Int8 - struct ImGuiIO ConfigFlags::ImGuiConfigFlags BackendFlags::ImGuiBackendFlags @@ -622,6 +678,13 @@ struct ImGuiIO FontAllowUserScaling::Bool FontDefault::Ptr{ImFont} DisplayFramebufferScale::ImVec2 + ConfigNavSwapGamepadButtons::Bool + ConfigNavMoveSetMousePos::Bool + ConfigNavCaptureKeyboard::Bool + ConfigNavEscapeClearFocusItem::Bool + ConfigNavEscapeClearFocusWindow::Bool + ConfigNavCursorVisibleAuto::Bool + ConfigNavCursorVisibleAlways::Bool ConfigDockingNoSplit::Bool ConfigDockingWithShift::Bool ConfigDockingAlwaysTabBar::Bool @@ -632,19 +695,24 @@ struct ImGuiIO ConfigViewportsNoDefaultParent::Bool MouseDrawCursor::Bool ConfigMacOSXBehaviors::Bool - ConfigNavSwapGamepadButtons::Bool ConfigInputTrickleEventQueue::Bool ConfigInputTextCursorBlink::Bool ConfigInputTextEnterKeepActive::Bool ConfigDragClickToInputText::Bool ConfigWindowsResizeFromEdges::Bool ConfigWindowsMoveFromTitleBarOnly::Bool + ConfigWindowsCopyContentsWithCtrlC::Bool + ConfigScrollbarScrollByPage::Bool ConfigMemoryCompactTimer::Cfloat MouseDoubleClickTime::Cfloat MouseDoubleClickMaxDist::Cfloat MouseDragThreshold::Cfloat KeyRepeatDelay::Cfloat KeyRepeatRate::Cfloat + ConfigErrorRecovery::Bool + ConfigErrorRecoveryEnableAssert::Bool + ConfigErrorRecoveryEnableDebugLog::Bool + ConfigErrorRecoveryEnableTooltip::Bool ConfigDebugIsDebuggerPresent::Bool ConfigDebugHighlightIdConflicts::Bool ConfigDebugBeginReturnValueOnce::Bool @@ -702,8 +770,6 @@ struct ImGuiIO PenPressure::Cfloat AppFocusLost::Bool AppAcceptingEvents::Bool - BackendUsingLegacyKeyArrays::ImS8 - BackendUsingLegacyNavInputArray::Bool InputQueueSurrogate::ImWchar16 InputQueueCharacters::ImVector_ImWchar end @@ -727,90 +793,100 @@ function Base.getproperty(x::Ptr{ImGuiIO}, f::Symbol) f === :FontAllowUserScaling && return Ptr{Bool}(x + 60) f === :FontDefault && return Ptr{Ptr{ImFont}}(x + 64) f === :DisplayFramebufferScale && return Ptr{ImVec2}(x + 72) - f === :ConfigDockingNoSplit && return Ptr{Bool}(x + 80) - f === :ConfigDockingWithShift && return Ptr{Bool}(x + 81) - f === :ConfigDockingAlwaysTabBar && return Ptr{Bool}(x + 82) - f === :ConfigDockingTransparentPayload && return Ptr{Bool}(x + 83) - f === :ConfigViewportsNoAutoMerge && return Ptr{Bool}(x + 84) - f === :ConfigViewportsNoTaskBarIcon && return Ptr{Bool}(x + 85) - f === :ConfigViewportsNoDecoration && return Ptr{Bool}(x + 86) - f === :ConfigViewportsNoDefaultParent && return Ptr{Bool}(x + 87) - f === :MouseDrawCursor && return Ptr{Bool}(x + 88) - f === :ConfigMacOSXBehaviors && return Ptr{Bool}(x + 89) - f === :ConfigNavSwapGamepadButtons && return Ptr{Bool}(x + 90) - f === :ConfigInputTrickleEventQueue && return Ptr{Bool}(x + 91) - f === :ConfigInputTextCursorBlink && return Ptr{Bool}(x + 92) - f === :ConfigInputTextEnterKeepActive && return Ptr{Bool}(x + 93) - f === :ConfigDragClickToInputText && return Ptr{Bool}(x + 94) - f === :ConfigWindowsResizeFromEdges && return Ptr{Bool}(x + 95) - f === :ConfigWindowsMoveFromTitleBarOnly && return Ptr{Bool}(x + 96) - f === :ConfigMemoryCompactTimer && return Ptr{Cfloat}(x + 100) - f === :MouseDoubleClickTime && return Ptr{Cfloat}(x + 104) - f === :MouseDoubleClickMaxDist && return Ptr{Cfloat}(x + 108) - f === :MouseDragThreshold && return Ptr{Cfloat}(x + 112) - f === :KeyRepeatDelay && return Ptr{Cfloat}(x + 116) - f === :KeyRepeatRate && return Ptr{Cfloat}(x + 120) - f === :ConfigDebugIsDebuggerPresent && return Ptr{Bool}(x + 124) - f === :ConfigDebugHighlightIdConflicts && return Ptr{Bool}(x + 125) - f === :ConfigDebugBeginReturnValueOnce && return Ptr{Bool}(x + 126) - f === :ConfigDebugBeginReturnValueLoop && return Ptr{Bool}(x + 127) - f === :ConfigDebugIgnoreFocusLoss && return Ptr{Bool}(x + 128) - f === :ConfigDebugIniSettings && return Ptr{Bool}(x + 129) - f === :BackendPlatformName && return Ptr{Ptr{Cchar}}(x + 136) - f === :BackendRendererName && return Ptr{Ptr{Cchar}}(x + 144) - f === :BackendPlatformUserData && return Ptr{Ptr{Cvoid}}(x + 152) - f === :BackendRendererUserData && return Ptr{Ptr{Cvoid}}(x + 160) - f === :BackendLanguageUserData && return Ptr{Ptr{Cvoid}}(x + 168) - f === :WantCaptureMouse && return Ptr{Bool}(x + 176) - f === :WantCaptureKeyboard && return Ptr{Bool}(x + 177) - f === :WantTextInput && return Ptr{Bool}(x + 178) - f === :WantSetMousePos && return Ptr{Bool}(x + 179) - f === :WantSaveIniSettings && return Ptr{Bool}(x + 180) - f === :NavActive && return Ptr{Bool}(x + 181) - f === :NavVisible && return Ptr{Bool}(x + 182) - f === :Framerate && return Ptr{Cfloat}(x + 184) - f === :MetricsRenderVertices && return Ptr{Cint}(x + 188) - f === :MetricsRenderIndices && return Ptr{Cint}(x + 192) - f === :MetricsRenderWindows && return Ptr{Cint}(x + 196) - f === :MetricsActiveWindows && return Ptr{Cint}(x + 200) - f === :MouseDelta && return Ptr{ImVec2}(x + 204) - f === :Ctx && return Ptr{Ptr{ImGuiContext}}(x + 216) - f === :MousePos && return Ptr{ImVec2}(x + 224) - f === :MouseDown && return Ptr{NTuple{5, Bool}}(x + 232) - f === :MouseWheel && return Ptr{Cfloat}(x + 240) - f === :MouseWheelH && return Ptr{Cfloat}(x + 244) - f === :MouseSource && return Ptr{ImGuiMouseSource}(x + 248) - f === :MouseHoveredViewport && return Ptr{ImGuiID}(x + 252) - f === :KeyCtrl && return Ptr{Bool}(x + 256) - f === :KeyShift && return Ptr{Bool}(x + 257) - f === :KeyAlt && return Ptr{Bool}(x + 258) - f === :KeySuper && return Ptr{Bool}(x + 259) - f === :KeyMods && return Ptr{ImGuiKeyChord}(x + 260) - f === :KeysData && return Ptr{NTuple{154, ImGuiKeyData}}(x + 264) - f === :WantCaptureMouseUnlessPopupClose && return Ptr{Bool}(x + 2728) - f === :MousePosPrev && return Ptr{ImVec2}(x + 2732) - f === :MouseClickedPos && return Ptr{NTuple{5, ImVec2}}(x + 2740) - f === :MouseClickedTime && return Ptr{NTuple{5, Cdouble}}(x + 2784) - f === :MouseClicked && return Ptr{NTuple{5, Bool}}(x + 2824) - f === :MouseDoubleClicked && return Ptr{NTuple{5, Bool}}(x + 2829) - f === :MouseClickedCount && return Ptr{NTuple{5, ImU16}}(x + 2834) - f === :MouseClickedLastCount && return Ptr{NTuple{5, ImU16}}(x + 2844) - f === :MouseReleased && return Ptr{NTuple{5, Bool}}(x + 2854) - f === :MouseDownOwned && return Ptr{NTuple{5, Bool}}(x + 2859) - f === :MouseDownOwnedUnlessPopupClose && return Ptr{NTuple{5, Bool}}(x + 2864) - f === :MouseWheelRequestAxisSwap && return Ptr{Bool}(x + 2869) - f === :MouseCtrlLeftAsRightClick && return Ptr{Bool}(x + 2870) - f === :MouseDownDuration && return Ptr{NTuple{5, Cfloat}}(x + 2872) - f === :MouseDownDurationPrev && return Ptr{NTuple{5, Cfloat}}(x + 2892) - f === :MouseDragMaxDistanceAbs && return Ptr{NTuple{5, ImVec2}}(x + 2912) - f === :MouseDragMaxDistanceSqr && return Ptr{NTuple{5, Cfloat}}(x + 2952) - f === :PenPressure && return Ptr{Cfloat}(x + 2972) - f === :AppFocusLost && return Ptr{Bool}(x + 2976) - f === :AppAcceptingEvents && return Ptr{Bool}(x + 2977) - f === :BackendUsingLegacyKeyArrays && return Ptr{ImS8}(x + 2978) - f === :BackendUsingLegacyNavInputArray && return Ptr{Bool}(x + 2979) - f === :InputQueueSurrogate && return Ptr{ImWchar16}(x + 2980) - f === :InputQueueCharacters && return Ptr{ImVector_ImWchar}(x + 2984) + f === :ConfigNavSwapGamepadButtons && return Ptr{Bool}(x + 80) + f === :ConfigNavMoveSetMousePos && return Ptr{Bool}(x + 81) + f === :ConfigNavCaptureKeyboard && return Ptr{Bool}(x + 82) + f === :ConfigNavEscapeClearFocusItem && return Ptr{Bool}(x + 83) + f === :ConfigNavEscapeClearFocusWindow && return Ptr{Bool}(x + 84) + f === :ConfigNavCursorVisibleAuto && return Ptr{Bool}(x + 85) + f === :ConfigNavCursorVisibleAlways && return Ptr{Bool}(x + 86) + f === :ConfigDockingNoSplit && return Ptr{Bool}(x + 87) + f === :ConfigDockingWithShift && return Ptr{Bool}(x + 88) + f === :ConfigDockingAlwaysTabBar && return Ptr{Bool}(x + 89) + f === :ConfigDockingTransparentPayload && return Ptr{Bool}(x + 90) + f === :ConfigViewportsNoAutoMerge && return Ptr{Bool}(x + 91) + f === :ConfigViewportsNoTaskBarIcon && return Ptr{Bool}(x + 92) + f === :ConfigViewportsNoDecoration && return Ptr{Bool}(x + 93) + f === :ConfigViewportsNoDefaultParent && return Ptr{Bool}(x + 94) + f === :MouseDrawCursor && return Ptr{Bool}(x + 95) + f === :ConfigMacOSXBehaviors && return Ptr{Bool}(x + 96) + f === :ConfigInputTrickleEventQueue && return Ptr{Bool}(x + 97) + f === :ConfigInputTextCursorBlink && return Ptr{Bool}(x + 98) + f === :ConfigInputTextEnterKeepActive && return Ptr{Bool}(x + 99) + f === :ConfigDragClickToInputText && return Ptr{Bool}(x + 100) + f === :ConfigWindowsResizeFromEdges && return Ptr{Bool}(x + 101) + f === :ConfigWindowsMoveFromTitleBarOnly && return Ptr{Bool}(x + 102) + f === :ConfigWindowsCopyContentsWithCtrlC && return Ptr{Bool}(x + 103) + f === :ConfigScrollbarScrollByPage && return Ptr{Bool}(x + 104) + f === :ConfigMemoryCompactTimer && return Ptr{Cfloat}(x + 108) + f === :MouseDoubleClickTime && return Ptr{Cfloat}(x + 112) + f === :MouseDoubleClickMaxDist && return Ptr{Cfloat}(x + 116) + f === :MouseDragThreshold && return Ptr{Cfloat}(x + 120) + f === :KeyRepeatDelay && return Ptr{Cfloat}(x + 124) + f === :KeyRepeatRate && return Ptr{Cfloat}(x + 128) + f === :ConfigErrorRecovery && return Ptr{Bool}(x + 132) + f === :ConfigErrorRecoveryEnableAssert && return Ptr{Bool}(x + 133) + f === :ConfigErrorRecoveryEnableDebugLog && return Ptr{Bool}(x + 134) + f === :ConfigErrorRecoveryEnableTooltip && return Ptr{Bool}(x + 135) + f === :ConfigDebugIsDebuggerPresent && return Ptr{Bool}(x + 136) + f === :ConfigDebugHighlightIdConflicts && return Ptr{Bool}(x + 137) + f === :ConfigDebugBeginReturnValueOnce && return Ptr{Bool}(x + 138) + f === :ConfigDebugBeginReturnValueLoop && return Ptr{Bool}(x + 139) + f === :ConfigDebugIgnoreFocusLoss && return Ptr{Bool}(x + 140) + f === :ConfigDebugIniSettings && return Ptr{Bool}(x + 141) + f === :BackendPlatformName && return Ptr{Ptr{Cchar}}(x + 144) + f === :BackendRendererName && return Ptr{Ptr{Cchar}}(x + 152) + f === :BackendPlatformUserData && return Ptr{Ptr{Cvoid}}(x + 160) + f === :BackendRendererUserData && return Ptr{Ptr{Cvoid}}(x + 168) + f === :BackendLanguageUserData && return Ptr{Ptr{Cvoid}}(x + 176) + f === :WantCaptureMouse && return Ptr{Bool}(x + 184) + f === :WantCaptureKeyboard && return Ptr{Bool}(x + 185) + f === :WantTextInput && return Ptr{Bool}(x + 186) + f === :WantSetMousePos && return Ptr{Bool}(x + 187) + f === :WantSaveIniSettings && return Ptr{Bool}(x + 188) + f === :NavActive && return Ptr{Bool}(x + 189) + f === :NavVisible && return Ptr{Bool}(x + 190) + f === :Framerate && return Ptr{Cfloat}(x + 192) + f === :MetricsRenderVertices && return Ptr{Cint}(x + 196) + f === :MetricsRenderIndices && return Ptr{Cint}(x + 200) + f === :MetricsRenderWindows && return Ptr{Cint}(x + 204) + f === :MetricsActiveWindows && return Ptr{Cint}(x + 208) + f === :MouseDelta && return Ptr{ImVec2}(x + 212) + f === :Ctx && return Ptr{Ptr{ImGuiContext}}(x + 224) + f === :MousePos && return Ptr{ImVec2}(x + 232) + f === :MouseDown && return Ptr{NTuple{5, Bool}}(x + 240) + f === :MouseWheel && return Ptr{Cfloat}(x + 248) + f === :MouseWheelH && return Ptr{Cfloat}(x + 252) + f === :MouseSource && return Ptr{ImGuiMouseSource}(x + 256) + f === :MouseHoveredViewport && return Ptr{ImGuiID}(x + 260) + f === :KeyCtrl && return Ptr{Bool}(x + 264) + f === :KeyShift && return Ptr{Bool}(x + 265) + f === :KeyAlt && return Ptr{Bool}(x + 266) + f === :KeySuper && return Ptr{Bool}(x + 267) + f === :KeyMods && return Ptr{ImGuiKeyChord}(x + 268) + f === :KeysData && return Ptr{NTuple{154, ImGuiKeyData}}(x + 272) + f === :WantCaptureMouseUnlessPopupClose && return Ptr{Bool}(x + 2736) + f === :MousePosPrev && return Ptr{ImVec2}(x + 2740) + f === :MouseClickedPos && return Ptr{NTuple{5, ImVec2}}(x + 2748) + f === :MouseClickedTime && return Ptr{NTuple{5, Cdouble}}(x + 2792) + f === :MouseClicked && return Ptr{NTuple{5, Bool}}(x + 2832) + f === :MouseDoubleClicked && return Ptr{NTuple{5, Bool}}(x + 2837) + f === :MouseClickedCount && return Ptr{NTuple{5, ImU16}}(x + 2842) + f === :MouseClickedLastCount && return Ptr{NTuple{5, ImU16}}(x + 2852) + f === :MouseReleased && return Ptr{NTuple{5, Bool}}(x + 2862) + f === :MouseDownOwned && return Ptr{NTuple{5, Bool}}(x + 2867) + f === :MouseDownOwnedUnlessPopupClose && return Ptr{NTuple{5, Bool}}(x + 2872) + f === :MouseWheelRequestAxisSwap && return Ptr{Bool}(x + 2877) + f === :MouseCtrlLeftAsRightClick && return Ptr{Bool}(x + 2878) + f === :MouseDownDuration && return Ptr{NTuple{5, Cfloat}}(x + 2880) + f === :MouseDownDurationPrev && return Ptr{NTuple{5, Cfloat}}(x + 2900) + f === :MouseDragMaxDistanceAbs && return Ptr{NTuple{5, ImVec2}}(x + 2920) + f === :MouseDragMaxDistanceSqr && return Ptr{NTuple{5, Cfloat}}(x + 2960) + f === :PenPressure && return Ptr{Cfloat}(x + 2980) + f === :AppFocusLost && return Ptr{Bool}(x + 2984) + f === :AppAcceptingEvents && return Ptr{Bool}(x + 2985) + f === :InputQueueSurrogate && return Ptr{ImWchar16}(x + 2986) + f === :InputQueueCharacters && return Ptr{ImVector_ImWchar}(x + 2992) return getfield(x, f) end @@ -862,6 +938,7 @@ struct ImGuiPlatformIO Platform_SetImeDataFn::Ptr{Cvoid} Platform_ImeUserData::Ptr{Cvoid} Platform_LocaleDecimalPoint::ImWchar + Renderer_RenderState::Ptr{Cvoid} Platform_CreateWindow::Ptr{Cvoid} Platform_DestroyWindow::Ptr{Cvoid} Platform_ShowWindow::Ptr{Cvoid} @@ -898,32 +975,33 @@ function Base.getproperty(x::Ptr{ImGuiPlatformIO}, f::Symbol) f === :Platform_SetImeDataFn && return Ptr{Ptr{Cvoid}}(x + 40) f === :Platform_ImeUserData && return Ptr{Ptr{Cvoid}}(x + 48) f === :Platform_LocaleDecimalPoint && return Ptr{ImWchar}(x + 56) - f === :Platform_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 64) - f === :Platform_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 72) - f === :Platform_ShowWindow && return Ptr{Ptr{Cvoid}}(x + 80) - f === :Platform_SetWindowPos && return Ptr{Ptr{Cvoid}}(x + 88) - f === :Platform_GetWindowPos && return Ptr{Ptr{Cvoid}}(x + 96) - f === :Platform_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 104) - f === :Platform_GetWindowSize && return Ptr{Ptr{Cvoid}}(x + 112) - f === :Platform_SetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 120) - f === :Platform_GetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 128) - f === :Platform_GetWindowMinimized && return Ptr{Ptr{Cvoid}}(x + 136) - f === :Platform_SetWindowTitle && return Ptr{Ptr{Cvoid}}(x + 144) - f === :Platform_SetWindowAlpha && return Ptr{Ptr{Cvoid}}(x + 152) - f === :Platform_UpdateWindow && return Ptr{Ptr{Cvoid}}(x + 160) - f === :Platform_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 168) - f === :Platform_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 176) - f === :Platform_GetWindowDpiScale && return Ptr{Ptr{Cvoid}}(x + 184) - f === :Platform_OnChangedViewport && return Ptr{Ptr{Cvoid}}(x + 192) - f === :Platform_GetWindowWorkAreaInsets && return Ptr{Ptr{Cvoid}}(x + 200) - f === :Platform_CreateVkSurface && return Ptr{Ptr{Cvoid}}(x + 208) - f === :Renderer_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 216) - f === :Renderer_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 224) - f === :Renderer_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 232) - f === :Renderer_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 240) - f === :Renderer_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 248) - f === :Monitors && return Ptr{ImVector_ImGuiPlatformMonitor}(x + 256) - f === :Viewports && return Ptr{ImVector_ImGuiViewportPtr}(x + 272) + f === :Renderer_RenderState && return Ptr{Ptr{Cvoid}}(x + 64) + f === :Platform_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 72) + f === :Platform_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 80) + f === :Platform_ShowWindow && return Ptr{Ptr{Cvoid}}(x + 88) + f === :Platform_SetWindowPos && return Ptr{Ptr{Cvoid}}(x + 96) + f === :Platform_GetWindowPos && return Ptr{Ptr{Cvoid}}(x + 104) + f === :Platform_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 112) + f === :Platform_GetWindowSize && return Ptr{Ptr{Cvoid}}(x + 120) + f === :Platform_SetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 128) + f === :Platform_GetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 136) + f === :Platform_GetWindowMinimized && return Ptr{Ptr{Cvoid}}(x + 144) + f === :Platform_SetWindowTitle && return Ptr{Ptr{Cvoid}}(x + 152) + f === :Platform_SetWindowAlpha && return Ptr{Ptr{Cvoid}}(x + 160) + f === :Platform_UpdateWindow && return Ptr{Ptr{Cvoid}}(x + 168) + f === :Platform_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 176) + f === :Platform_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 184) + f === :Platform_GetWindowDpiScale && return Ptr{Ptr{Cvoid}}(x + 192) + f === :Platform_OnChangedViewport && return Ptr{Ptr{Cvoid}}(x + 200) + f === :Platform_GetWindowWorkAreaInsets && return Ptr{Ptr{Cvoid}}(x + 208) + f === :Platform_CreateVkSurface && return Ptr{Ptr{Cvoid}}(x + 216) + f === :Renderer_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 224) + f === :Renderer_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 232) + f === :Renderer_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 240) + f === :Renderer_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 248) + f === :Renderer_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 256) + f === :Monitors && return Ptr{ImVector_ImGuiPlatformMonitor}(x + 264) + f === :Viewports && return Ptr{ImVector_ImGuiViewportPtr}(x + 280) return getfield(x, f) end @@ -1185,6 +1263,8 @@ function Base.getproperty(x::ImGuiViewportP, f::Symbol) return getfield(x, f) end +const ImS8 = Int8 + const ImGuiCond = Cint struct ImVector_ImGuiID @@ -1395,6 +1475,7 @@ struct ImGuiTextBuffer end struct ImGuiTabBar + Window::Ptr{Cvoid} # Window::Ptr{ImGuiWindow} Tabs::ImVector_ImGuiTabItem Flags::ImGuiTabBarFlags ID::ImGuiID @@ -1430,6 +1511,11 @@ struct ImGuiTabBar TabsNames::ImGuiTextBuffer end +function Base.getproperty(x::ImGuiTabBar, f::Symbol) + f === :Window && return Ptr{ImGuiWindow}(getfield(x, f)) + return getfield(x, f) +end + @cenum ImGuiAxis::Int32 begin ImGuiAxis_None = -1 ImGuiAxis_X = 0 @@ -1534,7 +1620,7 @@ end const ImGuiItemStatusFlags = Cint struct ImGuiWindow - data::NTuple{1168, UInt8} + data::NTuple{1184, UInt8} end function Base.getproperty(x::Ptr{ImGuiWindow}, f::Symbol) @@ -1635,33 +1721,33 @@ function Base.getproperty(x::Ptr{ImGuiWindow}, f::Symbol) f === :SettingsOffset && return Ptr{Cint}(x + 736) f === :DrawList && return Ptr{Ptr{ImDrawList}}(x + 744) f === :DrawListInst && return Ptr{ImDrawList}(x + 752) - f === :ParentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 952) - f === :ParentWindowInBeginStack && return Ptr{Ptr{ImGuiWindow}}(x + 960) - f === :RootWindow && return Ptr{Ptr{ImGuiWindow}}(x + 968) - f === :RootWindowPopupTree && return Ptr{Ptr{ImGuiWindow}}(x + 976) - f === :RootWindowDockTree && return Ptr{Ptr{ImGuiWindow}}(x + 984) - f === :RootWindowForTitleBarHighlight && return Ptr{Ptr{ImGuiWindow}}(x + 992) - f === :RootWindowForNav && return Ptr{Ptr{ImGuiWindow}}(x + 1000) - f === :ParentWindowForFocusRoute && return Ptr{Ptr{ImGuiWindow}}(x + 1008) - f === :NavLastChildNavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 1016) - f === :NavLastIds && return Ptr{NTuple{2, ImGuiID}}(x + 1024) - f === :NavRectRel && return Ptr{NTuple{2, ImRect}}(x + 1032) - f === :NavPreferredScoringPosRel && return Ptr{NTuple{2, ImVec2}}(x + 1064) - f === :NavRootFocusScopeId && return Ptr{ImGuiID}(x + 1080) - f === :MemoryDrawListIdxCapacity && return Ptr{Cint}(x + 1084) - f === :MemoryDrawListVtxCapacity && return Ptr{Cint}(x + 1088) - f === :MemoryCompacted && return Ptr{Bool}(x + 1092) - f === :DockIsActive && return (Ptr{Bool}(x + 1092), 8, 1) - f === :DockNodeIsVisible && return (Ptr{Bool}(x + 1092), 9, 1) - f === :DockTabIsVisible && return (Ptr{Bool}(x + 1092), 10, 1) - f === :DockTabWantClose && return (Ptr{Bool}(x + 1092), 11, 1) - f === :DockOrder && return Ptr{Cshort}(x + 1094) - f === :DockStyle && return Ptr{ImGuiWindowDockStyle}(x + 1096) - f === :DockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 1128) - f === :DockNodeAsHost && return Ptr{Ptr{ImGuiDockNode}}(x + 1136) - f === :DockId && return Ptr{ImGuiID}(x + 1144) - f === :DockTabItemStatusFlags && return Ptr{ImGuiItemStatusFlags}(x + 1148) - f === :DockTabItemRect && return Ptr{ImRect}(x + 1152) + f === :ParentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 968) + f === :ParentWindowInBeginStack && return Ptr{Ptr{ImGuiWindow}}(x + 976) + f === :RootWindow && return Ptr{Ptr{ImGuiWindow}}(x + 984) + f === :RootWindowPopupTree && return Ptr{Ptr{ImGuiWindow}}(x + 992) + f === :RootWindowDockTree && return Ptr{Ptr{ImGuiWindow}}(x + 1000) + f === :RootWindowForTitleBarHighlight && return Ptr{Ptr{ImGuiWindow}}(x + 1008) + f === :RootWindowForNav && return Ptr{Ptr{ImGuiWindow}}(x + 1016) + f === :ParentWindowForFocusRoute && return Ptr{Ptr{ImGuiWindow}}(x + 1024) + f === :NavLastChildNavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 1032) + f === :NavLastIds && return Ptr{NTuple{2, ImGuiID}}(x + 1040) + f === :NavRectRel && return Ptr{NTuple{2, ImRect}}(x + 1048) + f === :NavPreferredScoringPosRel && return Ptr{NTuple{2, ImVec2}}(x + 1080) + f === :NavRootFocusScopeId && return Ptr{ImGuiID}(x + 1096) + f === :MemoryDrawListIdxCapacity && return Ptr{Cint}(x + 1100) + f === :MemoryDrawListVtxCapacity && return Ptr{Cint}(x + 1104) + f === :MemoryCompacted && return Ptr{Bool}(x + 1108) + f === :DockIsActive && return (Ptr{Bool}(x + 1108), 8, 1) + f === :DockNodeIsVisible && return (Ptr{Bool}(x + 1108), 9, 1) + f === :DockTabIsVisible && return (Ptr{Bool}(x + 1108), 10, 1) + f === :DockTabWantClose && return (Ptr{Bool}(x + 1108), 11, 1) + f === :DockOrder && return Ptr{Cshort}(x + 1110) + f === :DockStyle && return Ptr{ImGuiWindowDockStyle}(x + 1112) + f === :DockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 1144) + f === :DockNodeAsHost && return Ptr{Ptr{ImGuiDockNode}}(x + 1152) + f === :DockId && return Ptr{ImGuiID}(x + 1160) + f === :DockTabItemStatusFlags && return Ptr{ImGuiItemStatusFlags}(x + 1164) + f === :DockTabItemRect && return Ptr{ImRect}(x + 1168) return getfield(x, f) end @@ -1712,7 +1798,7 @@ const ImGuiItemFlags = Cint struct ImGuiLastItemData ID::ImGuiID - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags StatusFlags::ImGuiItemStatusFlags Rect::ImRect NavRect::ImRect @@ -1721,8 +1807,10 @@ struct ImGuiLastItemData Shortcut::ImGuiKeyChord end -struct ImGuiStackSizes +struct ImGuiErrorRecoveryState + SizeOfWindowStack::Cshort SizeOfIDStack::Cshort + SizeOfTreeStack::Cshort SizeOfColorStack::Cshort SizeOfStyleVarStack::Cshort SizeOfFontStack::Cshort @@ -1736,7 +1824,7 @@ end struct ImGuiWindowStackData Window::Ptr{ImGuiWindow} ParentLastItemDataBackup::ImGuiLastItemData - StackSizesOnBegin::ImGuiStackSizes + StackSizesInBegin::ImGuiErrorRecoveryState DisabledOverrideReenable::Bool end @@ -1795,7 +1883,7 @@ struct ImGuiDataTypeStorage end struct ImGuiNextItemData - Flags::ImGuiNextItemDataFlags + HasFlags::ImGuiNextItemDataFlags ItemFlags::ImGuiItemFlags FocusScopeId::ImGuiID SelectionUserData::ImGuiSelectionUserData @@ -1944,7 +2032,7 @@ const ImGuiTreeNodeFlags = Cint struct ImGuiTreeNodeStackData ID::ImGuiID TreeFlags::ImGuiTreeNodeFlags - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags NavRect::ImRect end @@ -1967,7 +2055,7 @@ struct ImGuiNavItemData ID::ImGuiID FocusScopeId::ImGuiID RectRel::ImRect - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags DistBox::Cfloat DistCenter::Cfloat DistAxial::Cfloat @@ -1980,6 +2068,7 @@ const ImGuiScrollFlags = Cint @cenum ImGuiKey::UInt32 begin ImGuiKey_None = 0 + ImGuiKey_NamedKey_BEGIN = 512 ImGuiKey_Tab = 512 ImGuiKey_LeftArrow = 513 ImGuiKey_RightArrow = 514 @@ -2134,18 +2223,14 @@ const ImGuiScrollFlags = Cint ImGuiKey_ReservedForModShift = 663 ImGuiKey_ReservedForModAlt = 664 ImGuiKey_ReservedForModSuper = 665 - ImGuiKey_COUNT = 666 + ImGuiKey_NamedKey_END = 666 ImGuiMod_None = 0 ImGuiMod_Ctrl = 4096 ImGuiMod_Shift = 8192 ImGuiMod_Alt = 16384 ImGuiMod_Super = 32768 ImGuiMod_Mask_ = 61440 - ImGuiKey_NamedKey_BEGIN = 512 - ImGuiKey_NamedKey_END = 666 ImGuiKey_NamedKey_COUNT = 154 - ImGuiKey_KeysData_SIZE = 154 - ImGuiKey_KeysData_OFFSET = 512 end const ImGuiDragDropFlags = Cint @@ -2800,11 +2885,11 @@ struct ImGuiInputTextState Ctx::Ptr{Cvoid} # Ctx::Ptr{ImGuiContext} Stb::Ptr{ImStbTexteditState} ID::ImGuiID - CurLenA::Cint + TextLen::Cint TextA::ImVector_char - InitialTextA::ImVector_char + TextToRevertTo::ImVector_char CallbackTextBackup::ImVector_char - BufCapacityA::Cint + BufCapacity::Cint Scroll::ImVec2 CursorAnim::Cfloat CursorFollow::Bool @@ -2940,16 +3025,13 @@ struct ImVector_ImGuiContextHook Data::Ptr{ImGuiContextHook} end -@cenum ImGuiLogType::UInt32 begin - ImGuiLogType_None = 0 - ImGuiLogType_TTY = 1 - ImGuiLogType_File = 2 - ImGuiLogType_Buffer = 3 - ImGuiLogType_Clipboard = 4 -end +const ImGuiLogFlags = Cint const ImFileHandle = Ptr{Libc.FILE} +# typedef void ( * ImGuiErrorCallback ) ( ImGuiContext * ctx , void * user_data , const char * msg ) +const ImGuiErrorCallback = Ptr{Cvoid} + const ImGuiDebugLogFlags = Cint struct ImVector_int @@ -3067,313 +3149,324 @@ struct ImGuiDebugAllocInfo end struct ImGuiContext - data::NTuple{10920, UInt8} + data::NTuple{11016, UInt8} end function Base.getproperty(x::Ptr{ImGuiContext}, f::Symbol) f === :Initialized && return Ptr{Bool}(x + 0) f === :FontAtlasOwnedByContext && return Ptr{Bool}(x + 1) f === :IO && return Ptr{ImGuiIO}(x + 8) - f === :PlatformIO && return Ptr{ImGuiPlatformIO}(x + 3008) - f === :Style && return Ptr{ImGuiStyle}(x + 3296) - f === :ConfigFlagsCurrFrame && return Ptr{ImGuiConfigFlags}(x + 4488) - f === :ConfigFlagsLastFrame && return Ptr{ImGuiConfigFlags}(x + 4492) - f === :Font && return Ptr{Ptr{ImFont}}(x + 4496) - f === :FontSize && return Ptr{Cfloat}(x + 4504) - f === :FontBaseSize && return Ptr{Cfloat}(x + 4508) - f === :FontScale && return Ptr{Cfloat}(x + 4512) - f === :CurrentDpiScale && return Ptr{Cfloat}(x + 4516) - f === :DrawListSharedData && return Ptr{ImDrawListSharedData}(x + 4520) - f === :Time && return Ptr{Cdouble}(x + 5056) - f === :FrameCount && return Ptr{Cint}(x + 5064) - f === :FrameCountEnded && return Ptr{Cint}(x + 5068) - f === :FrameCountPlatformEnded && return Ptr{Cint}(x + 5072) - f === :FrameCountRendered && return Ptr{Cint}(x + 5076) - f === :WithinFrameScope && return Ptr{Bool}(x + 5080) - f === :WithinFrameScopeWithImplicitWindow && return Ptr{Bool}(x + 5081) - f === :WithinEndChild && return Ptr{Bool}(x + 5082) - f === :GcCompactAll && return Ptr{Bool}(x + 5083) - f === :TestEngineHookItems && return Ptr{Bool}(x + 5084) - f === :TestEngine && return Ptr{Ptr{Cvoid}}(x + 5088) - f === :ContextName && return Ptr{NTuple{16, Cchar}}(x + 5096) - f === :InputEventsQueue && return Ptr{ImVector_ImGuiInputEvent}(x + 5112) - f === :InputEventsTrail && return Ptr{ImVector_ImGuiInputEvent}(x + 5128) - f === :InputEventsNextMouseSource && return Ptr{ImGuiMouseSource}(x + 5144) - f === :InputEventsNextEventId && return Ptr{ImU32}(x + 5148) - f === :Windows && return Ptr{ImVector_ImGuiWindowPtr}(x + 5152) - f === :WindowsFocusOrder && return Ptr{ImVector_ImGuiWindowPtr}(x + 5168) - f === :WindowsTempSortBuffer && return Ptr{ImVector_ImGuiWindowPtr}(x + 5184) - f === :CurrentWindowStack && return Ptr{ImVector_ImGuiWindowStackData}(x + 5200) - f === :WindowsById && return Ptr{ImGuiStorage}(x + 5216) - f === :WindowsActiveCount && return Ptr{Cint}(x + 5232) - f === :WindowsHoverPadding && return Ptr{ImVec2}(x + 5236) - f === :DebugBreakInWindow && return Ptr{ImGuiID}(x + 5244) - f === :CurrentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5248) - f === :HoveredWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5256) - f === :HoveredWindowUnderMovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5264) - f === :HoveredWindowBeforeClear && return Ptr{Ptr{ImGuiWindow}}(x + 5272) - f === :MovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5280) - f === :WheelingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5288) - f === :WheelingWindowRefMousePos && return Ptr{ImVec2}(x + 5296) - f === :WheelingWindowStartFrame && return Ptr{Cint}(x + 5304) - f === :WheelingWindowScrolledFrame && return Ptr{Cint}(x + 5308) - f === :WheelingWindowReleaseTimer && return Ptr{Cfloat}(x + 5312) - f === :WheelingWindowWheelRemainder && return Ptr{ImVec2}(x + 5316) - f === :WheelingAxisAvg && return Ptr{ImVec2}(x + 5324) - f === :DebugDrawIdConflicts && return Ptr{ImGuiID}(x + 5332) - f === :DebugHookIdInfo && return Ptr{ImGuiID}(x + 5336) - f === :HoveredId && return Ptr{ImGuiID}(x + 5340) - f === :HoveredIdPreviousFrame && return Ptr{ImGuiID}(x + 5344) - f === :HoveredIdPreviousFrameItemCount && return Ptr{Cint}(x + 5348) - f === :HoveredIdTimer && return Ptr{Cfloat}(x + 5352) - f === :HoveredIdNotActiveTimer && return Ptr{Cfloat}(x + 5356) - f === :HoveredIdAllowOverlap && return Ptr{Bool}(x + 5360) - f === :HoveredIdIsDisabled && return Ptr{Bool}(x + 5361) - f === :ItemUnclipByLog && return Ptr{Bool}(x + 5362) - f === :ActiveId && return Ptr{ImGuiID}(x + 5364) - f === :ActiveIdIsAlive && return Ptr{ImGuiID}(x + 5368) - f === :ActiveIdTimer && return Ptr{Cfloat}(x + 5372) - f === :ActiveIdIsJustActivated && return Ptr{Bool}(x + 5376) - f === :ActiveIdAllowOverlap && return Ptr{Bool}(x + 5377) - f === :ActiveIdNoClearOnFocusLoss && return Ptr{Bool}(x + 5378) - f === :ActiveIdHasBeenPressedBefore && return Ptr{Bool}(x + 5379) - f === :ActiveIdHasBeenEditedBefore && return Ptr{Bool}(x + 5380) - f === :ActiveIdHasBeenEditedThisFrame && return Ptr{Bool}(x + 5381) - f === :ActiveIdFromShortcut && return Ptr{Bool}(x + 5382) - f === :ActiveIdMouseButton && return (Ptr{Cint}(x + 5380), 24, 8) - f === :ActiveIdClickOffset && return Ptr{ImVec2}(x + 5384) - f === :ActiveIdWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5392) - f === :ActiveIdSource && return Ptr{ImGuiInputSource}(x + 5400) - f === :ActiveIdPreviousFrame && return Ptr{ImGuiID}(x + 5404) - f === :ActiveIdPreviousFrameIsAlive && return Ptr{Bool}(x + 5408) - f === :ActiveIdPreviousFrameHasBeenEditedBefore && return Ptr{Bool}(x + 5409) - f === :ActiveIdPreviousFrameWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5416) - f === :LastActiveId && return Ptr{ImGuiID}(x + 5424) - f === :LastActiveIdTimer && return Ptr{Cfloat}(x + 5428) - f === :LastKeyModsChangeTime && return Ptr{Cdouble}(x + 5432) - f === :LastKeyModsChangeFromNoneTime && return Ptr{Cdouble}(x + 5440) - f === :LastKeyboardKeyPressTime && return Ptr{Cdouble}(x + 5448) - f === :KeysMayBeCharInput && return Ptr{ImBitArrayForNamedKeys}(x + 5456) - f === :KeysOwnerData && return Ptr{NTuple{154, ImGuiKeyOwnerData}}(x + 5476) - f === :KeysRoutingTable && return Ptr{ImGuiKeyRoutingTable}(x + 7328) - f === :ActiveIdUsingNavDirMask && return Ptr{ImU32}(x + 7672) - f === :ActiveIdUsingAllKeyboardKeys && return Ptr{Bool}(x + 7676) - f === :DebugBreakInShortcutRouting && return Ptr{ImGuiKeyChord}(x + 7680) - f === :CurrentFocusScopeId && return Ptr{ImGuiID}(x + 7684) - f === :CurrentItemFlags && return Ptr{ImGuiItemFlags}(x + 7688) - f === :DebugLocateId && return Ptr{ImGuiID}(x + 7692) - f === :NextItemData && return Ptr{ImGuiNextItemData}(x + 7696) - f === :LastItemData && return Ptr{ImGuiLastItemData}(x + 7752) - f === :NextWindowData && return Ptr{ImGuiNextWindowData}(x + 7832) - f === :DebugShowGroupRects && return Ptr{Bool}(x + 7992) - f === :DebugFlashStyleColorIdx && return Ptr{ImGuiCol}(x + 7996) - f === :ColorStack && return Ptr{ImVector_ImGuiColorMod}(x + 8000) - f === :StyleVarStack && return Ptr{ImVector_ImGuiStyleMod}(x + 8016) - f === :FontStack && return Ptr{ImVector_ImFontPtr}(x + 8032) - f === :FocusScopeStack && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8048) - f === :ItemFlagsStack && return Ptr{ImVector_ImGuiItemFlags}(x + 8064) - f === :GroupStack && return Ptr{ImVector_ImGuiGroupData}(x + 8080) - f === :OpenPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8096) - f === :BeginPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8112) - f === :TreeNodeStack && return Ptr{ImVector_ImGuiTreeNodeStackData}(x + 8128) - f === :Viewports && return Ptr{ImVector_ImGuiViewportPPtr}(x + 8144) - f === :CurrentViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8160) - f === :MouseViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8168) - f === :MouseLastHoveredViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8176) - f === :PlatformLastFocusedViewportId && return Ptr{ImGuiID}(x + 8184) - f === :FallbackMonitor && return Ptr{ImGuiPlatformMonitor}(x + 8192) - f === :PlatformMonitorsFullWorkRect && return Ptr{ImRect}(x + 8240) - f === :ViewportCreatedCount && return Ptr{Cint}(x + 8256) - f === :PlatformWindowsCreatedCount && return Ptr{Cint}(x + 8260) - f === :ViewportFocusedStampCount && return Ptr{Cint}(x + 8264) - f === :NavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8272) - f === :NavId && return Ptr{ImGuiID}(x + 8280) - f === :NavFocusScopeId && return Ptr{ImGuiID}(x + 8284) - f === :NavLayer && return Ptr{ImGuiNavLayer}(x + 8288) - f === :NavActivateId && return Ptr{ImGuiID}(x + 8292) - f === :NavActivateDownId && return Ptr{ImGuiID}(x + 8296) - f === :NavActivatePressedId && return Ptr{ImGuiID}(x + 8300) - f === :NavActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8304) - f === :NavFocusRoute && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8312) - f === :NavHighlightActivatedId && return Ptr{ImGuiID}(x + 8328) - f === :NavHighlightActivatedTimer && return Ptr{Cfloat}(x + 8332) - f === :NavNextActivateId && return Ptr{ImGuiID}(x + 8336) - f === :NavNextActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8340) - f === :NavInputSource && return Ptr{ImGuiInputSource}(x + 8344) - f === :NavLastValidSelectionUserData && return Ptr{ImGuiSelectionUserData}(x + 8352) - f === :NavIdIsAlive && return Ptr{Bool}(x + 8360) - f === :NavMousePosDirty && return Ptr{Bool}(x + 8361) - f === :NavDisableHighlight && return Ptr{Bool}(x + 8362) - f === :NavDisableMouseHover && return Ptr{Bool}(x + 8363) - f === :NavAnyRequest && return Ptr{Bool}(x + 8364) - f === :NavInitRequest && return Ptr{Bool}(x + 8365) - f === :NavInitRequestFromMove && return Ptr{Bool}(x + 8366) - f === :NavInitResult && return Ptr{ImGuiNavItemData}(x + 8368) - f === :NavMoveSubmitted && return Ptr{Bool}(x + 8424) - f === :NavMoveScoringItems && return Ptr{Bool}(x + 8425) - f === :NavMoveForwardToNextFrame && return Ptr{Bool}(x + 8426) - f === :NavMoveFlags && return Ptr{ImGuiNavMoveFlags}(x + 8428) - f === :NavMoveScrollFlags && return Ptr{ImGuiScrollFlags}(x + 8432) - f === :NavMoveKeyMods && return Ptr{ImGuiKeyChord}(x + 8436) - f === :NavMoveDir && return Ptr{ImGuiDir}(x + 8440) - f === :NavMoveDirForDebug && return Ptr{ImGuiDir}(x + 8444) - f === :NavMoveClipDir && return Ptr{ImGuiDir}(x + 8448) - f === :NavScoringRect && return Ptr{ImRect}(x + 8452) - f === :NavScoringNoClipRect && return Ptr{ImRect}(x + 8468) - f === :NavScoringDebugCount && return Ptr{Cint}(x + 8484) - f === :NavTabbingDir && return Ptr{Cint}(x + 8488) - f === :NavTabbingCounter && return Ptr{Cint}(x + 8492) - f === :NavMoveResultLocal && return Ptr{ImGuiNavItemData}(x + 8496) - f === :NavMoveResultLocalVisible && return Ptr{ImGuiNavItemData}(x + 8552) - f === :NavMoveResultOther && return Ptr{ImGuiNavItemData}(x + 8608) - f === :NavTabbingResultFirst && return Ptr{ImGuiNavItemData}(x + 8664) - f === :NavJustMovedFromFocusScopeId && return Ptr{ImGuiID}(x + 8720) - f === :NavJustMovedToId && return Ptr{ImGuiID}(x + 8724) - f === :NavJustMovedToFocusScopeId && return Ptr{ImGuiID}(x + 8728) - f === :NavJustMovedToKeyMods && return Ptr{ImGuiKeyChord}(x + 8732) - f === :NavJustMovedToIsTabbing && return Ptr{Bool}(x + 8736) - f === :NavJustMovedToHasSelectionData && return Ptr{Bool}(x + 8737) - f === :ConfigNavWindowingKeyNext && return Ptr{ImGuiKeyChord}(x + 8740) - f === :ConfigNavWindowingKeyPrev && return Ptr{ImGuiKeyChord}(x + 8744) - f === :NavWindowingTarget && return Ptr{Ptr{ImGuiWindow}}(x + 8752) - f === :NavWindowingTargetAnim && return Ptr{Ptr{ImGuiWindow}}(x + 8760) - f === :NavWindowingListWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8768) - f === :NavWindowingTimer && return Ptr{Cfloat}(x + 8776) - f === :NavWindowingHighlightAlpha && return Ptr{Cfloat}(x + 8780) - f === :NavWindowingToggleLayer && return Ptr{Bool}(x + 8784) - f === :NavWindowingToggleKey && return Ptr{ImGuiKey}(x + 8788) - f === :NavWindowingAccumDeltaPos && return Ptr{ImVec2}(x + 8792) - f === :NavWindowingAccumDeltaSize && return Ptr{ImVec2}(x + 8800) - f === :DimBgRatio && return Ptr{Cfloat}(x + 8808) - f === :DragDropActive && return Ptr{Bool}(x + 8812) - f === :DragDropWithinSource && return Ptr{Bool}(x + 8813) - f === :DragDropWithinTarget && return Ptr{Bool}(x + 8814) - f === :DragDropSourceFlags && return Ptr{ImGuiDragDropFlags}(x + 8816) - f === :DragDropSourceFrameCount && return Ptr{Cint}(x + 8820) - f === :DragDropMouseButton && return Ptr{Cint}(x + 8824) - f === :DragDropPayload && return Ptr{ImGuiPayload}(x + 8832) - f === :DragDropTargetRect && return Ptr{ImRect}(x + 8896) - f === :DragDropTargetClipRect && return Ptr{ImRect}(x + 8912) - f === :DragDropTargetId && return Ptr{ImGuiID}(x + 8928) - f === :DragDropAcceptFlags && return Ptr{ImGuiDragDropFlags}(x + 8932) - f === :DragDropAcceptIdCurrRectSurface && return Ptr{Cfloat}(x + 8936) - f === :DragDropAcceptIdCurr && return Ptr{ImGuiID}(x + 8940) - f === :DragDropAcceptIdPrev && return Ptr{ImGuiID}(x + 8944) - f === :DragDropAcceptFrameCount && return Ptr{Cint}(x + 8948) - f === :DragDropHoldJustPressedId && return Ptr{ImGuiID}(x + 8952) - f === :DragDropPayloadBufHeap && return Ptr{ImVector_unsigned_char}(x + 8960) - f === :DragDropPayloadBufLocal && return Ptr{NTuple{16, Cuchar}}(x + 8976) - f === :ClipperTempDataStacked && return Ptr{Cint}(x + 8992) - f === :ClipperTempData && return Ptr{ImVector_ImGuiListClipperData}(x + 9000) - f === :CurrentTable && return Ptr{Ptr{ImGuiTable}}(x + 9016) - f === :DebugBreakInTable && return Ptr{ImGuiID}(x + 9024) - f === :TablesTempDataStacked && return Ptr{Cint}(x + 9028) - f === :TablesTempData && return Ptr{ImVector_ImGuiTableTempData}(x + 9032) - f === :Tables && return Ptr{ImPool_ImGuiTable}(x + 9048) - f === :TablesLastTimeActive && return Ptr{ImVector_float}(x + 9088) - f === :DrawChannelsTempMergeBuffer && return Ptr{ImVector_ImDrawChannel}(x + 9104) - f === :CurrentTabBar && return Ptr{Ptr{ImGuiTabBar}}(x + 9120) - f === :TabBars && return Ptr{ImPool_ImGuiTabBar}(x + 9128) - f === :CurrentTabBarStack && return Ptr{ImVector_ImGuiPtrOrIndex}(x + 9168) - f === :ShrinkWidthBuffer && return Ptr{ImVector_ImGuiShrinkWidthItem}(x + 9184) - f === :BoxSelectState && return Ptr{ImGuiBoxSelectState}(x + 9200) - f === :CurrentMultiSelect && return Ptr{Ptr{ImGuiMultiSelectTempData}}(x + 9304) - f === :MultiSelectTempDataStacked && return Ptr{Cint}(x + 9312) - f === :MultiSelectTempData && return Ptr{ImVector_ImGuiMultiSelectTempData}(x + 9320) - f === :MultiSelectStorage && return Ptr{ImPool_ImGuiMultiSelectState}(x + 9336) - f === :HoverItemDelayId && return Ptr{ImGuiID}(x + 9376) - f === :HoverItemDelayIdPreviousFrame && return Ptr{ImGuiID}(x + 9380) - f === :HoverItemDelayTimer && return Ptr{Cfloat}(x + 9384) - f === :HoverItemDelayClearTimer && return Ptr{Cfloat}(x + 9388) - f === :HoverItemUnlockedStationaryId && return Ptr{ImGuiID}(x + 9392) - f === :HoverWindowUnlockedStationaryId && return Ptr{ImGuiID}(x + 9396) - f === :MouseCursor && return Ptr{ImGuiMouseCursor}(x + 9400) - f === :MouseStationaryTimer && return Ptr{Cfloat}(x + 9404) - f === :MouseLastValidPos && return Ptr{ImVec2}(x + 9408) - f === :InputTextState && return Ptr{ImGuiInputTextState}(x + 9416) - f === :InputTextDeactivatedState && return Ptr{ImGuiInputTextDeactivatedState}(x + 9528) - f === :InputTextPasswordFont && return Ptr{ImFont}(x + 9552) - f === :TempInputId && return Ptr{ImGuiID}(x + 9672) - f === :DataTypeZeroValue && return Ptr{ImGuiDataTypeStorage}(x + 9676) - f === :BeginMenuDepth && return Ptr{Cint}(x + 9684) - f === :BeginComboDepth && return Ptr{Cint}(x + 9688) - f === :ColorEditOptions && return Ptr{ImGuiColorEditFlags}(x + 9692) - f === :ColorEditCurrentID && return Ptr{ImGuiID}(x + 9696) - f === :ColorEditSavedID && return Ptr{ImGuiID}(x + 9700) - f === :ColorEditSavedHue && return Ptr{Cfloat}(x + 9704) - f === :ColorEditSavedSat && return Ptr{Cfloat}(x + 9708) - f === :ColorEditSavedColor && return Ptr{ImU32}(x + 9712) - f === :ColorPickerRef && return Ptr{ImVec4}(x + 9716) - f === :ComboPreviewData && return Ptr{ImGuiComboPreviewData}(x + 9732) - f === :WindowResizeBorderExpectedRect && return Ptr{ImRect}(x + 9780) - f === :WindowResizeRelativeMode && return Ptr{Bool}(x + 9796) - f === :ScrollbarSeekMode && return Ptr{Cshort}(x + 9798) - f === :ScrollbarClickDeltaToGrabCenter && return Ptr{Cfloat}(x + 9800) - f === :SliderGrabClickOffset && return Ptr{Cfloat}(x + 9804) - f === :SliderCurrentAccum && return Ptr{Cfloat}(x + 9808) - f === :SliderCurrentAccumDirty && return Ptr{Bool}(x + 9812) - f === :DragCurrentAccumDirty && return Ptr{Bool}(x + 9813) - f === :DragCurrentAccum && return Ptr{Cfloat}(x + 9816) - f === :DragSpeedDefaultRatio && return Ptr{Cfloat}(x + 9820) - f === :DisabledAlphaBackup && return Ptr{Cfloat}(x + 9824) - f === :DisabledStackSize && return Ptr{Cshort}(x + 9828) - f === :LockMarkEdited && return Ptr{Cshort}(x + 9830) - f === :TooltipOverrideCount && return Ptr{Cshort}(x + 9832) - f === :ClipboardHandlerData && return Ptr{ImVector_char}(x + 9840) - f === :MenusIdSubmittedThisFrame && return Ptr{ImVector_ImGuiID}(x + 9856) - f === :TypingSelectState && return Ptr{ImGuiTypingSelectState}(x + 9872) - f === :PlatformImeData && return Ptr{ImGuiPlatformImeData}(x + 9976) - f === :PlatformImeDataPrev && return Ptr{ImGuiPlatformImeData}(x + 9992) - f === :PlatformImeViewport && return Ptr{ImGuiID}(x + 10008) - f === :DockContext && return Ptr{ImGuiDockContext}(x + 10016) - f === :DockNodeWindowMenuHandler && return Ptr{Ptr{Cvoid}}(x + 10072) - f === :SettingsLoaded && return Ptr{Bool}(x + 10080) - f === :SettingsDirtyTimer && return Ptr{Cfloat}(x + 10084) - f === :SettingsIniData && return Ptr{ImGuiTextBuffer}(x + 10088) - f === :SettingsHandlers && return Ptr{ImVector_ImGuiSettingsHandler}(x + 10104) - f === :SettingsWindows && return Ptr{ImChunkStream_ImGuiWindowSettings}(x + 10120) - f === :SettingsTables && return Ptr{ImChunkStream_ImGuiTableSettings}(x + 10136) - f === :Hooks && return Ptr{ImVector_ImGuiContextHook}(x + 10152) - f === :HookIdNext && return Ptr{ImGuiID}(x + 10168) - f === :LocalizationTable && return Ptr{NTuple{13, Ptr{Cchar}}}(x + 10176) - f === :LogEnabled && return Ptr{Bool}(x + 10280) - f === :LogType && return Ptr{ImGuiLogType}(x + 10284) - f === :LogFile && return Ptr{ImFileHandle}(x + 10288) - f === :LogBuffer && return Ptr{ImGuiTextBuffer}(x + 10296) - f === :LogNextPrefix && return Ptr{Ptr{Cchar}}(x + 10312) - f === :LogNextSuffix && return Ptr{Ptr{Cchar}}(x + 10320) - f === :LogLinePosY && return Ptr{Cfloat}(x + 10328) - f === :LogLineFirstItem && return Ptr{Bool}(x + 10332) - f === :LogDepthRef && return Ptr{Cint}(x + 10336) - f === :LogDepthToExpand && return Ptr{Cint}(x + 10340) - f === :LogDepthToExpandDefault && return Ptr{Cint}(x + 10344) - f === :DebugLogFlags && return Ptr{ImGuiDebugLogFlags}(x + 10348) - f === :DebugLogBuf && return Ptr{ImGuiTextBuffer}(x + 10352) - f === :DebugLogIndex && return Ptr{ImGuiTextIndex}(x + 10368) - f === :DebugLogAutoDisableFlags && return Ptr{ImGuiDebugLogFlags}(x + 10392) - f === :DebugLogAutoDisableFrames && return Ptr{ImU8}(x + 10396) - f === :DebugLocateFrames && return Ptr{ImU8}(x + 10397) - f === :DebugBreakInLocateId && return Ptr{Bool}(x + 10398) - f === :DebugBreakKeyChord && return Ptr{ImGuiKeyChord}(x + 10400) - f === :DebugBeginReturnValueCullDepth && return Ptr{ImS8}(x + 10404) - f === :DebugItemPickerActive && return Ptr{Bool}(x + 10405) - f === :DebugItemPickerMouseButton && return Ptr{ImU8}(x + 10406) - f === :DebugItemPickerBreakId && return Ptr{ImGuiID}(x + 10408) - f === :DebugFlashStyleColorTime && return Ptr{Cfloat}(x + 10412) - f === :DebugFlashStyleColorBackup && return Ptr{ImVec4}(x + 10416) - f === :DebugMetricsConfig && return Ptr{ImGuiMetricsConfig}(x + 10432) - f === :DebugIDStackTool && return Ptr{ImGuiIDStackTool}(x + 10464) - f === :DebugAllocInfo && return Ptr{ImGuiDebugAllocInfo}(x + 10504) - f === :DebugHoveredDockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 10568) - f === :FramerateSecPerFrame && return Ptr{NTuple{60, Cfloat}}(x + 10576) - f === :FramerateSecPerFrameIdx && return Ptr{Cint}(x + 10816) - f === :FramerateSecPerFrameCount && return Ptr{Cint}(x + 10820) - f === :FramerateSecPerFrameAccum && return Ptr{Cfloat}(x + 10824) - f === :WantCaptureMouseNextFrame && return Ptr{Cint}(x + 10828) - f === :WantCaptureKeyboardNextFrame && return Ptr{Cint}(x + 10832) - f === :WantTextInputNextFrame && return Ptr{Cint}(x + 10836) - f === :TempBuffer && return Ptr{ImVector_char}(x + 10840) - f === :TempKeychordName && return Ptr{NTuple{64, Cchar}}(x + 10856) + f === :PlatformIO && return Ptr{ImGuiPlatformIO}(x + 3016) + f === :Style && return Ptr{ImGuiStyle}(x + 3312) + f === :ConfigFlagsCurrFrame && return Ptr{ImGuiConfigFlags}(x + 4504) + f === :ConfigFlagsLastFrame && return Ptr{ImGuiConfigFlags}(x + 4508) + f === :Font && return Ptr{Ptr{ImFont}}(x + 4512) + f === :FontSize && return Ptr{Cfloat}(x + 4520) + f === :FontBaseSize && return Ptr{Cfloat}(x + 4524) + f === :FontScale && return Ptr{Cfloat}(x + 4528) + f === :CurrentDpiScale && return Ptr{Cfloat}(x + 4532) + f === :DrawListSharedData && return Ptr{ImDrawListSharedData}(x + 4536) + f === :Time && return Ptr{Cdouble}(x + 5072) + f === :FrameCount && return Ptr{Cint}(x + 5080) + f === :FrameCountEnded && return Ptr{Cint}(x + 5084) + f === :FrameCountPlatformEnded && return Ptr{Cint}(x + 5088) + f === :FrameCountRendered && return Ptr{Cint}(x + 5092) + f === :WithinFrameScope && return Ptr{Bool}(x + 5096) + f === :WithinFrameScopeWithImplicitWindow && return Ptr{Bool}(x + 5097) + f === :WithinEndChild && return Ptr{Bool}(x + 5098) + f === :GcCompactAll && return Ptr{Bool}(x + 5099) + f === :TestEngineHookItems && return Ptr{Bool}(x + 5100) + f === :TestEngine && return Ptr{Ptr{Cvoid}}(x + 5104) + f === :ContextName && return Ptr{NTuple{16, Cchar}}(x + 5112) + f === :InputEventsQueue && return Ptr{ImVector_ImGuiInputEvent}(x + 5128) + f === :InputEventsTrail && return Ptr{ImVector_ImGuiInputEvent}(x + 5144) + f === :InputEventsNextMouseSource && return Ptr{ImGuiMouseSource}(x + 5160) + f === :InputEventsNextEventId && return Ptr{ImU32}(x + 5164) + f === :Windows && return Ptr{ImVector_ImGuiWindowPtr}(x + 5168) + f === :WindowsFocusOrder && return Ptr{ImVector_ImGuiWindowPtr}(x + 5184) + f === :WindowsTempSortBuffer && return Ptr{ImVector_ImGuiWindowPtr}(x + 5200) + f === :CurrentWindowStack && return Ptr{ImVector_ImGuiWindowStackData}(x + 5216) + f === :WindowsById && return Ptr{ImGuiStorage}(x + 5232) + f === :WindowsActiveCount && return Ptr{Cint}(x + 5248) + f === :WindowsHoverPadding && return Ptr{ImVec2}(x + 5252) + f === :DebugBreakInWindow && return Ptr{ImGuiID}(x + 5260) + f === :CurrentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5264) + f === :HoveredWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5272) + f === :HoveredWindowUnderMovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5280) + f === :HoveredWindowBeforeClear && return Ptr{Ptr{ImGuiWindow}}(x + 5288) + f === :MovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5296) + f === :WheelingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5304) + f === :WheelingWindowRefMousePos && return Ptr{ImVec2}(x + 5312) + f === :WheelingWindowStartFrame && return Ptr{Cint}(x + 5320) + f === :WheelingWindowScrolledFrame && return Ptr{Cint}(x + 5324) + f === :WheelingWindowReleaseTimer && return Ptr{Cfloat}(x + 5328) + f === :WheelingWindowWheelRemainder && return Ptr{ImVec2}(x + 5332) + f === :WheelingAxisAvg && return Ptr{ImVec2}(x + 5340) + f === :DebugDrawIdConflicts && return Ptr{ImGuiID}(x + 5348) + f === :DebugHookIdInfo && return Ptr{ImGuiID}(x + 5352) + f === :HoveredId && return Ptr{ImGuiID}(x + 5356) + f === :HoveredIdPreviousFrame && return Ptr{ImGuiID}(x + 5360) + f === :HoveredIdPreviousFrameItemCount && return Ptr{Cint}(x + 5364) + f === :HoveredIdTimer && return Ptr{Cfloat}(x + 5368) + f === :HoveredIdNotActiveTimer && return Ptr{Cfloat}(x + 5372) + f === :HoveredIdAllowOverlap && return Ptr{Bool}(x + 5376) + f === :HoveredIdIsDisabled && return Ptr{Bool}(x + 5377) + f === :ItemUnclipByLog && return Ptr{Bool}(x + 5378) + f === :ActiveId && return Ptr{ImGuiID}(x + 5380) + f === :ActiveIdIsAlive && return Ptr{ImGuiID}(x + 5384) + f === :ActiveIdTimer && return Ptr{Cfloat}(x + 5388) + f === :ActiveIdIsJustActivated && return Ptr{Bool}(x + 5392) + f === :ActiveIdAllowOverlap && return Ptr{Bool}(x + 5393) + f === :ActiveIdNoClearOnFocusLoss && return Ptr{Bool}(x + 5394) + f === :ActiveIdHasBeenPressedBefore && return Ptr{Bool}(x + 5395) + f === :ActiveIdHasBeenEditedBefore && return Ptr{Bool}(x + 5396) + f === :ActiveIdHasBeenEditedThisFrame && return Ptr{Bool}(x + 5397) + f === :ActiveIdFromShortcut && return Ptr{Bool}(x + 5398) + f === :ActiveIdMouseButton && return (Ptr{Cint}(x + 5396), 24, 8) + f === :ActiveIdClickOffset && return Ptr{ImVec2}(x + 5400) + f === :ActiveIdWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5408) + f === :ActiveIdSource && return Ptr{ImGuiInputSource}(x + 5416) + f === :ActiveIdPreviousFrame && return Ptr{ImGuiID}(x + 5420) + f === :ActiveIdPreviousFrameIsAlive && return Ptr{Bool}(x + 5424) + f === :ActiveIdPreviousFrameHasBeenEditedBefore && return Ptr{Bool}(x + 5425) + f === :ActiveIdPreviousFrameWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5432) + f === :LastActiveId && return Ptr{ImGuiID}(x + 5440) + f === :LastActiveIdTimer && return Ptr{Cfloat}(x + 5444) + f === :LastKeyModsChangeTime && return Ptr{Cdouble}(x + 5448) + f === :LastKeyModsChangeFromNoneTime && return Ptr{Cdouble}(x + 5456) + f === :LastKeyboardKeyPressTime && return Ptr{Cdouble}(x + 5464) + f === :KeysMayBeCharInput && return Ptr{ImBitArrayForNamedKeys}(x + 5472) + f === :KeysOwnerData && return Ptr{NTuple{154, ImGuiKeyOwnerData}}(x + 5492) + f === :KeysRoutingTable && return Ptr{ImGuiKeyRoutingTable}(x + 7344) + f === :ActiveIdUsingNavDirMask && return Ptr{ImU32}(x + 7688) + f === :ActiveIdUsingAllKeyboardKeys && return Ptr{Bool}(x + 7692) + f === :DebugBreakInShortcutRouting && return Ptr{ImGuiKeyChord}(x + 7696) + f === :CurrentFocusScopeId && return Ptr{ImGuiID}(x + 7700) + f === :CurrentItemFlags && return Ptr{ImGuiItemFlags}(x + 7704) + f === :DebugLocateId && return Ptr{ImGuiID}(x + 7708) + f === :NextItemData && return Ptr{ImGuiNextItemData}(x + 7712) + f === :LastItemData && return Ptr{ImGuiLastItemData}(x + 7768) + f === :NextWindowData && return Ptr{ImGuiNextWindowData}(x + 7848) + f === :DebugShowGroupRects && return Ptr{Bool}(x + 8008) + f === :DebugFlashStyleColorIdx && return Ptr{ImGuiCol}(x + 8012) + f === :ColorStack && return Ptr{ImVector_ImGuiColorMod}(x + 8016) + f === :StyleVarStack && return Ptr{ImVector_ImGuiStyleMod}(x + 8032) + f === :FontStack && return Ptr{ImVector_ImFontPtr}(x + 8048) + f === :FocusScopeStack && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8064) + f === :ItemFlagsStack && return Ptr{ImVector_ImGuiItemFlags}(x + 8080) + f === :GroupStack && return Ptr{ImVector_ImGuiGroupData}(x + 8096) + f === :OpenPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8112) + f === :BeginPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8128) + f === :TreeNodeStack && return Ptr{ImVector_ImGuiTreeNodeStackData}(x + 8144) + f === :Viewports && return Ptr{ImVector_ImGuiViewportPPtr}(x + 8160) + f === :CurrentViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8176) + f === :MouseViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8184) + f === :MouseLastHoveredViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8192) + f === :PlatformLastFocusedViewportId && return Ptr{ImGuiID}(x + 8200) + f === :FallbackMonitor && return Ptr{ImGuiPlatformMonitor}(x + 8208) + f === :PlatformMonitorsFullWorkRect && return Ptr{ImRect}(x + 8256) + f === :ViewportCreatedCount && return Ptr{Cint}(x + 8272) + f === :PlatformWindowsCreatedCount && return Ptr{Cint}(x + 8276) + f === :ViewportFocusedStampCount && return Ptr{Cint}(x + 8280) + f === :NavCursorVisible && return Ptr{Bool}(x + 8284) + f === :NavHighlightItemUnderNav && return Ptr{Bool}(x + 8285) + f === :NavMousePosDirty && return Ptr{Bool}(x + 8286) + f === :NavIdIsAlive && return Ptr{Bool}(x + 8287) + f === :NavId && return Ptr{ImGuiID}(x + 8288) + f === :NavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8296) + f === :NavFocusScopeId && return Ptr{ImGuiID}(x + 8304) + f === :NavLayer && return Ptr{ImGuiNavLayer}(x + 8308) + f === :NavActivateId && return Ptr{ImGuiID}(x + 8312) + f === :NavActivateDownId && return Ptr{ImGuiID}(x + 8316) + f === :NavActivatePressedId && return Ptr{ImGuiID}(x + 8320) + f === :NavActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8324) + f === :NavFocusRoute && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8328) + f === :NavHighlightActivatedId && return Ptr{ImGuiID}(x + 8344) + f === :NavHighlightActivatedTimer && return Ptr{Cfloat}(x + 8348) + f === :NavNextActivateId && return Ptr{ImGuiID}(x + 8352) + f === :NavNextActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8356) + f === :NavInputSource && return Ptr{ImGuiInputSource}(x + 8360) + f === :NavLastValidSelectionUserData && return Ptr{ImGuiSelectionUserData}(x + 8368) + f === :NavCursorHideFrames && return Ptr{ImS8}(x + 8376) + f === :NavAnyRequest && return Ptr{Bool}(x + 8377) + f === :NavInitRequest && return Ptr{Bool}(x + 8378) + f === :NavInitRequestFromMove && return Ptr{Bool}(x + 8379) + f === :NavInitResult && return Ptr{ImGuiNavItemData}(x + 8384) + f === :NavMoveSubmitted && return Ptr{Bool}(x + 8440) + f === :NavMoveScoringItems && return Ptr{Bool}(x + 8441) + f === :NavMoveForwardToNextFrame && return Ptr{Bool}(x + 8442) + f === :NavMoveFlags && return Ptr{ImGuiNavMoveFlags}(x + 8444) + f === :NavMoveScrollFlags && return Ptr{ImGuiScrollFlags}(x + 8448) + f === :NavMoveKeyMods && return Ptr{ImGuiKeyChord}(x + 8452) + f === :NavMoveDir && return Ptr{ImGuiDir}(x + 8456) + f === :NavMoveDirForDebug && return Ptr{ImGuiDir}(x + 8460) + f === :NavMoveClipDir && return Ptr{ImGuiDir}(x + 8464) + f === :NavScoringRect && return Ptr{ImRect}(x + 8468) + f === :NavScoringNoClipRect && return Ptr{ImRect}(x + 8484) + f === :NavScoringDebugCount && return Ptr{Cint}(x + 8500) + f === :NavTabbingDir && return Ptr{Cint}(x + 8504) + f === :NavTabbingCounter && return Ptr{Cint}(x + 8508) + f === :NavMoveResultLocal && return Ptr{ImGuiNavItemData}(x + 8512) + f === :NavMoveResultLocalVisible && return Ptr{ImGuiNavItemData}(x + 8568) + f === :NavMoveResultOther && return Ptr{ImGuiNavItemData}(x + 8624) + f === :NavTabbingResultFirst && return Ptr{ImGuiNavItemData}(x + 8680) + f === :NavJustMovedFromFocusScopeId && return Ptr{ImGuiID}(x + 8736) + f === :NavJustMovedToId && return Ptr{ImGuiID}(x + 8740) + f === :NavJustMovedToFocusScopeId && return Ptr{ImGuiID}(x + 8744) + f === :NavJustMovedToKeyMods && return Ptr{ImGuiKeyChord}(x + 8748) + f === :NavJustMovedToIsTabbing && return Ptr{Bool}(x + 8752) + f === :NavJustMovedToHasSelectionData && return Ptr{Bool}(x + 8753) + f === :ConfigNavWindowingKeyNext && return Ptr{ImGuiKeyChord}(x + 8756) + f === :ConfigNavWindowingKeyPrev && return Ptr{ImGuiKeyChord}(x + 8760) + f === :NavWindowingTarget && return Ptr{Ptr{ImGuiWindow}}(x + 8768) + f === :NavWindowingTargetAnim && return Ptr{Ptr{ImGuiWindow}}(x + 8776) + f === :NavWindowingListWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8784) + f === :NavWindowingTimer && return Ptr{Cfloat}(x + 8792) + f === :NavWindowingHighlightAlpha && return Ptr{Cfloat}(x + 8796) + f === :NavWindowingToggleLayer && return Ptr{Bool}(x + 8800) + f === :NavWindowingToggleKey && return Ptr{ImGuiKey}(x + 8804) + f === :NavWindowingAccumDeltaPos && return Ptr{ImVec2}(x + 8808) + f === :NavWindowingAccumDeltaSize && return Ptr{ImVec2}(x + 8816) + f === :DimBgRatio && return Ptr{Cfloat}(x + 8824) + f === :DragDropActive && return Ptr{Bool}(x + 8828) + f === :DragDropWithinSource && return Ptr{Bool}(x + 8829) + f === :DragDropWithinTarget && return Ptr{Bool}(x + 8830) + f === :DragDropSourceFlags && return Ptr{ImGuiDragDropFlags}(x + 8832) + f === :DragDropSourceFrameCount && return Ptr{Cint}(x + 8836) + f === :DragDropMouseButton && return Ptr{Cint}(x + 8840) + f === :DragDropPayload && return Ptr{ImGuiPayload}(x + 8848) + f === :DragDropTargetRect && return Ptr{ImRect}(x + 8912) + f === :DragDropTargetClipRect && return Ptr{ImRect}(x + 8928) + f === :DragDropTargetId && return Ptr{ImGuiID}(x + 8944) + f === :DragDropAcceptFlags && return Ptr{ImGuiDragDropFlags}(x + 8948) + f === :DragDropAcceptIdCurrRectSurface && return Ptr{Cfloat}(x + 8952) + f === :DragDropAcceptIdCurr && return Ptr{ImGuiID}(x + 8956) + f === :DragDropAcceptIdPrev && return Ptr{ImGuiID}(x + 8960) + f === :DragDropAcceptFrameCount && return Ptr{Cint}(x + 8964) + f === :DragDropHoldJustPressedId && return Ptr{ImGuiID}(x + 8968) + f === :DragDropPayloadBufHeap && return Ptr{ImVector_unsigned_char}(x + 8976) + f === :DragDropPayloadBufLocal && return Ptr{NTuple{16, Cuchar}}(x + 8992) + f === :ClipperTempDataStacked && return Ptr{Cint}(x + 9008) + f === :ClipperTempData && return Ptr{ImVector_ImGuiListClipperData}(x + 9016) + f === :CurrentTable && return Ptr{Ptr{ImGuiTable}}(x + 9032) + f === :DebugBreakInTable && return Ptr{ImGuiID}(x + 9040) + f === :TablesTempDataStacked && return Ptr{Cint}(x + 9044) + f === :TablesTempData && return Ptr{ImVector_ImGuiTableTempData}(x + 9048) + f === :Tables && return Ptr{ImPool_ImGuiTable}(x + 9064) + f === :TablesLastTimeActive && return Ptr{ImVector_float}(x + 9104) + f === :DrawChannelsTempMergeBuffer && return Ptr{ImVector_ImDrawChannel}(x + 9120) + f === :CurrentTabBar && return Ptr{Ptr{ImGuiTabBar}}(x + 9136) + f === :TabBars && return Ptr{ImPool_ImGuiTabBar}(x + 9144) + f === :CurrentTabBarStack && return Ptr{ImVector_ImGuiPtrOrIndex}(x + 9184) + f === :ShrinkWidthBuffer && return Ptr{ImVector_ImGuiShrinkWidthItem}(x + 9200) + f === :BoxSelectState && return Ptr{ImGuiBoxSelectState}(x + 9216) + f === :CurrentMultiSelect && return Ptr{Ptr{ImGuiMultiSelectTempData}}(x + 9320) + f === :MultiSelectTempDataStacked && return Ptr{Cint}(x + 9328) + f === :MultiSelectTempData && return Ptr{ImVector_ImGuiMultiSelectTempData}(x + 9336) + f === :MultiSelectStorage && return Ptr{ImPool_ImGuiMultiSelectState}(x + 9352) + f === :HoverItemDelayId && return Ptr{ImGuiID}(x + 9392) + f === :HoverItemDelayIdPreviousFrame && return Ptr{ImGuiID}(x + 9396) + f === :HoverItemDelayTimer && return Ptr{Cfloat}(x + 9400) + f === :HoverItemDelayClearTimer && return Ptr{Cfloat}(x + 9404) + f === :HoverItemUnlockedStationaryId && return Ptr{ImGuiID}(x + 9408) + f === :HoverWindowUnlockedStationaryId && return Ptr{ImGuiID}(x + 9412) + f === :MouseCursor && return Ptr{ImGuiMouseCursor}(x + 9416) + f === :MouseStationaryTimer && return Ptr{Cfloat}(x + 9420) + f === :MouseLastValidPos && return Ptr{ImVec2}(x + 9424) + f === :InputTextState && return Ptr{ImGuiInputTextState}(x + 9432) + f === :InputTextDeactivatedState && return Ptr{ImGuiInputTextDeactivatedState}(x + 9544) + f === :InputTextPasswordFont && return Ptr{ImFont}(x + 9568) + f === :TempInputId && return Ptr{ImGuiID}(x + 9688) + f === :DataTypeZeroValue && return Ptr{ImGuiDataTypeStorage}(x + 9692) + f === :BeginMenuDepth && return Ptr{Cint}(x + 9700) + f === :BeginComboDepth && return Ptr{Cint}(x + 9704) + f === :ColorEditOptions && return Ptr{ImGuiColorEditFlags}(x + 9708) + f === :ColorEditCurrentID && return Ptr{ImGuiID}(x + 9712) + f === :ColorEditSavedID && return Ptr{ImGuiID}(x + 9716) + f === :ColorEditSavedHue && return Ptr{Cfloat}(x + 9720) + f === :ColorEditSavedSat && return Ptr{Cfloat}(x + 9724) + f === :ColorEditSavedColor && return Ptr{ImU32}(x + 9728) + f === :ColorPickerRef && return Ptr{ImVec4}(x + 9732) + f === :ComboPreviewData && return Ptr{ImGuiComboPreviewData}(x + 9748) + f === :WindowResizeBorderExpectedRect && return Ptr{ImRect}(x + 9796) + f === :WindowResizeRelativeMode && return Ptr{Bool}(x + 9812) + f === :ScrollbarSeekMode && return Ptr{Cshort}(x + 9814) + f === :ScrollbarClickDeltaToGrabCenter && return Ptr{Cfloat}(x + 9816) + f === :SliderGrabClickOffset && return Ptr{Cfloat}(x + 9820) + f === :SliderCurrentAccum && return Ptr{Cfloat}(x + 9824) + f === :SliderCurrentAccumDirty && return Ptr{Bool}(x + 9828) + f === :DragCurrentAccumDirty && return Ptr{Bool}(x + 9829) + f === :DragCurrentAccum && return Ptr{Cfloat}(x + 9832) + f === :DragSpeedDefaultRatio && return Ptr{Cfloat}(x + 9836) + f === :DisabledAlphaBackup && return Ptr{Cfloat}(x + 9840) + f === :DisabledStackSize && return Ptr{Cshort}(x + 9844) + f === :TooltipOverrideCount && return Ptr{Cshort}(x + 9846) + f === :TooltipPreviousWindow && return Ptr{Ptr{ImGuiWindow}}(x + 9848) + f === :ClipboardHandlerData && return Ptr{ImVector_char}(x + 9856) + f === :MenusIdSubmittedThisFrame && return Ptr{ImVector_ImGuiID}(x + 9872) + f === :TypingSelectState && return Ptr{ImGuiTypingSelectState}(x + 9888) + f === :PlatformImeData && return Ptr{ImGuiPlatformImeData}(x + 9992) + f === :PlatformImeDataPrev && return Ptr{ImGuiPlatformImeData}(x + 10008) + f === :PlatformImeViewport && return Ptr{ImGuiID}(x + 10024) + f === :DockContext && return Ptr{ImGuiDockContext}(x + 10032) + f === :DockNodeWindowMenuHandler && return Ptr{Ptr{Cvoid}}(x + 10088) + f === :SettingsLoaded && return Ptr{Bool}(x + 10096) + f === :SettingsDirtyTimer && return Ptr{Cfloat}(x + 10100) + f === :SettingsIniData && return Ptr{ImGuiTextBuffer}(x + 10104) + f === :SettingsHandlers && return Ptr{ImVector_ImGuiSettingsHandler}(x + 10120) + f === :SettingsWindows && return Ptr{ImChunkStream_ImGuiWindowSettings}(x + 10136) + f === :SettingsTables && return Ptr{ImChunkStream_ImGuiTableSettings}(x + 10152) + f === :Hooks && return Ptr{ImVector_ImGuiContextHook}(x + 10168) + f === :HookIdNext && return Ptr{ImGuiID}(x + 10184) + f === :LocalizationTable && return Ptr{NTuple{13, Ptr{Cchar}}}(x + 10192) + f === :LogEnabled && return Ptr{Bool}(x + 10296) + f === :LogFlags && return Ptr{ImGuiLogFlags}(x + 10300) + f === :LogWindow && return Ptr{Ptr{ImGuiWindow}}(x + 10304) + f === :LogFile && return Ptr{ImFileHandle}(x + 10312) + f === :LogBuffer && return Ptr{ImGuiTextBuffer}(x + 10320) + f === :LogNextPrefix && return Ptr{Ptr{Cchar}}(x + 10336) + f === :LogNextSuffix && return Ptr{Ptr{Cchar}}(x + 10344) + f === :LogLinePosY && return Ptr{Cfloat}(x + 10352) + f === :LogLineFirstItem && return Ptr{Bool}(x + 10356) + f === :LogDepthRef && return Ptr{Cint}(x + 10360) + f === :LogDepthToExpand && return Ptr{Cint}(x + 10364) + f === :LogDepthToExpandDefault && return Ptr{Cint}(x + 10368) + f === :ErrorCallback && return Ptr{ImGuiErrorCallback}(x + 10376) + f === :ErrorCallbackUserData && return Ptr{Ptr{Cvoid}}(x + 10384) + f === :ErrorTooltipLockedPos && return Ptr{ImVec2}(x + 10392) + f === :ErrorFirst && return Ptr{Bool}(x + 10400) + f === :ErrorCountCurrentFrame && return Ptr{Cint}(x + 10404) + f === :StackSizesInNewFrame && return Ptr{ImGuiErrorRecoveryState}(x + 10408) + f === :StackSizesInBeginForCurrentWindow && return Ptr{Ptr{ImGuiErrorRecoveryState}}(x + 10432) + f === :DebugDrawIdConflictsCount && return Ptr{Cint}(x + 10440) + f === :DebugLogFlags && return Ptr{ImGuiDebugLogFlags}(x + 10444) + f === :DebugLogBuf && return Ptr{ImGuiTextBuffer}(x + 10448) + f === :DebugLogIndex && return Ptr{ImGuiTextIndex}(x + 10464) + f === :DebugLogSkippedErrors && return Ptr{Cint}(x + 10488) + f === :DebugLogAutoDisableFlags && return Ptr{ImGuiDebugLogFlags}(x + 10492) + f === :DebugLogAutoDisableFrames && return Ptr{ImU8}(x + 10496) + f === :DebugLocateFrames && return Ptr{ImU8}(x + 10497) + f === :DebugBreakInLocateId && return Ptr{Bool}(x + 10498) + f === :DebugBreakKeyChord && return Ptr{ImGuiKeyChord}(x + 10500) + f === :DebugBeginReturnValueCullDepth && return Ptr{ImS8}(x + 10504) + f === :DebugItemPickerActive && return Ptr{Bool}(x + 10505) + f === :DebugItemPickerMouseButton && return Ptr{ImU8}(x + 10506) + f === :DebugItemPickerBreakId && return Ptr{ImGuiID}(x + 10508) + f === :DebugFlashStyleColorTime && return Ptr{Cfloat}(x + 10512) + f === :DebugFlashStyleColorBackup && return Ptr{ImVec4}(x + 10516) + f === :DebugMetricsConfig && return Ptr{ImGuiMetricsConfig}(x + 10532) + f === :DebugIDStackTool && return Ptr{ImGuiIDStackTool}(x + 10560) + f === :DebugAllocInfo && return Ptr{ImGuiDebugAllocInfo}(x + 10600) + f === :DebugHoveredDockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 10664) + f === :FramerateSecPerFrame && return Ptr{NTuple{60, Cfloat}}(x + 10672) + f === :FramerateSecPerFrameIdx && return Ptr{Cint}(x + 10912) + f === :FramerateSecPerFrameCount && return Ptr{Cint}(x + 10916) + f === :FramerateSecPerFrameAccum && return Ptr{Cfloat}(x + 10920) + f === :WantCaptureMouseNextFrame && return Ptr{Cint}(x + 10924) + f === :WantCaptureKeyboardNextFrame && return Ptr{Cint}(x + 10928) + f === :WantTextInputNextFrame && return Ptr{Cint}(x + 10932) + f === :TempBuffer && return Ptr{ImVector_char}(x + 10936) + f === :TempKeychordName && return Ptr{NTuple{64, Cchar}}(x + 10952) return getfield(x, f) end @@ -3563,8 +3656,6 @@ struct ImVector_const_charPtr Data::Ptr{Ptr{Cchar}} end -const ImU64 = Culonglong - const ImGuiMouseButton = Cint const ImGuiTableBgTarget = Cint @@ -3669,12 +3760,13 @@ end ImGuiInputTextFlags_DisplayEmptyRefVal = 16384 ImGuiInputTextFlags_NoHorizontalScroll = 32768 ImGuiInputTextFlags_NoUndoRedo = 65536 - ImGuiInputTextFlags_CallbackCompletion = 131072 - ImGuiInputTextFlags_CallbackHistory = 262144 - ImGuiInputTextFlags_CallbackAlways = 524288 - ImGuiInputTextFlags_CallbackCharFilter = 1048576 - ImGuiInputTextFlags_CallbackResize = 2097152 - ImGuiInputTextFlags_CallbackEdit = 4194304 + ImGuiInputTextFlags_ElideLeft = 131072 + ImGuiInputTextFlags_CallbackCompletion = 262144 + ImGuiInputTextFlags_CallbackHistory = 524288 + ImGuiInputTextFlags_CallbackAlways = 1048576 + ImGuiInputTextFlags_CallbackCharFilter = 2097152 + ImGuiInputTextFlags_CallbackResize = 4194304 + ImGuiInputTextFlags_CallbackEdit = 8388608 end @cenum ImGuiTreeNodeFlags_::UInt32 begin @@ -3858,8 +3950,6 @@ end ImGuiConfigFlags_None = 0 ImGuiConfigFlags_NavEnableKeyboard = 1 ImGuiConfigFlags_NavEnableGamepad = 2 - ImGuiConfigFlags_NavEnableSetMousePos = 4 - ImGuiConfigFlags_NavNoCaptureKeyboard = 8 ImGuiConfigFlags_NoMouse = 16 ImGuiConfigFlags_NoMouseCursorChange = 32 ImGuiConfigFlags_NoKeyboard = 64 @@ -3937,7 +4027,7 @@ end ImGuiCol_TextLink = 51 ImGuiCol_TextSelectedBg = 52 ImGuiCol_DragDropTarget = 53 - ImGuiCol_NavHighlight = 54 + ImGuiCol_NavCursor = 54 ImGuiCol_NavWindowingHighlight = 55 ImGuiCol_NavWindowingDimBg = 56 ImGuiCol_ModalWindowDimBg = 57 @@ -3988,6 +4078,7 @@ end ImGuiButtonFlags_MouseButtonRight = 2 ImGuiButtonFlags_MouseButtonMiddle = 4 ImGuiButtonFlags_MouseButtonMask_ = 7 + ImGuiButtonFlags_EnableNav = 8 end @cenum ImGuiColorEditFlags_::UInt32 begin @@ -4024,11 +4115,13 @@ end @cenum ImGuiSliderFlags_::UInt32 begin ImGuiSliderFlags_None = 0 - ImGuiSliderFlags_AlwaysClamp = 16 ImGuiSliderFlags_Logarithmic = 32 ImGuiSliderFlags_NoRoundToFormat = 64 ImGuiSliderFlags_NoInput = 128 ImGuiSliderFlags_WrapAround = 256 + ImGuiSliderFlags_ClampOnInput = 512 + ImGuiSliderFlags_ClampZeroRange = 1024 + ImGuiSliderFlags_AlwaysClamp = 1536 ImGuiSliderFlags_InvalidMask_ = 1879048207 end @@ -4216,7 +4309,7 @@ end const ImGuiFocusRequestFlags = Cint -const ImGuiNavHighlightFlags = Cint +const ImGuiNavRenderCursorFlags = Cint const ImGuiSeparatorFlags = Cint @@ -4224,9 +4317,6 @@ const ImGuiTextFlags = Cint const ImGuiTooltipFlags = Cint -# typedef void ( * ImGuiErrorLogCallback ) ( void * user_data , const char * fmt , ... ) -const ImGuiErrorLogCallback = Ptr{Cvoid} - @cenum ImGuiDataTypePrivate_::UInt32 begin ImGuiDataType_String = 12 ImGuiDataType_Pointer = 13 @@ -4239,6 +4329,8 @@ end ImGuiItemFlags_MixedValue = 4096 ImGuiItemFlags_NoWindowHoverableCheck = 8192 ImGuiItemFlags_AllowOverlap = 16384 + ImGuiItemFlags_NoNavDisableMouseHover = 32768 + ImGuiItemFlags_NoMarkEdited = 65536 ImGuiItemFlags_Inputable = 1048576 ImGuiItemFlags_HasSelectionUserData = 2097152 ImGuiItemFlags_IsMultiSelect = 4194304 @@ -4268,9 +4360,8 @@ end @cenum ImGuiInputTextFlagsPrivate_::UInt32 begin ImGuiInputTextFlags_Multiline = 67108864 - ImGuiInputTextFlags_NoMarkEdited = 134217728 - ImGuiInputTextFlags_MergedItem = 268435456 - ImGuiInputTextFlags_LocalizeDecimalPoint = 536870912 + ImGuiInputTextFlags_MergedItem = 134217728 + ImGuiInputTextFlags_LocalizeDecimalPoint = 268435456 end @cenum ImGuiButtonFlagsPrivate_::UInt32 begin @@ -4280,12 +4371,10 @@ end ImGuiButtonFlags_PressedOnRelease = 128 ImGuiButtonFlags_PressedOnDoubleClick = 256 ImGuiButtonFlags_PressedOnDragDropHold = 512 - ImGuiButtonFlags_Repeat = 1024 ImGuiButtonFlags_FlattenChildren = 2048 ImGuiButtonFlags_AllowOverlap = 4096 - ImGuiButtonFlags_DontClosePopups = 8192 ImGuiButtonFlags_AlignTextBaseLine = 32768 - ImGuiButtonFlags_NoKeyModifiers = 65536 + ImGuiButtonFlags_NoKeyModsAllowed = 65536 ImGuiButtonFlags_NoHoldingActiveId = 131072 ImGuiButtonFlags_NoNavFocus = 262144 ImGuiButtonFlags_NoHoveredOnFocus = 524288 @@ -4349,6 +4438,15 @@ end ImGuiLayoutType_Vertical = 1 end +@cenum ImGuiLogFlags_::UInt32 begin + ImGuiLogFlags_None = 0 + ImGuiLogFlags_OutputTTY = 1 + ImGuiLogFlags_OutputFile = 2 + ImGuiLogFlags_OutputBuffer = 4 + ImGuiLogFlags_OutputClipboard = 8 + ImGuiLogFlags_OutputMask_ = 15 +end + @cenum ImGuiPlotType::UInt32 begin ImGuiPlotType_Lines = 0 ImGuiPlotType_Histogram = 1 @@ -4478,11 +4576,11 @@ end ImGuiScrollFlags_MaskY_ = 42 end -@cenum ImGuiNavHighlightFlags_::UInt32 begin - ImGuiNavHighlightFlags_None = 0 - ImGuiNavHighlightFlags_Compact = 2 - ImGuiNavHighlightFlags_AlwaysDraw = 4 - ImGuiNavHighlightFlags_NoRounding = 8 +@cenum ImGuiNavRenderCursorFlags_::UInt32 begin + ImGuiNavRenderCursorFlags_None = 0 + ImGuiNavRenderCursorFlags_Compact = 2 + ImGuiNavRenderCursorFlags_AlwaysDraw = 4 + ImGuiNavRenderCursorFlags_NoRounding = 8 end @cenum ImGuiNavMoveFlags_::UInt32 begin @@ -4502,7 +4600,7 @@ end ImGuiNavMoveFlags_IsPageMove = 2048 ImGuiNavMoveFlags_Activate = 4096 ImGuiNavMoveFlags_NoSelect = 8192 - ImGuiNavMoveFlags_NoSetNavHighlight = 16384 + ImGuiNavMoveFlags_NoSetNavCursorVisible = 16384 ImGuiNavMoveFlags_NoClearActiveId = 32768 end @@ -4562,17 +4660,19 @@ end @cenum ImGuiDebugLogFlags_::UInt32 begin ImGuiDebugLogFlags_None = 0 - ImGuiDebugLogFlags_EventActiveId = 1 - ImGuiDebugLogFlags_EventFocus = 2 - ImGuiDebugLogFlags_EventPopup = 4 - ImGuiDebugLogFlags_EventNav = 8 - ImGuiDebugLogFlags_EventClipper = 16 - ImGuiDebugLogFlags_EventSelection = 32 - ImGuiDebugLogFlags_EventIO = 64 - ImGuiDebugLogFlags_EventInputRouting = 128 - ImGuiDebugLogFlags_EventDocking = 256 - ImGuiDebugLogFlags_EventViewport = 512 - ImGuiDebugLogFlags_EventMask_ = 1023 + ImGuiDebugLogFlags_EventError = 1 + ImGuiDebugLogFlags_EventActiveId = 2 + ImGuiDebugLogFlags_EventFocus = 4 + ImGuiDebugLogFlags_EventPopup = 8 + ImGuiDebugLogFlags_EventNav = 16 + ImGuiDebugLogFlags_EventClipper = 32 + ImGuiDebugLogFlags_EventSelection = 64 + ImGuiDebugLogFlags_EventIO = 128 + ImGuiDebugLogFlags_EventFont = 256 + ImGuiDebugLogFlags_EventInputRouting = 512 + ImGuiDebugLogFlags_EventDocking = 1024 + ImGuiDebugLogFlags_EventViewport = 2048 + ImGuiDebugLogFlags_EventMask_ = 4095 ImGuiDebugLogFlags_OutputToTTY = 1048576 ImGuiDebugLogFlags_OutputToTestEngine = 2097152 end @@ -5937,6 +6037,10 @@ function igSetKeyboardFocusHere(offset) ccall((:igSetKeyboardFocusHere, libcimgui), Cvoid, (Cint,), offset) end +function igSetNavCursorVisible(visible) + ccall((:igSetNavCursorVisible, libcimgui), Cvoid, (Bool,), visible) +end + function igSetNextItemAllowOverlap() ccall((:igSetNextItemAllowOverlap, libcimgui), Cvoid, ()) end @@ -6922,8 +7026,8 @@ function ImDrawList_PathRect(self, rect_min, rect_max, rounding, flags) ccall((:ImDrawList_PathRect, libcimgui), Cvoid, (Ptr{ImDrawList}, ImVec2, ImVec2, Cfloat, ImDrawFlags), self, rect_min, rect_max, rounding, flags) end -function ImDrawList_AddCallback(self, callback, callback_data) - ccall((:ImDrawList_AddCallback, libcimgui), Cvoid, (Ptr{ImDrawList}, ImDrawCallback, Ptr{Cvoid}), self, callback, callback_data) +function ImDrawList_AddCallback(self, callback, userdata, userdata_size) + ccall((:ImDrawList_AddCallback, libcimgui), Cvoid, (Ptr{ImDrawList}, ImDrawCallback, Ptr{Cvoid}, Csize_t), self, callback, userdata, userdata_size) end function ImDrawList_AddDrawCmd(self) @@ -8092,20 +8196,12 @@ function ImGuiLastItemData_destroy(self) ccall((:ImGuiLastItemData_destroy, libcimgui), Cvoid, (Ptr{ImGuiLastItemData},), self) end -function ImGuiStackSizes_ImGuiStackSizes() - ccall((:ImGuiStackSizes_ImGuiStackSizes, libcimgui), Ptr{ImGuiStackSizes}, ()) -end - -function ImGuiStackSizes_destroy(self) - ccall((:ImGuiStackSizes_destroy, libcimgui), Cvoid, (Ptr{ImGuiStackSizes},), self) +function ImGuiErrorRecoveryState_ImGuiErrorRecoveryState() + ccall((:ImGuiErrorRecoveryState_ImGuiErrorRecoveryState, libcimgui), Ptr{ImGuiErrorRecoveryState}, ()) end -function ImGuiStackSizes_SetToContextState(self, ctx) - ccall((:ImGuiStackSizes_SetToContextState, libcimgui), Cvoid, (Ptr{ImGuiStackSizes}, Ptr{ImGuiContext}), self, ctx) -end - -function ImGuiStackSizes_CompareWithContextState(self, ctx) - ccall((:ImGuiStackSizes_CompareWithContextState, libcimgui), Cvoid, (Ptr{ImGuiStackSizes}, Ptr{ImGuiContext}), self, ctx) +function ImGuiErrorRecoveryState_destroy(self) + ccall((:ImGuiErrorRecoveryState_destroy, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), self) end function ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr(ptr) @@ -8528,6 +8624,14 @@ function ImGuiTableSettings_GetColumnSettings(self) ccall((:ImGuiTableSettings_GetColumnSettings, libcimgui), Ptr{ImGuiTableColumnSettings}, (Ptr{ImGuiTableSettings},), self) end +function igGetIOEx(ctx) + ccall((:igGetIOEx, libcimgui), Ptr{ImGuiIO}, (Ptr{ImGuiContext},), ctx) +end + +function igGetPlatformIOEx(ctx) + ccall((:igGetPlatformIOEx, libcimgui), Ptr{ImGuiPlatformIO}, (Ptr{ImGuiContext},), ctx) +end + function igGetCurrentWindowRead() ccall((:igGetCurrentWindowRead, libcimgui), Ptr{ImGuiWindow}, ()) end @@ -8932,8 +9036,8 @@ function igEndDisabledOverrideReenable() ccall((:igEndDisabledOverrideReenable, libcimgui), Cvoid, ()) end -function igLogBegin(type, auto_open_depth) - ccall((:igLogBegin, libcimgui), Cvoid, (ImGuiLogType, Cint), type, auto_open_depth) +function igLogBegin(flags, auto_open_depth) + ccall((:igLogBegin, libcimgui), Cvoid, (ImGuiLogFlags, Cint), flags, auto_open_depth) end function igLogToBuffer(auto_open_depth) @@ -9080,8 +9184,8 @@ function igNavClearPreferredPosForAxis(axis) ccall((:igNavClearPreferredPosForAxis, libcimgui), Cvoid, (ImGuiAxis,), axis) end -function igNavRestoreHighlightAfterMove() - ccall((:igNavRestoreHighlightAfterMove, libcimgui), Cvoid, ()) +function igSetNavCursorVisibleAfterMove() + ccall((:igSetNavCursorVisibleAfterMove, libcimgui), Cvoid, ()) end function igNavUpdateCurrentWindowIsScrollPushableX() @@ -9800,8 +9904,12 @@ function igTabBarCloseTab(tab_bar, tab) ccall((:igTabBarCloseTab, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) end -function igTabBarQueueFocus(tab_bar, tab) - ccall((:igTabBarQueueFocus, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) +function igTabBarQueueFocus_TabItemPtr(tab_bar, tab) + ccall((:igTabBarQueueFocus_TabItemPtr, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) +end + +function igTabBarQueueFocus_Str(tab_bar, tab_name) + ccall((:igTabBarQueueFocus_Str, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{Cchar}), tab_bar, tab_name) end function igTabBarQueueReorder(tab_bar, tab, offset) @@ -9868,8 +9976,8 @@ function igRenderColorRectWithAlphaCheckerboard(draw_list, p_min, p_max, fill_co ccall((:igRenderColorRectWithAlphaCheckerboard, libcimgui), Cvoid, (Ptr{ImDrawList}, ImVec2, ImVec2, ImU32, Cfloat, ImVec2, Cfloat, ImDrawFlags), draw_list, p_min, p_max, fill_col, grid_step, grid_off, rounding, flags) end -function igRenderNavHighlight(bb, id, flags) - ccall((:igRenderNavHighlight, libcimgui), Cvoid, (ImRect, ImGuiID, ImGuiNavHighlightFlags), bb, id, flags) +function igRenderNavCursor(bb, id, flags) + ccall((:igRenderNavCursor, libcimgui), Cvoid, (ImRect, ImGuiID, ImGuiNavRenderCursorFlags), bb, id, flags) end function igFindRenderedTextEnd(text, text_end) @@ -9924,8 +10032,8 @@ function igArrowButtonEx(str_id, dir, size_arg, flags) ccall((:igArrowButtonEx, libcimgui), Bool, (Ptr{Cchar}, ImGuiDir, ImVec2, ImGuiButtonFlags), str_id, dir, size_arg, flags) end -function igImageButtonEx(id, texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) - ccall((:igImageButtonEx, libcimgui), Bool, (ImGuiID, ImTextureID, ImVec2, ImVec2, ImVec2, ImVec4, ImVec4, ImGuiButtonFlags), id, texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) +function igImageButtonEx(id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) + ccall((:igImageButtonEx, libcimgui), Bool, (ImGuiID, ImTextureID, ImVec2, ImVec2, ImVec2, ImVec4, ImVec4, ImGuiButtonFlags), id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) end function igSeparatorEx(flags, thickness) @@ -9956,8 +10064,8 @@ function igScrollbar(axis) ccall((:igScrollbar, libcimgui), Cvoid, (ImGuiAxis,), axis) end -function igScrollbarEx(bb, id, axis, p_scroll_v, avail_v, contents_v, flags) - ccall((:igScrollbarEx, libcimgui), Bool, (ImRect, ImGuiID, ImGuiAxis, Ptr{ImS64}, ImS64, ImS64, ImDrawFlags), bb, id, axis, p_scroll_v, avail_v, contents_v, flags) +function igScrollbarEx(bb, id, axis, p_scroll_v, avail_v, contents_v, draw_rounding_flags) + ccall((:igScrollbarEx, libcimgui), Bool, (ImRect, ImGuiID, ImGuiAxis, Ptr{ImS64}, ImS64, ImS64, ImDrawFlags), bb, id, axis, p_scroll_v, avail_v, contents_v, draw_rounding_flags) end function igGetWindowScrollbarRect(pOut, window, axis) @@ -10036,6 +10144,10 @@ function igDataTypeClamp(data_type, p_data, p_min, p_max) ccall((:igDataTypeClamp, libcimgui), Bool, (ImGuiDataType, Ptr{Cvoid}, Ptr{Cvoid}, Ptr{Cvoid}), data_type, p_data, p_min, p_max) end +function igDataTypeIsZero(data_type, p_data) + ccall((:igDataTypeIsZero, libcimgui), Bool, (ImGuiDataType, Ptr{Cvoid}), data_type, p_data) +end + function igInputTextEx(label, hint, buf, buf_size, size_arg, flags, callback, user_data) ccall((:igInputTextEx, libcimgui), Bool, (Ptr{Cchar}, Ptr{Cchar}, Ptr{Cchar}, Cint, ImVec2, ImGuiInputTextFlags, ImGuiInputTextCallback, Ptr{Cvoid}), label, hint, buf, buf_size, size_arg, flags, callback, user_data) end @@ -10104,22 +10216,42 @@ function igGcAwakeTransientWindowBuffers(window) ccall((:igGcAwakeTransientWindowBuffers, libcimgui), Cvoid, (Ptr{ImGuiWindow},), window) end -function igDebugAllocHook(info, frame_count, ptr, size) - ccall((:igDebugAllocHook, libcimgui), Cvoid, (Ptr{ImGuiDebugAllocInfo}, Cint, Ptr{Cvoid}, Csize_t), info, frame_count, ptr, size) +function igErrorLog(msg) + ccall((:igErrorLog, libcimgui), Bool, (Ptr{Cchar},), msg) +end + +function igErrorRecoveryStoreState(state_out) + ccall((:igErrorRecoveryStoreState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_out) end -function igErrorCheckEndFrameRecover(log_callback, user_data) - ccall((:igErrorCheckEndFrameRecover, libcimgui), Cvoid, (ImGuiErrorLogCallback, Ptr{Cvoid}), log_callback, user_data) +function igErrorRecoveryTryToRecoverState(state_in) + ccall((:igErrorRecoveryTryToRecoverState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_in) end -function igErrorCheckEndWindowRecover(log_callback, user_data) - ccall((:igErrorCheckEndWindowRecover, libcimgui), Cvoid, (ImGuiErrorLogCallback, Ptr{Cvoid}), log_callback, user_data) +function igErrorRecoveryTryToRecoverWindowState(state_in) + ccall((:igErrorRecoveryTryToRecoverWindowState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_in) end function igErrorCheckUsingSetCursorPosToExtendParentBoundaries() ccall((:igErrorCheckUsingSetCursorPosToExtendParentBoundaries, libcimgui), Cvoid, ()) end +function igErrorCheckEndFrameFinalizeErrorTooltip() + ccall((:igErrorCheckEndFrameFinalizeErrorTooltip, libcimgui), Cvoid, ()) +end + +function igBeginErrorTooltip() + ccall((:igBeginErrorTooltip, libcimgui), Bool, ()) +end + +function igEndErrorTooltip() + ccall((:igEndErrorTooltip, libcimgui), Cvoid, ()) +end + +function igDebugAllocHook(info, frame_count, ptr, size) + ccall((:igDebugAllocHook, libcimgui), Cvoid, (Ptr{ImGuiDebugAllocInfo}, Cint, Ptr{Cvoid}, Csize_t), info, frame_count, ptr, size) +end + function igDebugDrawCursorPos(col) ccall((:igDebugDrawCursorPos, libcimgui), Cvoid, (ImU32,), col) end @@ -10823,11 +10955,29 @@ struct ImVector_ImU64 Data::Ptr{ImU64} end -struct ImVector_ImU8 +struct var"##Ctag#231" Size::Cint Capacity::Cint Data::Ptr{ImU8} end +function Base.getproperty(x::Ptr{var"##Ctag#231"}, f::Symbol) + f === :Size && return Ptr{Cint}(x + 0) + f === :Capacity && return Ptr{Cint}(x + 0) + f === :Data && return Ptr{Ptr{ImU8}}(x + 0) + return getfield(x, f) +end + +function Base.getproperty(x::var"##Ctag#231", f::Symbol) + r = Ref{var"##Ctag#231"}(x) + ptr = Base.unsafe_convert(Ptr{var"##Ctag#231"}, r) + fptr = getproperty(ptr, f) + GC.@preserve r unsafe_load(fptr) +end + +function Base.setproperty!(x::Ptr{var"##Ctag#231"}, f::Symbol, v) + unsafe_store!(getproperty(x, f), v) +end + const ImPlotDragToolFlags = Cint @@ -14830,6 +14980,8 @@ function ImGui_ImplOpenGL3_DestroyDeviceObjects() ccall((:ImGui_ImplOpenGL3_DestroyDeviceObjects, libcimgui), Cvoid, ()) end +const IM_UNICODE_CODEPOINT_MAX = 65535 + const IMGUI_HAS_DOCK = 1 const ImDrawCallback_ResetRenderState = ImDrawCallback(-8) diff --git a/lib/aarch64-linux-musl.jl b/lib/aarch64-linux-musl.jl index 022dc10..b618038 100644 --- a/lib/aarch64-linux-musl.jl +++ b/lib/aarch64-linux-musl.jl @@ -43,7 +43,9 @@ function Base.setproperty!(x::Ptr{ImVec4}, f::Symbol, v) end -const ImTextureID = Ptr{Cvoid} +const ImU64 = Culonglong + +const ImTextureID = ImU64 struct ImDrawCmd ClipRect::ImVec4 @@ -53,6 +55,8 @@ struct ImDrawCmd ElemCount::Cuint UserCallback::ImDrawCallback UserCallbackData::Ptr{Cvoid} + UserCallbackDataSize::Cint + UserCallbackDataOffset::Cint end function Base.getproperty(x::Ptr{ImDrawCmd}, f::Symbol) f === :ClipRect && return Ptr{ImVec4}(x + 0) @@ -62,6 +66,8 @@ function Base.getproperty(x::Ptr{ImDrawCmd}, f::Symbol) f === :ElemCount && return Ptr{Cuint}(x + 32) f === :UserCallback && return Ptr{ImDrawCallback}(x + 40) f === :UserCallbackData && return Ptr{Ptr{Cvoid}}(x + 48) + f === :UserCallbackDataSize && return Ptr{Cint}(x + 56) + f === :UserCallbackDataOffset && return Ptr{Cint}(x + 60) return getfield(x, f) end @@ -219,19 +225,63 @@ function Base.getproperty(x::ImVector_ImFontPtr, f::Symbol) end struct ImFontAtlasCustomRect - Width::Cushort - Height::Cushort - X::Cushort - Y::Cushort - GlyphID::Cuint - GlyphAdvanceX::Cfloat - GlyphOffset::ImVec2 - Font::Ptr{Cvoid} # Font::Ptr{ImFont} + data::NTuple{32, UInt8} +end + +function Base.getproperty(x::Ptr{ImFontAtlasCustomRect}, f::Symbol) + f === :X && return Ptr{Cushort}(x + 0) + f === :Y && return Ptr{Cushort}(x + 2) + f === :Width && return Ptr{Cushort}(x + 4) + f === :Height && return Ptr{Cushort}(x + 6) + f === :GlyphID && return (Ptr{Cuint}(x + 8), 0, 31) + f === :GlyphColored && return (Ptr{Cuint}(x + 8), 31, 1) + f === :GlyphAdvanceX && return Ptr{Cfloat}(x + 12) + f === :GlyphOffset && return Ptr{ImVec2}(x + 16) + f === :Font && return Ptr{Ptr{ImFont}}(x + 24) + return getfield(x, f) end function Base.getproperty(x::ImFontAtlasCustomRect, f::Symbol) - f === :Font && return Ptr{ImFont}(getfield(x, f)) - return getfield(x, f) + r = Ref{ImFontAtlasCustomRect}(x) + ptr = Base.unsafe_convert(Ptr{ImFontAtlasCustomRect}, r) + fptr = getproperty(ptr, f) + begin + if fptr isa Ptr + return GC.@preserve(r, unsafe_load(fptr)) + else + (baseptr, offset, width) = fptr + ty = eltype(baseptr) + baseptr32 = convert(Ptr{UInt32}, baseptr) + u64 = GC.@preserve(r, unsafe_load(baseptr32)) + if offset + width > 32 + u64 |= GC.@preserve(r, unsafe_load(baseptr32 + 4)) << 32 + end + u64 = u64 >> offset & (1 << width - 1) + return u64 % ty + end + end +end + +function Base.setproperty!(x::Ptr{ImFontAtlasCustomRect}, f::Symbol, v) + fptr = getproperty(x, f) + if fptr isa Ptr + unsafe_store!(getproperty(x, f), v) + else + (baseptr, offset, width) = fptr + baseptr32 = convert(Ptr{UInt32}, baseptr) + u64 = unsafe_load(baseptr32) + straddle = offset + width > 32 + if straddle + u64 |= unsafe_load(baseptr32 + 4) << 32 + end + mask = 1 << width - 1 + u64 &= ~(mask << offset) + u64 |= (unsigned(v) & mask) << offset + unsafe_store!(baseptr32, u64 & typemax(UInt32)) + if straddle + unsafe_store!(baseptr32 + 4, u64 >> 32) + end + end end struct ImVector_ImFontAtlasCustomRect @@ -373,9 +423,9 @@ struct ImFont ContainerAtlas::Ptr{ImFontAtlas} ConfigData::Ptr{ImFontConfig} ConfigDataCount::Cshort - FallbackChar::ImWchar - EllipsisChar::ImWchar EllipsisCharCount::Cshort + EllipsisChar::ImWchar + FallbackChar::ImWchar EllipsisWidth::Cfloat EllipsisCharStep::Cfloat DirtyLookupTables::Bool @@ -394,6 +444,7 @@ end struct ImDrawListSharedData TexUvWhitePixel::ImVec2 + TexUvLines::Ptr{ImVec4} Font::Ptr{ImFont} FontSize::Cfloat FontScale::Cfloat @@ -405,7 +456,6 @@ struct ImDrawListSharedData ArcFastVtx::NTuple{48, ImVec2} ArcFastRadiusCutoff::Cfloat CircleSegmentCounts::NTuple{64, ImU8} - TexUvLines::Ptr{ImVec4} end struct ImDrawCmdHeader @@ -438,6 +488,12 @@ struct ImVector_ImTextureID Data::Ptr{ImTextureID} end +struct ImVector_ImU8 + Size::Cint + Capacity::Cint + Data::Ptr{ImU8} +end + struct ImDrawList CmdBuffer::ImVector_ImDrawCmd IdxBuffer::ImVector_ImDrawIdx @@ -452,6 +508,7 @@ struct ImDrawList _Splitter::ImDrawListSplitter _ClipRectStack::ImVector_ImVec4 _TextureIdStack::ImVector_ImTextureID + _CallbacksDataBuf::ImVector_ImU8 _FringeScale::Cfloat _OwnerName::Ptr{Cchar} end @@ -469,8 +526,9 @@ function Base.getproperty(x::Ptr{ImDrawList}, f::Symbol) f === :_Splitter && return Ptr{ImDrawListSplitter}(x + 128) f === :_ClipRectStack && return Ptr{ImVector_ImVec4}(x + 152) f === :_TextureIdStack && return Ptr{ImVector_ImTextureID}(x + 168) - f === :_FringeScale && return Ptr{Cfloat}(x + 184) - f === :_OwnerName && return Ptr{Ptr{Cchar}}(x + 192) + f === :_CallbacksDataBuf && return Ptr{ImVector_ImU8}(x + 184) + f === :_FringeScale && return Ptr{Cfloat}(x + 200) + f === :_OwnerName && return Ptr{Ptr{Cchar}}(x + 208) return getfield(x, f) end @@ -604,8 +662,6 @@ end const ImU16 = Cushort -const ImS8 = Int8 - struct ImGuiIO ConfigFlags::ImGuiConfigFlags BackendFlags::ImGuiBackendFlags @@ -620,6 +676,13 @@ struct ImGuiIO FontAllowUserScaling::Bool FontDefault::Ptr{ImFont} DisplayFramebufferScale::ImVec2 + ConfigNavSwapGamepadButtons::Bool + ConfigNavMoveSetMousePos::Bool + ConfigNavCaptureKeyboard::Bool + ConfigNavEscapeClearFocusItem::Bool + ConfigNavEscapeClearFocusWindow::Bool + ConfigNavCursorVisibleAuto::Bool + ConfigNavCursorVisibleAlways::Bool ConfigDockingNoSplit::Bool ConfigDockingWithShift::Bool ConfigDockingAlwaysTabBar::Bool @@ -630,19 +693,24 @@ struct ImGuiIO ConfigViewportsNoDefaultParent::Bool MouseDrawCursor::Bool ConfigMacOSXBehaviors::Bool - ConfigNavSwapGamepadButtons::Bool ConfigInputTrickleEventQueue::Bool ConfigInputTextCursorBlink::Bool ConfigInputTextEnterKeepActive::Bool ConfigDragClickToInputText::Bool ConfigWindowsResizeFromEdges::Bool ConfigWindowsMoveFromTitleBarOnly::Bool + ConfigWindowsCopyContentsWithCtrlC::Bool + ConfigScrollbarScrollByPage::Bool ConfigMemoryCompactTimer::Cfloat MouseDoubleClickTime::Cfloat MouseDoubleClickMaxDist::Cfloat MouseDragThreshold::Cfloat KeyRepeatDelay::Cfloat KeyRepeatRate::Cfloat + ConfigErrorRecovery::Bool + ConfigErrorRecoveryEnableAssert::Bool + ConfigErrorRecoveryEnableDebugLog::Bool + ConfigErrorRecoveryEnableTooltip::Bool ConfigDebugIsDebuggerPresent::Bool ConfigDebugHighlightIdConflicts::Bool ConfigDebugBeginReturnValueOnce::Bool @@ -700,8 +768,6 @@ struct ImGuiIO PenPressure::Cfloat AppFocusLost::Bool AppAcceptingEvents::Bool - BackendUsingLegacyKeyArrays::ImS8 - BackendUsingLegacyNavInputArray::Bool InputQueueSurrogate::ImWchar16 InputQueueCharacters::ImVector_ImWchar end @@ -725,90 +791,100 @@ function Base.getproperty(x::Ptr{ImGuiIO}, f::Symbol) f === :FontAllowUserScaling && return Ptr{Bool}(x + 60) f === :FontDefault && return Ptr{Ptr{ImFont}}(x + 64) f === :DisplayFramebufferScale && return Ptr{ImVec2}(x + 72) - f === :ConfigDockingNoSplit && return Ptr{Bool}(x + 80) - f === :ConfigDockingWithShift && return Ptr{Bool}(x + 81) - f === :ConfigDockingAlwaysTabBar && return Ptr{Bool}(x + 82) - f === :ConfigDockingTransparentPayload && return Ptr{Bool}(x + 83) - f === :ConfigViewportsNoAutoMerge && return Ptr{Bool}(x + 84) - f === :ConfigViewportsNoTaskBarIcon && return Ptr{Bool}(x + 85) - f === :ConfigViewportsNoDecoration && return Ptr{Bool}(x + 86) - f === :ConfigViewportsNoDefaultParent && return Ptr{Bool}(x + 87) - f === :MouseDrawCursor && return Ptr{Bool}(x + 88) - f === :ConfigMacOSXBehaviors && return Ptr{Bool}(x + 89) - f === :ConfigNavSwapGamepadButtons && return Ptr{Bool}(x + 90) - f === :ConfigInputTrickleEventQueue && return Ptr{Bool}(x + 91) - f === :ConfigInputTextCursorBlink && return Ptr{Bool}(x + 92) - f === :ConfigInputTextEnterKeepActive && return Ptr{Bool}(x + 93) - f === :ConfigDragClickToInputText && return Ptr{Bool}(x + 94) - f === :ConfigWindowsResizeFromEdges && return Ptr{Bool}(x + 95) - f === :ConfigWindowsMoveFromTitleBarOnly && return Ptr{Bool}(x + 96) - f === :ConfigMemoryCompactTimer && return Ptr{Cfloat}(x + 100) - f === :MouseDoubleClickTime && return Ptr{Cfloat}(x + 104) - f === :MouseDoubleClickMaxDist && return Ptr{Cfloat}(x + 108) - f === :MouseDragThreshold && return Ptr{Cfloat}(x + 112) - f === :KeyRepeatDelay && return Ptr{Cfloat}(x + 116) - f === :KeyRepeatRate && return Ptr{Cfloat}(x + 120) - f === :ConfigDebugIsDebuggerPresent && return Ptr{Bool}(x + 124) - f === :ConfigDebugHighlightIdConflicts && return Ptr{Bool}(x + 125) - f === :ConfigDebugBeginReturnValueOnce && return Ptr{Bool}(x + 126) - f === :ConfigDebugBeginReturnValueLoop && return Ptr{Bool}(x + 127) - f === :ConfigDebugIgnoreFocusLoss && return Ptr{Bool}(x + 128) - f === :ConfigDebugIniSettings && return Ptr{Bool}(x + 129) - f === :BackendPlatformName && return Ptr{Ptr{Cchar}}(x + 136) - f === :BackendRendererName && return Ptr{Ptr{Cchar}}(x + 144) - f === :BackendPlatformUserData && return Ptr{Ptr{Cvoid}}(x + 152) - f === :BackendRendererUserData && return Ptr{Ptr{Cvoid}}(x + 160) - f === :BackendLanguageUserData && return Ptr{Ptr{Cvoid}}(x + 168) - f === :WantCaptureMouse && return Ptr{Bool}(x + 176) - f === :WantCaptureKeyboard && return Ptr{Bool}(x + 177) - f === :WantTextInput && return Ptr{Bool}(x + 178) - f === :WantSetMousePos && return Ptr{Bool}(x + 179) - f === :WantSaveIniSettings && return Ptr{Bool}(x + 180) - f === :NavActive && return Ptr{Bool}(x + 181) - f === :NavVisible && return Ptr{Bool}(x + 182) - f === :Framerate && return Ptr{Cfloat}(x + 184) - f === :MetricsRenderVertices && return Ptr{Cint}(x + 188) - f === :MetricsRenderIndices && return Ptr{Cint}(x + 192) - f === :MetricsRenderWindows && return Ptr{Cint}(x + 196) - f === :MetricsActiveWindows && return Ptr{Cint}(x + 200) - f === :MouseDelta && return Ptr{ImVec2}(x + 204) - f === :Ctx && return Ptr{Ptr{ImGuiContext}}(x + 216) - f === :MousePos && return Ptr{ImVec2}(x + 224) - f === :MouseDown && return Ptr{NTuple{5, Bool}}(x + 232) - f === :MouseWheel && return Ptr{Cfloat}(x + 240) - f === :MouseWheelH && return Ptr{Cfloat}(x + 244) - f === :MouseSource && return Ptr{ImGuiMouseSource}(x + 248) - f === :MouseHoveredViewport && return Ptr{ImGuiID}(x + 252) - f === :KeyCtrl && return Ptr{Bool}(x + 256) - f === :KeyShift && return Ptr{Bool}(x + 257) - f === :KeyAlt && return Ptr{Bool}(x + 258) - f === :KeySuper && return Ptr{Bool}(x + 259) - f === :KeyMods && return Ptr{ImGuiKeyChord}(x + 260) - f === :KeysData && return Ptr{NTuple{154, ImGuiKeyData}}(x + 264) - f === :WantCaptureMouseUnlessPopupClose && return Ptr{Bool}(x + 2728) - f === :MousePosPrev && return Ptr{ImVec2}(x + 2732) - f === :MouseClickedPos && return Ptr{NTuple{5, ImVec2}}(x + 2740) - f === :MouseClickedTime && return Ptr{NTuple{5, Cdouble}}(x + 2784) - f === :MouseClicked && return Ptr{NTuple{5, Bool}}(x + 2824) - f === :MouseDoubleClicked && return Ptr{NTuple{5, Bool}}(x + 2829) - f === :MouseClickedCount && return Ptr{NTuple{5, ImU16}}(x + 2834) - f === :MouseClickedLastCount && return Ptr{NTuple{5, ImU16}}(x + 2844) - f === :MouseReleased && return Ptr{NTuple{5, Bool}}(x + 2854) - f === :MouseDownOwned && return Ptr{NTuple{5, Bool}}(x + 2859) - f === :MouseDownOwnedUnlessPopupClose && return Ptr{NTuple{5, Bool}}(x + 2864) - f === :MouseWheelRequestAxisSwap && return Ptr{Bool}(x + 2869) - f === :MouseCtrlLeftAsRightClick && return Ptr{Bool}(x + 2870) - f === :MouseDownDuration && return Ptr{NTuple{5, Cfloat}}(x + 2872) - f === :MouseDownDurationPrev && return Ptr{NTuple{5, Cfloat}}(x + 2892) - f === :MouseDragMaxDistanceAbs && return Ptr{NTuple{5, ImVec2}}(x + 2912) - f === :MouseDragMaxDistanceSqr && return Ptr{NTuple{5, Cfloat}}(x + 2952) - f === :PenPressure && return Ptr{Cfloat}(x + 2972) - f === :AppFocusLost && return Ptr{Bool}(x + 2976) - f === :AppAcceptingEvents && return Ptr{Bool}(x + 2977) - f === :BackendUsingLegacyKeyArrays && return Ptr{ImS8}(x + 2978) - f === :BackendUsingLegacyNavInputArray && return Ptr{Bool}(x + 2979) - f === :InputQueueSurrogate && return Ptr{ImWchar16}(x + 2980) - f === :InputQueueCharacters && return Ptr{ImVector_ImWchar}(x + 2984) + f === :ConfigNavSwapGamepadButtons && return Ptr{Bool}(x + 80) + f === :ConfigNavMoveSetMousePos && return Ptr{Bool}(x + 81) + f === :ConfigNavCaptureKeyboard && return Ptr{Bool}(x + 82) + f === :ConfigNavEscapeClearFocusItem && return Ptr{Bool}(x + 83) + f === :ConfigNavEscapeClearFocusWindow && return Ptr{Bool}(x + 84) + f === :ConfigNavCursorVisibleAuto && return Ptr{Bool}(x + 85) + f === :ConfigNavCursorVisibleAlways && return Ptr{Bool}(x + 86) + f === :ConfigDockingNoSplit && return Ptr{Bool}(x + 87) + f === :ConfigDockingWithShift && return Ptr{Bool}(x + 88) + f === :ConfigDockingAlwaysTabBar && return Ptr{Bool}(x + 89) + f === :ConfigDockingTransparentPayload && return Ptr{Bool}(x + 90) + f === :ConfigViewportsNoAutoMerge && return Ptr{Bool}(x + 91) + f === :ConfigViewportsNoTaskBarIcon && return Ptr{Bool}(x + 92) + f === :ConfigViewportsNoDecoration && return Ptr{Bool}(x + 93) + f === :ConfigViewportsNoDefaultParent && return Ptr{Bool}(x + 94) + f === :MouseDrawCursor && return Ptr{Bool}(x + 95) + f === :ConfigMacOSXBehaviors && return Ptr{Bool}(x + 96) + f === :ConfigInputTrickleEventQueue && return Ptr{Bool}(x + 97) + f === :ConfigInputTextCursorBlink && return Ptr{Bool}(x + 98) + f === :ConfigInputTextEnterKeepActive && return Ptr{Bool}(x + 99) + f === :ConfigDragClickToInputText && return Ptr{Bool}(x + 100) + f === :ConfigWindowsResizeFromEdges && return Ptr{Bool}(x + 101) + f === :ConfigWindowsMoveFromTitleBarOnly && return Ptr{Bool}(x + 102) + f === :ConfigWindowsCopyContentsWithCtrlC && return Ptr{Bool}(x + 103) + f === :ConfigScrollbarScrollByPage && return Ptr{Bool}(x + 104) + f === :ConfigMemoryCompactTimer && return Ptr{Cfloat}(x + 108) + f === :MouseDoubleClickTime && return Ptr{Cfloat}(x + 112) + f === :MouseDoubleClickMaxDist && return Ptr{Cfloat}(x + 116) + f === :MouseDragThreshold && return Ptr{Cfloat}(x + 120) + f === :KeyRepeatDelay && return Ptr{Cfloat}(x + 124) + f === :KeyRepeatRate && return Ptr{Cfloat}(x + 128) + f === :ConfigErrorRecovery && return Ptr{Bool}(x + 132) + f === :ConfigErrorRecoveryEnableAssert && return Ptr{Bool}(x + 133) + f === :ConfigErrorRecoveryEnableDebugLog && return Ptr{Bool}(x + 134) + f === :ConfigErrorRecoveryEnableTooltip && return Ptr{Bool}(x + 135) + f === :ConfigDebugIsDebuggerPresent && return Ptr{Bool}(x + 136) + f === :ConfigDebugHighlightIdConflicts && return Ptr{Bool}(x + 137) + f === :ConfigDebugBeginReturnValueOnce && return Ptr{Bool}(x + 138) + f === :ConfigDebugBeginReturnValueLoop && return Ptr{Bool}(x + 139) + f === :ConfigDebugIgnoreFocusLoss && return Ptr{Bool}(x + 140) + f === :ConfigDebugIniSettings && return Ptr{Bool}(x + 141) + f === :BackendPlatformName && return Ptr{Ptr{Cchar}}(x + 144) + f === :BackendRendererName && return Ptr{Ptr{Cchar}}(x + 152) + f === :BackendPlatformUserData && return Ptr{Ptr{Cvoid}}(x + 160) + f === :BackendRendererUserData && return Ptr{Ptr{Cvoid}}(x + 168) + f === :BackendLanguageUserData && return Ptr{Ptr{Cvoid}}(x + 176) + f === :WantCaptureMouse && return Ptr{Bool}(x + 184) + f === :WantCaptureKeyboard && return Ptr{Bool}(x + 185) + f === :WantTextInput && return Ptr{Bool}(x + 186) + f === :WantSetMousePos && return Ptr{Bool}(x + 187) + f === :WantSaveIniSettings && return Ptr{Bool}(x + 188) + f === :NavActive && return Ptr{Bool}(x + 189) + f === :NavVisible && return Ptr{Bool}(x + 190) + f === :Framerate && return Ptr{Cfloat}(x + 192) + f === :MetricsRenderVertices && return Ptr{Cint}(x + 196) + f === :MetricsRenderIndices && return Ptr{Cint}(x + 200) + f === :MetricsRenderWindows && return Ptr{Cint}(x + 204) + f === :MetricsActiveWindows && return Ptr{Cint}(x + 208) + f === :MouseDelta && return Ptr{ImVec2}(x + 212) + f === :Ctx && return Ptr{Ptr{ImGuiContext}}(x + 224) + f === :MousePos && return Ptr{ImVec2}(x + 232) + f === :MouseDown && return Ptr{NTuple{5, Bool}}(x + 240) + f === :MouseWheel && return Ptr{Cfloat}(x + 248) + f === :MouseWheelH && return Ptr{Cfloat}(x + 252) + f === :MouseSource && return Ptr{ImGuiMouseSource}(x + 256) + f === :MouseHoveredViewport && return Ptr{ImGuiID}(x + 260) + f === :KeyCtrl && return Ptr{Bool}(x + 264) + f === :KeyShift && return Ptr{Bool}(x + 265) + f === :KeyAlt && return Ptr{Bool}(x + 266) + f === :KeySuper && return Ptr{Bool}(x + 267) + f === :KeyMods && return Ptr{ImGuiKeyChord}(x + 268) + f === :KeysData && return Ptr{NTuple{154, ImGuiKeyData}}(x + 272) + f === :WantCaptureMouseUnlessPopupClose && return Ptr{Bool}(x + 2736) + f === :MousePosPrev && return Ptr{ImVec2}(x + 2740) + f === :MouseClickedPos && return Ptr{NTuple{5, ImVec2}}(x + 2748) + f === :MouseClickedTime && return Ptr{NTuple{5, Cdouble}}(x + 2792) + f === :MouseClicked && return Ptr{NTuple{5, Bool}}(x + 2832) + f === :MouseDoubleClicked && return Ptr{NTuple{5, Bool}}(x + 2837) + f === :MouseClickedCount && return Ptr{NTuple{5, ImU16}}(x + 2842) + f === :MouseClickedLastCount && return Ptr{NTuple{5, ImU16}}(x + 2852) + f === :MouseReleased && return Ptr{NTuple{5, Bool}}(x + 2862) + f === :MouseDownOwned && return Ptr{NTuple{5, Bool}}(x + 2867) + f === :MouseDownOwnedUnlessPopupClose && return Ptr{NTuple{5, Bool}}(x + 2872) + f === :MouseWheelRequestAxisSwap && return Ptr{Bool}(x + 2877) + f === :MouseCtrlLeftAsRightClick && return Ptr{Bool}(x + 2878) + f === :MouseDownDuration && return Ptr{NTuple{5, Cfloat}}(x + 2880) + f === :MouseDownDurationPrev && return Ptr{NTuple{5, Cfloat}}(x + 2900) + f === :MouseDragMaxDistanceAbs && return Ptr{NTuple{5, ImVec2}}(x + 2920) + f === :MouseDragMaxDistanceSqr && return Ptr{NTuple{5, Cfloat}}(x + 2960) + f === :PenPressure && return Ptr{Cfloat}(x + 2980) + f === :AppFocusLost && return Ptr{Bool}(x + 2984) + f === :AppAcceptingEvents && return Ptr{Bool}(x + 2985) + f === :InputQueueSurrogate && return Ptr{ImWchar16}(x + 2986) + f === :InputQueueCharacters && return Ptr{ImVector_ImWchar}(x + 2992) return getfield(x, f) end @@ -860,6 +936,7 @@ struct ImGuiPlatformIO Platform_SetImeDataFn::Ptr{Cvoid} Platform_ImeUserData::Ptr{Cvoid} Platform_LocaleDecimalPoint::ImWchar + Renderer_RenderState::Ptr{Cvoid} Platform_CreateWindow::Ptr{Cvoid} Platform_DestroyWindow::Ptr{Cvoid} Platform_ShowWindow::Ptr{Cvoid} @@ -896,32 +973,33 @@ function Base.getproperty(x::Ptr{ImGuiPlatformIO}, f::Symbol) f === :Platform_SetImeDataFn && return Ptr{Ptr{Cvoid}}(x + 40) f === :Platform_ImeUserData && return Ptr{Ptr{Cvoid}}(x + 48) f === :Platform_LocaleDecimalPoint && return Ptr{ImWchar}(x + 56) - f === :Platform_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 64) - f === :Platform_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 72) - f === :Platform_ShowWindow && return Ptr{Ptr{Cvoid}}(x + 80) - f === :Platform_SetWindowPos && return Ptr{Ptr{Cvoid}}(x + 88) - f === :Platform_GetWindowPos && return Ptr{Ptr{Cvoid}}(x + 96) - f === :Platform_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 104) - f === :Platform_GetWindowSize && return Ptr{Ptr{Cvoid}}(x + 112) - f === :Platform_SetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 120) - f === :Platform_GetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 128) - f === :Platform_GetWindowMinimized && return Ptr{Ptr{Cvoid}}(x + 136) - f === :Platform_SetWindowTitle && return Ptr{Ptr{Cvoid}}(x + 144) - f === :Platform_SetWindowAlpha && return Ptr{Ptr{Cvoid}}(x + 152) - f === :Platform_UpdateWindow && return Ptr{Ptr{Cvoid}}(x + 160) - f === :Platform_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 168) - f === :Platform_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 176) - f === :Platform_GetWindowDpiScale && return Ptr{Ptr{Cvoid}}(x + 184) - f === :Platform_OnChangedViewport && return Ptr{Ptr{Cvoid}}(x + 192) - f === :Platform_GetWindowWorkAreaInsets && return Ptr{Ptr{Cvoid}}(x + 200) - f === :Platform_CreateVkSurface && return Ptr{Ptr{Cvoid}}(x + 208) - f === :Renderer_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 216) - f === :Renderer_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 224) - f === :Renderer_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 232) - f === :Renderer_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 240) - f === :Renderer_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 248) - f === :Monitors && return Ptr{ImVector_ImGuiPlatformMonitor}(x + 256) - f === :Viewports && return Ptr{ImVector_ImGuiViewportPtr}(x + 272) + f === :Renderer_RenderState && return Ptr{Ptr{Cvoid}}(x + 64) + f === :Platform_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 72) + f === :Platform_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 80) + f === :Platform_ShowWindow && return Ptr{Ptr{Cvoid}}(x + 88) + f === :Platform_SetWindowPos && return Ptr{Ptr{Cvoid}}(x + 96) + f === :Platform_GetWindowPos && return Ptr{Ptr{Cvoid}}(x + 104) + f === :Platform_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 112) + f === :Platform_GetWindowSize && return Ptr{Ptr{Cvoid}}(x + 120) + f === :Platform_SetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 128) + f === :Platform_GetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 136) + f === :Platform_GetWindowMinimized && return Ptr{Ptr{Cvoid}}(x + 144) + f === :Platform_SetWindowTitle && return Ptr{Ptr{Cvoid}}(x + 152) + f === :Platform_SetWindowAlpha && return Ptr{Ptr{Cvoid}}(x + 160) + f === :Platform_UpdateWindow && return Ptr{Ptr{Cvoid}}(x + 168) + f === :Platform_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 176) + f === :Platform_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 184) + f === :Platform_GetWindowDpiScale && return Ptr{Ptr{Cvoid}}(x + 192) + f === :Platform_OnChangedViewport && return Ptr{Ptr{Cvoid}}(x + 200) + f === :Platform_GetWindowWorkAreaInsets && return Ptr{Ptr{Cvoid}}(x + 208) + f === :Platform_CreateVkSurface && return Ptr{Ptr{Cvoid}}(x + 216) + f === :Renderer_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 224) + f === :Renderer_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 232) + f === :Renderer_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 240) + f === :Renderer_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 248) + f === :Renderer_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 256) + f === :Monitors && return Ptr{ImVector_ImGuiPlatformMonitor}(x + 264) + f === :Viewports && return Ptr{ImVector_ImGuiViewportPtr}(x + 280) return getfield(x, f) end @@ -1183,6 +1261,8 @@ function Base.getproperty(x::ImGuiViewportP, f::Symbol) return getfield(x, f) end +const ImS8 = Int8 + const ImGuiCond = Cint struct ImVector_ImGuiID @@ -1393,6 +1473,7 @@ struct ImGuiTextBuffer end struct ImGuiTabBar + Window::Ptr{Cvoid} # Window::Ptr{ImGuiWindow} Tabs::ImVector_ImGuiTabItem Flags::ImGuiTabBarFlags ID::ImGuiID @@ -1428,6 +1509,11 @@ struct ImGuiTabBar TabsNames::ImGuiTextBuffer end +function Base.getproperty(x::ImGuiTabBar, f::Symbol) + f === :Window && return Ptr{ImGuiWindow}(getfield(x, f)) + return getfield(x, f) +end + @cenum ImGuiAxis::Int32 begin ImGuiAxis_None = -1 ImGuiAxis_X = 0 @@ -1532,7 +1618,7 @@ end const ImGuiItemStatusFlags = Cint struct ImGuiWindow - data::NTuple{1168, UInt8} + data::NTuple{1184, UInt8} end function Base.getproperty(x::Ptr{ImGuiWindow}, f::Symbol) @@ -1633,33 +1719,33 @@ function Base.getproperty(x::Ptr{ImGuiWindow}, f::Symbol) f === :SettingsOffset && return Ptr{Cint}(x + 736) f === :DrawList && return Ptr{Ptr{ImDrawList}}(x + 744) f === :DrawListInst && return Ptr{ImDrawList}(x + 752) - f === :ParentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 952) - f === :ParentWindowInBeginStack && return Ptr{Ptr{ImGuiWindow}}(x + 960) - f === :RootWindow && return Ptr{Ptr{ImGuiWindow}}(x + 968) - f === :RootWindowPopupTree && return Ptr{Ptr{ImGuiWindow}}(x + 976) - f === :RootWindowDockTree && return Ptr{Ptr{ImGuiWindow}}(x + 984) - f === :RootWindowForTitleBarHighlight && return Ptr{Ptr{ImGuiWindow}}(x + 992) - f === :RootWindowForNav && return Ptr{Ptr{ImGuiWindow}}(x + 1000) - f === :ParentWindowForFocusRoute && return Ptr{Ptr{ImGuiWindow}}(x + 1008) - f === :NavLastChildNavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 1016) - f === :NavLastIds && return Ptr{NTuple{2, ImGuiID}}(x + 1024) - f === :NavRectRel && return Ptr{NTuple{2, ImRect}}(x + 1032) - f === :NavPreferredScoringPosRel && return Ptr{NTuple{2, ImVec2}}(x + 1064) - f === :NavRootFocusScopeId && return Ptr{ImGuiID}(x + 1080) - f === :MemoryDrawListIdxCapacity && return Ptr{Cint}(x + 1084) - f === :MemoryDrawListVtxCapacity && return Ptr{Cint}(x + 1088) - f === :MemoryCompacted && return Ptr{Bool}(x + 1092) - f === :DockIsActive && return (Ptr{Bool}(x + 1092), 8, 1) - f === :DockNodeIsVisible && return (Ptr{Bool}(x + 1092), 9, 1) - f === :DockTabIsVisible && return (Ptr{Bool}(x + 1092), 10, 1) - f === :DockTabWantClose && return (Ptr{Bool}(x + 1092), 11, 1) - f === :DockOrder && return Ptr{Cshort}(x + 1094) - f === :DockStyle && return Ptr{ImGuiWindowDockStyle}(x + 1096) - f === :DockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 1128) - f === :DockNodeAsHost && return Ptr{Ptr{ImGuiDockNode}}(x + 1136) - f === :DockId && return Ptr{ImGuiID}(x + 1144) - f === :DockTabItemStatusFlags && return Ptr{ImGuiItemStatusFlags}(x + 1148) - f === :DockTabItemRect && return Ptr{ImRect}(x + 1152) + f === :ParentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 968) + f === :ParentWindowInBeginStack && return Ptr{Ptr{ImGuiWindow}}(x + 976) + f === :RootWindow && return Ptr{Ptr{ImGuiWindow}}(x + 984) + f === :RootWindowPopupTree && return Ptr{Ptr{ImGuiWindow}}(x + 992) + f === :RootWindowDockTree && return Ptr{Ptr{ImGuiWindow}}(x + 1000) + f === :RootWindowForTitleBarHighlight && return Ptr{Ptr{ImGuiWindow}}(x + 1008) + f === :RootWindowForNav && return Ptr{Ptr{ImGuiWindow}}(x + 1016) + f === :ParentWindowForFocusRoute && return Ptr{Ptr{ImGuiWindow}}(x + 1024) + f === :NavLastChildNavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 1032) + f === :NavLastIds && return Ptr{NTuple{2, ImGuiID}}(x + 1040) + f === :NavRectRel && return Ptr{NTuple{2, ImRect}}(x + 1048) + f === :NavPreferredScoringPosRel && return Ptr{NTuple{2, ImVec2}}(x + 1080) + f === :NavRootFocusScopeId && return Ptr{ImGuiID}(x + 1096) + f === :MemoryDrawListIdxCapacity && return Ptr{Cint}(x + 1100) + f === :MemoryDrawListVtxCapacity && return Ptr{Cint}(x + 1104) + f === :MemoryCompacted && return Ptr{Bool}(x + 1108) + f === :DockIsActive && return (Ptr{Bool}(x + 1108), 8, 1) + f === :DockNodeIsVisible && return (Ptr{Bool}(x + 1108), 9, 1) + f === :DockTabIsVisible && return (Ptr{Bool}(x + 1108), 10, 1) + f === :DockTabWantClose && return (Ptr{Bool}(x + 1108), 11, 1) + f === :DockOrder && return Ptr{Cshort}(x + 1110) + f === :DockStyle && return Ptr{ImGuiWindowDockStyle}(x + 1112) + f === :DockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 1144) + f === :DockNodeAsHost && return Ptr{Ptr{ImGuiDockNode}}(x + 1152) + f === :DockId && return Ptr{ImGuiID}(x + 1160) + f === :DockTabItemStatusFlags && return Ptr{ImGuiItemStatusFlags}(x + 1164) + f === :DockTabItemRect && return Ptr{ImRect}(x + 1168) return getfield(x, f) end @@ -1710,7 +1796,7 @@ const ImGuiItemFlags = Cint struct ImGuiLastItemData ID::ImGuiID - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags StatusFlags::ImGuiItemStatusFlags Rect::ImRect NavRect::ImRect @@ -1719,8 +1805,10 @@ struct ImGuiLastItemData Shortcut::ImGuiKeyChord end -struct ImGuiStackSizes +struct ImGuiErrorRecoveryState + SizeOfWindowStack::Cshort SizeOfIDStack::Cshort + SizeOfTreeStack::Cshort SizeOfColorStack::Cshort SizeOfStyleVarStack::Cshort SizeOfFontStack::Cshort @@ -1734,7 +1822,7 @@ end struct ImGuiWindowStackData Window::Ptr{ImGuiWindow} ParentLastItemDataBackup::ImGuiLastItemData - StackSizesOnBegin::ImGuiStackSizes + StackSizesInBegin::ImGuiErrorRecoveryState DisabledOverrideReenable::Bool end @@ -1793,7 +1881,7 @@ struct ImGuiDataTypeStorage end struct ImGuiNextItemData - Flags::ImGuiNextItemDataFlags + HasFlags::ImGuiNextItemDataFlags ItemFlags::ImGuiItemFlags FocusScopeId::ImGuiID SelectionUserData::ImGuiSelectionUserData @@ -1942,7 +2030,7 @@ const ImGuiTreeNodeFlags = Cint struct ImGuiTreeNodeStackData ID::ImGuiID TreeFlags::ImGuiTreeNodeFlags - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags NavRect::ImRect end @@ -1965,7 +2053,7 @@ struct ImGuiNavItemData ID::ImGuiID FocusScopeId::ImGuiID RectRel::ImRect - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags DistBox::Cfloat DistCenter::Cfloat DistAxial::Cfloat @@ -1978,6 +2066,7 @@ const ImGuiScrollFlags = Cint @cenum ImGuiKey::UInt32 begin ImGuiKey_None = 0 + ImGuiKey_NamedKey_BEGIN = 512 ImGuiKey_Tab = 512 ImGuiKey_LeftArrow = 513 ImGuiKey_RightArrow = 514 @@ -2132,18 +2221,14 @@ const ImGuiScrollFlags = Cint ImGuiKey_ReservedForModShift = 663 ImGuiKey_ReservedForModAlt = 664 ImGuiKey_ReservedForModSuper = 665 - ImGuiKey_COUNT = 666 + ImGuiKey_NamedKey_END = 666 ImGuiMod_None = 0 ImGuiMod_Ctrl = 4096 ImGuiMod_Shift = 8192 ImGuiMod_Alt = 16384 ImGuiMod_Super = 32768 ImGuiMod_Mask_ = 61440 - ImGuiKey_NamedKey_BEGIN = 512 - ImGuiKey_NamedKey_END = 666 ImGuiKey_NamedKey_COUNT = 154 - ImGuiKey_KeysData_SIZE = 154 - ImGuiKey_KeysData_OFFSET = 512 end const ImGuiDragDropFlags = Cint @@ -2798,11 +2883,11 @@ struct ImGuiInputTextState Ctx::Ptr{Cvoid} # Ctx::Ptr{ImGuiContext} Stb::Ptr{ImStbTexteditState} ID::ImGuiID - CurLenA::Cint + TextLen::Cint TextA::ImVector_char - InitialTextA::ImVector_char + TextToRevertTo::ImVector_char CallbackTextBackup::ImVector_char - BufCapacityA::Cint + BufCapacity::Cint Scroll::ImVec2 CursorAnim::Cfloat CursorFollow::Bool @@ -2938,16 +3023,13 @@ struct ImVector_ImGuiContextHook Data::Ptr{ImGuiContextHook} end -@cenum ImGuiLogType::UInt32 begin - ImGuiLogType_None = 0 - ImGuiLogType_TTY = 1 - ImGuiLogType_File = 2 - ImGuiLogType_Buffer = 3 - ImGuiLogType_Clipboard = 4 -end +const ImGuiLogFlags = Cint const ImFileHandle = Ptr{Libc.FILE} +# typedef void ( * ImGuiErrorCallback ) ( ImGuiContext * ctx , void * user_data , const char * msg ) +const ImGuiErrorCallback = Ptr{Cvoid} + const ImGuiDebugLogFlags = Cint struct ImVector_int @@ -3065,313 +3147,324 @@ struct ImGuiDebugAllocInfo end struct ImGuiContext - data::NTuple{10920, UInt8} + data::NTuple{11016, UInt8} end function Base.getproperty(x::Ptr{ImGuiContext}, f::Symbol) f === :Initialized && return Ptr{Bool}(x + 0) f === :FontAtlasOwnedByContext && return Ptr{Bool}(x + 1) f === :IO && return Ptr{ImGuiIO}(x + 8) - f === :PlatformIO && return Ptr{ImGuiPlatformIO}(x + 3008) - f === :Style && return Ptr{ImGuiStyle}(x + 3296) - f === :ConfigFlagsCurrFrame && return Ptr{ImGuiConfigFlags}(x + 4488) - f === :ConfigFlagsLastFrame && return Ptr{ImGuiConfigFlags}(x + 4492) - f === :Font && return Ptr{Ptr{ImFont}}(x + 4496) - f === :FontSize && return Ptr{Cfloat}(x + 4504) - f === :FontBaseSize && return Ptr{Cfloat}(x + 4508) - f === :FontScale && return Ptr{Cfloat}(x + 4512) - f === :CurrentDpiScale && return Ptr{Cfloat}(x + 4516) - f === :DrawListSharedData && return Ptr{ImDrawListSharedData}(x + 4520) - f === :Time && return Ptr{Cdouble}(x + 5056) - f === :FrameCount && return Ptr{Cint}(x + 5064) - f === :FrameCountEnded && return Ptr{Cint}(x + 5068) - f === :FrameCountPlatformEnded && return Ptr{Cint}(x + 5072) - f === :FrameCountRendered && return Ptr{Cint}(x + 5076) - f === :WithinFrameScope && return Ptr{Bool}(x + 5080) - f === :WithinFrameScopeWithImplicitWindow && return Ptr{Bool}(x + 5081) - f === :WithinEndChild && return Ptr{Bool}(x + 5082) - f === :GcCompactAll && return Ptr{Bool}(x + 5083) - f === :TestEngineHookItems && return Ptr{Bool}(x + 5084) - f === :TestEngine && return Ptr{Ptr{Cvoid}}(x + 5088) - f === :ContextName && return Ptr{NTuple{16, Cchar}}(x + 5096) - f === :InputEventsQueue && return Ptr{ImVector_ImGuiInputEvent}(x + 5112) - f === :InputEventsTrail && return Ptr{ImVector_ImGuiInputEvent}(x + 5128) - f === :InputEventsNextMouseSource && return Ptr{ImGuiMouseSource}(x + 5144) - f === :InputEventsNextEventId && return Ptr{ImU32}(x + 5148) - f === :Windows && return Ptr{ImVector_ImGuiWindowPtr}(x + 5152) - f === :WindowsFocusOrder && return Ptr{ImVector_ImGuiWindowPtr}(x + 5168) - f === :WindowsTempSortBuffer && return Ptr{ImVector_ImGuiWindowPtr}(x + 5184) - f === :CurrentWindowStack && return Ptr{ImVector_ImGuiWindowStackData}(x + 5200) - f === :WindowsById && return Ptr{ImGuiStorage}(x + 5216) - f === :WindowsActiveCount && return Ptr{Cint}(x + 5232) - f === :WindowsHoverPadding && return Ptr{ImVec2}(x + 5236) - f === :DebugBreakInWindow && return Ptr{ImGuiID}(x + 5244) - f === :CurrentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5248) - f === :HoveredWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5256) - f === :HoveredWindowUnderMovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5264) - f === :HoveredWindowBeforeClear && return Ptr{Ptr{ImGuiWindow}}(x + 5272) - f === :MovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5280) - f === :WheelingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5288) - f === :WheelingWindowRefMousePos && return Ptr{ImVec2}(x + 5296) - f === :WheelingWindowStartFrame && return Ptr{Cint}(x + 5304) - f === :WheelingWindowScrolledFrame && return Ptr{Cint}(x + 5308) - f === :WheelingWindowReleaseTimer && return Ptr{Cfloat}(x + 5312) - f === :WheelingWindowWheelRemainder && return Ptr{ImVec2}(x + 5316) - f === :WheelingAxisAvg && return Ptr{ImVec2}(x + 5324) - f === :DebugDrawIdConflicts && return Ptr{ImGuiID}(x + 5332) - f === :DebugHookIdInfo && return Ptr{ImGuiID}(x + 5336) - f === :HoveredId && return Ptr{ImGuiID}(x + 5340) - f === :HoveredIdPreviousFrame && return Ptr{ImGuiID}(x + 5344) - f === :HoveredIdPreviousFrameItemCount && return Ptr{Cint}(x + 5348) - f === :HoveredIdTimer && return Ptr{Cfloat}(x + 5352) - f === :HoveredIdNotActiveTimer && return Ptr{Cfloat}(x + 5356) - f === :HoveredIdAllowOverlap && return Ptr{Bool}(x + 5360) - f === :HoveredIdIsDisabled && return Ptr{Bool}(x + 5361) - f === :ItemUnclipByLog && return Ptr{Bool}(x + 5362) - f === :ActiveId && return Ptr{ImGuiID}(x + 5364) - f === :ActiveIdIsAlive && return Ptr{ImGuiID}(x + 5368) - f === :ActiveIdTimer && return Ptr{Cfloat}(x + 5372) - f === :ActiveIdIsJustActivated && return Ptr{Bool}(x + 5376) - f === :ActiveIdAllowOverlap && return Ptr{Bool}(x + 5377) - f === :ActiveIdNoClearOnFocusLoss && return Ptr{Bool}(x + 5378) - f === :ActiveIdHasBeenPressedBefore && return Ptr{Bool}(x + 5379) - f === :ActiveIdHasBeenEditedBefore && return Ptr{Bool}(x + 5380) - f === :ActiveIdHasBeenEditedThisFrame && return Ptr{Bool}(x + 5381) - f === :ActiveIdFromShortcut && return Ptr{Bool}(x + 5382) - f === :ActiveIdMouseButton && return (Ptr{Cint}(x + 5380), 24, 8) - f === :ActiveIdClickOffset && return Ptr{ImVec2}(x + 5384) - f === :ActiveIdWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5392) - f === :ActiveIdSource && return Ptr{ImGuiInputSource}(x + 5400) - f === :ActiveIdPreviousFrame && return Ptr{ImGuiID}(x + 5404) - f === :ActiveIdPreviousFrameIsAlive && return Ptr{Bool}(x + 5408) - f === :ActiveIdPreviousFrameHasBeenEditedBefore && return Ptr{Bool}(x + 5409) - f === :ActiveIdPreviousFrameWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5416) - f === :LastActiveId && return Ptr{ImGuiID}(x + 5424) - f === :LastActiveIdTimer && return Ptr{Cfloat}(x + 5428) - f === :LastKeyModsChangeTime && return Ptr{Cdouble}(x + 5432) - f === :LastKeyModsChangeFromNoneTime && return Ptr{Cdouble}(x + 5440) - f === :LastKeyboardKeyPressTime && return Ptr{Cdouble}(x + 5448) - f === :KeysMayBeCharInput && return Ptr{ImBitArrayForNamedKeys}(x + 5456) - f === :KeysOwnerData && return Ptr{NTuple{154, ImGuiKeyOwnerData}}(x + 5476) - f === :KeysRoutingTable && return Ptr{ImGuiKeyRoutingTable}(x + 7328) - f === :ActiveIdUsingNavDirMask && return Ptr{ImU32}(x + 7672) - f === :ActiveIdUsingAllKeyboardKeys && return Ptr{Bool}(x + 7676) - f === :DebugBreakInShortcutRouting && return Ptr{ImGuiKeyChord}(x + 7680) - f === :CurrentFocusScopeId && return Ptr{ImGuiID}(x + 7684) - f === :CurrentItemFlags && return Ptr{ImGuiItemFlags}(x + 7688) - f === :DebugLocateId && return Ptr{ImGuiID}(x + 7692) - f === :NextItemData && return Ptr{ImGuiNextItemData}(x + 7696) - f === :LastItemData && return Ptr{ImGuiLastItemData}(x + 7752) - f === :NextWindowData && return Ptr{ImGuiNextWindowData}(x + 7832) - f === :DebugShowGroupRects && return Ptr{Bool}(x + 7992) - f === :DebugFlashStyleColorIdx && return Ptr{ImGuiCol}(x + 7996) - f === :ColorStack && return Ptr{ImVector_ImGuiColorMod}(x + 8000) - f === :StyleVarStack && return Ptr{ImVector_ImGuiStyleMod}(x + 8016) - f === :FontStack && return Ptr{ImVector_ImFontPtr}(x + 8032) - f === :FocusScopeStack && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8048) - f === :ItemFlagsStack && return Ptr{ImVector_ImGuiItemFlags}(x + 8064) - f === :GroupStack && return Ptr{ImVector_ImGuiGroupData}(x + 8080) - f === :OpenPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8096) - f === :BeginPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8112) - f === :TreeNodeStack && return Ptr{ImVector_ImGuiTreeNodeStackData}(x + 8128) - f === :Viewports && return Ptr{ImVector_ImGuiViewportPPtr}(x + 8144) - f === :CurrentViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8160) - f === :MouseViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8168) - f === :MouseLastHoveredViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8176) - f === :PlatformLastFocusedViewportId && return Ptr{ImGuiID}(x + 8184) - f === :FallbackMonitor && return Ptr{ImGuiPlatformMonitor}(x + 8192) - f === :PlatformMonitorsFullWorkRect && return Ptr{ImRect}(x + 8240) - f === :ViewportCreatedCount && return Ptr{Cint}(x + 8256) - f === :PlatformWindowsCreatedCount && return Ptr{Cint}(x + 8260) - f === :ViewportFocusedStampCount && return Ptr{Cint}(x + 8264) - f === :NavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8272) - f === :NavId && return Ptr{ImGuiID}(x + 8280) - f === :NavFocusScopeId && return Ptr{ImGuiID}(x + 8284) - f === :NavLayer && return Ptr{ImGuiNavLayer}(x + 8288) - f === :NavActivateId && return Ptr{ImGuiID}(x + 8292) - f === :NavActivateDownId && return Ptr{ImGuiID}(x + 8296) - f === :NavActivatePressedId && return Ptr{ImGuiID}(x + 8300) - f === :NavActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8304) - f === :NavFocusRoute && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8312) - f === :NavHighlightActivatedId && return Ptr{ImGuiID}(x + 8328) - f === :NavHighlightActivatedTimer && return Ptr{Cfloat}(x + 8332) - f === :NavNextActivateId && return Ptr{ImGuiID}(x + 8336) - f === :NavNextActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8340) - f === :NavInputSource && return Ptr{ImGuiInputSource}(x + 8344) - f === :NavLastValidSelectionUserData && return Ptr{ImGuiSelectionUserData}(x + 8352) - f === :NavIdIsAlive && return Ptr{Bool}(x + 8360) - f === :NavMousePosDirty && return Ptr{Bool}(x + 8361) - f === :NavDisableHighlight && return Ptr{Bool}(x + 8362) - f === :NavDisableMouseHover && return Ptr{Bool}(x + 8363) - f === :NavAnyRequest && return Ptr{Bool}(x + 8364) - f === :NavInitRequest && return Ptr{Bool}(x + 8365) - f === :NavInitRequestFromMove && return Ptr{Bool}(x + 8366) - f === :NavInitResult && return Ptr{ImGuiNavItemData}(x + 8368) - f === :NavMoveSubmitted && return Ptr{Bool}(x + 8424) - f === :NavMoveScoringItems && return Ptr{Bool}(x + 8425) - f === :NavMoveForwardToNextFrame && return Ptr{Bool}(x + 8426) - f === :NavMoveFlags && return Ptr{ImGuiNavMoveFlags}(x + 8428) - f === :NavMoveScrollFlags && return Ptr{ImGuiScrollFlags}(x + 8432) - f === :NavMoveKeyMods && return Ptr{ImGuiKeyChord}(x + 8436) - f === :NavMoveDir && return Ptr{ImGuiDir}(x + 8440) - f === :NavMoveDirForDebug && return Ptr{ImGuiDir}(x + 8444) - f === :NavMoveClipDir && return Ptr{ImGuiDir}(x + 8448) - f === :NavScoringRect && return Ptr{ImRect}(x + 8452) - f === :NavScoringNoClipRect && return Ptr{ImRect}(x + 8468) - f === :NavScoringDebugCount && return Ptr{Cint}(x + 8484) - f === :NavTabbingDir && return Ptr{Cint}(x + 8488) - f === :NavTabbingCounter && return Ptr{Cint}(x + 8492) - f === :NavMoveResultLocal && return Ptr{ImGuiNavItemData}(x + 8496) - f === :NavMoveResultLocalVisible && return Ptr{ImGuiNavItemData}(x + 8552) - f === :NavMoveResultOther && return Ptr{ImGuiNavItemData}(x + 8608) - f === :NavTabbingResultFirst && return Ptr{ImGuiNavItemData}(x + 8664) - f === :NavJustMovedFromFocusScopeId && return Ptr{ImGuiID}(x + 8720) - f === :NavJustMovedToId && return Ptr{ImGuiID}(x + 8724) - f === :NavJustMovedToFocusScopeId && return Ptr{ImGuiID}(x + 8728) - f === :NavJustMovedToKeyMods && return Ptr{ImGuiKeyChord}(x + 8732) - f === :NavJustMovedToIsTabbing && return Ptr{Bool}(x + 8736) - f === :NavJustMovedToHasSelectionData && return Ptr{Bool}(x + 8737) - f === :ConfigNavWindowingKeyNext && return Ptr{ImGuiKeyChord}(x + 8740) - f === :ConfigNavWindowingKeyPrev && return Ptr{ImGuiKeyChord}(x + 8744) - f === :NavWindowingTarget && return Ptr{Ptr{ImGuiWindow}}(x + 8752) - f === :NavWindowingTargetAnim && return Ptr{Ptr{ImGuiWindow}}(x + 8760) - f === :NavWindowingListWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8768) - f === :NavWindowingTimer && return Ptr{Cfloat}(x + 8776) - f === :NavWindowingHighlightAlpha && return Ptr{Cfloat}(x + 8780) - f === :NavWindowingToggleLayer && return Ptr{Bool}(x + 8784) - f === :NavWindowingToggleKey && return Ptr{ImGuiKey}(x + 8788) - f === :NavWindowingAccumDeltaPos && return Ptr{ImVec2}(x + 8792) - f === :NavWindowingAccumDeltaSize && return Ptr{ImVec2}(x + 8800) - f === :DimBgRatio && return Ptr{Cfloat}(x + 8808) - f === :DragDropActive && return Ptr{Bool}(x + 8812) - f === :DragDropWithinSource && return Ptr{Bool}(x + 8813) - f === :DragDropWithinTarget && return Ptr{Bool}(x + 8814) - f === :DragDropSourceFlags && return Ptr{ImGuiDragDropFlags}(x + 8816) - f === :DragDropSourceFrameCount && return Ptr{Cint}(x + 8820) - f === :DragDropMouseButton && return Ptr{Cint}(x + 8824) - f === :DragDropPayload && return Ptr{ImGuiPayload}(x + 8832) - f === :DragDropTargetRect && return Ptr{ImRect}(x + 8896) - f === :DragDropTargetClipRect && return Ptr{ImRect}(x + 8912) - f === :DragDropTargetId && return Ptr{ImGuiID}(x + 8928) - f === :DragDropAcceptFlags && return Ptr{ImGuiDragDropFlags}(x + 8932) - f === :DragDropAcceptIdCurrRectSurface && return Ptr{Cfloat}(x + 8936) - f === :DragDropAcceptIdCurr && return Ptr{ImGuiID}(x + 8940) - f === :DragDropAcceptIdPrev && return Ptr{ImGuiID}(x + 8944) - f === :DragDropAcceptFrameCount && return Ptr{Cint}(x + 8948) - f === :DragDropHoldJustPressedId && return Ptr{ImGuiID}(x + 8952) - f === :DragDropPayloadBufHeap && return Ptr{ImVector_unsigned_char}(x + 8960) - f === :DragDropPayloadBufLocal && return Ptr{NTuple{16, Cuchar}}(x + 8976) - f === :ClipperTempDataStacked && return Ptr{Cint}(x + 8992) - f === :ClipperTempData && return Ptr{ImVector_ImGuiListClipperData}(x + 9000) - f === :CurrentTable && return Ptr{Ptr{ImGuiTable}}(x + 9016) - f === :DebugBreakInTable && return Ptr{ImGuiID}(x + 9024) - f === :TablesTempDataStacked && return Ptr{Cint}(x + 9028) - f === :TablesTempData && return Ptr{ImVector_ImGuiTableTempData}(x + 9032) - f === :Tables && return Ptr{ImPool_ImGuiTable}(x + 9048) - f === :TablesLastTimeActive && return Ptr{ImVector_float}(x + 9088) - f === :DrawChannelsTempMergeBuffer && return Ptr{ImVector_ImDrawChannel}(x + 9104) - f === :CurrentTabBar && return Ptr{Ptr{ImGuiTabBar}}(x + 9120) - f === :TabBars && return Ptr{ImPool_ImGuiTabBar}(x + 9128) - f === :CurrentTabBarStack && return Ptr{ImVector_ImGuiPtrOrIndex}(x + 9168) - f === :ShrinkWidthBuffer && return Ptr{ImVector_ImGuiShrinkWidthItem}(x + 9184) - f === :BoxSelectState && return Ptr{ImGuiBoxSelectState}(x + 9200) - f === :CurrentMultiSelect && return Ptr{Ptr{ImGuiMultiSelectTempData}}(x + 9304) - f === :MultiSelectTempDataStacked && return Ptr{Cint}(x + 9312) - f === :MultiSelectTempData && return Ptr{ImVector_ImGuiMultiSelectTempData}(x + 9320) - f === :MultiSelectStorage && return Ptr{ImPool_ImGuiMultiSelectState}(x + 9336) - f === :HoverItemDelayId && return Ptr{ImGuiID}(x + 9376) - f === :HoverItemDelayIdPreviousFrame && return Ptr{ImGuiID}(x + 9380) - f === :HoverItemDelayTimer && return Ptr{Cfloat}(x + 9384) - f === :HoverItemDelayClearTimer && return Ptr{Cfloat}(x + 9388) - f === :HoverItemUnlockedStationaryId && return Ptr{ImGuiID}(x + 9392) - f === :HoverWindowUnlockedStationaryId && return Ptr{ImGuiID}(x + 9396) - f === :MouseCursor && return Ptr{ImGuiMouseCursor}(x + 9400) - f === :MouseStationaryTimer && return Ptr{Cfloat}(x + 9404) - f === :MouseLastValidPos && return Ptr{ImVec2}(x + 9408) - f === :InputTextState && return Ptr{ImGuiInputTextState}(x + 9416) - f === :InputTextDeactivatedState && return Ptr{ImGuiInputTextDeactivatedState}(x + 9528) - f === :InputTextPasswordFont && return Ptr{ImFont}(x + 9552) - f === :TempInputId && return Ptr{ImGuiID}(x + 9672) - f === :DataTypeZeroValue && return Ptr{ImGuiDataTypeStorage}(x + 9676) - f === :BeginMenuDepth && return Ptr{Cint}(x + 9684) - f === :BeginComboDepth && return Ptr{Cint}(x + 9688) - f === :ColorEditOptions && return Ptr{ImGuiColorEditFlags}(x + 9692) - f === :ColorEditCurrentID && return Ptr{ImGuiID}(x + 9696) - f === :ColorEditSavedID && return Ptr{ImGuiID}(x + 9700) - f === :ColorEditSavedHue && return Ptr{Cfloat}(x + 9704) - f === :ColorEditSavedSat && return Ptr{Cfloat}(x + 9708) - f === :ColorEditSavedColor && return Ptr{ImU32}(x + 9712) - f === :ColorPickerRef && return Ptr{ImVec4}(x + 9716) - f === :ComboPreviewData && return Ptr{ImGuiComboPreviewData}(x + 9732) - f === :WindowResizeBorderExpectedRect && return Ptr{ImRect}(x + 9780) - f === :WindowResizeRelativeMode && return Ptr{Bool}(x + 9796) - f === :ScrollbarSeekMode && return Ptr{Cshort}(x + 9798) - f === :ScrollbarClickDeltaToGrabCenter && return Ptr{Cfloat}(x + 9800) - f === :SliderGrabClickOffset && return Ptr{Cfloat}(x + 9804) - f === :SliderCurrentAccum && return Ptr{Cfloat}(x + 9808) - f === :SliderCurrentAccumDirty && return Ptr{Bool}(x + 9812) - f === :DragCurrentAccumDirty && return Ptr{Bool}(x + 9813) - f === :DragCurrentAccum && return Ptr{Cfloat}(x + 9816) - f === :DragSpeedDefaultRatio && return Ptr{Cfloat}(x + 9820) - f === :DisabledAlphaBackup && return Ptr{Cfloat}(x + 9824) - f === :DisabledStackSize && return Ptr{Cshort}(x + 9828) - f === :LockMarkEdited && return Ptr{Cshort}(x + 9830) - f === :TooltipOverrideCount && return Ptr{Cshort}(x + 9832) - f === :ClipboardHandlerData && return Ptr{ImVector_char}(x + 9840) - f === :MenusIdSubmittedThisFrame && return Ptr{ImVector_ImGuiID}(x + 9856) - f === :TypingSelectState && return Ptr{ImGuiTypingSelectState}(x + 9872) - f === :PlatformImeData && return Ptr{ImGuiPlatformImeData}(x + 9976) - f === :PlatformImeDataPrev && return Ptr{ImGuiPlatformImeData}(x + 9992) - f === :PlatformImeViewport && return Ptr{ImGuiID}(x + 10008) - f === :DockContext && return Ptr{ImGuiDockContext}(x + 10016) - f === :DockNodeWindowMenuHandler && return Ptr{Ptr{Cvoid}}(x + 10072) - f === :SettingsLoaded && return Ptr{Bool}(x + 10080) - f === :SettingsDirtyTimer && return Ptr{Cfloat}(x + 10084) - f === :SettingsIniData && return Ptr{ImGuiTextBuffer}(x + 10088) - f === :SettingsHandlers && return Ptr{ImVector_ImGuiSettingsHandler}(x + 10104) - f === :SettingsWindows && return Ptr{ImChunkStream_ImGuiWindowSettings}(x + 10120) - f === :SettingsTables && return Ptr{ImChunkStream_ImGuiTableSettings}(x + 10136) - f === :Hooks && return Ptr{ImVector_ImGuiContextHook}(x + 10152) - f === :HookIdNext && return Ptr{ImGuiID}(x + 10168) - f === :LocalizationTable && return Ptr{NTuple{13, Ptr{Cchar}}}(x + 10176) - f === :LogEnabled && return Ptr{Bool}(x + 10280) - f === :LogType && return Ptr{ImGuiLogType}(x + 10284) - f === :LogFile && return Ptr{ImFileHandle}(x + 10288) - f === :LogBuffer && return Ptr{ImGuiTextBuffer}(x + 10296) - f === :LogNextPrefix && return Ptr{Ptr{Cchar}}(x + 10312) - f === :LogNextSuffix && return Ptr{Ptr{Cchar}}(x + 10320) - f === :LogLinePosY && return Ptr{Cfloat}(x + 10328) - f === :LogLineFirstItem && return Ptr{Bool}(x + 10332) - f === :LogDepthRef && return Ptr{Cint}(x + 10336) - f === :LogDepthToExpand && return Ptr{Cint}(x + 10340) - f === :LogDepthToExpandDefault && return Ptr{Cint}(x + 10344) - f === :DebugLogFlags && return Ptr{ImGuiDebugLogFlags}(x + 10348) - f === :DebugLogBuf && return Ptr{ImGuiTextBuffer}(x + 10352) - f === :DebugLogIndex && return Ptr{ImGuiTextIndex}(x + 10368) - f === :DebugLogAutoDisableFlags && return Ptr{ImGuiDebugLogFlags}(x + 10392) - f === :DebugLogAutoDisableFrames && return Ptr{ImU8}(x + 10396) - f === :DebugLocateFrames && return Ptr{ImU8}(x + 10397) - f === :DebugBreakInLocateId && return Ptr{Bool}(x + 10398) - f === :DebugBreakKeyChord && return Ptr{ImGuiKeyChord}(x + 10400) - f === :DebugBeginReturnValueCullDepth && return Ptr{ImS8}(x + 10404) - f === :DebugItemPickerActive && return Ptr{Bool}(x + 10405) - f === :DebugItemPickerMouseButton && return Ptr{ImU8}(x + 10406) - f === :DebugItemPickerBreakId && return Ptr{ImGuiID}(x + 10408) - f === :DebugFlashStyleColorTime && return Ptr{Cfloat}(x + 10412) - f === :DebugFlashStyleColorBackup && return Ptr{ImVec4}(x + 10416) - f === :DebugMetricsConfig && return Ptr{ImGuiMetricsConfig}(x + 10432) - f === :DebugIDStackTool && return Ptr{ImGuiIDStackTool}(x + 10464) - f === :DebugAllocInfo && return Ptr{ImGuiDebugAllocInfo}(x + 10504) - f === :DebugHoveredDockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 10568) - f === :FramerateSecPerFrame && return Ptr{NTuple{60, Cfloat}}(x + 10576) - f === :FramerateSecPerFrameIdx && return Ptr{Cint}(x + 10816) - f === :FramerateSecPerFrameCount && return Ptr{Cint}(x + 10820) - f === :FramerateSecPerFrameAccum && return Ptr{Cfloat}(x + 10824) - f === :WantCaptureMouseNextFrame && return Ptr{Cint}(x + 10828) - f === :WantCaptureKeyboardNextFrame && return Ptr{Cint}(x + 10832) - f === :WantTextInputNextFrame && return Ptr{Cint}(x + 10836) - f === :TempBuffer && return Ptr{ImVector_char}(x + 10840) - f === :TempKeychordName && return Ptr{NTuple{64, Cchar}}(x + 10856) + f === :PlatformIO && return Ptr{ImGuiPlatformIO}(x + 3016) + f === :Style && return Ptr{ImGuiStyle}(x + 3312) + f === :ConfigFlagsCurrFrame && return Ptr{ImGuiConfigFlags}(x + 4504) + f === :ConfigFlagsLastFrame && return Ptr{ImGuiConfigFlags}(x + 4508) + f === :Font && return Ptr{Ptr{ImFont}}(x + 4512) + f === :FontSize && return Ptr{Cfloat}(x + 4520) + f === :FontBaseSize && return Ptr{Cfloat}(x + 4524) + f === :FontScale && return Ptr{Cfloat}(x + 4528) + f === :CurrentDpiScale && return Ptr{Cfloat}(x + 4532) + f === :DrawListSharedData && return Ptr{ImDrawListSharedData}(x + 4536) + f === :Time && return Ptr{Cdouble}(x + 5072) + f === :FrameCount && return Ptr{Cint}(x + 5080) + f === :FrameCountEnded && return Ptr{Cint}(x + 5084) + f === :FrameCountPlatformEnded && return Ptr{Cint}(x + 5088) + f === :FrameCountRendered && return Ptr{Cint}(x + 5092) + f === :WithinFrameScope && return Ptr{Bool}(x + 5096) + f === :WithinFrameScopeWithImplicitWindow && return Ptr{Bool}(x + 5097) + f === :WithinEndChild && return Ptr{Bool}(x + 5098) + f === :GcCompactAll && return Ptr{Bool}(x + 5099) + f === :TestEngineHookItems && return Ptr{Bool}(x + 5100) + f === :TestEngine && return Ptr{Ptr{Cvoid}}(x + 5104) + f === :ContextName && return Ptr{NTuple{16, Cchar}}(x + 5112) + f === :InputEventsQueue && return Ptr{ImVector_ImGuiInputEvent}(x + 5128) + f === :InputEventsTrail && return Ptr{ImVector_ImGuiInputEvent}(x + 5144) + f === :InputEventsNextMouseSource && return Ptr{ImGuiMouseSource}(x + 5160) + f === :InputEventsNextEventId && return Ptr{ImU32}(x + 5164) + f === :Windows && return Ptr{ImVector_ImGuiWindowPtr}(x + 5168) + f === :WindowsFocusOrder && return Ptr{ImVector_ImGuiWindowPtr}(x + 5184) + f === :WindowsTempSortBuffer && return Ptr{ImVector_ImGuiWindowPtr}(x + 5200) + f === :CurrentWindowStack && return Ptr{ImVector_ImGuiWindowStackData}(x + 5216) + f === :WindowsById && return Ptr{ImGuiStorage}(x + 5232) + f === :WindowsActiveCount && return Ptr{Cint}(x + 5248) + f === :WindowsHoverPadding && return Ptr{ImVec2}(x + 5252) + f === :DebugBreakInWindow && return Ptr{ImGuiID}(x + 5260) + f === :CurrentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5264) + f === :HoveredWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5272) + f === :HoveredWindowUnderMovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5280) + f === :HoveredWindowBeforeClear && return Ptr{Ptr{ImGuiWindow}}(x + 5288) + f === :MovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5296) + f === :WheelingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5304) + f === :WheelingWindowRefMousePos && return Ptr{ImVec2}(x + 5312) + f === :WheelingWindowStartFrame && return Ptr{Cint}(x + 5320) + f === :WheelingWindowScrolledFrame && return Ptr{Cint}(x + 5324) + f === :WheelingWindowReleaseTimer && return Ptr{Cfloat}(x + 5328) + f === :WheelingWindowWheelRemainder && return Ptr{ImVec2}(x + 5332) + f === :WheelingAxisAvg && return Ptr{ImVec2}(x + 5340) + f === :DebugDrawIdConflicts && return Ptr{ImGuiID}(x + 5348) + f === :DebugHookIdInfo && return Ptr{ImGuiID}(x + 5352) + f === :HoveredId && return Ptr{ImGuiID}(x + 5356) + f === :HoveredIdPreviousFrame && return Ptr{ImGuiID}(x + 5360) + f === :HoveredIdPreviousFrameItemCount && return Ptr{Cint}(x + 5364) + f === :HoveredIdTimer && return Ptr{Cfloat}(x + 5368) + f === :HoveredIdNotActiveTimer && return Ptr{Cfloat}(x + 5372) + f === :HoveredIdAllowOverlap && return Ptr{Bool}(x + 5376) + f === :HoveredIdIsDisabled && return Ptr{Bool}(x + 5377) + f === :ItemUnclipByLog && return Ptr{Bool}(x + 5378) + f === :ActiveId && return Ptr{ImGuiID}(x + 5380) + f === :ActiveIdIsAlive && return Ptr{ImGuiID}(x + 5384) + f === :ActiveIdTimer && return Ptr{Cfloat}(x + 5388) + f === :ActiveIdIsJustActivated && return Ptr{Bool}(x + 5392) + f === :ActiveIdAllowOverlap && return Ptr{Bool}(x + 5393) + f === :ActiveIdNoClearOnFocusLoss && return Ptr{Bool}(x + 5394) + f === :ActiveIdHasBeenPressedBefore && return Ptr{Bool}(x + 5395) + f === :ActiveIdHasBeenEditedBefore && return Ptr{Bool}(x + 5396) + f === :ActiveIdHasBeenEditedThisFrame && return Ptr{Bool}(x + 5397) + f === :ActiveIdFromShortcut && return Ptr{Bool}(x + 5398) + f === :ActiveIdMouseButton && return (Ptr{Cint}(x + 5396), 24, 8) + f === :ActiveIdClickOffset && return Ptr{ImVec2}(x + 5400) + f === :ActiveIdWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5408) + f === :ActiveIdSource && return Ptr{ImGuiInputSource}(x + 5416) + f === :ActiveIdPreviousFrame && return Ptr{ImGuiID}(x + 5420) + f === :ActiveIdPreviousFrameIsAlive && return Ptr{Bool}(x + 5424) + f === :ActiveIdPreviousFrameHasBeenEditedBefore && return Ptr{Bool}(x + 5425) + f === :ActiveIdPreviousFrameWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5432) + f === :LastActiveId && return Ptr{ImGuiID}(x + 5440) + f === :LastActiveIdTimer && return Ptr{Cfloat}(x + 5444) + f === :LastKeyModsChangeTime && return Ptr{Cdouble}(x + 5448) + f === :LastKeyModsChangeFromNoneTime && return Ptr{Cdouble}(x + 5456) + f === :LastKeyboardKeyPressTime && return Ptr{Cdouble}(x + 5464) + f === :KeysMayBeCharInput && return Ptr{ImBitArrayForNamedKeys}(x + 5472) + f === :KeysOwnerData && return Ptr{NTuple{154, ImGuiKeyOwnerData}}(x + 5492) + f === :KeysRoutingTable && return Ptr{ImGuiKeyRoutingTable}(x + 7344) + f === :ActiveIdUsingNavDirMask && return Ptr{ImU32}(x + 7688) + f === :ActiveIdUsingAllKeyboardKeys && return Ptr{Bool}(x + 7692) + f === :DebugBreakInShortcutRouting && return Ptr{ImGuiKeyChord}(x + 7696) + f === :CurrentFocusScopeId && return Ptr{ImGuiID}(x + 7700) + f === :CurrentItemFlags && return Ptr{ImGuiItemFlags}(x + 7704) + f === :DebugLocateId && return Ptr{ImGuiID}(x + 7708) + f === :NextItemData && return Ptr{ImGuiNextItemData}(x + 7712) + f === :LastItemData && return Ptr{ImGuiLastItemData}(x + 7768) + f === :NextWindowData && return Ptr{ImGuiNextWindowData}(x + 7848) + f === :DebugShowGroupRects && return Ptr{Bool}(x + 8008) + f === :DebugFlashStyleColorIdx && return Ptr{ImGuiCol}(x + 8012) + f === :ColorStack && return Ptr{ImVector_ImGuiColorMod}(x + 8016) + f === :StyleVarStack && return Ptr{ImVector_ImGuiStyleMod}(x + 8032) + f === :FontStack && return Ptr{ImVector_ImFontPtr}(x + 8048) + f === :FocusScopeStack && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8064) + f === :ItemFlagsStack && return Ptr{ImVector_ImGuiItemFlags}(x + 8080) + f === :GroupStack && return Ptr{ImVector_ImGuiGroupData}(x + 8096) + f === :OpenPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8112) + f === :BeginPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8128) + f === :TreeNodeStack && return Ptr{ImVector_ImGuiTreeNodeStackData}(x + 8144) + f === :Viewports && return Ptr{ImVector_ImGuiViewportPPtr}(x + 8160) + f === :CurrentViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8176) + f === :MouseViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8184) + f === :MouseLastHoveredViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8192) + f === :PlatformLastFocusedViewportId && return Ptr{ImGuiID}(x + 8200) + f === :FallbackMonitor && return Ptr{ImGuiPlatformMonitor}(x + 8208) + f === :PlatformMonitorsFullWorkRect && return Ptr{ImRect}(x + 8256) + f === :ViewportCreatedCount && return Ptr{Cint}(x + 8272) + f === :PlatformWindowsCreatedCount && return Ptr{Cint}(x + 8276) + f === :ViewportFocusedStampCount && return Ptr{Cint}(x + 8280) + f === :NavCursorVisible && return Ptr{Bool}(x + 8284) + f === :NavHighlightItemUnderNav && return Ptr{Bool}(x + 8285) + f === :NavMousePosDirty && return Ptr{Bool}(x + 8286) + f === :NavIdIsAlive && return Ptr{Bool}(x + 8287) + f === :NavId && return Ptr{ImGuiID}(x + 8288) + f === :NavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8296) + f === :NavFocusScopeId && return Ptr{ImGuiID}(x + 8304) + f === :NavLayer && return Ptr{ImGuiNavLayer}(x + 8308) + f === :NavActivateId && return Ptr{ImGuiID}(x + 8312) + f === :NavActivateDownId && return Ptr{ImGuiID}(x + 8316) + f === :NavActivatePressedId && return Ptr{ImGuiID}(x + 8320) + f === :NavActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8324) + f === :NavFocusRoute && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8328) + f === :NavHighlightActivatedId && return Ptr{ImGuiID}(x + 8344) + f === :NavHighlightActivatedTimer && return Ptr{Cfloat}(x + 8348) + f === :NavNextActivateId && return Ptr{ImGuiID}(x + 8352) + f === :NavNextActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8356) + f === :NavInputSource && return Ptr{ImGuiInputSource}(x + 8360) + f === :NavLastValidSelectionUserData && return Ptr{ImGuiSelectionUserData}(x + 8368) + f === :NavCursorHideFrames && return Ptr{ImS8}(x + 8376) + f === :NavAnyRequest && return Ptr{Bool}(x + 8377) + f === :NavInitRequest && return Ptr{Bool}(x + 8378) + f === :NavInitRequestFromMove && return Ptr{Bool}(x + 8379) + f === :NavInitResult && return Ptr{ImGuiNavItemData}(x + 8384) + f === :NavMoveSubmitted && return Ptr{Bool}(x + 8440) + f === :NavMoveScoringItems && return Ptr{Bool}(x + 8441) + f === :NavMoveForwardToNextFrame && return Ptr{Bool}(x + 8442) + f === :NavMoveFlags && return Ptr{ImGuiNavMoveFlags}(x + 8444) + f === :NavMoveScrollFlags && return Ptr{ImGuiScrollFlags}(x + 8448) + f === :NavMoveKeyMods && return Ptr{ImGuiKeyChord}(x + 8452) + f === :NavMoveDir && return Ptr{ImGuiDir}(x + 8456) + f === :NavMoveDirForDebug && return Ptr{ImGuiDir}(x + 8460) + f === :NavMoveClipDir && return Ptr{ImGuiDir}(x + 8464) + f === :NavScoringRect && return Ptr{ImRect}(x + 8468) + f === :NavScoringNoClipRect && return Ptr{ImRect}(x + 8484) + f === :NavScoringDebugCount && return Ptr{Cint}(x + 8500) + f === :NavTabbingDir && return Ptr{Cint}(x + 8504) + f === :NavTabbingCounter && return Ptr{Cint}(x + 8508) + f === :NavMoveResultLocal && return Ptr{ImGuiNavItemData}(x + 8512) + f === :NavMoveResultLocalVisible && return Ptr{ImGuiNavItemData}(x + 8568) + f === :NavMoveResultOther && return Ptr{ImGuiNavItemData}(x + 8624) + f === :NavTabbingResultFirst && return Ptr{ImGuiNavItemData}(x + 8680) + f === :NavJustMovedFromFocusScopeId && return Ptr{ImGuiID}(x + 8736) + f === :NavJustMovedToId && return Ptr{ImGuiID}(x + 8740) + f === :NavJustMovedToFocusScopeId && return Ptr{ImGuiID}(x + 8744) + f === :NavJustMovedToKeyMods && return Ptr{ImGuiKeyChord}(x + 8748) + f === :NavJustMovedToIsTabbing && return Ptr{Bool}(x + 8752) + f === :NavJustMovedToHasSelectionData && return Ptr{Bool}(x + 8753) + f === :ConfigNavWindowingKeyNext && return Ptr{ImGuiKeyChord}(x + 8756) + f === :ConfigNavWindowingKeyPrev && return Ptr{ImGuiKeyChord}(x + 8760) + f === :NavWindowingTarget && return Ptr{Ptr{ImGuiWindow}}(x + 8768) + f === :NavWindowingTargetAnim && return Ptr{Ptr{ImGuiWindow}}(x + 8776) + f === :NavWindowingListWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8784) + f === :NavWindowingTimer && return Ptr{Cfloat}(x + 8792) + f === :NavWindowingHighlightAlpha && return Ptr{Cfloat}(x + 8796) + f === :NavWindowingToggleLayer && return Ptr{Bool}(x + 8800) + f === :NavWindowingToggleKey && return Ptr{ImGuiKey}(x + 8804) + f === :NavWindowingAccumDeltaPos && return Ptr{ImVec2}(x + 8808) + f === :NavWindowingAccumDeltaSize && return Ptr{ImVec2}(x + 8816) + f === :DimBgRatio && return Ptr{Cfloat}(x + 8824) + f === :DragDropActive && return Ptr{Bool}(x + 8828) + f === :DragDropWithinSource && return Ptr{Bool}(x + 8829) + f === :DragDropWithinTarget && return Ptr{Bool}(x + 8830) + f === :DragDropSourceFlags && return Ptr{ImGuiDragDropFlags}(x + 8832) + f === :DragDropSourceFrameCount && return Ptr{Cint}(x + 8836) + f === :DragDropMouseButton && return Ptr{Cint}(x + 8840) + f === :DragDropPayload && return Ptr{ImGuiPayload}(x + 8848) + f === :DragDropTargetRect && return Ptr{ImRect}(x + 8912) + f === :DragDropTargetClipRect && return Ptr{ImRect}(x + 8928) + f === :DragDropTargetId && return Ptr{ImGuiID}(x + 8944) + f === :DragDropAcceptFlags && return Ptr{ImGuiDragDropFlags}(x + 8948) + f === :DragDropAcceptIdCurrRectSurface && return Ptr{Cfloat}(x + 8952) + f === :DragDropAcceptIdCurr && return Ptr{ImGuiID}(x + 8956) + f === :DragDropAcceptIdPrev && return Ptr{ImGuiID}(x + 8960) + f === :DragDropAcceptFrameCount && return Ptr{Cint}(x + 8964) + f === :DragDropHoldJustPressedId && return Ptr{ImGuiID}(x + 8968) + f === :DragDropPayloadBufHeap && return Ptr{ImVector_unsigned_char}(x + 8976) + f === :DragDropPayloadBufLocal && return Ptr{NTuple{16, Cuchar}}(x + 8992) + f === :ClipperTempDataStacked && return Ptr{Cint}(x + 9008) + f === :ClipperTempData && return Ptr{ImVector_ImGuiListClipperData}(x + 9016) + f === :CurrentTable && return Ptr{Ptr{ImGuiTable}}(x + 9032) + f === :DebugBreakInTable && return Ptr{ImGuiID}(x + 9040) + f === :TablesTempDataStacked && return Ptr{Cint}(x + 9044) + f === :TablesTempData && return Ptr{ImVector_ImGuiTableTempData}(x + 9048) + f === :Tables && return Ptr{ImPool_ImGuiTable}(x + 9064) + f === :TablesLastTimeActive && return Ptr{ImVector_float}(x + 9104) + f === :DrawChannelsTempMergeBuffer && return Ptr{ImVector_ImDrawChannel}(x + 9120) + f === :CurrentTabBar && return Ptr{Ptr{ImGuiTabBar}}(x + 9136) + f === :TabBars && return Ptr{ImPool_ImGuiTabBar}(x + 9144) + f === :CurrentTabBarStack && return Ptr{ImVector_ImGuiPtrOrIndex}(x + 9184) + f === :ShrinkWidthBuffer && return Ptr{ImVector_ImGuiShrinkWidthItem}(x + 9200) + f === :BoxSelectState && return Ptr{ImGuiBoxSelectState}(x + 9216) + f === :CurrentMultiSelect && return Ptr{Ptr{ImGuiMultiSelectTempData}}(x + 9320) + f === :MultiSelectTempDataStacked && return Ptr{Cint}(x + 9328) + f === :MultiSelectTempData && return Ptr{ImVector_ImGuiMultiSelectTempData}(x + 9336) + f === :MultiSelectStorage && return Ptr{ImPool_ImGuiMultiSelectState}(x + 9352) + f === :HoverItemDelayId && return Ptr{ImGuiID}(x + 9392) + f === :HoverItemDelayIdPreviousFrame && return Ptr{ImGuiID}(x + 9396) + f === :HoverItemDelayTimer && return Ptr{Cfloat}(x + 9400) + f === :HoverItemDelayClearTimer && return Ptr{Cfloat}(x + 9404) + f === :HoverItemUnlockedStationaryId && return Ptr{ImGuiID}(x + 9408) + f === :HoverWindowUnlockedStationaryId && return Ptr{ImGuiID}(x + 9412) + f === :MouseCursor && return Ptr{ImGuiMouseCursor}(x + 9416) + f === :MouseStationaryTimer && return Ptr{Cfloat}(x + 9420) + f === :MouseLastValidPos && return Ptr{ImVec2}(x + 9424) + f === :InputTextState && return Ptr{ImGuiInputTextState}(x + 9432) + f === :InputTextDeactivatedState && return Ptr{ImGuiInputTextDeactivatedState}(x + 9544) + f === :InputTextPasswordFont && return Ptr{ImFont}(x + 9568) + f === :TempInputId && return Ptr{ImGuiID}(x + 9688) + f === :DataTypeZeroValue && return Ptr{ImGuiDataTypeStorage}(x + 9692) + f === :BeginMenuDepth && return Ptr{Cint}(x + 9700) + f === :BeginComboDepth && return Ptr{Cint}(x + 9704) + f === :ColorEditOptions && return Ptr{ImGuiColorEditFlags}(x + 9708) + f === :ColorEditCurrentID && return Ptr{ImGuiID}(x + 9712) + f === :ColorEditSavedID && return Ptr{ImGuiID}(x + 9716) + f === :ColorEditSavedHue && return Ptr{Cfloat}(x + 9720) + f === :ColorEditSavedSat && return Ptr{Cfloat}(x + 9724) + f === :ColorEditSavedColor && return Ptr{ImU32}(x + 9728) + f === :ColorPickerRef && return Ptr{ImVec4}(x + 9732) + f === :ComboPreviewData && return Ptr{ImGuiComboPreviewData}(x + 9748) + f === :WindowResizeBorderExpectedRect && return Ptr{ImRect}(x + 9796) + f === :WindowResizeRelativeMode && return Ptr{Bool}(x + 9812) + f === :ScrollbarSeekMode && return Ptr{Cshort}(x + 9814) + f === :ScrollbarClickDeltaToGrabCenter && return Ptr{Cfloat}(x + 9816) + f === :SliderGrabClickOffset && return Ptr{Cfloat}(x + 9820) + f === :SliderCurrentAccum && return Ptr{Cfloat}(x + 9824) + f === :SliderCurrentAccumDirty && return Ptr{Bool}(x + 9828) + f === :DragCurrentAccumDirty && return Ptr{Bool}(x + 9829) + f === :DragCurrentAccum && return Ptr{Cfloat}(x + 9832) + f === :DragSpeedDefaultRatio && return Ptr{Cfloat}(x + 9836) + f === :DisabledAlphaBackup && return Ptr{Cfloat}(x + 9840) + f === :DisabledStackSize && return Ptr{Cshort}(x + 9844) + f === :TooltipOverrideCount && return Ptr{Cshort}(x + 9846) + f === :TooltipPreviousWindow && return Ptr{Ptr{ImGuiWindow}}(x + 9848) + f === :ClipboardHandlerData && return Ptr{ImVector_char}(x + 9856) + f === :MenusIdSubmittedThisFrame && return Ptr{ImVector_ImGuiID}(x + 9872) + f === :TypingSelectState && return Ptr{ImGuiTypingSelectState}(x + 9888) + f === :PlatformImeData && return Ptr{ImGuiPlatformImeData}(x + 9992) + f === :PlatformImeDataPrev && return Ptr{ImGuiPlatformImeData}(x + 10008) + f === :PlatformImeViewport && return Ptr{ImGuiID}(x + 10024) + f === :DockContext && return Ptr{ImGuiDockContext}(x + 10032) + f === :DockNodeWindowMenuHandler && return Ptr{Ptr{Cvoid}}(x + 10088) + f === :SettingsLoaded && return Ptr{Bool}(x + 10096) + f === :SettingsDirtyTimer && return Ptr{Cfloat}(x + 10100) + f === :SettingsIniData && return Ptr{ImGuiTextBuffer}(x + 10104) + f === :SettingsHandlers && return Ptr{ImVector_ImGuiSettingsHandler}(x + 10120) + f === :SettingsWindows && return Ptr{ImChunkStream_ImGuiWindowSettings}(x + 10136) + f === :SettingsTables && return Ptr{ImChunkStream_ImGuiTableSettings}(x + 10152) + f === :Hooks && return Ptr{ImVector_ImGuiContextHook}(x + 10168) + f === :HookIdNext && return Ptr{ImGuiID}(x + 10184) + f === :LocalizationTable && return Ptr{NTuple{13, Ptr{Cchar}}}(x + 10192) + f === :LogEnabled && return Ptr{Bool}(x + 10296) + f === :LogFlags && return Ptr{ImGuiLogFlags}(x + 10300) + f === :LogWindow && return Ptr{Ptr{ImGuiWindow}}(x + 10304) + f === :LogFile && return Ptr{ImFileHandle}(x + 10312) + f === :LogBuffer && return Ptr{ImGuiTextBuffer}(x + 10320) + f === :LogNextPrefix && return Ptr{Ptr{Cchar}}(x + 10336) + f === :LogNextSuffix && return Ptr{Ptr{Cchar}}(x + 10344) + f === :LogLinePosY && return Ptr{Cfloat}(x + 10352) + f === :LogLineFirstItem && return Ptr{Bool}(x + 10356) + f === :LogDepthRef && return Ptr{Cint}(x + 10360) + f === :LogDepthToExpand && return Ptr{Cint}(x + 10364) + f === :LogDepthToExpandDefault && return Ptr{Cint}(x + 10368) + f === :ErrorCallback && return Ptr{ImGuiErrorCallback}(x + 10376) + f === :ErrorCallbackUserData && return Ptr{Ptr{Cvoid}}(x + 10384) + f === :ErrorTooltipLockedPos && return Ptr{ImVec2}(x + 10392) + f === :ErrorFirst && return Ptr{Bool}(x + 10400) + f === :ErrorCountCurrentFrame && return Ptr{Cint}(x + 10404) + f === :StackSizesInNewFrame && return Ptr{ImGuiErrorRecoveryState}(x + 10408) + f === :StackSizesInBeginForCurrentWindow && return Ptr{Ptr{ImGuiErrorRecoveryState}}(x + 10432) + f === :DebugDrawIdConflictsCount && return Ptr{Cint}(x + 10440) + f === :DebugLogFlags && return Ptr{ImGuiDebugLogFlags}(x + 10444) + f === :DebugLogBuf && return Ptr{ImGuiTextBuffer}(x + 10448) + f === :DebugLogIndex && return Ptr{ImGuiTextIndex}(x + 10464) + f === :DebugLogSkippedErrors && return Ptr{Cint}(x + 10488) + f === :DebugLogAutoDisableFlags && return Ptr{ImGuiDebugLogFlags}(x + 10492) + f === :DebugLogAutoDisableFrames && return Ptr{ImU8}(x + 10496) + f === :DebugLocateFrames && return Ptr{ImU8}(x + 10497) + f === :DebugBreakInLocateId && return Ptr{Bool}(x + 10498) + f === :DebugBreakKeyChord && return Ptr{ImGuiKeyChord}(x + 10500) + f === :DebugBeginReturnValueCullDepth && return Ptr{ImS8}(x + 10504) + f === :DebugItemPickerActive && return Ptr{Bool}(x + 10505) + f === :DebugItemPickerMouseButton && return Ptr{ImU8}(x + 10506) + f === :DebugItemPickerBreakId && return Ptr{ImGuiID}(x + 10508) + f === :DebugFlashStyleColorTime && return Ptr{Cfloat}(x + 10512) + f === :DebugFlashStyleColorBackup && return Ptr{ImVec4}(x + 10516) + f === :DebugMetricsConfig && return Ptr{ImGuiMetricsConfig}(x + 10532) + f === :DebugIDStackTool && return Ptr{ImGuiIDStackTool}(x + 10560) + f === :DebugAllocInfo && return Ptr{ImGuiDebugAllocInfo}(x + 10600) + f === :DebugHoveredDockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 10664) + f === :FramerateSecPerFrame && return Ptr{NTuple{60, Cfloat}}(x + 10672) + f === :FramerateSecPerFrameIdx && return Ptr{Cint}(x + 10912) + f === :FramerateSecPerFrameCount && return Ptr{Cint}(x + 10916) + f === :FramerateSecPerFrameAccum && return Ptr{Cfloat}(x + 10920) + f === :WantCaptureMouseNextFrame && return Ptr{Cint}(x + 10924) + f === :WantCaptureKeyboardNextFrame && return Ptr{Cint}(x + 10928) + f === :WantTextInputNextFrame && return Ptr{Cint}(x + 10932) + f === :TempBuffer && return Ptr{ImVector_char}(x + 10936) + f === :TempKeychordName && return Ptr{NTuple{64, Cchar}}(x + 10952) return getfield(x, f) end @@ -3561,8 +3654,6 @@ struct ImVector_const_charPtr Data::Ptr{Ptr{Cchar}} end -const ImU64 = Culonglong - const ImGuiMouseButton = Cint const ImGuiTableBgTarget = Cint @@ -3667,12 +3758,13 @@ end ImGuiInputTextFlags_DisplayEmptyRefVal = 16384 ImGuiInputTextFlags_NoHorizontalScroll = 32768 ImGuiInputTextFlags_NoUndoRedo = 65536 - ImGuiInputTextFlags_CallbackCompletion = 131072 - ImGuiInputTextFlags_CallbackHistory = 262144 - ImGuiInputTextFlags_CallbackAlways = 524288 - ImGuiInputTextFlags_CallbackCharFilter = 1048576 - ImGuiInputTextFlags_CallbackResize = 2097152 - ImGuiInputTextFlags_CallbackEdit = 4194304 + ImGuiInputTextFlags_ElideLeft = 131072 + ImGuiInputTextFlags_CallbackCompletion = 262144 + ImGuiInputTextFlags_CallbackHistory = 524288 + ImGuiInputTextFlags_CallbackAlways = 1048576 + ImGuiInputTextFlags_CallbackCharFilter = 2097152 + ImGuiInputTextFlags_CallbackResize = 4194304 + ImGuiInputTextFlags_CallbackEdit = 8388608 end @cenum ImGuiTreeNodeFlags_::UInt32 begin @@ -3856,8 +3948,6 @@ end ImGuiConfigFlags_None = 0 ImGuiConfigFlags_NavEnableKeyboard = 1 ImGuiConfigFlags_NavEnableGamepad = 2 - ImGuiConfigFlags_NavEnableSetMousePos = 4 - ImGuiConfigFlags_NavNoCaptureKeyboard = 8 ImGuiConfigFlags_NoMouse = 16 ImGuiConfigFlags_NoMouseCursorChange = 32 ImGuiConfigFlags_NoKeyboard = 64 @@ -3935,7 +4025,7 @@ end ImGuiCol_TextLink = 51 ImGuiCol_TextSelectedBg = 52 ImGuiCol_DragDropTarget = 53 - ImGuiCol_NavHighlight = 54 + ImGuiCol_NavCursor = 54 ImGuiCol_NavWindowingHighlight = 55 ImGuiCol_NavWindowingDimBg = 56 ImGuiCol_ModalWindowDimBg = 57 @@ -3986,6 +4076,7 @@ end ImGuiButtonFlags_MouseButtonRight = 2 ImGuiButtonFlags_MouseButtonMiddle = 4 ImGuiButtonFlags_MouseButtonMask_ = 7 + ImGuiButtonFlags_EnableNav = 8 end @cenum ImGuiColorEditFlags_::UInt32 begin @@ -4022,11 +4113,13 @@ end @cenum ImGuiSliderFlags_::UInt32 begin ImGuiSliderFlags_None = 0 - ImGuiSliderFlags_AlwaysClamp = 16 ImGuiSliderFlags_Logarithmic = 32 ImGuiSliderFlags_NoRoundToFormat = 64 ImGuiSliderFlags_NoInput = 128 ImGuiSliderFlags_WrapAround = 256 + ImGuiSliderFlags_ClampOnInput = 512 + ImGuiSliderFlags_ClampZeroRange = 1024 + ImGuiSliderFlags_AlwaysClamp = 1536 ImGuiSliderFlags_InvalidMask_ = 1879048207 end @@ -4214,7 +4307,7 @@ end const ImGuiFocusRequestFlags = Cint -const ImGuiNavHighlightFlags = Cint +const ImGuiNavRenderCursorFlags = Cint const ImGuiSeparatorFlags = Cint @@ -4222,9 +4315,6 @@ const ImGuiTextFlags = Cint const ImGuiTooltipFlags = Cint -# typedef void ( * ImGuiErrorLogCallback ) ( void * user_data , const char * fmt , ... ) -const ImGuiErrorLogCallback = Ptr{Cvoid} - @cenum ImGuiDataTypePrivate_::UInt32 begin ImGuiDataType_String = 12 ImGuiDataType_Pointer = 13 @@ -4237,6 +4327,8 @@ end ImGuiItemFlags_MixedValue = 4096 ImGuiItemFlags_NoWindowHoverableCheck = 8192 ImGuiItemFlags_AllowOverlap = 16384 + ImGuiItemFlags_NoNavDisableMouseHover = 32768 + ImGuiItemFlags_NoMarkEdited = 65536 ImGuiItemFlags_Inputable = 1048576 ImGuiItemFlags_HasSelectionUserData = 2097152 ImGuiItemFlags_IsMultiSelect = 4194304 @@ -4266,9 +4358,8 @@ end @cenum ImGuiInputTextFlagsPrivate_::UInt32 begin ImGuiInputTextFlags_Multiline = 67108864 - ImGuiInputTextFlags_NoMarkEdited = 134217728 - ImGuiInputTextFlags_MergedItem = 268435456 - ImGuiInputTextFlags_LocalizeDecimalPoint = 536870912 + ImGuiInputTextFlags_MergedItem = 134217728 + ImGuiInputTextFlags_LocalizeDecimalPoint = 268435456 end @cenum ImGuiButtonFlagsPrivate_::UInt32 begin @@ -4278,12 +4369,10 @@ end ImGuiButtonFlags_PressedOnRelease = 128 ImGuiButtonFlags_PressedOnDoubleClick = 256 ImGuiButtonFlags_PressedOnDragDropHold = 512 - ImGuiButtonFlags_Repeat = 1024 ImGuiButtonFlags_FlattenChildren = 2048 ImGuiButtonFlags_AllowOverlap = 4096 - ImGuiButtonFlags_DontClosePopups = 8192 ImGuiButtonFlags_AlignTextBaseLine = 32768 - ImGuiButtonFlags_NoKeyModifiers = 65536 + ImGuiButtonFlags_NoKeyModsAllowed = 65536 ImGuiButtonFlags_NoHoldingActiveId = 131072 ImGuiButtonFlags_NoNavFocus = 262144 ImGuiButtonFlags_NoHoveredOnFocus = 524288 @@ -4347,6 +4436,15 @@ end ImGuiLayoutType_Vertical = 1 end +@cenum ImGuiLogFlags_::UInt32 begin + ImGuiLogFlags_None = 0 + ImGuiLogFlags_OutputTTY = 1 + ImGuiLogFlags_OutputFile = 2 + ImGuiLogFlags_OutputBuffer = 4 + ImGuiLogFlags_OutputClipboard = 8 + ImGuiLogFlags_OutputMask_ = 15 +end + @cenum ImGuiPlotType::UInt32 begin ImGuiPlotType_Lines = 0 ImGuiPlotType_Histogram = 1 @@ -4476,11 +4574,11 @@ end ImGuiScrollFlags_MaskY_ = 42 end -@cenum ImGuiNavHighlightFlags_::UInt32 begin - ImGuiNavHighlightFlags_None = 0 - ImGuiNavHighlightFlags_Compact = 2 - ImGuiNavHighlightFlags_AlwaysDraw = 4 - ImGuiNavHighlightFlags_NoRounding = 8 +@cenum ImGuiNavRenderCursorFlags_::UInt32 begin + ImGuiNavRenderCursorFlags_None = 0 + ImGuiNavRenderCursorFlags_Compact = 2 + ImGuiNavRenderCursorFlags_AlwaysDraw = 4 + ImGuiNavRenderCursorFlags_NoRounding = 8 end @cenum ImGuiNavMoveFlags_::UInt32 begin @@ -4500,7 +4598,7 @@ end ImGuiNavMoveFlags_IsPageMove = 2048 ImGuiNavMoveFlags_Activate = 4096 ImGuiNavMoveFlags_NoSelect = 8192 - ImGuiNavMoveFlags_NoSetNavHighlight = 16384 + ImGuiNavMoveFlags_NoSetNavCursorVisible = 16384 ImGuiNavMoveFlags_NoClearActiveId = 32768 end @@ -4560,17 +4658,19 @@ end @cenum ImGuiDebugLogFlags_::UInt32 begin ImGuiDebugLogFlags_None = 0 - ImGuiDebugLogFlags_EventActiveId = 1 - ImGuiDebugLogFlags_EventFocus = 2 - ImGuiDebugLogFlags_EventPopup = 4 - ImGuiDebugLogFlags_EventNav = 8 - ImGuiDebugLogFlags_EventClipper = 16 - ImGuiDebugLogFlags_EventSelection = 32 - ImGuiDebugLogFlags_EventIO = 64 - ImGuiDebugLogFlags_EventInputRouting = 128 - ImGuiDebugLogFlags_EventDocking = 256 - ImGuiDebugLogFlags_EventViewport = 512 - ImGuiDebugLogFlags_EventMask_ = 1023 + ImGuiDebugLogFlags_EventError = 1 + ImGuiDebugLogFlags_EventActiveId = 2 + ImGuiDebugLogFlags_EventFocus = 4 + ImGuiDebugLogFlags_EventPopup = 8 + ImGuiDebugLogFlags_EventNav = 16 + ImGuiDebugLogFlags_EventClipper = 32 + ImGuiDebugLogFlags_EventSelection = 64 + ImGuiDebugLogFlags_EventIO = 128 + ImGuiDebugLogFlags_EventFont = 256 + ImGuiDebugLogFlags_EventInputRouting = 512 + ImGuiDebugLogFlags_EventDocking = 1024 + ImGuiDebugLogFlags_EventViewport = 2048 + ImGuiDebugLogFlags_EventMask_ = 4095 ImGuiDebugLogFlags_OutputToTTY = 1048576 ImGuiDebugLogFlags_OutputToTestEngine = 2097152 end @@ -5935,6 +6035,10 @@ function igSetKeyboardFocusHere(offset) ccall((:igSetKeyboardFocusHere, libcimgui), Cvoid, (Cint,), offset) end +function igSetNavCursorVisible(visible) + ccall((:igSetNavCursorVisible, libcimgui), Cvoid, (Bool,), visible) +end + function igSetNextItemAllowOverlap() ccall((:igSetNextItemAllowOverlap, libcimgui), Cvoid, ()) end @@ -6920,8 +7024,8 @@ function ImDrawList_PathRect(self, rect_min, rect_max, rounding, flags) ccall((:ImDrawList_PathRect, libcimgui), Cvoid, (Ptr{ImDrawList}, ImVec2, ImVec2, Cfloat, ImDrawFlags), self, rect_min, rect_max, rounding, flags) end -function ImDrawList_AddCallback(self, callback, callback_data) - ccall((:ImDrawList_AddCallback, libcimgui), Cvoid, (Ptr{ImDrawList}, ImDrawCallback, Ptr{Cvoid}), self, callback, callback_data) +function ImDrawList_AddCallback(self, callback, userdata, userdata_size) + ccall((:ImDrawList_AddCallback, libcimgui), Cvoid, (Ptr{ImDrawList}, ImDrawCallback, Ptr{Cvoid}, Csize_t), self, callback, userdata, userdata_size) end function ImDrawList_AddDrawCmd(self) @@ -8090,20 +8194,12 @@ function ImGuiLastItemData_destroy(self) ccall((:ImGuiLastItemData_destroy, libcimgui), Cvoid, (Ptr{ImGuiLastItemData},), self) end -function ImGuiStackSizes_ImGuiStackSizes() - ccall((:ImGuiStackSizes_ImGuiStackSizes, libcimgui), Ptr{ImGuiStackSizes}, ()) -end - -function ImGuiStackSizes_destroy(self) - ccall((:ImGuiStackSizes_destroy, libcimgui), Cvoid, (Ptr{ImGuiStackSizes},), self) +function ImGuiErrorRecoveryState_ImGuiErrorRecoveryState() + ccall((:ImGuiErrorRecoveryState_ImGuiErrorRecoveryState, libcimgui), Ptr{ImGuiErrorRecoveryState}, ()) end -function ImGuiStackSizes_SetToContextState(self, ctx) - ccall((:ImGuiStackSizes_SetToContextState, libcimgui), Cvoid, (Ptr{ImGuiStackSizes}, Ptr{ImGuiContext}), self, ctx) -end - -function ImGuiStackSizes_CompareWithContextState(self, ctx) - ccall((:ImGuiStackSizes_CompareWithContextState, libcimgui), Cvoid, (Ptr{ImGuiStackSizes}, Ptr{ImGuiContext}), self, ctx) +function ImGuiErrorRecoveryState_destroy(self) + ccall((:ImGuiErrorRecoveryState_destroy, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), self) end function ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr(ptr) @@ -8526,6 +8622,14 @@ function ImGuiTableSettings_GetColumnSettings(self) ccall((:ImGuiTableSettings_GetColumnSettings, libcimgui), Ptr{ImGuiTableColumnSettings}, (Ptr{ImGuiTableSettings},), self) end +function igGetIOEx(ctx) + ccall((:igGetIOEx, libcimgui), Ptr{ImGuiIO}, (Ptr{ImGuiContext},), ctx) +end + +function igGetPlatformIOEx(ctx) + ccall((:igGetPlatformIOEx, libcimgui), Ptr{ImGuiPlatformIO}, (Ptr{ImGuiContext},), ctx) +end + function igGetCurrentWindowRead() ccall((:igGetCurrentWindowRead, libcimgui), Ptr{ImGuiWindow}, ()) end @@ -8930,8 +9034,8 @@ function igEndDisabledOverrideReenable() ccall((:igEndDisabledOverrideReenable, libcimgui), Cvoid, ()) end -function igLogBegin(type, auto_open_depth) - ccall((:igLogBegin, libcimgui), Cvoid, (ImGuiLogType, Cint), type, auto_open_depth) +function igLogBegin(flags, auto_open_depth) + ccall((:igLogBegin, libcimgui), Cvoid, (ImGuiLogFlags, Cint), flags, auto_open_depth) end function igLogToBuffer(auto_open_depth) @@ -9078,8 +9182,8 @@ function igNavClearPreferredPosForAxis(axis) ccall((:igNavClearPreferredPosForAxis, libcimgui), Cvoid, (ImGuiAxis,), axis) end -function igNavRestoreHighlightAfterMove() - ccall((:igNavRestoreHighlightAfterMove, libcimgui), Cvoid, ()) +function igSetNavCursorVisibleAfterMove() + ccall((:igSetNavCursorVisibleAfterMove, libcimgui), Cvoid, ()) end function igNavUpdateCurrentWindowIsScrollPushableX() @@ -9798,8 +9902,12 @@ function igTabBarCloseTab(tab_bar, tab) ccall((:igTabBarCloseTab, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) end -function igTabBarQueueFocus(tab_bar, tab) - ccall((:igTabBarQueueFocus, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) +function igTabBarQueueFocus_TabItemPtr(tab_bar, tab) + ccall((:igTabBarQueueFocus_TabItemPtr, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) +end + +function igTabBarQueueFocus_Str(tab_bar, tab_name) + ccall((:igTabBarQueueFocus_Str, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{Cchar}), tab_bar, tab_name) end function igTabBarQueueReorder(tab_bar, tab, offset) @@ -9866,8 +9974,8 @@ function igRenderColorRectWithAlphaCheckerboard(draw_list, p_min, p_max, fill_co ccall((:igRenderColorRectWithAlphaCheckerboard, libcimgui), Cvoid, (Ptr{ImDrawList}, ImVec2, ImVec2, ImU32, Cfloat, ImVec2, Cfloat, ImDrawFlags), draw_list, p_min, p_max, fill_col, grid_step, grid_off, rounding, flags) end -function igRenderNavHighlight(bb, id, flags) - ccall((:igRenderNavHighlight, libcimgui), Cvoid, (ImRect, ImGuiID, ImGuiNavHighlightFlags), bb, id, flags) +function igRenderNavCursor(bb, id, flags) + ccall((:igRenderNavCursor, libcimgui), Cvoid, (ImRect, ImGuiID, ImGuiNavRenderCursorFlags), bb, id, flags) end function igFindRenderedTextEnd(text, text_end) @@ -9922,8 +10030,8 @@ function igArrowButtonEx(str_id, dir, size_arg, flags) ccall((:igArrowButtonEx, libcimgui), Bool, (Ptr{Cchar}, ImGuiDir, ImVec2, ImGuiButtonFlags), str_id, dir, size_arg, flags) end -function igImageButtonEx(id, texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) - ccall((:igImageButtonEx, libcimgui), Bool, (ImGuiID, ImTextureID, ImVec2, ImVec2, ImVec2, ImVec4, ImVec4, ImGuiButtonFlags), id, texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) +function igImageButtonEx(id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) + ccall((:igImageButtonEx, libcimgui), Bool, (ImGuiID, ImTextureID, ImVec2, ImVec2, ImVec2, ImVec4, ImVec4, ImGuiButtonFlags), id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) end function igSeparatorEx(flags, thickness) @@ -9954,8 +10062,8 @@ function igScrollbar(axis) ccall((:igScrollbar, libcimgui), Cvoid, (ImGuiAxis,), axis) end -function igScrollbarEx(bb, id, axis, p_scroll_v, avail_v, contents_v, flags) - ccall((:igScrollbarEx, libcimgui), Bool, (ImRect, ImGuiID, ImGuiAxis, Ptr{ImS64}, ImS64, ImS64, ImDrawFlags), bb, id, axis, p_scroll_v, avail_v, contents_v, flags) +function igScrollbarEx(bb, id, axis, p_scroll_v, avail_v, contents_v, draw_rounding_flags) + ccall((:igScrollbarEx, libcimgui), Bool, (ImRect, ImGuiID, ImGuiAxis, Ptr{ImS64}, ImS64, ImS64, ImDrawFlags), bb, id, axis, p_scroll_v, avail_v, contents_v, draw_rounding_flags) end function igGetWindowScrollbarRect(pOut, window, axis) @@ -10034,6 +10142,10 @@ function igDataTypeClamp(data_type, p_data, p_min, p_max) ccall((:igDataTypeClamp, libcimgui), Bool, (ImGuiDataType, Ptr{Cvoid}, Ptr{Cvoid}, Ptr{Cvoid}), data_type, p_data, p_min, p_max) end +function igDataTypeIsZero(data_type, p_data) + ccall((:igDataTypeIsZero, libcimgui), Bool, (ImGuiDataType, Ptr{Cvoid}), data_type, p_data) +end + function igInputTextEx(label, hint, buf, buf_size, size_arg, flags, callback, user_data) ccall((:igInputTextEx, libcimgui), Bool, (Ptr{Cchar}, Ptr{Cchar}, Ptr{Cchar}, Cint, ImVec2, ImGuiInputTextFlags, ImGuiInputTextCallback, Ptr{Cvoid}), label, hint, buf, buf_size, size_arg, flags, callback, user_data) end @@ -10102,22 +10214,42 @@ function igGcAwakeTransientWindowBuffers(window) ccall((:igGcAwakeTransientWindowBuffers, libcimgui), Cvoid, (Ptr{ImGuiWindow},), window) end -function igDebugAllocHook(info, frame_count, ptr, size) - ccall((:igDebugAllocHook, libcimgui), Cvoid, (Ptr{ImGuiDebugAllocInfo}, Cint, Ptr{Cvoid}, Csize_t), info, frame_count, ptr, size) +function igErrorLog(msg) + ccall((:igErrorLog, libcimgui), Bool, (Ptr{Cchar},), msg) +end + +function igErrorRecoveryStoreState(state_out) + ccall((:igErrorRecoveryStoreState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_out) end -function igErrorCheckEndFrameRecover(log_callback, user_data) - ccall((:igErrorCheckEndFrameRecover, libcimgui), Cvoid, (ImGuiErrorLogCallback, Ptr{Cvoid}), log_callback, user_data) +function igErrorRecoveryTryToRecoverState(state_in) + ccall((:igErrorRecoveryTryToRecoverState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_in) end -function igErrorCheckEndWindowRecover(log_callback, user_data) - ccall((:igErrorCheckEndWindowRecover, libcimgui), Cvoid, (ImGuiErrorLogCallback, Ptr{Cvoid}), log_callback, user_data) +function igErrorRecoveryTryToRecoverWindowState(state_in) + ccall((:igErrorRecoveryTryToRecoverWindowState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_in) end function igErrorCheckUsingSetCursorPosToExtendParentBoundaries() ccall((:igErrorCheckUsingSetCursorPosToExtendParentBoundaries, libcimgui), Cvoid, ()) end +function igErrorCheckEndFrameFinalizeErrorTooltip() + ccall((:igErrorCheckEndFrameFinalizeErrorTooltip, libcimgui), Cvoid, ()) +end + +function igBeginErrorTooltip() + ccall((:igBeginErrorTooltip, libcimgui), Bool, ()) +end + +function igEndErrorTooltip() + ccall((:igEndErrorTooltip, libcimgui), Cvoid, ()) +end + +function igDebugAllocHook(info, frame_count, ptr, size) + ccall((:igDebugAllocHook, libcimgui), Cvoid, (Ptr{ImGuiDebugAllocInfo}, Cint, Ptr{Cvoid}, Csize_t), info, frame_count, ptr, size) +end + function igDebugDrawCursorPos(col) ccall((:igDebugDrawCursorPos, libcimgui), Cvoid, (ImU32,), col) end @@ -10821,11 +10953,29 @@ struct ImVector_ImU64 Data::Ptr{ImU64} end -struct ImVector_ImU8 +struct var"##Ctag#232" Size::Cint Capacity::Cint Data::Ptr{ImU8} end +function Base.getproperty(x::Ptr{var"##Ctag#232"}, f::Symbol) + f === :Size && return Ptr{Cint}(x + 0) + f === :Capacity && return Ptr{Cint}(x + 0) + f === :Data && return Ptr{Ptr{ImU8}}(x + 0) + return getfield(x, f) +end + +function Base.getproperty(x::var"##Ctag#232", f::Symbol) + r = Ref{var"##Ctag#232"}(x) + ptr = Base.unsafe_convert(Ptr{var"##Ctag#232"}, r) + fptr = getproperty(ptr, f) + GC.@preserve r unsafe_load(fptr) +end + +function Base.setproperty!(x::Ptr{var"##Ctag#232"}, f::Symbol, v) + unsafe_store!(getproperty(x, f), v) +end + const ImPlotDragToolFlags = Cint @@ -14828,6 +14978,8 @@ function ImGui_ImplOpenGL3_DestroyDeviceObjects() ccall((:ImGui_ImplOpenGL3_DestroyDeviceObjects, libcimgui), Cvoid, ()) end +const IM_UNICODE_CODEPOINT_MAX = 65535 + const IMGUI_HAS_DOCK = 1 const ImDrawCallback_ResetRenderState = ImDrawCallback(-8) diff --git a/lib/armv7l-linux-gnueabihf.jl b/lib/armv7l-linux-gnueabihf.jl index a5a57b1..3d91582 100644 --- a/lib/armv7l-linux-gnueabihf.jl +++ b/lib/armv7l-linux-gnueabihf.jl @@ -45,7 +45,9 @@ function Base.setproperty!(x::Ptr{ImVec4}, f::Symbol, v) end -const ImTextureID = Ptr{Cvoid} +const ImU64 = Culonglong + +const ImTextureID = ImU64 struct ImDrawCmd ClipRect::ImVec4 @@ -55,15 +57,19 @@ struct ImDrawCmd ElemCount::Cuint UserCallback::ImDrawCallback UserCallbackData::Ptr{Cvoid} + UserCallbackDataSize::Cint + UserCallbackDataOffset::Cint end function Base.getproperty(x::Ptr{ImDrawCmd}, f::Symbol) f === :ClipRect && return Ptr{ImVec4}(x + 0) f === :TextureId && return Ptr{ImTextureID}(x + 16) - f === :VtxOffset && return Ptr{Cuint}(x + 20) - f === :IdxOffset && return Ptr{Cuint}(x + 24) - f === :ElemCount && return Ptr{Cuint}(x + 28) - f === :UserCallback && return Ptr{ImDrawCallback}(x + 32) - f === :UserCallbackData && return Ptr{Ptr{Cvoid}}(x + 36) + f === :VtxOffset && return Ptr{Cuint}(x + 24) + f === :IdxOffset && return Ptr{Cuint}(x + 28) + f === :ElemCount && return Ptr{Cuint}(x + 32) + f === :UserCallback && return Ptr{ImDrawCallback}(x + 36) + f === :UserCallbackData && return Ptr{Ptr{Cvoid}}(x + 40) + f === :UserCallbackDataSize && return Ptr{Cint}(x + 44) + f === :UserCallbackDataOffset && return Ptr{Cint}(x + 48) return getfield(x, f) end @@ -221,21 +227,65 @@ function Base.getproperty(x::ImVector_ImFontPtr, f::Symbol) end struct ImFontAtlasCustomRect - Width::Cushort - Height::Cushort - X::Cushort - Y::Cushort - GlyphID::Cuint - GlyphAdvanceX::Cfloat - GlyphOffset::ImVec2 - Font::Ptr{Cvoid} # Font::Ptr{ImFont} + data::NTuple{28, UInt8} end -function Base.getproperty(x::ImFontAtlasCustomRect, f::Symbol) - f === :Font && return Ptr{ImFont}(getfield(x, f)) +function Base.getproperty(x::Ptr{ImFontAtlasCustomRect}, f::Symbol) + f === :X && return Ptr{Cushort}(x + 0) + f === :Y && return Ptr{Cushort}(x + 2) + f === :Width && return Ptr{Cushort}(x + 4) + f === :Height && return Ptr{Cushort}(x + 6) + f === :GlyphID && return (Ptr{Cuint}(x + 8), 0, 31) + f === :GlyphColored && return (Ptr{Cuint}(x + 8), 31, 1) + f === :GlyphAdvanceX && return Ptr{Cfloat}(x + 12) + f === :GlyphOffset && return Ptr{ImVec2}(x + 16) + f === :Font && return Ptr{Ptr{ImFont}}(x + 24) return getfield(x, f) end +function Base.getproperty(x::ImFontAtlasCustomRect, f::Symbol) + r = Ref{ImFontAtlasCustomRect}(x) + ptr = Base.unsafe_convert(Ptr{ImFontAtlasCustomRect}, r) + fptr = getproperty(ptr, f) + begin + if fptr isa Ptr + return GC.@preserve(r, unsafe_load(fptr)) + else + (baseptr, offset, width) = fptr + ty = eltype(baseptr) + baseptr32 = convert(Ptr{UInt32}, baseptr) + u64 = GC.@preserve(r, unsafe_load(baseptr32)) + if offset + width > 32 + u64 |= GC.@preserve(r, unsafe_load(baseptr32 + 4)) << 32 + end + u64 = u64 >> offset & (1 << width - 1) + return u64 % ty + end + end +end + +function Base.setproperty!(x::Ptr{ImFontAtlasCustomRect}, f::Symbol, v) + fptr = getproperty(x, f) + if fptr isa Ptr + unsafe_store!(getproperty(x, f), v) + else + (baseptr, offset, width) = fptr + baseptr32 = convert(Ptr{UInt32}, baseptr) + u64 = unsafe_load(baseptr32) + straddle = offset + width > 32 + if straddle + u64 |= unsafe_load(baseptr32 + 4) << 32 + end + mask = 1 << width - 1 + u64 &= ~(mask << offset) + u64 |= (unsigned(v) & mask) << offset + unsafe_store!(baseptr32, u64 & typemax(UInt32)) + if straddle + unsafe_store!(baseptr32 + 4, u64 >> 32) + end + end +end + struct ImVector_ImFontAtlasCustomRect Size::Cint Capacity::Cint @@ -334,27 +384,27 @@ struct ImFontAtlas end function Base.getproperty(x::Ptr{ImFontAtlas}, f::Symbol) f === :Flags && return Ptr{ImFontAtlasFlags}(x + 0) - f === :TexID && return Ptr{ImTextureID}(x + 4) - f === :TexDesiredWidth && return Ptr{Cint}(x + 8) - f === :TexGlyphPadding && return Ptr{Cint}(x + 12) - f === :Locked && return Ptr{Bool}(x + 16) - f === :UserData && return Ptr{Ptr{Cvoid}}(x + 20) - f === :TexReady && return Ptr{Bool}(x + 24) - f === :TexPixelsUseColors && return Ptr{Bool}(x + 25) - f === :TexPixelsAlpha8 && return Ptr{Ptr{Cuchar}}(x + 28) - f === :TexPixelsRGBA32 && return Ptr{Ptr{Cuint}}(x + 32) - f === :TexWidth && return Ptr{Cint}(x + 36) - f === :TexHeight && return Ptr{Cint}(x + 40) - f === :TexUvScale && return Ptr{ImVec2}(x + 44) - f === :TexUvWhitePixel && return Ptr{ImVec2}(x + 52) - f === :Fonts && return Ptr{ImVector_ImFontPtr}(x + 60) - f === :CustomRects && return Ptr{ImVector_ImFontAtlasCustomRect}(x + 72) - f === :ConfigData && return Ptr{ImVector_ImFontConfig}(x + 84) - f === :TexUvLines && return Ptr{NTuple{64, ImVec4}}(x + 96) - f === :FontBuilderIO && return Ptr{Ptr{ImFontBuilderIO}}(x + 1120) - f === :FontBuilderFlags && return Ptr{Cuint}(x + 1124) - f === :PackIdMouseCursors && return Ptr{Cint}(x + 1128) - f === :PackIdLines && return Ptr{Cint}(x + 1132) + f === :TexID && return Ptr{ImTextureID}(x + 8) + f === :TexDesiredWidth && return Ptr{Cint}(x + 16) + f === :TexGlyphPadding && return Ptr{Cint}(x + 20) + f === :Locked && return Ptr{Bool}(x + 24) + f === :UserData && return Ptr{Ptr{Cvoid}}(x + 28) + f === :TexReady && return Ptr{Bool}(x + 32) + f === :TexPixelsUseColors && return Ptr{Bool}(x + 33) + f === :TexPixelsAlpha8 && return Ptr{Ptr{Cuchar}}(x + 36) + f === :TexPixelsRGBA32 && return Ptr{Ptr{Cuint}}(x + 40) + f === :TexWidth && return Ptr{Cint}(x + 44) + f === :TexHeight && return Ptr{Cint}(x + 48) + f === :TexUvScale && return Ptr{ImVec2}(x + 52) + f === :TexUvWhitePixel && return Ptr{ImVec2}(x + 60) + f === :Fonts && return Ptr{ImVector_ImFontPtr}(x + 68) + f === :CustomRects && return Ptr{ImVector_ImFontAtlasCustomRect}(x + 80) + f === :ConfigData && return Ptr{ImVector_ImFontConfig}(x + 92) + f === :TexUvLines && return Ptr{NTuple{64, ImVec4}}(x + 104) + f === :FontBuilderIO && return Ptr{Ptr{ImFontBuilderIO}}(x + 1128) + f === :FontBuilderFlags && return Ptr{Cuint}(x + 1132) + f === :PackIdMouseCursors && return Ptr{Cint}(x + 1136) + f === :PackIdLines && return Ptr{Cint}(x + 1140) return getfield(x, f) end @@ -375,9 +425,9 @@ struct ImFont ContainerAtlas::Ptr{ImFontAtlas} ConfigData::Ptr{ImFontConfig} ConfigDataCount::Cshort - FallbackChar::ImWchar - EllipsisChar::ImWchar EllipsisCharCount::Cshort + EllipsisChar::ImWchar + FallbackChar::ImWchar EllipsisWidth::Cfloat EllipsisCharStep::Cfloat DirtyLookupTables::Bool @@ -396,6 +446,7 @@ end struct ImDrawListSharedData TexUvWhitePixel::ImVec2 + TexUvLines::Ptr{ImVec4} Font::Ptr{ImFont} FontSize::Cfloat FontScale::Cfloat @@ -407,7 +458,6 @@ struct ImDrawListSharedData ArcFastVtx::NTuple{48, ImVec2} ArcFastRadiusCutoff::Cfloat CircleSegmentCounts::NTuple{64, ImU8} - TexUvLines::Ptr{ImVec4} end struct ImDrawCmdHeader @@ -440,6 +490,12 @@ struct ImVector_ImTextureID Data::Ptr{ImTextureID} end +struct ImVector_ImU8 + Size::Cint + Capacity::Cint + Data::Ptr{ImU8} +end + struct ImDrawList CmdBuffer::ImVector_ImDrawCmd IdxBuffer::ImVector_ImDrawIdx @@ -454,6 +510,7 @@ struct ImDrawList _Splitter::ImDrawListSplitter _ClipRectStack::ImVector_ImVec4 _TextureIdStack::ImVector_ImTextureID + _CallbacksDataBuf::ImVector_ImU8 _FringeScale::Cfloat _OwnerName::Ptr{Cchar} end @@ -467,12 +524,13 @@ function Base.getproperty(x::Ptr{ImDrawList}, f::Symbol) f === :_VtxWritePtr && return Ptr{Ptr{ImDrawVert}}(x + 48) f === :_IdxWritePtr && return Ptr{Ptr{ImDrawIdx}}(x + 52) f === :_Path && return Ptr{ImVector_ImVec2}(x + 56) - f === :_CmdHeader && return Ptr{ImDrawCmdHeader}(x + 68) - f === :_Splitter && return Ptr{ImDrawListSplitter}(x + 92) - f === :_ClipRectStack && return Ptr{ImVector_ImVec4}(x + 112) - f === :_TextureIdStack && return Ptr{ImVector_ImTextureID}(x + 124) - f === :_FringeScale && return Ptr{Cfloat}(x + 136) - f === :_OwnerName && return Ptr{Ptr{Cchar}}(x + 140) + f === :_CmdHeader && return Ptr{ImDrawCmdHeader}(x + 72) + f === :_Splitter && return Ptr{ImDrawListSplitter}(x + 104) + f === :_ClipRectStack && return Ptr{ImVector_ImVec4}(x + 124) + f === :_TextureIdStack && return Ptr{ImVector_ImTextureID}(x + 136) + f === :_CallbacksDataBuf && return Ptr{ImVector_ImU8}(x + 148) + f === :_FringeScale && return Ptr{Cfloat}(x + 160) + f === :_OwnerName && return Ptr{Ptr{Cchar}}(x + 164) return getfield(x, f) end @@ -606,8 +664,6 @@ end const ImU16 = Cushort -const ImS8 = Int8 - struct ImGuiIO ConfigFlags::ImGuiConfigFlags BackendFlags::ImGuiBackendFlags @@ -622,6 +678,13 @@ struct ImGuiIO FontAllowUserScaling::Bool FontDefault::Ptr{ImFont} DisplayFramebufferScale::ImVec2 + ConfigNavSwapGamepadButtons::Bool + ConfigNavMoveSetMousePos::Bool + ConfigNavCaptureKeyboard::Bool + ConfigNavEscapeClearFocusItem::Bool + ConfigNavEscapeClearFocusWindow::Bool + ConfigNavCursorVisibleAuto::Bool + ConfigNavCursorVisibleAlways::Bool ConfigDockingNoSplit::Bool ConfigDockingWithShift::Bool ConfigDockingAlwaysTabBar::Bool @@ -632,19 +695,24 @@ struct ImGuiIO ConfigViewportsNoDefaultParent::Bool MouseDrawCursor::Bool ConfigMacOSXBehaviors::Bool - ConfigNavSwapGamepadButtons::Bool ConfigInputTrickleEventQueue::Bool ConfigInputTextCursorBlink::Bool ConfigInputTextEnterKeepActive::Bool ConfigDragClickToInputText::Bool ConfigWindowsResizeFromEdges::Bool ConfigWindowsMoveFromTitleBarOnly::Bool + ConfigWindowsCopyContentsWithCtrlC::Bool + ConfigScrollbarScrollByPage::Bool ConfigMemoryCompactTimer::Cfloat MouseDoubleClickTime::Cfloat MouseDoubleClickMaxDist::Cfloat MouseDragThreshold::Cfloat KeyRepeatDelay::Cfloat KeyRepeatRate::Cfloat + ConfigErrorRecovery::Bool + ConfigErrorRecoveryEnableAssert::Bool + ConfigErrorRecoveryEnableDebugLog::Bool + ConfigErrorRecoveryEnableTooltip::Bool ConfigDebugIsDebuggerPresent::Bool ConfigDebugHighlightIdConflicts::Bool ConfigDebugBeginReturnValueOnce::Bool @@ -702,8 +770,6 @@ struct ImGuiIO PenPressure::Cfloat AppFocusLost::Bool AppAcceptingEvents::Bool - BackendUsingLegacyKeyArrays::ImS8 - BackendUsingLegacyNavInputArray::Bool InputQueueSurrogate::ImWchar16 InputQueueCharacters::ImVector_ImWchar end @@ -727,90 +793,100 @@ function Base.getproperty(x::Ptr{ImGuiIO}, f::Symbol) f === :FontAllowUserScaling && return Ptr{Bool}(x + 44) f === :FontDefault && return Ptr{Ptr{ImFont}}(x + 48) f === :DisplayFramebufferScale && return Ptr{ImVec2}(x + 52) - f === :ConfigDockingNoSplit && return Ptr{Bool}(x + 60) - f === :ConfigDockingWithShift && return Ptr{Bool}(x + 61) - f === :ConfigDockingAlwaysTabBar && return Ptr{Bool}(x + 62) - f === :ConfigDockingTransparentPayload && return Ptr{Bool}(x + 63) - f === :ConfigViewportsNoAutoMerge && return Ptr{Bool}(x + 64) - f === :ConfigViewportsNoTaskBarIcon && return Ptr{Bool}(x + 65) - f === :ConfigViewportsNoDecoration && return Ptr{Bool}(x + 66) - f === :ConfigViewportsNoDefaultParent && return Ptr{Bool}(x + 67) - f === :MouseDrawCursor && return Ptr{Bool}(x + 68) - f === :ConfigMacOSXBehaviors && return Ptr{Bool}(x + 69) - f === :ConfigNavSwapGamepadButtons && return Ptr{Bool}(x + 70) - f === :ConfigInputTrickleEventQueue && return Ptr{Bool}(x + 71) - f === :ConfigInputTextCursorBlink && return Ptr{Bool}(x + 72) - f === :ConfigInputTextEnterKeepActive && return Ptr{Bool}(x + 73) - f === :ConfigDragClickToInputText && return Ptr{Bool}(x + 74) - f === :ConfigWindowsResizeFromEdges && return Ptr{Bool}(x + 75) - f === :ConfigWindowsMoveFromTitleBarOnly && return Ptr{Bool}(x + 76) - f === :ConfigMemoryCompactTimer && return Ptr{Cfloat}(x + 80) - f === :MouseDoubleClickTime && return Ptr{Cfloat}(x + 84) - f === :MouseDoubleClickMaxDist && return Ptr{Cfloat}(x + 88) - f === :MouseDragThreshold && return Ptr{Cfloat}(x + 92) - f === :KeyRepeatDelay && return Ptr{Cfloat}(x + 96) - f === :KeyRepeatRate && return Ptr{Cfloat}(x + 100) - f === :ConfigDebugIsDebuggerPresent && return Ptr{Bool}(x + 104) - f === :ConfigDebugHighlightIdConflicts && return Ptr{Bool}(x + 105) - f === :ConfigDebugBeginReturnValueOnce && return Ptr{Bool}(x + 106) - f === :ConfigDebugBeginReturnValueLoop && return Ptr{Bool}(x + 107) - f === :ConfigDebugIgnoreFocusLoss && return Ptr{Bool}(x + 108) - f === :ConfigDebugIniSettings && return Ptr{Bool}(x + 109) - f === :BackendPlatformName && return Ptr{Ptr{Cchar}}(x + 112) - f === :BackendRendererName && return Ptr{Ptr{Cchar}}(x + 116) - f === :BackendPlatformUserData && return Ptr{Ptr{Cvoid}}(x + 120) - f === :BackendRendererUserData && return Ptr{Ptr{Cvoid}}(x + 124) - f === :BackendLanguageUserData && return Ptr{Ptr{Cvoid}}(x + 128) - f === :WantCaptureMouse && return Ptr{Bool}(x + 132) - f === :WantCaptureKeyboard && return Ptr{Bool}(x + 133) - f === :WantTextInput && return Ptr{Bool}(x + 134) - f === :WantSetMousePos && return Ptr{Bool}(x + 135) - f === :WantSaveIniSettings && return Ptr{Bool}(x + 136) - f === :NavActive && return Ptr{Bool}(x + 137) - f === :NavVisible && return Ptr{Bool}(x + 138) - f === :Framerate && return Ptr{Cfloat}(x + 140) - f === :MetricsRenderVertices && return Ptr{Cint}(x + 144) - f === :MetricsRenderIndices && return Ptr{Cint}(x + 148) - f === :MetricsRenderWindows && return Ptr{Cint}(x + 152) - f === :MetricsActiveWindows && return Ptr{Cint}(x + 156) - f === :MouseDelta && return Ptr{ImVec2}(x + 160) - f === :Ctx && return Ptr{Ptr{ImGuiContext}}(x + 168) - f === :MousePos && return Ptr{ImVec2}(x + 172) - f === :MouseDown && return Ptr{NTuple{5, Bool}}(x + 180) - f === :MouseWheel && return Ptr{Cfloat}(x + 188) - f === :MouseWheelH && return Ptr{Cfloat}(x + 192) - f === :MouseSource && return Ptr{ImGuiMouseSource}(x + 196) - f === :MouseHoveredViewport && return Ptr{ImGuiID}(x + 200) - f === :KeyCtrl && return Ptr{Bool}(x + 204) - f === :KeyShift && return Ptr{Bool}(x + 205) - f === :KeyAlt && return Ptr{Bool}(x + 206) - f === :KeySuper && return Ptr{Bool}(x + 207) - f === :KeyMods && return Ptr{ImGuiKeyChord}(x + 208) - f === :KeysData && return Ptr{NTuple{154, ImGuiKeyData}}(x + 212) - f === :WantCaptureMouseUnlessPopupClose && return Ptr{Bool}(x + 2676) - f === :MousePosPrev && return Ptr{ImVec2}(x + 2680) - f === :MouseClickedPos && return Ptr{NTuple{5, ImVec2}}(x + 2688) - f === :MouseClickedTime && return Ptr{NTuple{5, Cdouble}}(x + 2728) - f === :MouseClicked && return Ptr{NTuple{5, Bool}}(x + 2768) - f === :MouseDoubleClicked && return Ptr{NTuple{5, Bool}}(x + 2773) - f === :MouseClickedCount && return Ptr{NTuple{5, ImU16}}(x + 2778) - f === :MouseClickedLastCount && return Ptr{NTuple{5, ImU16}}(x + 2788) - f === :MouseReleased && return Ptr{NTuple{5, Bool}}(x + 2798) - f === :MouseDownOwned && return Ptr{NTuple{5, Bool}}(x + 2803) - f === :MouseDownOwnedUnlessPopupClose && return Ptr{NTuple{5, Bool}}(x + 2808) - f === :MouseWheelRequestAxisSwap && return Ptr{Bool}(x + 2813) - f === :MouseCtrlLeftAsRightClick && return Ptr{Bool}(x + 2814) - f === :MouseDownDuration && return Ptr{NTuple{5, Cfloat}}(x + 2816) - f === :MouseDownDurationPrev && return Ptr{NTuple{5, Cfloat}}(x + 2836) - f === :MouseDragMaxDistanceAbs && return Ptr{NTuple{5, ImVec2}}(x + 2856) - f === :MouseDragMaxDistanceSqr && return Ptr{NTuple{5, Cfloat}}(x + 2896) - f === :PenPressure && return Ptr{Cfloat}(x + 2916) - f === :AppFocusLost && return Ptr{Bool}(x + 2920) - f === :AppAcceptingEvents && return Ptr{Bool}(x + 2921) - f === :BackendUsingLegacyKeyArrays && return Ptr{ImS8}(x + 2922) - f === :BackendUsingLegacyNavInputArray && return Ptr{Bool}(x + 2923) - f === :InputQueueSurrogate && return Ptr{ImWchar16}(x + 2924) - f === :InputQueueCharacters && return Ptr{ImVector_ImWchar}(x + 2928) + f === :ConfigNavSwapGamepadButtons && return Ptr{Bool}(x + 60) + f === :ConfigNavMoveSetMousePos && return Ptr{Bool}(x + 61) + f === :ConfigNavCaptureKeyboard && return Ptr{Bool}(x + 62) + f === :ConfigNavEscapeClearFocusItem && return Ptr{Bool}(x + 63) + f === :ConfigNavEscapeClearFocusWindow && return Ptr{Bool}(x + 64) + f === :ConfigNavCursorVisibleAuto && return Ptr{Bool}(x + 65) + f === :ConfigNavCursorVisibleAlways && return Ptr{Bool}(x + 66) + f === :ConfigDockingNoSplit && return Ptr{Bool}(x + 67) + f === :ConfigDockingWithShift && return Ptr{Bool}(x + 68) + f === :ConfigDockingAlwaysTabBar && return Ptr{Bool}(x + 69) + f === :ConfigDockingTransparentPayload && return Ptr{Bool}(x + 70) + f === :ConfigViewportsNoAutoMerge && return Ptr{Bool}(x + 71) + f === :ConfigViewportsNoTaskBarIcon && return Ptr{Bool}(x + 72) + f === :ConfigViewportsNoDecoration && return Ptr{Bool}(x + 73) + f === :ConfigViewportsNoDefaultParent && return Ptr{Bool}(x + 74) + f === :MouseDrawCursor && return Ptr{Bool}(x + 75) + f === :ConfigMacOSXBehaviors && return Ptr{Bool}(x + 76) + f === :ConfigInputTrickleEventQueue && return Ptr{Bool}(x + 77) + f === :ConfigInputTextCursorBlink && return Ptr{Bool}(x + 78) + f === :ConfigInputTextEnterKeepActive && return Ptr{Bool}(x + 79) + f === :ConfigDragClickToInputText && return Ptr{Bool}(x + 80) + f === :ConfigWindowsResizeFromEdges && return Ptr{Bool}(x + 81) + f === :ConfigWindowsMoveFromTitleBarOnly && return Ptr{Bool}(x + 82) + f === :ConfigWindowsCopyContentsWithCtrlC && return Ptr{Bool}(x + 83) + f === :ConfigScrollbarScrollByPage && return Ptr{Bool}(x + 84) + f === :ConfigMemoryCompactTimer && return Ptr{Cfloat}(x + 88) + f === :MouseDoubleClickTime && return Ptr{Cfloat}(x + 92) + f === :MouseDoubleClickMaxDist && return Ptr{Cfloat}(x + 96) + f === :MouseDragThreshold && return Ptr{Cfloat}(x + 100) + f === :KeyRepeatDelay && return Ptr{Cfloat}(x + 104) + f === :KeyRepeatRate && return Ptr{Cfloat}(x + 108) + f === :ConfigErrorRecovery && return Ptr{Bool}(x + 112) + f === :ConfigErrorRecoveryEnableAssert && return Ptr{Bool}(x + 113) + f === :ConfigErrorRecoveryEnableDebugLog && return Ptr{Bool}(x + 114) + f === :ConfigErrorRecoveryEnableTooltip && return Ptr{Bool}(x + 115) + f === :ConfigDebugIsDebuggerPresent && return Ptr{Bool}(x + 116) + f === :ConfigDebugHighlightIdConflicts && return Ptr{Bool}(x + 117) + f === :ConfigDebugBeginReturnValueOnce && return Ptr{Bool}(x + 118) + f === :ConfigDebugBeginReturnValueLoop && return Ptr{Bool}(x + 119) + f === :ConfigDebugIgnoreFocusLoss && return Ptr{Bool}(x + 120) + f === :ConfigDebugIniSettings && return Ptr{Bool}(x + 121) + f === :BackendPlatformName && return Ptr{Ptr{Cchar}}(x + 124) + f === :BackendRendererName && return Ptr{Ptr{Cchar}}(x + 128) + f === :BackendPlatformUserData && return Ptr{Ptr{Cvoid}}(x + 132) + f === :BackendRendererUserData && return Ptr{Ptr{Cvoid}}(x + 136) + f === :BackendLanguageUserData && return Ptr{Ptr{Cvoid}}(x + 140) + f === :WantCaptureMouse && return Ptr{Bool}(x + 144) + f === :WantCaptureKeyboard && return Ptr{Bool}(x + 145) + f === :WantTextInput && return Ptr{Bool}(x + 146) + f === :WantSetMousePos && return Ptr{Bool}(x + 147) + f === :WantSaveIniSettings && return Ptr{Bool}(x + 148) + f === :NavActive && return Ptr{Bool}(x + 149) + f === :NavVisible && return Ptr{Bool}(x + 150) + f === :Framerate && return Ptr{Cfloat}(x + 152) + f === :MetricsRenderVertices && return Ptr{Cint}(x + 156) + f === :MetricsRenderIndices && return Ptr{Cint}(x + 160) + f === :MetricsRenderWindows && return Ptr{Cint}(x + 164) + f === :MetricsActiveWindows && return Ptr{Cint}(x + 168) + f === :MouseDelta && return Ptr{ImVec2}(x + 172) + f === :Ctx && return Ptr{Ptr{ImGuiContext}}(x + 180) + f === :MousePos && return Ptr{ImVec2}(x + 184) + f === :MouseDown && return Ptr{NTuple{5, Bool}}(x + 192) + f === :MouseWheel && return Ptr{Cfloat}(x + 200) + f === :MouseWheelH && return Ptr{Cfloat}(x + 204) + f === :MouseSource && return Ptr{ImGuiMouseSource}(x + 208) + f === :MouseHoveredViewport && return Ptr{ImGuiID}(x + 212) + f === :KeyCtrl && return Ptr{Bool}(x + 216) + f === :KeyShift && return Ptr{Bool}(x + 217) + f === :KeyAlt && return Ptr{Bool}(x + 218) + f === :KeySuper && return Ptr{Bool}(x + 219) + f === :KeyMods && return Ptr{ImGuiKeyChord}(x + 220) + f === :KeysData && return Ptr{NTuple{154, ImGuiKeyData}}(x + 224) + f === :WantCaptureMouseUnlessPopupClose && return Ptr{Bool}(x + 2688) + f === :MousePosPrev && return Ptr{ImVec2}(x + 2692) + f === :MouseClickedPos && return Ptr{NTuple{5, ImVec2}}(x + 2700) + f === :MouseClickedTime && return Ptr{NTuple{5, Cdouble}}(x + 2744) + f === :MouseClicked && return Ptr{NTuple{5, Bool}}(x + 2784) + f === :MouseDoubleClicked && return Ptr{NTuple{5, Bool}}(x + 2789) + f === :MouseClickedCount && return Ptr{NTuple{5, ImU16}}(x + 2794) + f === :MouseClickedLastCount && return Ptr{NTuple{5, ImU16}}(x + 2804) + f === :MouseReleased && return Ptr{NTuple{5, Bool}}(x + 2814) + f === :MouseDownOwned && return Ptr{NTuple{5, Bool}}(x + 2819) + f === :MouseDownOwnedUnlessPopupClose && return Ptr{NTuple{5, Bool}}(x + 2824) + f === :MouseWheelRequestAxisSwap && return Ptr{Bool}(x + 2829) + f === :MouseCtrlLeftAsRightClick && return Ptr{Bool}(x + 2830) + f === :MouseDownDuration && return Ptr{NTuple{5, Cfloat}}(x + 2832) + f === :MouseDownDurationPrev && return Ptr{NTuple{5, Cfloat}}(x + 2852) + f === :MouseDragMaxDistanceAbs && return Ptr{NTuple{5, ImVec2}}(x + 2872) + f === :MouseDragMaxDistanceSqr && return Ptr{NTuple{5, Cfloat}}(x + 2912) + f === :PenPressure && return Ptr{Cfloat}(x + 2932) + f === :AppFocusLost && return Ptr{Bool}(x + 2936) + f === :AppAcceptingEvents && return Ptr{Bool}(x + 2937) + f === :InputQueueSurrogate && return Ptr{ImWchar16}(x + 2938) + f === :InputQueueCharacters && return Ptr{ImVector_ImWchar}(x + 2940) return getfield(x, f) end @@ -862,6 +938,7 @@ struct ImGuiPlatformIO Platform_SetImeDataFn::Ptr{Cvoid} Platform_ImeUserData::Ptr{Cvoid} Platform_LocaleDecimalPoint::ImWchar + Renderer_RenderState::Ptr{Cvoid} Platform_CreateWindow::Ptr{Cvoid} Platform_DestroyWindow::Ptr{Cvoid} Platform_ShowWindow::Ptr{Cvoid} @@ -898,32 +975,33 @@ function Base.getproperty(x::Ptr{ImGuiPlatformIO}, f::Symbol) f === :Platform_SetImeDataFn && return Ptr{Ptr{Cvoid}}(x + 20) f === :Platform_ImeUserData && return Ptr{Ptr{Cvoid}}(x + 24) f === :Platform_LocaleDecimalPoint && return Ptr{ImWchar}(x + 28) - f === :Platform_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 32) - f === :Platform_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 36) - f === :Platform_ShowWindow && return Ptr{Ptr{Cvoid}}(x + 40) - f === :Platform_SetWindowPos && return Ptr{Ptr{Cvoid}}(x + 44) - f === :Platform_GetWindowPos && return Ptr{Ptr{Cvoid}}(x + 48) - f === :Platform_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 52) - f === :Platform_GetWindowSize && return Ptr{Ptr{Cvoid}}(x + 56) - f === :Platform_SetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 60) - f === :Platform_GetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 64) - f === :Platform_GetWindowMinimized && return Ptr{Ptr{Cvoid}}(x + 68) - f === :Platform_SetWindowTitle && return Ptr{Ptr{Cvoid}}(x + 72) - f === :Platform_SetWindowAlpha && return Ptr{Ptr{Cvoid}}(x + 76) - f === :Platform_UpdateWindow && return Ptr{Ptr{Cvoid}}(x + 80) - f === :Platform_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 84) - f === :Platform_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 88) - f === :Platform_GetWindowDpiScale && return Ptr{Ptr{Cvoid}}(x + 92) - f === :Platform_OnChangedViewport && return Ptr{Ptr{Cvoid}}(x + 96) - f === :Platform_GetWindowWorkAreaInsets && return Ptr{Ptr{Cvoid}}(x + 100) - f === :Platform_CreateVkSurface && return Ptr{Ptr{Cvoid}}(x + 104) - f === :Renderer_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 108) - f === :Renderer_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 112) - f === :Renderer_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 116) - f === :Renderer_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 120) - f === :Renderer_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 124) - f === :Monitors && return Ptr{ImVector_ImGuiPlatformMonitor}(x + 128) - f === :Viewports && return Ptr{ImVector_ImGuiViewportPtr}(x + 140) + f === :Renderer_RenderState && return Ptr{Ptr{Cvoid}}(x + 32) + f === :Platform_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 36) + f === :Platform_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 40) + f === :Platform_ShowWindow && return Ptr{Ptr{Cvoid}}(x + 44) + f === :Platform_SetWindowPos && return Ptr{Ptr{Cvoid}}(x + 48) + f === :Platform_GetWindowPos && return Ptr{Ptr{Cvoid}}(x + 52) + f === :Platform_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 56) + f === :Platform_GetWindowSize && return Ptr{Ptr{Cvoid}}(x + 60) + f === :Platform_SetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 64) + f === :Platform_GetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 68) + f === :Platform_GetWindowMinimized && return Ptr{Ptr{Cvoid}}(x + 72) + f === :Platform_SetWindowTitle && return Ptr{Ptr{Cvoid}}(x + 76) + f === :Platform_SetWindowAlpha && return Ptr{Ptr{Cvoid}}(x + 80) + f === :Platform_UpdateWindow && return Ptr{Ptr{Cvoid}}(x + 84) + f === :Platform_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 88) + f === :Platform_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 92) + f === :Platform_GetWindowDpiScale && return Ptr{Ptr{Cvoid}}(x + 96) + f === :Platform_OnChangedViewport && return Ptr{Ptr{Cvoid}}(x + 100) + f === :Platform_GetWindowWorkAreaInsets && return Ptr{Ptr{Cvoid}}(x + 104) + f === :Platform_CreateVkSurface && return Ptr{Ptr{Cvoid}}(x + 108) + f === :Renderer_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 112) + f === :Renderer_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 116) + f === :Renderer_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 120) + f === :Renderer_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 124) + f === :Renderer_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 128) + f === :Monitors && return Ptr{ImVector_ImGuiPlatformMonitor}(x + 132) + f === :Viewports && return Ptr{ImVector_ImGuiViewportPtr}(x + 144) return getfield(x, f) end @@ -1185,6 +1263,8 @@ function Base.getproperty(x::ImGuiViewportP, f::Symbol) return getfield(x, f) end +const ImS8 = Int8 + const ImGuiCond = Cint struct ImVector_ImGuiID @@ -1395,6 +1475,7 @@ struct ImGuiTextBuffer end struct ImGuiTabBar + Window::Ptr{Cvoid} # Window::Ptr{ImGuiWindow} Tabs::ImVector_ImGuiTabItem Flags::ImGuiTabBarFlags ID::ImGuiID @@ -1430,6 +1511,11 @@ struct ImGuiTabBar TabsNames::ImGuiTextBuffer end +function Base.getproperty(x::ImGuiTabBar, f::Symbol) + f === :Window && return Ptr{ImGuiWindow}(getfield(x, f)) + return getfield(x, f) +end + @cenum ImGuiAxis::Int32 begin ImGuiAxis_None = -1 ImGuiAxis_X = 0 @@ -1534,7 +1620,7 @@ end const ImGuiItemStatusFlags = Cint struct ImGuiWindow - data::NTuple{1016, UInt8} + data::NTuple{1048, UInt8} end function Base.getproperty(x::Ptr{ImGuiWindow}, f::Symbol) @@ -1634,34 +1720,34 @@ function Base.getproperty(x::Ptr{ImGuiWindow}, f::Symbol) f === :FontDpiScale && return Ptr{Cfloat}(x + 688) f === :SettingsOffset && return Ptr{Cint}(x + 692) f === :DrawList && return Ptr{Ptr{ImDrawList}}(x + 696) - f === :DrawListInst && return Ptr{ImDrawList}(x + 700) - f === :ParentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 844) - f === :ParentWindowInBeginStack && return Ptr{Ptr{ImGuiWindow}}(x + 848) - f === :RootWindow && return Ptr{Ptr{ImGuiWindow}}(x + 852) - f === :RootWindowPopupTree && return Ptr{Ptr{ImGuiWindow}}(x + 856) - f === :RootWindowDockTree && return Ptr{Ptr{ImGuiWindow}}(x + 860) - f === :RootWindowForTitleBarHighlight && return Ptr{Ptr{ImGuiWindow}}(x + 864) - f === :RootWindowForNav && return Ptr{Ptr{ImGuiWindow}}(x + 868) - f === :ParentWindowForFocusRoute && return Ptr{Ptr{ImGuiWindow}}(x + 872) - f === :NavLastChildNavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 876) - f === :NavLastIds && return Ptr{NTuple{2, ImGuiID}}(x + 880) - f === :NavRectRel && return Ptr{NTuple{2, ImRect}}(x + 888) - f === :NavPreferredScoringPosRel && return Ptr{NTuple{2, ImVec2}}(x + 920) - f === :NavRootFocusScopeId && return Ptr{ImGuiID}(x + 936) - f === :MemoryDrawListIdxCapacity && return Ptr{Cint}(x + 940) - f === :MemoryDrawListVtxCapacity && return Ptr{Cint}(x + 944) - f === :MemoryCompacted && return Ptr{Bool}(x + 948) - f === :DockIsActive && return (Ptr{Bool}(x + 948), 8, 1) - f === :DockNodeIsVisible && return (Ptr{Bool}(x + 948), 9, 1) - f === :DockTabIsVisible && return (Ptr{Bool}(x + 948), 10, 1) - f === :DockTabWantClose && return (Ptr{Bool}(x + 948), 11, 1) - f === :DockOrder && return Ptr{Cshort}(x + 950) - f === :DockStyle && return Ptr{ImGuiWindowDockStyle}(x + 952) - f === :DockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 984) - f === :DockNodeAsHost && return Ptr{Ptr{ImGuiDockNode}}(x + 988) - f === :DockId && return Ptr{ImGuiID}(x + 992) - f === :DockTabItemStatusFlags && return Ptr{ImGuiItemStatusFlags}(x + 996) - f === :DockTabItemRect && return Ptr{ImRect}(x + 1000) + f === :DrawListInst && return Ptr{ImDrawList}(x + 704) + f === :ParentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 872) + f === :ParentWindowInBeginStack && return Ptr{Ptr{ImGuiWindow}}(x + 876) + f === :RootWindow && return Ptr{Ptr{ImGuiWindow}}(x + 880) + f === :RootWindowPopupTree && return Ptr{Ptr{ImGuiWindow}}(x + 884) + f === :RootWindowDockTree && return Ptr{Ptr{ImGuiWindow}}(x + 888) + f === :RootWindowForTitleBarHighlight && return Ptr{Ptr{ImGuiWindow}}(x + 892) + f === :RootWindowForNav && return Ptr{Ptr{ImGuiWindow}}(x + 896) + f === :ParentWindowForFocusRoute && return Ptr{Ptr{ImGuiWindow}}(x + 900) + f === :NavLastChildNavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 904) + f === :NavLastIds && return Ptr{NTuple{2, ImGuiID}}(x + 908) + f === :NavRectRel && return Ptr{NTuple{2, ImRect}}(x + 916) + f === :NavPreferredScoringPosRel && return Ptr{NTuple{2, ImVec2}}(x + 948) + f === :NavRootFocusScopeId && return Ptr{ImGuiID}(x + 964) + f === :MemoryDrawListIdxCapacity && return Ptr{Cint}(x + 968) + f === :MemoryDrawListVtxCapacity && return Ptr{Cint}(x + 972) + f === :MemoryCompacted && return Ptr{Bool}(x + 976) + f === :DockIsActive && return (Ptr{Bool}(x + 976), 8, 1) + f === :DockNodeIsVisible && return (Ptr{Bool}(x + 976), 9, 1) + f === :DockTabIsVisible && return (Ptr{Bool}(x + 976), 10, 1) + f === :DockTabWantClose && return (Ptr{Bool}(x + 976), 11, 1) + f === :DockOrder && return Ptr{Cshort}(x + 978) + f === :DockStyle && return Ptr{ImGuiWindowDockStyle}(x + 980) + f === :DockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 1012) + f === :DockNodeAsHost && return Ptr{Ptr{ImGuiDockNode}}(x + 1016) + f === :DockId && return Ptr{ImGuiID}(x + 1020) + f === :DockTabItemStatusFlags && return Ptr{ImGuiItemStatusFlags}(x + 1024) + f === :DockTabItemRect && return Ptr{ImRect}(x + 1028) return getfield(x, f) end @@ -1712,7 +1798,7 @@ const ImGuiItemFlags = Cint struct ImGuiLastItemData ID::ImGuiID - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags StatusFlags::ImGuiItemStatusFlags Rect::ImRect NavRect::ImRect @@ -1721,8 +1807,10 @@ struct ImGuiLastItemData Shortcut::ImGuiKeyChord end -struct ImGuiStackSizes +struct ImGuiErrorRecoveryState + SizeOfWindowStack::Cshort SizeOfIDStack::Cshort + SizeOfTreeStack::Cshort SizeOfColorStack::Cshort SizeOfStyleVarStack::Cshort SizeOfFontStack::Cshort @@ -1736,7 +1824,7 @@ end struct ImGuiWindowStackData Window::Ptr{ImGuiWindow} ParentLastItemDataBackup::ImGuiLastItemData - StackSizesOnBegin::ImGuiStackSizes + StackSizesInBegin::ImGuiErrorRecoveryState DisabledOverrideReenable::Bool end @@ -1795,7 +1883,7 @@ struct ImGuiDataTypeStorage end struct ImGuiNextItemData - Flags::ImGuiNextItemDataFlags + HasFlags::ImGuiNextItemDataFlags ItemFlags::ImGuiItemFlags FocusScopeId::ImGuiID SelectionUserData::ImGuiSelectionUserData @@ -1944,7 +2032,7 @@ const ImGuiTreeNodeFlags = Cint struct ImGuiTreeNodeStackData ID::ImGuiID TreeFlags::ImGuiTreeNodeFlags - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags NavRect::ImRect end @@ -1967,7 +2055,7 @@ struct ImGuiNavItemData ID::ImGuiID FocusScopeId::ImGuiID RectRel::ImRect - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags DistBox::Cfloat DistCenter::Cfloat DistAxial::Cfloat @@ -1980,6 +2068,7 @@ const ImGuiScrollFlags = Cint @cenum ImGuiKey::UInt32 begin ImGuiKey_None = 0 + ImGuiKey_NamedKey_BEGIN = 512 ImGuiKey_Tab = 512 ImGuiKey_LeftArrow = 513 ImGuiKey_RightArrow = 514 @@ -2134,18 +2223,14 @@ const ImGuiScrollFlags = Cint ImGuiKey_ReservedForModShift = 663 ImGuiKey_ReservedForModAlt = 664 ImGuiKey_ReservedForModSuper = 665 - ImGuiKey_COUNT = 666 + ImGuiKey_NamedKey_END = 666 ImGuiMod_None = 0 ImGuiMod_Ctrl = 4096 ImGuiMod_Shift = 8192 ImGuiMod_Alt = 16384 ImGuiMod_Super = 32768 ImGuiMod_Mask_ = 61440 - ImGuiKey_NamedKey_BEGIN = 512 - ImGuiKey_NamedKey_END = 666 ImGuiKey_NamedKey_COUNT = 154 - ImGuiKey_KeysData_SIZE = 154 - ImGuiKey_KeysData_OFFSET = 512 end const ImGuiDragDropFlags = Cint @@ -2800,11 +2885,11 @@ struct ImGuiInputTextState Ctx::Ptr{Cvoid} # Ctx::Ptr{ImGuiContext} Stb::Ptr{ImStbTexteditState} ID::ImGuiID - CurLenA::Cint + TextLen::Cint TextA::ImVector_char - InitialTextA::ImVector_char + TextToRevertTo::ImVector_char CallbackTextBackup::ImVector_char - BufCapacityA::Cint + BufCapacity::Cint Scroll::ImVec2 CursorAnim::Cfloat CursorFollow::Bool @@ -2940,16 +3025,13 @@ struct ImVector_ImGuiContextHook Data::Ptr{ImGuiContextHook} end -@cenum ImGuiLogType::UInt32 begin - ImGuiLogType_None = 0 - ImGuiLogType_TTY = 1 - ImGuiLogType_File = 2 - ImGuiLogType_Buffer = 3 - ImGuiLogType_Clipboard = 4 -end +const ImGuiLogFlags = Cint const ImFileHandle = Ptr{Libc.FILE} +# typedef void ( * ImGuiErrorCallback ) ( ImGuiContext * ctx , void * user_data , const char * msg ) +const ImGuiErrorCallback = Ptr{Cvoid} + const ImGuiDebugLogFlags = Cint struct ImVector_int @@ -3067,313 +3149,324 @@ struct ImGuiDebugAllocInfo end struct ImGuiContext - data::NTuple{10184, UInt8} + data::NTuple{10272, UInt8} end function Base.getproperty(x::Ptr{ImGuiContext}, f::Symbol) f === :Initialized && return Ptr{Bool}(x + 0) f === :FontAtlasOwnedByContext && return Ptr{Bool}(x + 1) f === :IO && return Ptr{ImGuiIO}(x + 8) - f === :PlatformIO && return Ptr{ImGuiPlatformIO}(x + 2952) - f === :Style && return Ptr{ImGuiStyle}(x + 3104) - f === :ConfigFlagsCurrFrame && return Ptr{ImGuiConfigFlags}(x + 4296) - f === :ConfigFlagsLastFrame && return Ptr{ImGuiConfigFlags}(x + 4300) - f === :Font && return Ptr{Ptr{ImFont}}(x + 4304) - f === :FontSize && return Ptr{Cfloat}(x + 4308) - f === :FontBaseSize && return Ptr{Cfloat}(x + 4312) - f === :FontScale && return Ptr{Cfloat}(x + 4316) - f === :CurrentDpiScale && return Ptr{Cfloat}(x + 4320) - f === :DrawListSharedData && return Ptr{ImDrawListSharedData}(x + 4324) - f === :Time && return Ptr{Cdouble}(x + 4840) - f === :FrameCount && return Ptr{Cint}(x + 4848) - f === :FrameCountEnded && return Ptr{Cint}(x + 4852) - f === :FrameCountPlatformEnded && return Ptr{Cint}(x + 4856) - f === :FrameCountRendered && return Ptr{Cint}(x + 4860) - f === :WithinFrameScope && return Ptr{Bool}(x + 4864) - f === :WithinFrameScopeWithImplicitWindow && return Ptr{Bool}(x + 4865) - f === :WithinEndChild && return Ptr{Bool}(x + 4866) - f === :GcCompactAll && return Ptr{Bool}(x + 4867) - f === :TestEngineHookItems && return Ptr{Bool}(x + 4868) - f === :TestEngine && return Ptr{Ptr{Cvoid}}(x + 4872) - f === :ContextName && return Ptr{NTuple{16, Cchar}}(x + 4876) - f === :InputEventsQueue && return Ptr{ImVector_ImGuiInputEvent}(x + 4892) - f === :InputEventsTrail && return Ptr{ImVector_ImGuiInputEvent}(x + 4904) - f === :InputEventsNextMouseSource && return Ptr{ImGuiMouseSource}(x + 4916) - f === :InputEventsNextEventId && return Ptr{ImU32}(x + 4920) - f === :Windows && return Ptr{ImVector_ImGuiWindowPtr}(x + 4924) - f === :WindowsFocusOrder && return Ptr{ImVector_ImGuiWindowPtr}(x + 4936) - f === :WindowsTempSortBuffer && return Ptr{ImVector_ImGuiWindowPtr}(x + 4948) - f === :CurrentWindowStack && return Ptr{ImVector_ImGuiWindowStackData}(x + 4960) - f === :WindowsById && return Ptr{ImGuiStorage}(x + 4972) - f === :WindowsActiveCount && return Ptr{Cint}(x + 4984) - f === :WindowsHoverPadding && return Ptr{ImVec2}(x + 4988) - f === :DebugBreakInWindow && return Ptr{ImGuiID}(x + 4996) - f === :CurrentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5000) - f === :HoveredWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5004) - f === :HoveredWindowUnderMovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5008) - f === :HoveredWindowBeforeClear && return Ptr{Ptr{ImGuiWindow}}(x + 5012) - f === :MovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5016) - f === :WheelingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5020) - f === :WheelingWindowRefMousePos && return Ptr{ImVec2}(x + 5024) - f === :WheelingWindowStartFrame && return Ptr{Cint}(x + 5032) - f === :WheelingWindowScrolledFrame && return Ptr{Cint}(x + 5036) - f === :WheelingWindowReleaseTimer && return Ptr{Cfloat}(x + 5040) - f === :WheelingWindowWheelRemainder && return Ptr{ImVec2}(x + 5044) - f === :WheelingAxisAvg && return Ptr{ImVec2}(x + 5052) - f === :DebugDrawIdConflicts && return Ptr{ImGuiID}(x + 5060) - f === :DebugHookIdInfo && return Ptr{ImGuiID}(x + 5064) - f === :HoveredId && return Ptr{ImGuiID}(x + 5068) - f === :HoveredIdPreviousFrame && return Ptr{ImGuiID}(x + 5072) - f === :HoveredIdPreviousFrameItemCount && return Ptr{Cint}(x + 5076) - f === :HoveredIdTimer && return Ptr{Cfloat}(x + 5080) - f === :HoveredIdNotActiveTimer && return Ptr{Cfloat}(x + 5084) - f === :HoveredIdAllowOverlap && return Ptr{Bool}(x + 5088) - f === :HoveredIdIsDisabled && return Ptr{Bool}(x + 5089) - f === :ItemUnclipByLog && return Ptr{Bool}(x + 5090) - f === :ActiveId && return Ptr{ImGuiID}(x + 5092) - f === :ActiveIdIsAlive && return Ptr{ImGuiID}(x + 5096) - f === :ActiveIdTimer && return Ptr{Cfloat}(x + 5100) - f === :ActiveIdIsJustActivated && return Ptr{Bool}(x + 5104) - f === :ActiveIdAllowOverlap && return Ptr{Bool}(x + 5105) - f === :ActiveIdNoClearOnFocusLoss && return Ptr{Bool}(x + 5106) - f === :ActiveIdHasBeenPressedBefore && return Ptr{Bool}(x + 5107) - f === :ActiveIdHasBeenEditedBefore && return Ptr{Bool}(x + 5108) - f === :ActiveIdHasBeenEditedThisFrame && return Ptr{Bool}(x + 5109) - f === :ActiveIdFromShortcut && return Ptr{Bool}(x + 5110) - f === :ActiveIdMouseButton && return (Ptr{Cint}(x + 5108), 24, 8) - f === :ActiveIdClickOffset && return Ptr{ImVec2}(x + 5112) - f === :ActiveIdWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5120) - f === :ActiveIdSource && return Ptr{ImGuiInputSource}(x + 5124) - f === :ActiveIdPreviousFrame && return Ptr{ImGuiID}(x + 5128) - f === :ActiveIdPreviousFrameIsAlive && return Ptr{Bool}(x + 5132) - f === :ActiveIdPreviousFrameHasBeenEditedBefore && return Ptr{Bool}(x + 5133) - f === :ActiveIdPreviousFrameWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5136) - f === :LastActiveId && return Ptr{ImGuiID}(x + 5140) - f === :LastActiveIdTimer && return Ptr{Cfloat}(x + 5144) - f === :LastKeyModsChangeTime && return Ptr{Cdouble}(x + 5152) - f === :LastKeyModsChangeFromNoneTime && return Ptr{Cdouble}(x + 5160) - f === :LastKeyboardKeyPressTime && return Ptr{Cdouble}(x + 5168) - f === :KeysMayBeCharInput && return Ptr{ImBitArrayForNamedKeys}(x + 5176) - f === :KeysOwnerData && return Ptr{NTuple{154, ImGuiKeyOwnerData}}(x + 5196) - f === :KeysRoutingTable && return Ptr{ImGuiKeyRoutingTable}(x + 7044) - f === :ActiveIdUsingNavDirMask && return Ptr{ImU32}(x + 7376) - f === :ActiveIdUsingAllKeyboardKeys && return Ptr{Bool}(x + 7380) - f === :DebugBreakInShortcutRouting && return Ptr{ImGuiKeyChord}(x + 7384) - f === :CurrentFocusScopeId && return Ptr{ImGuiID}(x + 7388) - f === :CurrentItemFlags && return Ptr{ImGuiItemFlags}(x + 7392) - f === :DebugLocateId && return Ptr{ImGuiID}(x + 7396) - f === :NextItemData && return Ptr{ImGuiNextItemData}(x + 7400) - f === :LastItemData && return Ptr{ImGuiLastItemData}(x + 7456) - f === :NextWindowData && return Ptr{ImGuiNextWindowData}(x + 7536) - f === :DebugShowGroupRects && return Ptr{Bool}(x + 7684) - f === :DebugFlashStyleColorIdx && return Ptr{ImGuiCol}(x + 7688) - f === :ColorStack && return Ptr{ImVector_ImGuiColorMod}(x + 7692) - f === :StyleVarStack && return Ptr{ImVector_ImGuiStyleMod}(x + 7704) - f === :FontStack && return Ptr{ImVector_ImFontPtr}(x + 7716) - f === :FocusScopeStack && return Ptr{ImVector_ImGuiFocusScopeData}(x + 7728) - f === :ItemFlagsStack && return Ptr{ImVector_ImGuiItemFlags}(x + 7740) - f === :GroupStack && return Ptr{ImVector_ImGuiGroupData}(x + 7752) - f === :OpenPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 7764) - f === :BeginPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 7776) - f === :TreeNodeStack && return Ptr{ImVector_ImGuiTreeNodeStackData}(x + 7788) - f === :Viewports && return Ptr{ImVector_ImGuiViewportPPtr}(x + 7800) - f === :CurrentViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 7812) - f === :MouseViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 7816) - f === :MouseLastHoveredViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 7820) - f === :PlatformLastFocusedViewportId && return Ptr{ImGuiID}(x + 7824) - f === :FallbackMonitor && return Ptr{ImGuiPlatformMonitor}(x + 7828) - f === :PlatformMonitorsFullWorkRect && return Ptr{ImRect}(x + 7868) - f === :ViewportCreatedCount && return Ptr{Cint}(x + 7884) - f === :PlatformWindowsCreatedCount && return Ptr{Cint}(x + 7888) - f === :ViewportFocusedStampCount && return Ptr{Cint}(x + 7892) - f === :NavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 7896) - f === :NavId && return Ptr{ImGuiID}(x + 7900) - f === :NavFocusScopeId && return Ptr{ImGuiID}(x + 7904) - f === :NavLayer && return Ptr{ImGuiNavLayer}(x + 7908) - f === :NavActivateId && return Ptr{ImGuiID}(x + 7912) - f === :NavActivateDownId && return Ptr{ImGuiID}(x + 7916) - f === :NavActivatePressedId && return Ptr{ImGuiID}(x + 7920) - f === :NavActivateFlags && return Ptr{ImGuiActivateFlags}(x + 7924) - f === :NavFocusRoute && return Ptr{ImVector_ImGuiFocusScopeData}(x + 7928) - f === :NavHighlightActivatedId && return Ptr{ImGuiID}(x + 7940) - f === :NavHighlightActivatedTimer && return Ptr{Cfloat}(x + 7944) - f === :NavNextActivateId && return Ptr{ImGuiID}(x + 7948) - f === :NavNextActivateFlags && return Ptr{ImGuiActivateFlags}(x + 7952) - f === :NavInputSource && return Ptr{ImGuiInputSource}(x + 7956) - f === :NavLastValidSelectionUserData && return Ptr{ImGuiSelectionUserData}(x + 7960) - f === :NavIdIsAlive && return Ptr{Bool}(x + 7968) - f === :NavMousePosDirty && return Ptr{Bool}(x + 7969) - f === :NavDisableHighlight && return Ptr{Bool}(x + 7970) - f === :NavDisableMouseHover && return Ptr{Bool}(x + 7971) - f === :NavAnyRequest && return Ptr{Bool}(x + 7972) - f === :NavInitRequest && return Ptr{Bool}(x + 7973) - f === :NavInitRequestFromMove && return Ptr{Bool}(x + 7974) - f === :NavInitResult && return Ptr{ImGuiNavItemData}(x + 7976) - f === :NavMoveSubmitted && return Ptr{Bool}(x + 8032) - f === :NavMoveScoringItems && return Ptr{Bool}(x + 8033) - f === :NavMoveForwardToNextFrame && return Ptr{Bool}(x + 8034) - f === :NavMoveFlags && return Ptr{ImGuiNavMoveFlags}(x + 8036) - f === :NavMoveScrollFlags && return Ptr{ImGuiScrollFlags}(x + 8040) - f === :NavMoveKeyMods && return Ptr{ImGuiKeyChord}(x + 8044) - f === :NavMoveDir && return Ptr{ImGuiDir}(x + 8048) - f === :NavMoveDirForDebug && return Ptr{ImGuiDir}(x + 8052) - f === :NavMoveClipDir && return Ptr{ImGuiDir}(x + 8056) - f === :NavScoringRect && return Ptr{ImRect}(x + 8060) - f === :NavScoringNoClipRect && return Ptr{ImRect}(x + 8076) - f === :NavScoringDebugCount && return Ptr{Cint}(x + 8092) - f === :NavTabbingDir && return Ptr{Cint}(x + 8096) - f === :NavTabbingCounter && return Ptr{Cint}(x + 8100) - f === :NavMoveResultLocal && return Ptr{ImGuiNavItemData}(x + 8104) - f === :NavMoveResultLocalVisible && return Ptr{ImGuiNavItemData}(x + 8160) - f === :NavMoveResultOther && return Ptr{ImGuiNavItemData}(x + 8216) - f === :NavTabbingResultFirst && return Ptr{ImGuiNavItemData}(x + 8272) - f === :NavJustMovedFromFocusScopeId && return Ptr{ImGuiID}(x + 8328) - f === :NavJustMovedToId && return Ptr{ImGuiID}(x + 8332) - f === :NavJustMovedToFocusScopeId && return Ptr{ImGuiID}(x + 8336) - f === :NavJustMovedToKeyMods && return Ptr{ImGuiKeyChord}(x + 8340) - f === :NavJustMovedToIsTabbing && return Ptr{Bool}(x + 8344) - f === :NavJustMovedToHasSelectionData && return Ptr{Bool}(x + 8345) - f === :ConfigNavWindowingKeyNext && return Ptr{ImGuiKeyChord}(x + 8348) - f === :ConfigNavWindowingKeyPrev && return Ptr{ImGuiKeyChord}(x + 8352) - f === :NavWindowingTarget && return Ptr{Ptr{ImGuiWindow}}(x + 8356) - f === :NavWindowingTargetAnim && return Ptr{Ptr{ImGuiWindow}}(x + 8360) - f === :NavWindowingListWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8364) - f === :NavWindowingTimer && return Ptr{Cfloat}(x + 8368) - f === :NavWindowingHighlightAlpha && return Ptr{Cfloat}(x + 8372) - f === :NavWindowingToggleLayer && return Ptr{Bool}(x + 8376) - f === :NavWindowingToggleKey && return Ptr{ImGuiKey}(x + 8380) - f === :NavWindowingAccumDeltaPos && return Ptr{ImVec2}(x + 8384) - f === :NavWindowingAccumDeltaSize && return Ptr{ImVec2}(x + 8392) - f === :DimBgRatio && return Ptr{Cfloat}(x + 8400) - f === :DragDropActive && return Ptr{Bool}(x + 8404) - f === :DragDropWithinSource && return Ptr{Bool}(x + 8405) - f === :DragDropWithinTarget && return Ptr{Bool}(x + 8406) - f === :DragDropSourceFlags && return Ptr{ImGuiDragDropFlags}(x + 8408) - f === :DragDropSourceFrameCount && return Ptr{Cint}(x + 8412) - f === :DragDropMouseButton && return Ptr{Cint}(x + 8416) - f === :DragDropPayload && return Ptr{ImGuiPayload}(x + 8420) - f === :DragDropTargetRect && return Ptr{ImRect}(x + 8476) - f === :DragDropTargetClipRect && return Ptr{ImRect}(x + 8492) - f === :DragDropTargetId && return Ptr{ImGuiID}(x + 8508) - f === :DragDropAcceptFlags && return Ptr{ImGuiDragDropFlags}(x + 8512) - f === :DragDropAcceptIdCurrRectSurface && return Ptr{Cfloat}(x + 8516) - f === :DragDropAcceptIdCurr && return Ptr{ImGuiID}(x + 8520) - f === :DragDropAcceptIdPrev && return Ptr{ImGuiID}(x + 8524) - f === :DragDropAcceptFrameCount && return Ptr{Cint}(x + 8528) - f === :DragDropHoldJustPressedId && return Ptr{ImGuiID}(x + 8532) - f === :DragDropPayloadBufHeap && return Ptr{ImVector_unsigned_char}(x + 8536) - f === :DragDropPayloadBufLocal && return Ptr{NTuple{16, Cuchar}}(x + 8548) - f === :ClipperTempDataStacked && return Ptr{Cint}(x + 8564) - f === :ClipperTempData && return Ptr{ImVector_ImGuiListClipperData}(x + 8568) - f === :CurrentTable && return Ptr{Ptr{ImGuiTable}}(x + 8580) - f === :DebugBreakInTable && return Ptr{ImGuiID}(x + 8584) - f === :TablesTempDataStacked && return Ptr{Cint}(x + 8588) - f === :TablesTempData && return Ptr{ImVector_ImGuiTableTempData}(x + 8592) - f === :Tables && return Ptr{ImPool_ImGuiTable}(x + 8604) - f === :TablesLastTimeActive && return Ptr{ImVector_float}(x + 8636) - f === :DrawChannelsTempMergeBuffer && return Ptr{ImVector_ImDrawChannel}(x + 8648) - f === :CurrentTabBar && return Ptr{Ptr{ImGuiTabBar}}(x + 8660) - f === :TabBars && return Ptr{ImPool_ImGuiTabBar}(x + 8664) - f === :CurrentTabBarStack && return Ptr{ImVector_ImGuiPtrOrIndex}(x + 8696) - f === :ShrinkWidthBuffer && return Ptr{ImVector_ImGuiShrinkWidthItem}(x + 8708) - f === :BoxSelectState && return Ptr{ImGuiBoxSelectState}(x + 8720) - f === :CurrentMultiSelect && return Ptr{Ptr{ImGuiMultiSelectTempData}}(x + 8812) - f === :MultiSelectTempDataStacked && return Ptr{Cint}(x + 8816) - f === :MultiSelectTempData && return Ptr{ImVector_ImGuiMultiSelectTempData}(x + 8820) - f === :MultiSelectStorage && return Ptr{ImPool_ImGuiMultiSelectState}(x + 8832) - f === :HoverItemDelayId && return Ptr{ImGuiID}(x + 8864) - f === :HoverItemDelayIdPreviousFrame && return Ptr{ImGuiID}(x + 8868) - f === :HoverItemDelayTimer && return Ptr{Cfloat}(x + 8872) - f === :HoverItemDelayClearTimer && return Ptr{Cfloat}(x + 8876) - f === :HoverItemUnlockedStationaryId && return Ptr{ImGuiID}(x + 8880) - f === :HoverWindowUnlockedStationaryId && return Ptr{ImGuiID}(x + 8884) - f === :MouseCursor && return Ptr{ImGuiMouseCursor}(x + 8888) - f === :MouseStationaryTimer && return Ptr{Cfloat}(x + 8892) - f === :MouseLastValidPos && return Ptr{ImVec2}(x + 8896) - f === :InputTextState && return Ptr{ImGuiInputTextState}(x + 8904) - f === :InputTextDeactivatedState && return Ptr{ImGuiInputTextDeactivatedState}(x + 8992) - f === :InputTextPasswordFont && return Ptr{ImFont}(x + 9008) - f === :TempInputId && return Ptr{ImGuiID}(x + 9104) - f === :DataTypeZeroValue && return Ptr{ImGuiDataTypeStorage}(x + 9108) - f === :BeginMenuDepth && return Ptr{Cint}(x + 9116) - f === :BeginComboDepth && return Ptr{Cint}(x + 9120) - f === :ColorEditOptions && return Ptr{ImGuiColorEditFlags}(x + 9124) - f === :ColorEditCurrentID && return Ptr{ImGuiID}(x + 9128) - f === :ColorEditSavedID && return Ptr{ImGuiID}(x + 9132) - f === :ColorEditSavedHue && return Ptr{Cfloat}(x + 9136) - f === :ColorEditSavedSat && return Ptr{Cfloat}(x + 9140) - f === :ColorEditSavedColor && return Ptr{ImU32}(x + 9144) - f === :ColorPickerRef && return Ptr{ImVec4}(x + 9148) - f === :ComboPreviewData && return Ptr{ImGuiComboPreviewData}(x + 9164) - f === :WindowResizeBorderExpectedRect && return Ptr{ImRect}(x + 9212) - f === :WindowResizeRelativeMode && return Ptr{Bool}(x + 9228) - f === :ScrollbarSeekMode && return Ptr{Cshort}(x + 9230) - f === :ScrollbarClickDeltaToGrabCenter && return Ptr{Cfloat}(x + 9232) - f === :SliderGrabClickOffset && return Ptr{Cfloat}(x + 9236) - f === :SliderCurrentAccum && return Ptr{Cfloat}(x + 9240) - f === :SliderCurrentAccumDirty && return Ptr{Bool}(x + 9244) - f === :DragCurrentAccumDirty && return Ptr{Bool}(x + 9245) - f === :DragCurrentAccum && return Ptr{Cfloat}(x + 9248) - f === :DragSpeedDefaultRatio && return Ptr{Cfloat}(x + 9252) - f === :DisabledAlphaBackup && return Ptr{Cfloat}(x + 9256) - f === :DisabledStackSize && return Ptr{Cshort}(x + 9260) - f === :LockMarkEdited && return Ptr{Cshort}(x + 9262) - f === :TooltipOverrideCount && return Ptr{Cshort}(x + 9264) - f === :ClipboardHandlerData && return Ptr{ImVector_char}(x + 9268) - f === :MenusIdSubmittedThisFrame && return Ptr{ImVector_ImGuiID}(x + 9280) - f === :TypingSelectState && return Ptr{ImGuiTypingSelectState}(x + 9292) - f === :PlatformImeData && return Ptr{ImGuiPlatformImeData}(x + 9388) - f === :PlatformImeDataPrev && return Ptr{ImGuiPlatformImeData}(x + 9404) - f === :PlatformImeViewport && return Ptr{ImGuiID}(x + 9420) - f === :DockContext && return Ptr{ImGuiDockContext}(x + 9424) - f === :DockNodeWindowMenuHandler && return Ptr{Ptr{Cvoid}}(x + 9464) - f === :SettingsLoaded && return Ptr{Bool}(x + 9468) - f === :SettingsDirtyTimer && return Ptr{Cfloat}(x + 9472) - f === :SettingsIniData && return Ptr{ImGuiTextBuffer}(x + 9476) - f === :SettingsHandlers && return Ptr{ImVector_ImGuiSettingsHandler}(x + 9488) - f === :SettingsWindows && return Ptr{ImChunkStream_ImGuiWindowSettings}(x + 9500) - f === :SettingsTables && return Ptr{ImChunkStream_ImGuiTableSettings}(x + 9512) - f === :Hooks && return Ptr{ImVector_ImGuiContextHook}(x + 9524) - f === :HookIdNext && return Ptr{ImGuiID}(x + 9536) - f === :LocalizationTable && return Ptr{NTuple{13, Ptr{Cchar}}}(x + 9540) - f === :LogEnabled && return Ptr{Bool}(x + 9592) - f === :LogType && return Ptr{ImGuiLogType}(x + 9596) - f === :LogFile && return Ptr{ImFileHandle}(x + 9600) - f === :LogBuffer && return Ptr{ImGuiTextBuffer}(x + 9604) - f === :LogNextPrefix && return Ptr{Ptr{Cchar}}(x + 9616) - f === :LogNextSuffix && return Ptr{Ptr{Cchar}}(x + 9620) - f === :LogLinePosY && return Ptr{Cfloat}(x + 9624) - f === :LogLineFirstItem && return Ptr{Bool}(x + 9628) - f === :LogDepthRef && return Ptr{Cint}(x + 9632) - f === :LogDepthToExpand && return Ptr{Cint}(x + 9636) - f === :LogDepthToExpandDefault && return Ptr{Cint}(x + 9640) - f === :DebugLogFlags && return Ptr{ImGuiDebugLogFlags}(x + 9644) - f === :DebugLogBuf && return Ptr{ImGuiTextBuffer}(x + 9648) - f === :DebugLogIndex && return Ptr{ImGuiTextIndex}(x + 9660) - f === :DebugLogAutoDisableFlags && return Ptr{ImGuiDebugLogFlags}(x + 9676) - f === :DebugLogAutoDisableFrames && return Ptr{ImU8}(x + 9680) - f === :DebugLocateFrames && return Ptr{ImU8}(x + 9681) - f === :DebugBreakInLocateId && return Ptr{Bool}(x + 9682) - f === :DebugBreakKeyChord && return Ptr{ImGuiKeyChord}(x + 9684) - f === :DebugBeginReturnValueCullDepth && return Ptr{ImS8}(x + 9688) - f === :DebugItemPickerActive && return Ptr{Bool}(x + 9689) - f === :DebugItemPickerMouseButton && return Ptr{ImU8}(x + 9690) - f === :DebugItemPickerBreakId && return Ptr{ImGuiID}(x + 9692) - f === :DebugFlashStyleColorTime && return Ptr{Cfloat}(x + 9696) - f === :DebugFlashStyleColorBackup && return Ptr{ImVec4}(x + 9700) - f === :DebugMetricsConfig && return Ptr{ImGuiMetricsConfig}(x + 9716) - f === :DebugIDStackTool && return Ptr{ImGuiIDStackTool}(x + 9744) - f === :DebugAllocInfo && return Ptr{ImGuiDebugAllocInfo}(x + 9776) - f === :DebugHoveredDockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 9836) - f === :FramerateSecPerFrame && return Ptr{NTuple{60, Cfloat}}(x + 9840) - f === :FramerateSecPerFrameIdx && return Ptr{Cint}(x + 10080) - f === :FramerateSecPerFrameCount && return Ptr{Cint}(x + 10084) - f === :FramerateSecPerFrameAccum && return Ptr{Cfloat}(x + 10088) - f === :WantCaptureMouseNextFrame && return Ptr{Cint}(x + 10092) - f === :WantCaptureKeyboardNextFrame && return Ptr{Cint}(x + 10096) - f === :WantTextInputNextFrame && return Ptr{Cint}(x + 10100) - f === :TempBuffer && return Ptr{ImVector_char}(x + 10104) - f === :TempKeychordName && return Ptr{NTuple{64, Cchar}}(x + 10116) + f === :PlatformIO && return Ptr{ImGuiPlatformIO}(x + 2960) + f === :Style && return Ptr{ImGuiStyle}(x + 3116) + f === :ConfigFlagsCurrFrame && return Ptr{ImGuiConfigFlags}(x + 4308) + f === :ConfigFlagsLastFrame && return Ptr{ImGuiConfigFlags}(x + 4312) + f === :Font && return Ptr{Ptr{ImFont}}(x + 4316) + f === :FontSize && return Ptr{Cfloat}(x + 4320) + f === :FontBaseSize && return Ptr{Cfloat}(x + 4324) + f === :FontScale && return Ptr{Cfloat}(x + 4328) + f === :CurrentDpiScale && return Ptr{Cfloat}(x + 4332) + f === :DrawListSharedData && return Ptr{ImDrawListSharedData}(x + 4336) + f === :Time && return Ptr{Cdouble}(x + 4856) + f === :FrameCount && return Ptr{Cint}(x + 4864) + f === :FrameCountEnded && return Ptr{Cint}(x + 4868) + f === :FrameCountPlatformEnded && return Ptr{Cint}(x + 4872) + f === :FrameCountRendered && return Ptr{Cint}(x + 4876) + f === :WithinFrameScope && return Ptr{Bool}(x + 4880) + f === :WithinFrameScopeWithImplicitWindow && return Ptr{Bool}(x + 4881) + f === :WithinEndChild && return Ptr{Bool}(x + 4882) + f === :GcCompactAll && return Ptr{Bool}(x + 4883) + f === :TestEngineHookItems && return Ptr{Bool}(x + 4884) + f === :TestEngine && return Ptr{Ptr{Cvoid}}(x + 4888) + f === :ContextName && return Ptr{NTuple{16, Cchar}}(x + 4892) + f === :InputEventsQueue && return Ptr{ImVector_ImGuiInputEvent}(x + 4908) + f === :InputEventsTrail && return Ptr{ImVector_ImGuiInputEvent}(x + 4920) + f === :InputEventsNextMouseSource && return Ptr{ImGuiMouseSource}(x + 4932) + f === :InputEventsNextEventId && return Ptr{ImU32}(x + 4936) + f === :Windows && return Ptr{ImVector_ImGuiWindowPtr}(x + 4940) + f === :WindowsFocusOrder && return Ptr{ImVector_ImGuiWindowPtr}(x + 4952) + f === :WindowsTempSortBuffer && return Ptr{ImVector_ImGuiWindowPtr}(x + 4964) + f === :CurrentWindowStack && return Ptr{ImVector_ImGuiWindowStackData}(x + 4976) + f === :WindowsById && return Ptr{ImGuiStorage}(x + 4988) + f === :WindowsActiveCount && return Ptr{Cint}(x + 5000) + f === :WindowsHoverPadding && return Ptr{ImVec2}(x + 5004) + f === :DebugBreakInWindow && return Ptr{ImGuiID}(x + 5012) + f === :CurrentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5016) + f === :HoveredWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5020) + f === :HoveredWindowUnderMovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5024) + f === :HoveredWindowBeforeClear && return Ptr{Ptr{ImGuiWindow}}(x + 5028) + f === :MovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5032) + f === :WheelingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5036) + f === :WheelingWindowRefMousePos && return Ptr{ImVec2}(x + 5040) + f === :WheelingWindowStartFrame && return Ptr{Cint}(x + 5048) + f === :WheelingWindowScrolledFrame && return Ptr{Cint}(x + 5052) + f === :WheelingWindowReleaseTimer && return Ptr{Cfloat}(x + 5056) + f === :WheelingWindowWheelRemainder && return Ptr{ImVec2}(x + 5060) + f === :WheelingAxisAvg && return Ptr{ImVec2}(x + 5068) + f === :DebugDrawIdConflicts && return Ptr{ImGuiID}(x + 5076) + f === :DebugHookIdInfo && return Ptr{ImGuiID}(x + 5080) + f === :HoveredId && return Ptr{ImGuiID}(x + 5084) + f === :HoveredIdPreviousFrame && return Ptr{ImGuiID}(x + 5088) + f === :HoveredIdPreviousFrameItemCount && return Ptr{Cint}(x + 5092) + f === :HoveredIdTimer && return Ptr{Cfloat}(x + 5096) + f === :HoveredIdNotActiveTimer && return Ptr{Cfloat}(x + 5100) + f === :HoveredIdAllowOverlap && return Ptr{Bool}(x + 5104) + f === :HoveredIdIsDisabled && return Ptr{Bool}(x + 5105) + f === :ItemUnclipByLog && return Ptr{Bool}(x + 5106) + f === :ActiveId && return Ptr{ImGuiID}(x + 5108) + f === :ActiveIdIsAlive && return Ptr{ImGuiID}(x + 5112) + f === :ActiveIdTimer && return Ptr{Cfloat}(x + 5116) + f === :ActiveIdIsJustActivated && return Ptr{Bool}(x + 5120) + f === :ActiveIdAllowOverlap && return Ptr{Bool}(x + 5121) + f === :ActiveIdNoClearOnFocusLoss && return Ptr{Bool}(x + 5122) + f === :ActiveIdHasBeenPressedBefore && return Ptr{Bool}(x + 5123) + f === :ActiveIdHasBeenEditedBefore && return Ptr{Bool}(x + 5124) + f === :ActiveIdHasBeenEditedThisFrame && return Ptr{Bool}(x + 5125) + f === :ActiveIdFromShortcut && return Ptr{Bool}(x + 5126) + f === :ActiveIdMouseButton && return (Ptr{Cint}(x + 5124), 24, 8) + f === :ActiveIdClickOffset && return Ptr{ImVec2}(x + 5128) + f === :ActiveIdWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5136) + f === :ActiveIdSource && return Ptr{ImGuiInputSource}(x + 5140) + f === :ActiveIdPreviousFrame && return Ptr{ImGuiID}(x + 5144) + f === :ActiveIdPreviousFrameIsAlive && return Ptr{Bool}(x + 5148) + f === :ActiveIdPreviousFrameHasBeenEditedBefore && return Ptr{Bool}(x + 5149) + f === :ActiveIdPreviousFrameWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5152) + f === :LastActiveId && return Ptr{ImGuiID}(x + 5156) + f === :LastActiveIdTimer && return Ptr{Cfloat}(x + 5160) + f === :LastKeyModsChangeTime && return Ptr{Cdouble}(x + 5168) + f === :LastKeyModsChangeFromNoneTime && return Ptr{Cdouble}(x + 5176) + f === :LastKeyboardKeyPressTime && return Ptr{Cdouble}(x + 5184) + f === :KeysMayBeCharInput && return Ptr{ImBitArrayForNamedKeys}(x + 5192) + f === :KeysOwnerData && return Ptr{NTuple{154, ImGuiKeyOwnerData}}(x + 5212) + f === :KeysRoutingTable && return Ptr{ImGuiKeyRoutingTable}(x + 7060) + f === :ActiveIdUsingNavDirMask && return Ptr{ImU32}(x + 7392) + f === :ActiveIdUsingAllKeyboardKeys && return Ptr{Bool}(x + 7396) + f === :DebugBreakInShortcutRouting && return Ptr{ImGuiKeyChord}(x + 7400) + f === :CurrentFocusScopeId && return Ptr{ImGuiID}(x + 7404) + f === :CurrentItemFlags && return Ptr{ImGuiItemFlags}(x + 7408) + f === :DebugLocateId && return Ptr{ImGuiID}(x + 7412) + f === :NextItemData && return Ptr{ImGuiNextItemData}(x + 7416) + f === :LastItemData && return Ptr{ImGuiLastItemData}(x + 7472) + f === :NextWindowData && return Ptr{ImGuiNextWindowData}(x + 7552) + f === :DebugShowGroupRects && return Ptr{Bool}(x + 7700) + f === :DebugFlashStyleColorIdx && return Ptr{ImGuiCol}(x + 7704) + f === :ColorStack && return Ptr{ImVector_ImGuiColorMod}(x + 7708) + f === :StyleVarStack && return Ptr{ImVector_ImGuiStyleMod}(x + 7720) + f === :FontStack && return Ptr{ImVector_ImFontPtr}(x + 7732) + f === :FocusScopeStack && return Ptr{ImVector_ImGuiFocusScopeData}(x + 7744) + f === :ItemFlagsStack && return Ptr{ImVector_ImGuiItemFlags}(x + 7756) + f === :GroupStack && return Ptr{ImVector_ImGuiGroupData}(x + 7768) + f === :OpenPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 7780) + f === :BeginPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 7792) + f === :TreeNodeStack && return Ptr{ImVector_ImGuiTreeNodeStackData}(x + 7804) + f === :Viewports && return Ptr{ImVector_ImGuiViewportPPtr}(x + 7816) + f === :CurrentViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 7828) + f === :MouseViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 7832) + f === :MouseLastHoveredViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 7836) + f === :PlatformLastFocusedViewportId && return Ptr{ImGuiID}(x + 7840) + f === :FallbackMonitor && return Ptr{ImGuiPlatformMonitor}(x + 7844) + f === :PlatformMonitorsFullWorkRect && return Ptr{ImRect}(x + 7884) + f === :ViewportCreatedCount && return Ptr{Cint}(x + 7900) + f === :PlatformWindowsCreatedCount && return Ptr{Cint}(x + 7904) + f === :ViewportFocusedStampCount && return Ptr{Cint}(x + 7908) + f === :NavCursorVisible && return Ptr{Bool}(x + 7912) + f === :NavHighlightItemUnderNav && return Ptr{Bool}(x + 7913) + f === :NavMousePosDirty && return Ptr{Bool}(x + 7914) + f === :NavIdIsAlive && return Ptr{Bool}(x + 7915) + f === :NavId && return Ptr{ImGuiID}(x + 7916) + f === :NavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 7920) + f === :NavFocusScopeId && return Ptr{ImGuiID}(x + 7924) + f === :NavLayer && return Ptr{ImGuiNavLayer}(x + 7928) + f === :NavActivateId && return Ptr{ImGuiID}(x + 7932) + f === :NavActivateDownId && return Ptr{ImGuiID}(x + 7936) + f === :NavActivatePressedId && return Ptr{ImGuiID}(x + 7940) + f === :NavActivateFlags && return Ptr{ImGuiActivateFlags}(x + 7944) + f === :NavFocusRoute && return Ptr{ImVector_ImGuiFocusScopeData}(x + 7948) + f === :NavHighlightActivatedId && return Ptr{ImGuiID}(x + 7960) + f === :NavHighlightActivatedTimer && return Ptr{Cfloat}(x + 7964) + f === :NavNextActivateId && return Ptr{ImGuiID}(x + 7968) + f === :NavNextActivateFlags && return Ptr{ImGuiActivateFlags}(x + 7972) + f === :NavInputSource && return Ptr{ImGuiInputSource}(x + 7976) + f === :NavLastValidSelectionUserData && return Ptr{ImGuiSelectionUserData}(x + 7984) + f === :NavCursorHideFrames && return Ptr{ImS8}(x + 7992) + f === :NavAnyRequest && return Ptr{Bool}(x + 7993) + f === :NavInitRequest && return Ptr{Bool}(x + 7994) + f === :NavInitRequestFromMove && return Ptr{Bool}(x + 7995) + f === :NavInitResult && return Ptr{ImGuiNavItemData}(x + 8000) + f === :NavMoveSubmitted && return Ptr{Bool}(x + 8056) + f === :NavMoveScoringItems && return Ptr{Bool}(x + 8057) + f === :NavMoveForwardToNextFrame && return Ptr{Bool}(x + 8058) + f === :NavMoveFlags && return Ptr{ImGuiNavMoveFlags}(x + 8060) + f === :NavMoveScrollFlags && return Ptr{ImGuiScrollFlags}(x + 8064) + f === :NavMoveKeyMods && return Ptr{ImGuiKeyChord}(x + 8068) + f === :NavMoveDir && return Ptr{ImGuiDir}(x + 8072) + f === :NavMoveDirForDebug && return Ptr{ImGuiDir}(x + 8076) + f === :NavMoveClipDir && return Ptr{ImGuiDir}(x + 8080) + f === :NavScoringRect && return Ptr{ImRect}(x + 8084) + f === :NavScoringNoClipRect && return Ptr{ImRect}(x + 8100) + f === :NavScoringDebugCount && return Ptr{Cint}(x + 8116) + f === :NavTabbingDir && return Ptr{Cint}(x + 8120) + f === :NavTabbingCounter && return Ptr{Cint}(x + 8124) + f === :NavMoveResultLocal && return Ptr{ImGuiNavItemData}(x + 8128) + f === :NavMoveResultLocalVisible && return Ptr{ImGuiNavItemData}(x + 8184) + f === :NavMoveResultOther && return Ptr{ImGuiNavItemData}(x + 8240) + f === :NavTabbingResultFirst && return Ptr{ImGuiNavItemData}(x + 8296) + f === :NavJustMovedFromFocusScopeId && return Ptr{ImGuiID}(x + 8352) + f === :NavJustMovedToId && return Ptr{ImGuiID}(x + 8356) + f === :NavJustMovedToFocusScopeId && return Ptr{ImGuiID}(x + 8360) + f === :NavJustMovedToKeyMods && return Ptr{ImGuiKeyChord}(x + 8364) + f === :NavJustMovedToIsTabbing && return Ptr{Bool}(x + 8368) + f === :NavJustMovedToHasSelectionData && return Ptr{Bool}(x + 8369) + f === :ConfigNavWindowingKeyNext && return Ptr{ImGuiKeyChord}(x + 8372) + f === :ConfigNavWindowingKeyPrev && return Ptr{ImGuiKeyChord}(x + 8376) + f === :NavWindowingTarget && return Ptr{Ptr{ImGuiWindow}}(x + 8380) + f === :NavWindowingTargetAnim && return Ptr{Ptr{ImGuiWindow}}(x + 8384) + f === :NavWindowingListWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8388) + f === :NavWindowingTimer && return Ptr{Cfloat}(x + 8392) + f === :NavWindowingHighlightAlpha && return Ptr{Cfloat}(x + 8396) + f === :NavWindowingToggleLayer && return Ptr{Bool}(x + 8400) + f === :NavWindowingToggleKey && return Ptr{ImGuiKey}(x + 8404) + f === :NavWindowingAccumDeltaPos && return Ptr{ImVec2}(x + 8408) + f === :NavWindowingAccumDeltaSize && return Ptr{ImVec2}(x + 8416) + f === :DimBgRatio && return Ptr{Cfloat}(x + 8424) + f === :DragDropActive && return Ptr{Bool}(x + 8428) + f === :DragDropWithinSource && return Ptr{Bool}(x + 8429) + f === :DragDropWithinTarget && return Ptr{Bool}(x + 8430) + f === :DragDropSourceFlags && return Ptr{ImGuiDragDropFlags}(x + 8432) + f === :DragDropSourceFrameCount && return Ptr{Cint}(x + 8436) + f === :DragDropMouseButton && return Ptr{Cint}(x + 8440) + f === :DragDropPayload && return Ptr{ImGuiPayload}(x + 8444) + f === :DragDropTargetRect && return Ptr{ImRect}(x + 8500) + f === :DragDropTargetClipRect && return Ptr{ImRect}(x + 8516) + f === :DragDropTargetId && return Ptr{ImGuiID}(x + 8532) + f === :DragDropAcceptFlags && return Ptr{ImGuiDragDropFlags}(x + 8536) + f === :DragDropAcceptIdCurrRectSurface && return Ptr{Cfloat}(x + 8540) + f === :DragDropAcceptIdCurr && return Ptr{ImGuiID}(x + 8544) + f === :DragDropAcceptIdPrev && return Ptr{ImGuiID}(x + 8548) + f === :DragDropAcceptFrameCount && return Ptr{Cint}(x + 8552) + f === :DragDropHoldJustPressedId && return Ptr{ImGuiID}(x + 8556) + f === :DragDropPayloadBufHeap && return Ptr{ImVector_unsigned_char}(x + 8560) + f === :DragDropPayloadBufLocal && return Ptr{NTuple{16, Cuchar}}(x + 8572) + f === :ClipperTempDataStacked && return Ptr{Cint}(x + 8588) + f === :ClipperTempData && return Ptr{ImVector_ImGuiListClipperData}(x + 8592) + f === :CurrentTable && return Ptr{Ptr{ImGuiTable}}(x + 8604) + f === :DebugBreakInTable && return Ptr{ImGuiID}(x + 8608) + f === :TablesTempDataStacked && return Ptr{Cint}(x + 8612) + f === :TablesTempData && return Ptr{ImVector_ImGuiTableTempData}(x + 8616) + f === :Tables && return Ptr{ImPool_ImGuiTable}(x + 8628) + f === :TablesLastTimeActive && return Ptr{ImVector_float}(x + 8660) + f === :DrawChannelsTempMergeBuffer && return Ptr{ImVector_ImDrawChannel}(x + 8672) + f === :CurrentTabBar && return Ptr{Ptr{ImGuiTabBar}}(x + 8684) + f === :TabBars && return Ptr{ImPool_ImGuiTabBar}(x + 8688) + f === :CurrentTabBarStack && return Ptr{ImVector_ImGuiPtrOrIndex}(x + 8720) + f === :ShrinkWidthBuffer && return Ptr{ImVector_ImGuiShrinkWidthItem}(x + 8732) + f === :BoxSelectState && return Ptr{ImGuiBoxSelectState}(x + 8744) + f === :CurrentMultiSelect && return Ptr{Ptr{ImGuiMultiSelectTempData}}(x + 8836) + f === :MultiSelectTempDataStacked && return Ptr{Cint}(x + 8840) + f === :MultiSelectTempData && return Ptr{ImVector_ImGuiMultiSelectTempData}(x + 8844) + f === :MultiSelectStorage && return Ptr{ImPool_ImGuiMultiSelectState}(x + 8856) + f === :HoverItemDelayId && return Ptr{ImGuiID}(x + 8888) + f === :HoverItemDelayIdPreviousFrame && return Ptr{ImGuiID}(x + 8892) + f === :HoverItemDelayTimer && return Ptr{Cfloat}(x + 8896) + f === :HoverItemDelayClearTimer && return Ptr{Cfloat}(x + 8900) + f === :HoverItemUnlockedStationaryId && return Ptr{ImGuiID}(x + 8904) + f === :HoverWindowUnlockedStationaryId && return Ptr{ImGuiID}(x + 8908) + f === :MouseCursor && return Ptr{ImGuiMouseCursor}(x + 8912) + f === :MouseStationaryTimer && return Ptr{Cfloat}(x + 8916) + f === :MouseLastValidPos && return Ptr{ImVec2}(x + 8920) + f === :InputTextState && return Ptr{ImGuiInputTextState}(x + 8928) + f === :InputTextDeactivatedState && return Ptr{ImGuiInputTextDeactivatedState}(x + 9016) + f === :InputTextPasswordFont && return Ptr{ImFont}(x + 9032) + f === :TempInputId && return Ptr{ImGuiID}(x + 9128) + f === :DataTypeZeroValue && return Ptr{ImGuiDataTypeStorage}(x + 9132) + f === :BeginMenuDepth && return Ptr{Cint}(x + 9140) + f === :BeginComboDepth && return Ptr{Cint}(x + 9144) + f === :ColorEditOptions && return Ptr{ImGuiColorEditFlags}(x + 9148) + f === :ColorEditCurrentID && return Ptr{ImGuiID}(x + 9152) + f === :ColorEditSavedID && return Ptr{ImGuiID}(x + 9156) + f === :ColorEditSavedHue && return Ptr{Cfloat}(x + 9160) + f === :ColorEditSavedSat && return Ptr{Cfloat}(x + 9164) + f === :ColorEditSavedColor && return Ptr{ImU32}(x + 9168) + f === :ColorPickerRef && return Ptr{ImVec4}(x + 9172) + f === :ComboPreviewData && return Ptr{ImGuiComboPreviewData}(x + 9188) + f === :WindowResizeBorderExpectedRect && return Ptr{ImRect}(x + 9236) + f === :WindowResizeRelativeMode && return Ptr{Bool}(x + 9252) + f === :ScrollbarSeekMode && return Ptr{Cshort}(x + 9254) + f === :ScrollbarClickDeltaToGrabCenter && return Ptr{Cfloat}(x + 9256) + f === :SliderGrabClickOffset && return Ptr{Cfloat}(x + 9260) + f === :SliderCurrentAccum && return Ptr{Cfloat}(x + 9264) + f === :SliderCurrentAccumDirty && return Ptr{Bool}(x + 9268) + f === :DragCurrentAccumDirty && return Ptr{Bool}(x + 9269) + f === :DragCurrentAccum && return Ptr{Cfloat}(x + 9272) + f === :DragSpeedDefaultRatio && return Ptr{Cfloat}(x + 9276) + f === :DisabledAlphaBackup && return Ptr{Cfloat}(x + 9280) + f === :DisabledStackSize && return Ptr{Cshort}(x + 9284) + f === :TooltipOverrideCount && return Ptr{Cshort}(x + 9286) + f === :TooltipPreviousWindow && return Ptr{Ptr{ImGuiWindow}}(x + 9288) + f === :ClipboardHandlerData && return Ptr{ImVector_char}(x + 9292) + f === :MenusIdSubmittedThisFrame && return Ptr{ImVector_ImGuiID}(x + 9304) + f === :TypingSelectState && return Ptr{ImGuiTypingSelectState}(x + 9316) + f === :PlatformImeData && return Ptr{ImGuiPlatformImeData}(x + 9412) + f === :PlatformImeDataPrev && return Ptr{ImGuiPlatformImeData}(x + 9428) + f === :PlatformImeViewport && return Ptr{ImGuiID}(x + 9444) + f === :DockContext && return Ptr{ImGuiDockContext}(x + 9448) + f === :DockNodeWindowMenuHandler && return Ptr{Ptr{Cvoid}}(x + 9488) + f === :SettingsLoaded && return Ptr{Bool}(x + 9492) + f === :SettingsDirtyTimer && return Ptr{Cfloat}(x + 9496) + f === :SettingsIniData && return Ptr{ImGuiTextBuffer}(x + 9500) + f === :SettingsHandlers && return Ptr{ImVector_ImGuiSettingsHandler}(x + 9512) + f === :SettingsWindows && return Ptr{ImChunkStream_ImGuiWindowSettings}(x + 9524) + f === :SettingsTables && return Ptr{ImChunkStream_ImGuiTableSettings}(x + 9536) + f === :Hooks && return Ptr{ImVector_ImGuiContextHook}(x + 9548) + f === :HookIdNext && return Ptr{ImGuiID}(x + 9560) + f === :LocalizationTable && return Ptr{NTuple{13, Ptr{Cchar}}}(x + 9564) + f === :LogEnabled && return Ptr{Bool}(x + 9616) + f === :LogFlags && return Ptr{ImGuiLogFlags}(x + 9620) + f === :LogWindow && return Ptr{Ptr{ImGuiWindow}}(x + 9624) + f === :LogFile && return Ptr{ImFileHandle}(x + 9628) + f === :LogBuffer && return Ptr{ImGuiTextBuffer}(x + 9632) + f === :LogNextPrefix && return Ptr{Ptr{Cchar}}(x + 9644) + f === :LogNextSuffix && return Ptr{Ptr{Cchar}}(x + 9648) + f === :LogLinePosY && return Ptr{Cfloat}(x + 9652) + f === :LogLineFirstItem && return Ptr{Bool}(x + 9656) + f === :LogDepthRef && return Ptr{Cint}(x + 9660) + f === :LogDepthToExpand && return Ptr{Cint}(x + 9664) + f === :LogDepthToExpandDefault && return Ptr{Cint}(x + 9668) + f === :ErrorCallback && return Ptr{ImGuiErrorCallback}(x + 9672) + f === :ErrorCallbackUserData && return Ptr{Ptr{Cvoid}}(x + 9676) + f === :ErrorTooltipLockedPos && return Ptr{ImVec2}(x + 9680) + f === :ErrorFirst && return Ptr{Bool}(x + 9688) + f === :ErrorCountCurrentFrame && return Ptr{Cint}(x + 9692) + f === :StackSizesInNewFrame && return Ptr{ImGuiErrorRecoveryState}(x + 9696) + f === :StackSizesInBeginForCurrentWindow && return Ptr{Ptr{ImGuiErrorRecoveryState}}(x + 9720) + f === :DebugDrawIdConflictsCount && return Ptr{Cint}(x + 9724) + f === :DebugLogFlags && return Ptr{ImGuiDebugLogFlags}(x + 9728) + f === :DebugLogBuf && return Ptr{ImGuiTextBuffer}(x + 9732) + f === :DebugLogIndex && return Ptr{ImGuiTextIndex}(x + 9744) + f === :DebugLogSkippedErrors && return Ptr{Cint}(x + 9760) + f === :DebugLogAutoDisableFlags && return Ptr{ImGuiDebugLogFlags}(x + 9764) + f === :DebugLogAutoDisableFrames && return Ptr{ImU8}(x + 9768) + f === :DebugLocateFrames && return Ptr{ImU8}(x + 9769) + f === :DebugBreakInLocateId && return Ptr{Bool}(x + 9770) + f === :DebugBreakKeyChord && return Ptr{ImGuiKeyChord}(x + 9772) + f === :DebugBeginReturnValueCullDepth && return Ptr{ImS8}(x + 9776) + f === :DebugItemPickerActive && return Ptr{Bool}(x + 9777) + f === :DebugItemPickerMouseButton && return Ptr{ImU8}(x + 9778) + f === :DebugItemPickerBreakId && return Ptr{ImGuiID}(x + 9780) + f === :DebugFlashStyleColorTime && return Ptr{Cfloat}(x + 9784) + f === :DebugFlashStyleColorBackup && return Ptr{ImVec4}(x + 9788) + f === :DebugMetricsConfig && return Ptr{ImGuiMetricsConfig}(x + 9804) + f === :DebugIDStackTool && return Ptr{ImGuiIDStackTool}(x + 9832) + f === :DebugAllocInfo && return Ptr{ImGuiDebugAllocInfo}(x + 9864) + f === :DebugHoveredDockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 9924) + f === :FramerateSecPerFrame && return Ptr{NTuple{60, Cfloat}}(x + 9928) + f === :FramerateSecPerFrameIdx && return Ptr{Cint}(x + 10168) + f === :FramerateSecPerFrameCount && return Ptr{Cint}(x + 10172) + f === :FramerateSecPerFrameAccum && return Ptr{Cfloat}(x + 10176) + f === :WantCaptureMouseNextFrame && return Ptr{Cint}(x + 10180) + f === :WantCaptureKeyboardNextFrame && return Ptr{Cint}(x + 10184) + f === :WantTextInputNextFrame && return Ptr{Cint}(x + 10188) + f === :TempBuffer && return Ptr{ImVector_char}(x + 10192) + f === :TempKeychordName && return Ptr{NTuple{64, Cchar}}(x + 10204) return getfield(x, f) end @@ -3563,8 +3656,6 @@ struct ImVector_const_charPtr Data::Ptr{Ptr{Cchar}} end -const ImU64 = Culonglong - const ImGuiMouseButton = Cint const ImGuiTableBgTarget = Cint @@ -3669,12 +3760,13 @@ end ImGuiInputTextFlags_DisplayEmptyRefVal = 16384 ImGuiInputTextFlags_NoHorizontalScroll = 32768 ImGuiInputTextFlags_NoUndoRedo = 65536 - ImGuiInputTextFlags_CallbackCompletion = 131072 - ImGuiInputTextFlags_CallbackHistory = 262144 - ImGuiInputTextFlags_CallbackAlways = 524288 - ImGuiInputTextFlags_CallbackCharFilter = 1048576 - ImGuiInputTextFlags_CallbackResize = 2097152 - ImGuiInputTextFlags_CallbackEdit = 4194304 + ImGuiInputTextFlags_ElideLeft = 131072 + ImGuiInputTextFlags_CallbackCompletion = 262144 + ImGuiInputTextFlags_CallbackHistory = 524288 + ImGuiInputTextFlags_CallbackAlways = 1048576 + ImGuiInputTextFlags_CallbackCharFilter = 2097152 + ImGuiInputTextFlags_CallbackResize = 4194304 + ImGuiInputTextFlags_CallbackEdit = 8388608 end @cenum ImGuiTreeNodeFlags_::UInt32 begin @@ -3858,8 +3950,6 @@ end ImGuiConfigFlags_None = 0 ImGuiConfigFlags_NavEnableKeyboard = 1 ImGuiConfigFlags_NavEnableGamepad = 2 - ImGuiConfigFlags_NavEnableSetMousePos = 4 - ImGuiConfigFlags_NavNoCaptureKeyboard = 8 ImGuiConfigFlags_NoMouse = 16 ImGuiConfigFlags_NoMouseCursorChange = 32 ImGuiConfigFlags_NoKeyboard = 64 @@ -3937,7 +4027,7 @@ end ImGuiCol_TextLink = 51 ImGuiCol_TextSelectedBg = 52 ImGuiCol_DragDropTarget = 53 - ImGuiCol_NavHighlight = 54 + ImGuiCol_NavCursor = 54 ImGuiCol_NavWindowingHighlight = 55 ImGuiCol_NavWindowingDimBg = 56 ImGuiCol_ModalWindowDimBg = 57 @@ -3988,6 +4078,7 @@ end ImGuiButtonFlags_MouseButtonRight = 2 ImGuiButtonFlags_MouseButtonMiddle = 4 ImGuiButtonFlags_MouseButtonMask_ = 7 + ImGuiButtonFlags_EnableNav = 8 end @cenum ImGuiColorEditFlags_::UInt32 begin @@ -4024,11 +4115,13 @@ end @cenum ImGuiSliderFlags_::UInt32 begin ImGuiSliderFlags_None = 0 - ImGuiSliderFlags_AlwaysClamp = 16 ImGuiSliderFlags_Logarithmic = 32 ImGuiSliderFlags_NoRoundToFormat = 64 ImGuiSliderFlags_NoInput = 128 ImGuiSliderFlags_WrapAround = 256 + ImGuiSliderFlags_ClampOnInput = 512 + ImGuiSliderFlags_ClampZeroRange = 1024 + ImGuiSliderFlags_AlwaysClamp = 1536 ImGuiSliderFlags_InvalidMask_ = 1879048207 end @@ -4216,7 +4309,7 @@ end const ImGuiFocusRequestFlags = Cint -const ImGuiNavHighlightFlags = Cint +const ImGuiNavRenderCursorFlags = Cint const ImGuiSeparatorFlags = Cint @@ -4224,9 +4317,6 @@ const ImGuiTextFlags = Cint const ImGuiTooltipFlags = Cint -# typedef void ( * ImGuiErrorLogCallback ) ( void * user_data , const char * fmt , ... ) -const ImGuiErrorLogCallback = Ptr{Cvoid} - @cenum ImGuiDataTypePrivate_::UInt32 begin ImGuiDataType_String = 12 ImGuiDataType_Pointer = 13 @@ -4239,6 +4329,8 @@ end ImGuiItemFlags_MixedValue = 4096 ImGuiItemFlags_NoWindowHoverableCheck = 8192 ImGuiItemFlags_AllowOverlap = 16384 + ImGuiItemFlags_NoNavDisableMouseHover = 32768 + ImGuiItemFlags_NoMarkEdited = 65536 ImGuiItemFlags_Inputable = 1048576 ImGuiItemFlags_HasSelectionUserData = 2097152 ImGuiItemFlags_IsMultiSelect = 4194304 @@ -4268,9 +4360,8 @@ end @cenum ImGuiInputTextFlagsPrivate_::UInt32 begin ImGuiInputTextFlags_Multiline = 67108864 - ImGuiInputTextFlags_NoMarkEdited = 134217728 - ImGuiInputTextFlags_MergedItem = 268435456 - ImGuiInputTextFlags_LocalizeDecimalPoint = 536870912 + ImGuiInputTextFlags_MergedItem = 134217728 + ImGuiInputTextFlags_LocalizeDecimalPoint = 268435456 end @cenum ImGuiButtonFlagsPrivate_::UInt32 begin @@ -4280,12 +4371,10 @@ end ImGuiButtonFlags_PressedOnRelease = 128 ImGuiButtonFlags_PressedOnDoubleClick = 256 ImGuiButtonFlags_PressedOnDragDropHold = 512 - ImGuiButtonFlags_Repeat = 1024 ImGuiButtonFlags_FlattenChildren = 2048 ImGuiButtonFlags_AllowOverlap = 4096 - ImGuiButtonFlags_DontClosePopups = 8192 ImGuiButtonFlags_AlignTextBaseLine = 32768 - ImGuiButtonFlags_NoKeyModifiers = 65536 + ImGuiButtonFlags_NoKeyModsAllowed = 65536 ImGuiButtonFlags_NoHoldingActiveId = 131072 ImGuiButtonFlags_NoNavFocus = 262144 ImGuiButtonFlags_NoHoveredOnFocus = 524288 @@ -4349,6 +4438,15 @@ end ImGuiLayoutType_Vertical = 1 end +@cenum ImGuiLogFlags_::UInt32 begin + ImGuiLogFlags_None = 0 + ImGuiLogFlags_OutputTTY = 1 + ImGuiLogFlags_OutputFile = 2 + ImGuiLogFlags_OutputBuffer = 4 + ImGuiLogFlags_OutputClipboard = 8 + ImGuiLogFlags_OutputMask_ = 15 +end + @cenum ImGuiPlotType::UInt32 begin ImGuiPlotType_Lines = 0 ImGuiPlotType_Histogram = 1 @@ -4478,11 +4576,11 @@ end ImGuiScrollFlags_MaskY_ = 42 end -@cenum ImGuiNavHighlightFlags_::UInt32 begin - ImGuiNavHighlightFlags_None = 0 - ImGuiNavHighlightFlags_Compact = 2 - ImGuiNavHighlightFlags_AlwaysDraw = 4 - ImGuiNavHighlightFlags_NoRounding = 8 +@cenum ImGuiNavRenderCursorFlags_::UInt32 begin + ImGuiNavRenderCursorFlags_None = 0 + ImGuiNavRenderCursorFlags_Compact = 2 + ImGuiNavRenderCursorFlags_AlwaysDraw = 4 + ImGuiNavRenderCursorFlags_NoRounding = 8 end @cenum ImGuiNavMoveFlags_::UInt32 begin @@ -4502,7 +4600,7 @@ end ImGuiNavMoveFlags_IsPageMove = 2048 ImGuiNavMoveFlags_Activate = 4096 ImGuiNavMoveFlags_NoSelect = 8192 - ImGuiNavMoveFlags_NoSetNavHighlight = 16384 + ImGuiNavMoveFlags_NoSetNavCursorVisible = 16384 ImGuiNavMoveFlags_NoClearActiveId = 32768 end @@ -4562,17 +4660,19 @@ end @cenum ImGuiDebugLogFlags_::UInt32 begin ImGuiDebugLogFlags_None = 0 - ImGuiDebugLogFlags_EventActiveId = 1 - ImGuiDebugLogFlags_EventFocus = 2 - ImGuiDebugLogFlags_EventPopup = 4 - ImGuiDebugLogFlags_EventNav = 8 - ImGuiDebugLogFlags_EventClipper = 16 - ImGuiDebugLogFlags_EventSelection = 32 - ImGuiDebugLogFlags_EventIO = 64 - ImGuiDebugLogFlags_EventInputRouting = 128 - ImGuiDebugLogFlags_EventDocking = 256 - ImGuiDebugLogFlags_EventViewport = 512 - ImGuiDebugLogFlags_EventMask_ = 1023 + ImGuiDebugLogFlags_EventError = 1 + ImGuiDebugLogFlags_EventActiveId = 2 + ImGuiDebugLogFlags_EventFocus = 4 + ImGuiDebugLogFlags_EventPopup = 8 + ImGuiDebugLogFlags_EventNav = 16 + ImGuiDebugLogFlags_EventClipper = 32 + ImGuiDebugLogFlags_EventSelection = 64 + ImGuiDebugLogFlags_EventIO = 128 + ImGuiDebugLogFlags_EventFont = 256 + ImGuiDebugLogFlags_EventInputRouting = 512 + ImGuiDebugLogFlags_EventDocking = 1024 + ImGuiDebugLogFlags_EventViewport = 2048 + ImGuiDebugLogFlags_EventMask_ = 4095 ImGuiDebugLogFlags_OutputToTTY = 1048576 ImGuiDebugLogFlags_OutputToTestEngine = 2097152 end @@ -5937,6 +6037,10 @@ function igSetKeyboardFocusHere(offset) ccall((:igSetKeyboardFocusHere, libcimgui), Cvoid, (Cint,), offset) end +function igSetNavCursorVisible(visible) + ccall((:igSetNavCursorVisible, libcimgui), Cvoid, (Bool,), visible) +end + function igSetNextItemAllowOverlap() ccall((:igSetNextItemAllowOverlap, libcimgui), Cvoid, ()) end @@ -6922,8 +7026,8 @@ function ImDrawList_PathRect(self, rect_min, rect_max, rounding, flags) ccall((:ImDrawList_PathRect, libcimgui), Cvoid, (Ptr{ImDrawList}, ImVec2, ImVec2, Cfloat, ImDrawFlags), self, rect_min, rect_max, rounding, flags) end -function ImDrawList_AddCallback(self, callback, callback_data) - ccall((:ImDrawList_AddCallback, libcimgui), Cvoid, (Ptr{ImDrawList}, ImDrawCallback, Ptr{Cvoid}), self, callback, callback_data) +function ImDrawList_AddCallback(self, callback, userdata, userdata_size) + ccall((:ImDrawList_AddCallback, libcimgui), Cvoid, (Ptr{ImDrawList}, ImDrawCallback, Ptr{Cvoid}, Csize_t), self, callback, userdata, userdata_size) end function ImDrawList_AddDrawCmd(self) @@ -8092,20 +8196,12 @@ function ImGuiLastItemData_destroy(self) ccall((:ImGuiLastItemData_destroy, libcimgui), Cvoid, (Ptr{ImGuiLastItemData},), self) end -function ImGuiStackSizes_ImGuiStackSizes() - ccall((:ImGuiStackSizes_ImGuiStackSizes, libcimgui), Ptr{ImGuiStackSizes}, ()) +function ImGuiErrorRecoveryState_ImGuiErrorRecoveryState() + ccall((:ImGuiErrorRecoveryState_ImGuiErrorRecoveryState, libcimgui), Ptr{ImGuiErrorRecoveryState}, ()) end -function ImGuiStackSizes_destroy(self) - ccall((:ImGuiStackSizes_destroy, libcimgui), Cvoid, (Ptr{ImGuiStackSizes},), self) -end - -function ImGuiStackSizes_SetToContextState(self, ctx) - ccall((:ImGuiStackSizes_SetToContextState, libcimgui), Cvoid, (Ptr{ImGuiStackSizes}, Ptr{ImGuiContext}), self, ctx) -end - -function ImGuiStackSizes_CompareWithContextState(self, ctx) - ccall((:ImGuiStackSizes_CompareWithContextState, libcimgui), Cvoid, (Ptr{ImGuiStackSizes}, Ptr{ImGuiContext}), self, ctx) +function ImGuiErrorRecoveryState_destroy(self) + ccall((:ImGuiErrorRecoveryState_destroy, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), self) end function ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr(ptr) @@ -8528,6 +8624,14 @@ function ImGuiTableSettings_GetColumnSettings(self) ccall((:ImGuiTableSettings_GetColumnSettings, libcimgui), Ptr{ImGuiTableColumnSettings}, (Ptr{ImGuiTableSettings},), self) end +function igGetIOEx(ctx) + ccall((:igGetIOEx, libcimgui), Ptr{ImGuiIO}, (Ptr{ImGuiContext},), ctx) +end + +function igGetPlatformIOEx(ctx) + ccall((:igGetPlatformIOEx, libcimgui), Ptr{ImGuiPlatformIO}, (Ptr{ImGuiContext},), ctx) +end + function igGetCurrentWindowRead() ccall((:igGetCurrentWindowRead, libcimgui), Ptr{ImGuiWindow}, ()) end @@ -8932,8 +9036,8 @@ function igEndDisabledOverrideReenable() ccall((:igEndDisabledOverrideReenable, libcimgui), Cvoid, ()) end -function igLogBegin(type, auto_open_depth) - ccall((:igLogBegin, libcimgui), Cvoid, (ImGuiLogType, Cint), type, auto_open_depth) +function igLogBegin(flags, auto_open_depth) + ccall((:igLogBegin, libcimgui), Cvoid, (ImGuiLogFlags, Cint), flags, auto_open_depth) end function igLogToBuffer(auto_open_depth) @@ -9080,8 +9184,8 @@ function igNavClearPreferredPosForAxis(axis) ccall((:igNavClearPreferredPosForAxis, libcimgui), Cvoid, (ImGuiAxis,), axis) end -function igNavRestoreHighlightAfterMove() - ccall((:igNavRestoreHighlightAfterMove, libcimgui), Cvoid, ()) +function igSetNavCursorVisibleAfterMove() + ccall((:igSetNavCursorVisibleAfterMove, libcimgui), Cvoid, ()) end function igNavUpdateCurrentWindowIsScrollPushableX() @@ -9800,8 +9904,12 @@ function igTabBarCloseTab(tab_bar, tab) ccall((:igTabBarCloseTab, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) end -function igTabBarQueueFocus(tab_bar, tab) - ccall((:igTabBarQueueFocus, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) +function igTabBarQueueFocus_TabItemPtr(tab_bar, tab) + ccall((:igTabBarQueueFocus_TabItemPtr, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) +end + +function igTabBarQueueFocus_Str(tab_bar, tab_name) + ccall((:igTabBarQueueFocus_Str, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{Cchar}), tab_bar, tab_name) end function igTabBarQueueReorder(tab_bar, tab, offset) @@ -9868,8 +9976,8 @@ function igRenderColorRectWithAlphaCheckerboard(draw_list, p_min, p_max, fill_co ccall((:igRenderColorRectWithAlphaCheckerboard, libcimgui), Cvoid, (Ptr{ImDrawList}, ImVec2, ImVec2, ImU32, Cfloat, ImVec2, Cfloat, ImDrawFlags), draw_list, p_min, p_max, fill_col, grid_step, grid_off, rounding, flags) end -function igRenderNavHighlight(bb, id, flags) - ccall((:igRenderNavHighlight, libcimgui), Cvoid, (ImRect, ImGuiID, ImGuiNavHighlightFlags), bb, id, flags) +function igRenderNavCursor(bb, id, flags) + ccall((:igRenderNavCursor, libcimgui), Cvoid, (ImRect, ImGuiID, ImGuiNavRenderCursorFlags), bb, id, flags) end function igFindRenderedTextEnd(text, text_end) @@ -9924,8 +10032,8 @@ function igArrowButtonEx(str_id, dir, size_arg, flags) ccall((:igArrowButtonEx, libcimgui), Bool, (Ptr{Cchar}, ImGuiDir, ImVec2, ImGuiButtonFlags), str_id, dir, size_arg, flags) end -function igImageButtonEx(id, texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) - ccall((:igImageButtonEx, libcimgui), Bool, (ImGuiID, ImTextureID, ImVec2, ImVec2, ImVec2, ImVec4, ImVec4, ImGuiButtonFlags), id, texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) +function igImageButtonEx(id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) + ccall((:igImageButtonEx, libcimgui), Bool, (ImGuiID, ImTextureID, ImVec2, ImVec2, ImVec2, ImVec4, ImVec4, ImGuiButtonFlags), id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) end function igSeparatorEx(flags, thickness) @@ -9956,8 +10064,8 @@ function igScrollbar(axis) ccall((:igScrollbar, libcimgui), Cvoid, (ImGuiAxis,), axis) end -function igScrollbarEx(bb, id, axis, p_scroll_v, avail_v, contents_v, flags) - ccall((:igScrollbarEx, libcimgui), Bool, (ImRect, ImGuiID, ImGuiAxis, Ptr{ImS64}, ImS64, ImS64, ImDrawFlags), bb, id, axis, p_scroll_v, avail_v, contents_v, flags) +function igScrollbarEx(bb, id, axis, p_scroll_v, avail_v, contents_v, draw_rounding_flags) + ccall((:igScrollbarEx, libcimgui), Bool, (ImRect, ImGuiID, ImGuiAxis, Ptr{ImS64}, ImS64, ImS64, ImDrawFlags), bb, id, axis, p_scroll_v, avail_v, contents_v, draw_rounding_flags) end function igGetWindowScrollbarRect(pOut, window, axis) @@ -10036,6 +10144,10 @@ function igDataTypeClamp(data_type, p_data, p_min, p_max) ccall((:igDataTypeClamp, libcimgui), Bool, (ImGuiDataType, Ptr{Cvoid}, Ptr{Cvoid}, Ptr{Cvoid}), data_type, p_data, p_min, p_max) end +function igDataTypeIsZero(data_type, p_data) + ccall((:igDataTypeIsZero, libcimgui), Bool, (ImGuiDataType, Ptr{Cvoid}), data_type, p_data) +end + function igInputTextEx(label, hint, buf, buf_size, size_arg, flags, callback, user_data) ccall((:igInputTextEx, libcimgui), Bool, (Ptr{Cchar}, Ptr{Cchar}, Ptr{Cchar}, Cint, ImVec2, ImGuiInputTextFlags, ImGuiInputTextCallback, Ptr{Cvoid}), label, hint, buf, buf_size, size_arg, flags, callback, user_data) end @@ -10104,22 +10216,42 @@ function igGcAwakeTransientWindowBuffers(window) ccall((:igGcAwakeTransientWindowBuffers, libcimgui), Cvoid, (Ptr{ImGuiWindow},), window) end -function igDebugAllocHook(info, frame_count, ptr, size) - ccall((:igDebugAllocHook, libcimgui), Cvoid, (Ptr{ImGuiDebugAllocInfo}, Cint, Ptr{Cvoid}, Csize_t), info, frame_count, ptr, size) +function igErrorLog(msg) + ccall((:igErrorLog, libcimgui), Bool, (Ptr{Cchar},), msg) +end + +function igErrorRecoveryStoreState(state_out) + ccall((:igErrorRecoveryStoreState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_out) end -function igErrorCheckEndFrameRecover(log_callback, user_data) - ccall((:igErrorCheckEndFrameRecover, libcimgui), Cvoid, (ImGuiErrorLogCallback, Ptr{Cvoid}), log_callback, user_data) +function igErrorRecoveryTryToRecoverState(state_in) + ccall((:igErrorRecoveryTryToRecoverState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_in) end -function igErrorCheckEndWindowRecover(log_callback, user_data) - ccall((:igErrorCheckEndWindowRecover, libcimgui), Cvoid, (ImGuiErrorLogCallback, Ptr{Cvoid}), log_callback, user_data) +function igErrorRecoveryTryToRecoverWindowState(state_in) + ccall((:igErrorRecoveryTryToRecoverWindowState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_in) end function igErrorCheckUsingSetCursorPosToExtendParentBoundaries() ccall((:igErrorCheckUsingSetCursorPosToExtendParentBoundaries, libcimgui), Cvoid, ()) end +function igErrorCheckEndFrameFinalizeErrorTooltip() + ccall((:igErrorCheckEndFrameFinalizeErrorTooltip, libcimgui), Cvoid, ()) +end + +function igBeginErrorTooltip() + ccall((:igBeginErrorTooltip, libcimgui), Bool, ()) +end + +function igEndErrorTooltip() + ccall((:igEndErrorTooltip, libcimgui), Cvoid, ()) +end + +function igDebugAllocHook(info, frame_count, ptr, size) + ccall((:igDebugAllocHook, libcimgui), Cvoid, (Ptr{ImGuiDebugAllocInfo}, Cint, Ptr{Cvoid}, Csize_t), info, frame_count, ptr, size) +end + function igDebugDrawCursorPos(col) ccall((:igDebugDrawCursorPos, libcimgui), Cvoid, (ImU32,), col) end @@ -10823,11 +10955,29 @@ struct ImVector_ImU64 Data::Ptr{ImU64} end -struct ImVector_ImU8 +struct var"##Ctag#233" Size::Cint Capacity::Cint Data::Ptr{ImU8} end +function Base.getproperty(x::Ptr{var"##Ctag#233"}, f::Symbol) + f === :Size && return Ptr{Cint}(x + 0) + f === :Capacity && return Ptr{Cint}(x + 0) + f === :Data && return Ptr{Ptr{ImU8}}(x + 0) + return getfield(x, f) +end + +function Base.getproperty(x::var"##Ctag#233", f::Symbol) + r = Ref{var"##Ctag#233"}(x) + ptr = Base.unsafe_convert(Ptr{var"##Ctag#233"}, r) + fptr = getproperty(ptr, f) + GC.@preserve r unsafe_load(fptr) +end + +function Base.setproperty!(x::Ptr{var"##Ctag#233"}, f::Symbol, v) + unsafe_store!(getproperty(x, f), v) +end + const ImPlotDragToolFlags = Cint @@ -14830,6 +14980,8 @@ function ImGui_ImplOpenGL3_DestroyDeviceObjects() ccall((:ImGui_ImplOpenGL3_DestroyDeviceObjects, libcimgui), Cvoid, ()) end +const IM_UNICODE_CODEPOINT_MAX = 65535 + const IMGUI_HAS_DOCK = 1 const ImDrawCallback_ResetRenderState = ImDrawCallback(-8) diff --git a/lib/armv7l-linux-musleabihf.jl b/lib/armv7l-linux-musleabihf.jl index b9aa6d6..3e4c8b9 100644 --- a/lib/armv7l-linux-musleabihf.jl +++ b/lib/armv7l-linux-musleabihf.jl @@ -43,7 +43,9 @@ function Base.setproperty!(x::Ptr{ImVec4}, f::Symbol, v) end -const ImTextureID = Ptr{Cvoid} +const ImU64 = Culonglong + +const ImTextureID = ImU64 struct ImDrawCmd ClipRect::ImVec4 @@ -53,15 +55,19 @@ struct ImDrawCmd ElemCount::Cuint UserCallback::ImDrawCallback UserCallbackData::Ptr{Cvoid} + UserCallbackDataSize::Cint + UserCallbackDataOffset::Cint end function Base.getproperty(x::Ptr{ImDrawCmd}, f::Symbol) f === :ClipRect && return Ptr{ImVec4}(x + 0) f === :TextureId && return Ptr{ImTextureID}(x + 16) - f === :VtxOffset && return Ptr{Cuint}(x + 20) - f === :IdxOffset && return Ptr{Cuint}(x + 24) - f === :ElemCount && return Ptr{Cuint}(x + 28) - f === :UserCallback && return Ptr{ImDrawCallback}(x + 32) - f === :UserCallbackData && return Ptr{Ptr{Cvoid}}(x + 36) + f === :VtxOffset && return Ptr{Cuint}(x + 24) + f === :IdxOffset && return Ptr{Cuint}(x + 28) + f === :ElemCount && return Ptr{Cuint}(x + 32) + f === :UserCallback && return Ptr{ImDrawCallback}(x + 36) + f === :UserCallbackData && return Ptr{Ptr{Cvoid}}(x + 40) + f === :UserCallbackDataSize && return Ptr{Cint}(x + 44) + f === :UserCallbackDataOffset && return Ptr{Cint}(x + 48) return getfield(x, f) end @@ -219,21 +225,65 @@ function Base.getproperty(x::ImVector_ImFontPtr, f::Symbol) end struct ImFontAtlasCustomRect - Width::Cushort - Height::Cushort - X::Cushort - Y::Cushort - GlyphID::Cuint - GlyphAdvanceX::Cfloat - GlyphOffset::ImVec2 - Font::Ptr{Cvoid} # Font::Ptr{ImFont} + data::NTuple{28, UInt8} end -function Base.getproperty(x::ImFontAtlasCustomRect, f::Symbol) - f === :Font && return Ptr{ImFont}(getfield(x, f)) +function Base.getproperty(x::Ptr{ImFontAtlasCustomRect}, f::Symbol) + f === :X && return Ptr{Cushort}(x + 0) + f === :Y && return Ptr{Cushort}(x + 2) + f === :Width && return Ptr{Cushort}(x + 4) + f === :Height && return Ptr{Cushort}(x + 6) + f === :GlyphID && return (Ptr{Cuint}(x + 8), 0, 31) + f === :GlyphColored && return (Ptr{Cuint}(x + 8), 31, 1) + f === :GlyphAdvanceX && return Ptr{Cfloat}(x + 12) + f === :GlyphOffset && return Ptr{ImVec2}(x + 16) + f === :Font && return Ptr{Ptr{ImFont}}(x + 24) return getfield(x, f) end +function Base.getproperty(x::ImFontAtlasCustomRect, f::Symbol) + r = Ref{ImFontAtlasCustomRect}(x) + ptr = Base.unsafe_convert(Ptr{ImFontAtlasCustomRect}, r) + fptr = getproperty(ptr, f) + begin + if fptr isa Ptr + return GC.@preserve(r, unsafe_load(fptr)) + else + (baseptr, offset, width) = fptr + ty = eltype(baseptr) + baseptr32 = convert(Ptr{UInt32}, baseptr) + u64 = GC.@preserve(r, unsafe_load(baseptr32)) + if offset + width > 32 + u64 |= GC.@preserve(r, unsafe_load(baseptr32 + 4)) << 32 + end + u64 = u64 >> offset & (1 << width - 1) + return u64 % ty + end + end +end + +function Base.setproperty!(x::Ptr{ImFontAtlasCustomRect}, f::Symbol, v) + fptr = getproperty(x, f) + if fptr isa Ptr + unsafe_store!(getproperty(x, f), v) + else + (baseptr, offset, width) = fptr + baseptr32 = convert(Ptr{UInt32}, baseptr) + u64 = unsafe_load(baseptr32) + straddle = offset + width > 32 + if straddle + u64 |= unsafe_load(baseptr32 + 4) << 32 + end + mask = 1 << width - 1 + u64 &= ~(mask << offset) + u64 |= (unsigned(v) & mask) << offset + unsafe_store!(baseptr32, u64 & typemax(UInt32)) + if straddle + unsafe_store!(baseptr32 + 4, u64 >> 32) + end + end +end + struct ImVector_ImFontAtlasCustomRect Size::Cint Capacity::Cint @@ -332,27 +382,27 @@ struct ImFontAtlas end function Base.getproperty(x::Ptr{ImFontAtlas}, f::Symbol) f === :Flags && return Ptr{ImFontAtlasFlags}(x + 0) - f === :TexID && return Ptr{ImTextureID}(x + 4) - f === :TexDesiredWidth && return Ptr{Cint}(x + 8) - f === :TexGlyphPadding && return Ptr{Cint}(x + 12) - f === :Locked && return Ptr{Bool}(x + 16) - f === :UserData && return Ptr{Ptr{Cvoid}}(x + 20) - f === :TexReady && return Ptr{Bool}(x + 24) - f === :TexPixelsUseColors && return Ptr{Bool}(x + 25) - f === :TexPixelsAlpha8 && return Ptr{Ptr{Cuchar}}(x + 28) - f === :TexPixelsRGBA32 && return Ptr{Ptr{Cuint}}(x + 32) - f === :TexWidth && return Ptr{Cint}(x + 36) - f === :TexHeight && return Ptr{Cint}(x + 40) - f === :TexUvScale && return Ptr{ImVec2}(x + 44) - f === :TexUvWhitePixel && return Ptr{ImVec2}(x + 52) - f === :Fonts && return Ptr{ImVector_ImFontPtr}(x + 60) - f === :CustomRects && return Ptr{ImVector_ImFontAtlasCustomRect}(x + 72) - f === :ConfigData && return Ptr{ImVector_ImFontConfig}(x + 84) - f === :TexUvLines && return Ptr{NTuple{64, ImVec4}}(x + 96) - f === :FontBuilderIO && return Ptr{Ptr{ImFontBuilderIO}}(x + 1120) - f === :FontBuilderFlags && return Ptr{Cuint}(x + 1124) - f === :PackIdMouseCursors && return Ptr{Cint}(x + 1128) - f === :PackIdLines && return Ptr{Cint}(x + 1132) + f === :TexID && return Ptr{ImTextureID}(x + 8) + f === :TexDesiredWidth && return Ptr{Cint}(x + 16) + f === :TexGlyphPadding && return Ptr{Cint}(x + 20) + f === :Locked && return Ptr{Bool}(x + 24) + f === :UserData && return Ptr{Ptr{Cvoid}}(x + 28) + f === :TexReady && return Ptr{Bool}(x + 32) + f === :TexPixelsUseColors && return Ptr{Bool}(x + 33) + f === :TexPixelsAlpha8 && return Ptr{Ptr{Cuchar}}(x + 36) + f === :TexPixelsRGBA32 && return Ptr{Ptr{Cuint}}(x + 40) + f === :TexWidth && return Ptr{Cint}(x + 44) + f === :TexHeight && return Ptr{Cint}(x + 48) + f === :TexUvScale && return Ptr{ImVec2}(x + 52) + f === :TexUvWhitePixel && return Ptr{ImVec2}(x + 60) + f === :Fonts && return Ptr{ImVector_ImFontPtr}(x + 68) + f === :CustomRects && return Ptr{ImVector_ImFontAtlasCustomRect}(x + 80) + f === :ConfigData && return Ptr{ImVector_ImFontConfig}(x + 92) + f === :TexUvLines && return Ptr{NTuple{64, ImVec4}}(x + 104) + f === :FontBuilderIO && return Ptr{Ptr{ImFontBuilderIO}}(x + 1128) + f === :FontBuilderFlags && return Ptr{Cuint}(x + 1132) + f === :PackIdMouseCursors && return Ptr{Cint}(x + 1136) + f === :PackIdLines && return Ptr{Cint}(x + 1140) return getfield(x, f) end @@ -373,9 +423,9 @@ struct ImFont ContainerAtlas::Ptr{ImFontAtlas} ConfigData::Ptr{ImFontConfig} ConfigDataCount::Cshort - FallbackChar::ImWchar - EllipsisChar::ImWchar EllipsisCharCount::Cshort + EllipsisChar::ImWchar + FallbackChar::ImWchar EllipsisWidth::Cfloat EllipsisCharStep::Cfloat DirtyLookupTables::Bool @@ -394,6 +444,7 @@ end struct ImDrawListSharedData TexUvWhitePixel::ImVec2 + TexUvLines::Ptr{ImVec4} Font::Ptr{ImFont} FontSize::Cfloat FontScale::Cfloat @@ -405,7 +456,6 @@ struct ImDrawListSharedData ArcFastVtx::NTuple{48, ImVec2} ArcFastRadiusCutoff::Cfloat CircleSegmentCounts::NTuple{64, ImU8} - TexUvLines::Ptr{ImVec4} end struct ImDrawCmdHeader @@ -438,6 +488,12 @@ struct ImVector_ImTextureID Data::Ptr{ImTextureID} end +struct ImVector_ImU8 + Size::Cint + Capacity::Cint + Data::Ptr{ImU8} +end + struct ImDrawList CmdBuffer::ImVector_ImDrawCmd IdxBuffer::ImVector_ImDrawIdx @@ -452,6 +508,7 @@ struct ImDrawList _Splitter::ImDrawListSplitter _ClipRectStack::ImVector_ImVec4 _TextureIdStack::ImVector_ImTextureID + _CallbacksDataBuf::ImVector_ImU8 _FringeScale::Cfloat _OwnerName::Ptr{Cchar} end @@ -465,12 +522,13 @@ function Base.getproperty(x::Ptr{ImDrawList}, f::Symbol) f === :_VtxWritePtr && return Ptr{Ptr{ImDrawVert}}(x + 48) f === :_IdxWritePtr && return Ptr{Ptr{ImDrawIdx}}(x + 52) f === :_Path && return Ptr{ImVector_ImVec2}(x + 56) - f === :_CmdHeader && return Ptr{ImDrawCmdHeader}(x + 68) - f === :_Splitter && return Ptr{ImDrawListSplitter}(x + 92) - f === :_ClipRectStack && return Ptr{ImVector_ImVec4}(x + 112) - f === :_TextureIdStack && return Ptr{ImVector_ImTextureID}(x + 124) - f === :_FringeScale && return Ptr{Cfloat}(x + 136) - f === :_OwnerName && return Ptr{Ptr{Cchar}}(x + 140) + f === :_CmdHeader && return Ptr{ImDrawCmdHeader}(x + 72) + f === :_Splitter && return Ptr{ImDrawListSplitter}(x + 104) + f === :_ClipRectStack && return Ptr{ImVector_ImVec4}(x + 124) + f === :_TextureIdStack && return Ptr{ImVector_ImTextureID}(x + 136) + f === :_CallbacksDataBuf && return Ptr{ImVector_ImU8}(x + 148) + f === :_FringeScale && return Ptr{Cfloat}(x + 160) + f === :_OwnerName && return Ptr{Ptr{Cchar}}(x + 164) return getfield(x, f) end @@ -604,8 +662,6 @@ end const ImU16 = Cushort -const ImS8 = Int8 - struct ImGuiIO ConfigFlags::ImGuiConfigFlags BackendFlags::ImGuiBackendFlags @@ -620,6 +676,13 @@ struct ImGuiIO FontAllowUserScaling::Bool FontDefault::Ptr{ImFont} DisplayFramebufferScale::ImVec2 + ConfigNavSwapGamepadButtons::Bool + ConfigNavMoveSetMousePos::Bool + ConfigNavCaptureKeyboard::Bool + ConfigNavEscapeClearFocusItem::Bool + ConfigNavEscapeClearFocusWindow::Bool + ConfigNavCursorVisibleAuto::Bool + ConfigNavCursorVisibleAlways::Bool ConfigDockingNoSplit::Bool ConfigDockingWithShift::Bool ConfigDockingAlwaysTabBar::Bool @@ -630,19 +693,24 @@ struct ImGuiIO ConfigViewportsNoDefaultParent::Bool MouseDrawCursor::Bool ConfigMacOSXBehaviors::Bool - ConfigNavSwapGamepadButtons::Bool ConfigInputTrickleEventQueue::Bool ConfigInputTextCursorBlink::Bool ConfigInputTextEnterKeepActive::Bool ConfigDragClickToInputText::Bool ConfigWindowsResizeFromEdges::Bool ConfigWindowsMoveFromTitleBarOnly::Bool + ConfigWindowsCopyContentsWithCtrlC::Bool + ConfigScrollbarScrollByPage::Bool ConfigMemoryCompactTimer::Cfloat MouseDoubleClickTime::Cfloat MouseDoubleClickMaxDist::Cfloat MouseDragThreshold::Cfloat KeyRepeatDelay::Cfloat KeyRepeatRate::Cfloat + ConfigErrorRecovery::Bool + ConfigErrorRecoveryEnableAssert::Bool + ConfigErrorRecoveryEnableDebugLog::Bool + ConfigErrorRecoveryEnableTooltip::Bool ConfigDebugIsDebuggerPresent::Bool ConfigDebugHighlightIdConflicts::Bool ConfigDebugBeginReturnValueOnce::Bool @@ -700,8 +768,6 @@ struct ImGuiIO PenPressure::Cfloat AppFocusLost::Bool AppAcceptingEvents::Bool - BackendUsingLegacyKeyArrays::ImS8 - BackendUsingLegacyNavInputArray::Bool InputQueueSurrogate::ImWchar16 InputQueueCharacters::ImVector_ImWchar end @@ -725,90 +791,100 @@ function Base.getproperty(x::Ptr{ImGuiIO}, f::Symbol) f === :FontAllowUserScaling && return Ptr{Bool}(x + 44) f === :FontDefault && return Ptr{Ptr{ImFont}}(x + 48) f === :DisplayFramebufferScale && return Ptr{ImVec2}(x + 52) - f === :ConfigDockingNoSplit && return Ptr{Bool}(x + 60) - f === :ConfigDockingWithShift && return Ptr{Bool}(x + 61) - f === :ConfigDockingAlwaysTabBar && return Ptr{Bool}(x + 62) - f === :ConfigDockingTransparentPayload && return Ptr{Bool}(x + 63) - f === :ConfigViewportsNoAutoMerge && return Ptr{Bool}(x + 64) - f === :ConfigViewportsNoTaskBarIcon && return Ptr{Bool}(x + 65) - f === :ConfigViewportsNoDecoration && return Ptr{Bool}(x + 66) - f === :ConfigViewportsNoDefaultParent && return Ptr{Bool}(x + 67) - f === :MouseDrawCursor && return Ptr{Bool}(x + 68) - f === :ConfigMacOSXBehaviors && return Ptr{Bool}(x + 69) - f === :ConfigNavSwapGamepadButtons && return Ptr{Bool}(x + 70) - f === :ConfigInputTrickleEventQueue && return Ptr{Bool}(x + 71) - f === :ConfigInputTextCursorBlink && return Ptr{Bool}(x + 72) - f === :ConfigInputTextEnterKeepActive && return Ptr{Bool}(x + 73) - f === :ConfigDragClickToInputText && return Ptr{Bool}(x + 74) - f === :ConfigWindowsResizeFromEdges && return Ptr{Bool}(x + 75) - f === :ConfigWindowsMoveFromTitleBarOnly && return Ptr{Bool}(x + 76) - f === :ConfigMemoryCompactTimer && return Ptr{Cfloat}(x + 80) - f === :MouseDoubleClickTime && return Ptr{Cfloat}(x + 84) - f === :MouseDoubleClickMaxDist && return Ptr{Cfloat}(x + 88) - f === :MouseDragThreshold && return Ptr{Cfloat}(x + 92) - f === :KeyRepeatDelay && return Ptr{Cfloat}(x + 96) - f === :KeyRepeatRate && return Ptr{Cfloat}(x + 100) - f === :ConfigDebugIsDebuggerPresent && return Ptr{Bool}(x + 104) - f === :ConfigDebugHighlightIdConflicts && return Ptr{Bool}(x + 105) - f === :ConfigDebugBeginReturnValueOnce && return Ptr{Bool}(x + 106) - f === :ConfigDebugBeginReturnValueLoop && return Ptr{Bool}(x + 107) - f === :ConfigDebugIgnoreFocusLoss && return Ptr{Bool}(x + 108) - f === :ConfigDebugIniSettings && return Ptr{Bool}(x + 109) - f === :BackendPlatformName && return Ptr{Ptr{Cchar}}(x + 112) - f === :BackendRendererName && return Ptr{Ptr{Cchar}}(x + 116) - f === :BackendPlatformUserData && return Ptr{Ptr{Cvoid}}(x + 120) - f === :BackendRendererUserData && return Ptr{Ptr{Cvoid}}(x + 124) - f === :BackendLanguageUserData && return Ptr{Ptr{Cvoid}}(x + 128) - f === :WantCaptureMouse && return Ptr{Bool}(x + 132) - f === :WantCaptureKeyboard && return Ptr{Bool}(x + 133) - f === :WantTextInput && return Ptr{Bool}(x + 134) - f === :WantSetMousePos && return Ptr{Bool}(x + 135) - f === :WantSaveIniSettings && return Ptr{Bool}(x + 136) - f === :NavActive && return Ptr{Bool}(x + 137) - f === :NavVisible && return Ptr{Bool}(x + 138) - f === :Framerate && return Ptr{Cfloat}(x + 140) - f === :MetricsRenderVertices && return Ptr{Cint}(x + 144) - f === :MetricsRenderIndices && return Ptr{Cint}(x + 148) - f === :MetricsRenderWindows && return Ptr{Cint}(x + 152) - f === :MetricsActiveWindows && return Ptr{Cint}(x + 156) - f === :MouseDelta && return Ptr{ImVec2}(x + 160) - f === :Ctx && return Ptr{Ptr{ImGuiContext}}(x + 168) - f === :MousePos && return Ptr{ImVec2}(x + 172) - f === :MouseDown && return Ptr{NTuple{5, Bool}}(x + 180) - f === :MouseWheel && return Ptr{Cfloat}(x + 188) - f === :MouseWheelH && return Ptr{Cfloat}(x + 192) - f === :MouseSource && return Ptr{ImGuiMouseSource}(x + 196) - f === :MouseHoveredViewport && return Ptr{ImGuiID}(x + 200) - f === :KeyCtrl && return Ptr{Bool}(x + 204) - f === :KeyShift && return Ptr{Bool}(x + 205) - f === :KeyAlt && return Ptr{Bool}(x + 206) - f === :KeySuper && return Ptr{Bool}(x + 207) - f === :KeyMods && return Ptr{ImGuiKeyChord}(x + 208) - f === :KeysData && return Ptr{NTuple{154, ImGuiKeyData}}(x + 212) - f === :WantCaptureMouseUnlessPopupClose && return Ptr{Bool}(x + 2676) - f === :MousePosPrev && return Ptr{ImVec2}(x + 2680) - f === :MouseClickedPos && return Ptr{NTuple{5, ImVec2}}(x + 2688) - f === :MouseClickedTime && return Ptr{NTuple{5, Cdouble}}(x + 2728) - f === :MouseClicked && return Ptr{NTuple{5, Bool}}(x + 2768) - f === :MouseDoubleClicked && return Ptr{NTuple{5, Bool}}(x + 2773) - f === :MouseClickedCount && return Ptr{NTuple{5, ImU16}}(x + 2778) - f === :MouseClickedLastCount && return Ptr{NTuple{5, ImU16}}(x + 2788) - f === :MouseReleased && return Ptr{NTuple{5, Bool}}(x + 2798) - f === :MouseDownOwned && return Ptr{NTuple{5, Bool}}(x + 2803) - f === :MouseDownOwnedUnlessPopupClose && return Ptr{NTuple{5, Bool}}(x + 2808) - f === :MouseWheelRequestAxisSwap && return Ptr{Bool}(x + 2813) - f === :MouseCtrlLeftAsRightClick && return Ptr{Bool}(x + 2814) - f === :MouseDownDuration && return Ptr{NTuple{5, Cfloat}}(x + 2816) - f === :MouseDownDurationPrev && return Ptr{NTuple{5, Cfloat}}(x + 2836) - f === :MouseDragMaxDistanceAbs && return Ptr{NTuple{5, ImVec2}}(x + 2856) - f === :MouseDragMaxDistanceSqr && return Ptr{NTuple{5, Cfloat}}(x + 2896) - f === :PenPressure && return Ptr{Cfloat}(x + 2916) - f === :AppFocusLost && return Ptr{Bool}(x + 2920) - f === :AppAcceptingEvents && return Ptr{Bool}(x + 2921) - f === :BackendUsingLegacyKeyArrays && return Ptr{ImS8}(x + 2922) - f === :BackendUsingLegacyNavInputArray && return Ptr{Bool}(x + 2923) - f === :InputQueueSurrogate && return Ptr{ImWchar16}(x + 2924) - f === :InputQueueCharacters && return Ptr{ImVector_ImWchar}(x + 2928) + f === :ConfigNavSwapGamepadButtons && return Ptr{Bool}(x + 60) + f === :ConfigNavMoveSetMousePos && return Ptr{Bool}(x + 61) + f === :ConfigNavCaptureKeyboard && return Ptr{Bool}(x + 62) + f === :ConfigNavEscapeClearFocusItem && return Ptr{Bool}(x + 63) + f === :ConfigNavEscapeClearFocusWindow && return Ptr{Bool}(x + 64) + f === :ConfigNavCursorVisibleAuto && return Ptr{Bool}(x + 65) + f === :ConfigNavCursorVisibleAlways && return Ptr{Bool}(x + 66) + f === :ConfigDockingNoSplit && return Ptr{Bool}(x + 67) + f === :ConfigDockingWithShift && return Ptr{Bool}(x + 68) + f === :ConfigDockingAlwaysTabBar && return Ptr{Bool}(x + 69) + f === :ConfigDockingTransparentPayload && return Ptr{Bool}(x + 70) + f === :ConfigViewportsNoAutoMerge && return Ptr{Bool}(x + 71) + f === :ConfigViewportsNoTaskBarIcon && return Ptr{Bool}(x + 72) + f === :ConfigViewportsNoDecoration && return Ptr{Bool}(x + 73) + f === :ConfigViewportsNoDefaultParent && return Ptr{Bool}(x + 74) + f === :MouseDrawCursor && return Ptr{Bool}(x + 75) + f === :ConfigMacOSXBehaviors && return Ptr{Bool}(x + 76) + f === :ConfigInputTrickleEventQueue && return Ptr{Bool}(x + 77) + f === :ConfigInputTextCursorBlink && return Ptr{Bool}(x + 78) + f === :ConfigInputTextEnterKeepActive && return Ptr{Bool}(x + 79) + f === :ConfigDragClickToInputText && return Ptr{Bool}(x + 80) + f === :ConfigWindowsResizeFromEdges && return Ptr{Bool}(x + 81) + f === :ConfigWindowsMoveFromTitleBarOnly && return Ptr{Bool}(x + 82) + f === :ConfigWindowsCopyContentsWithCtrlC && return Ptr{Bool}(x + 83) + f === :ConfigScrollbarScrollByPage && return Ptr{Bool}(x + 84) + f === :ConfigMemoryCompactTimer && return Ptr{Cfloat}(x + 88) + f === :MouseDoubleClickTime && return Ptr{Cfloat}(x + 92) + f === :MouseDoubleClickMaxDist && return Ptr{Cfloat}(x + 96) + f === :MouseDragThreshold && return Ptr{Cfloat}(x + 100) + f === :KeyRepeatDelay && return Ptr{Cfloat}(x + 104) + f === :KeyRepeatRate && return Ptr{Cfloat}(x + 108) + f === :ConfigErrorRecovery && return Ptr{Bool}(x + 112) + f === :ConfigErrorRecoveryEnableAssert && return Ptr{Bool}(x + 113) + f === :ConfigErrorRecoveryEnableDebugLog && return Ptr{Bool}(x + 114) + f === :ConfigErrorRecoveryEnableTooltip && return Ptr{Bool}(x + 115) + f === :ConfigDebugIsDebuggerPresent && return Ptr{Bool}(x + 116) + f === :ConfigDebugHighlightIdConflicts && return Ptr{Bool}(x + 117) + f === :ConfigDebugBeginReturnValueOnce && return Ptr{Bool}(x + 118) + f === :ConfigDebugBeginReturnValueLoop && return Ptr{Bool}(x + 119) + f === :ConfigDebugIgnoreFocusLoss && return Ptr{Bool}(x + 120) + f === :ConfigDebugIniSettings && return Ptr{Bool}(x + 121) + f === :BackendPlatformName && return Ptr{Ptr{Cchar}}(x + 124) + f === :BackendRendererName && return Ptr{Ptr{Cchar}}(x + 128) + f === :BackendPlatformUserData && return Ptr{Ptr{Cvoid}}(x + 132) + f === :BackendRendererUserData && return Ptr{Ptr{Cvoid}}(x + 136) + f === :BackendLanguageUserData && return Ptr{Ptr{Cvoid}}(x + 140) + f === :WantCaptureMouse && return Ptr{Bool}(x + 144) + f === :WantCaptureKeyboard && return Ptr{Bool}(x + 145) + f === :WantTextInput && return Ptr{Bool}(x + 146) + f === :WantSetMousePos && return Ptr{Bool}(x + 147) + f === :WantSaveIniSettings && return Ptr{Bool}(x + 148) + f === :NavActive && return Ptr{Bool}(x + 149) + f === :NavVisible && return Ptr{Bool}(x + 150) + f === :Framerate && return Ptr{Cfloat}(x + 152) + f === :MetricsRenderVertices && return Ptr{Cint}(x + 156) + f === :MetricsRenderIndices && return Ptr{Cint}(x + 160) + f === :MetricsRenderWindows && return Ptr{Cint}(x + 164) + f === :MetricsActiveWindows && return Ptr{Cint}(x + 168) + f === :MouseDelta && return Ptr{ImVec2}(x + 172) + f === :Ctx && return Ptr{Ptr{ImGuiContext}}(x + 180) + f === :MousePos && return Ptr{ImVec2}(x + 184) + f === :MouseDown && return Ptr{NTuple{5, Bool}}(x + 192) + f === :MouseWheel && return Ptr{Cfloat}(x + 200) + f === :MouseWheelH && return Ptr{Cfloat}(x + 204) + f === :MouseSource && return Ptr{ImGuiMouseSource}(x + 208) + f === :MouseHoveredViewport && return Ptr{ImGuiID}(x + 212) + f === :KeyCtrl && return Ptr{Bool}(x + 216) + f === :KeyShift && return Ptr{Bool}(x + 217) + f === :KeyAlt && return Ptr{Bool}(x + 218) + f === :KeySuper && return Ptr{Bool}(x + 219) + f === :KeyMods && return Ptr{ImGuiKeyChord}(x + 220) + f === :KeysData && return Ptr{NTuple{154, ImGuiKeyData}}(x + 224) + f === :WantCaptureMouseUnlessPopupClose && return Ptr{Bool}(x + 2688) + f === :MousePosPrev && return Ptr{ImVec2}(x + 2692) + f === :MouseClickedPos && return Ptr{NTuple{5, ImVec2}}(x + 2700) + f === :MouseClickedTime && return Ptr{NTuple{5, Cdouble}}(x + 2744) + f === :MouseClicked && return Ptr{NTuple{5, Bool}}(x + 2784) + f === :MouseDoubleClicked && return Ptr{NTuple{5, Bool}}(x + 2789) + f === :MouseClickedCount && return Ptr{NTuple{5, ImU16}}(x + 2794) + f === :MouseClickedLastCount && return Ptr{NTuple{5, ImU16}}(x + 2804) + f === :MouseReleased && return Ptr{NTuple{5, Bool}}(x + 2814) + f === :MouseDownOwned && return Ptr{NTuple{5, Bool}}(x + 2819) + f === :MouseDownOwnedUnlessPopupClose && return Ptr{NTuple{5, Bool}}(x + 2824) + f === :MouseWheelRequestAxisSwap && return Ptr{Bool}(x + 2829) + f === :MouseCtrlLeftAsRightClick && return Ptr{Bool}(x + 2830) + f === :MouseDownDuration && return Ptr{NTuple{5, Cfloat}}(x + 2832) + f === :MouseDownDurationPrev && return Ptr{NTuple{5, Cfloat}}(x + 2852) + f === :MouseDragMaxDistanceAbs && return Ptr{NTuple{5, ImVec2}}(x + 2872) + f === :MouseDragMaxDistanceSqr && return Ptr{NTuple{5, Cfloat}}(x + 2912) + f === :PenPressure && return Ptr{Cfloat}(x + 2932) + f === :AppFocusLost && return Ptr{Bool}(x + 2936) + f === :AppAcceptingEvents && return Ptr{Bool}(x + 2937) + f === :InputQueueSurrogate && return Ptr{ImWchar16}(x + 2938) + f === :InputQueueCharacters && return Ptr{ImVector_ImWchar}(x + 2940) return getfield(x, f) end @@ -860,6 +936,7 @@ struct ImGuiPlatformIO Platform_SetImeDataFn::Ptr{Cvoid} Platform_ImeUserData::Ptr{Cvoid} Platform_LocaleDecimalPoint::ImWchar + Renderer_RenderState::Ptr{Cvoid} Platform_CreateWindow::Ptr{Cvoid} Platform_DestroyWindow::Ptr{Cvoid} Platform_ShowWindow::Ptr{Cvoid} @@ -896,32 +973,33 @@ function Base.getproperty(x::Ptr{ImGuiPlatformIO}, f::Symbol) f === :Platform_SetImeDataFn && return Ptr{Ptr{Cvoid}}(x + 20) f === :Platform_ImeUserData && return Ptr{Ptr{Cvoid}}(x + 24) f === :Platform_LocaleDecimalPoint && return Ptr{ImWchar}(x + 28) - f === :Platform_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 32) - f === :Platform_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 36) - f === :Platform_ShowWindow && return Ptr{Ptr{Cvoid}}(x + 40) - f === :Platform_SetWindowPos && return Ptr{Ptr{Cvoid}}(x + 44) - f === :Platform_GetWindowPos && return Ptr{Ptr{Cvoid}}(x + 48) - f === :Platform_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 52) - f === :Platform_GetWindowSize && return Ptr{Ptr{Cvoid}}(x + 56) - f === :Platform_SetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 60) - f === :Platform_GetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 64) - f === :Platform_GetWindowMinimized && return Ptr{Ptr{Cvoid}}(x + 68) - f === :Platform_SetWindowTitle && return Ptr{Ptr{Cvoid}}(x + 72) - f === :Platform_SetWindowAlpha && return Ptr{Ptr{Cvoid}}(x + 76) - f === :Platform_UpdateWindow && return Ptr{Ptr{Cvoid}}(x + 80) - f === :Platform_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 84) - f === :Platform_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 88) - f === :Platform_GetWindowDpiScale && return Ptr{Ptr{Cvoid}}(x + 92) - f === :Platform_OnChangedViewport && return Ptr{Ptr{Cvoid}}(x + 96) - f === :Platform_GetWindowWorkAreaInsets && return Ptr{Ptr{Cvoid}}(x + 100) - f === :Platform_CreateVkSurface && return Ptr{Ptr{Cvoid}}(x + 104) - f === :Renderer_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 108) - f === :Renderer_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 112) - f === :Renderer_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 116) - f === :Renderer_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 120) - f === :Renderer_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 124) - f === :Monitors && return Ptr{ImVector_ImGuiPlatformMonitor}(x + 128) - f === :Viewports && return Ptr{ImVector_ImGuiViewportPtr}(x + 140) + f === :Renderer_RenderState && return Ptr{Ptr{Cvoid}}(x + 32) + f === :Platform_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 36) + f === :Platform_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 40) + f === :Platform_ShowWindow && return Ptr{Ptr{Cvoid}}(x + 44) + f === :Platform_SetWindowPos && return Ptr{Ptr{Cvoid}}(x + 48) + f === :Platform_GetWindowPos && return Ptr{Ptr{Cvoid}}(x + 52) + f === :Platform_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 56) + f === :Platform_GetWindowSize && return Ptr{Ptr{Cvoid}}(x + 60) + f === :Platform_SetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 64) + f === :Platform_GetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 68) + f === :Platform_GetWindowMinimized && return Ptr{Ptr{Cvoid}}(x + 72) + f === :Platform_SetWindowTitle && return Ptr{Ptr{Cvoid}}(x + 76) + f === :Platform_SetWindowAlpha && return Ptr{Ptr{Cvoid}}(x + 80) + f === :Platform_UpdateWindow && return Ptr{Ptr{Cvoid}}(x + 84) + f === :Platform_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 88) + f === :Platform_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 92) + f === :Platform_GetWindowDpiScale && return Ptr{Ptr{Cvoid}}(x + 96) + f === :Platform_OnChangedViewport && return Ptr{Ptr{Cvoid}}(x + 100) + f === :Platform_GetWindowWorkAreaInsets && return Ptr{Ptr{Cvoid}}(x + 104) + f === :Platform_CreateVkSurface && return Ptr{Ptr{Cvoid}}(x + 108) + f === :Renderer_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 112) + f === :Renderer_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 116) + f === :Renderer_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 120) + f === :Renderer_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 124) + f === :Renderer_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 128) + f === :Monitors && return Ptr{ImVector_ImGuiPlatformMonitor}(x + 132) + f === :Viewports && return Ptr{ImVector_ImGuiViewportPtr}(x + 144) return getfield(x, f) end @@ -1183,6 +1261,8 @@ function Base.getproperty(x::ImGuiViewportP, f::Symbol) return getfield(x, f) end +const ImS8 = Int8 + const ImGuiCond = Cint struct ImVector_ImGuiID @@ -1393,6 +1473,7 @@ struct ImGuiTextBuffer end struct ImGuiTabBar + Window::Ptr{Cvoid} # Window::Ptr{ImGuiWindow} Tabs::ImVector_ImGuiTabItem Flags::ImGuiTabBarFlags ID::ImGuiID @@ -1428,6 +1509,11 @@ struct ImGuiTabBar TabsNames::ImGuiTextBuffer end +function Base.getproperty(x::ImGuiTabBar, f::Symbol) + f === :Window && return Ptr{ImGuiWindow}(getfield(x, f)) + return getfield(x, f) +end + @cenum ImGuiAxis::Int32 begin ImGuiAxis_None = -1 ImGuiAxis_X = 0 @@ -1532,7 +1618,7 @@ end const ImGuiItemStatusFlags = Cint struct ImGuiWindow - data::NTuple{1016, UInt8} + data::NTuple{1048, UInt8} end function Base.getproperty(x::Ptr{ImGuiWindow}, f::Symbol) @@ -1632,34 +1718,34 @@ function Base.getproperty(x::Ptr{ImGuiWindow}, f::Symbol) f === :FontDpiScale && return Ptr{Cfloat}(x + 688) f === :SettingsOffset && return Ptr{Cint}(x + 692) f === :DrawList && return Ptr{Ptr{ImDrawList}}(x + 696) - f === :DrawListInst && return Ptr{ImDrawList}(x + 700) - f === :ParentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 844) - f === :ParentWindowInBeginStack && return Ptr{Ptr{ImGuiWindow}}(x + 848) - f === :RootWindow && return Ptr{Ptr{ImGuiWindow}}(x + 852) - f === :RootWindowPopupTree && return Ptr{Ptr{ImGuiWindow}}(x + 856) - f === :RootWindowDockTree && return Ptr{Ptr{ImGuiWindow}}(x + 860) - f === :RootWindowForTitleBarHighlight && return Ptr{Ptr{ImGuiWindow}}(x + 864) - f === :RootWindowForNav && return Ptr{Ptr{ImGuiWindow}}(x + 868) - f === :ParentWindowForFocusRoute && return Ptr{Ptr{ImGuiWindow}}(x + 872) - f === :NavLastChildNavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 876) - f === :NavLastIds && return Ptr{NTuple{2, ImGuiID}}(x + 880) - f === :NavRectRel && return Ptr{NTuple{2, ImRect}}(x + 888) - f === :NavPreferredScoringPosRel && return Ptr{NTuple{2, ImVec2}}(x + 920) - f === :NavRootFocusScopeId && return Ptr{ImGuiID}(x + 936) - f === :MemoryDrawListIdxCapacity && return Ptr{Cint}(x + 940) - f === :MemoryDrawListVtxCapacity && return Ptr{Cint}(x + 944) - f === :MemoryCompacted && return Ptr{Bool}(x + 948) - f === :DockIsActive && return (Ptr{Bool}(x + 948), 8, 1) - f === :DockNodeIsVisible && return (Ptr{Bool}(x + 948), 9, 1) - f === :DockTabIsVisible && return (Ptr{Bool}(x + 948), 10, 1) - f === :DockTabWantClose && return (Ptr{Bool}(x + 948), 11, 1) - f === :DockOrder && return Ptr{Cshort}(x + 950) - f === :DockStyle && return Ptr{ImGuiWindowDockStyle}(x + 952) - f === :DockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 984) - f === :DockNodeAsHost && return Ptr{Ptr{ImGuiDockNode}}(x + 988) - f === :DockId && return Ptr{ImGuiID}(x + 992) - f === :DockTabItemStatusFlags && return Ptr{ImGuiItemStatusFlags}(x + 996) - f === :DockTabItemRect && return Ptr{ImRect}(x + 1000) + f === :DrawListInst && return Ptr{ImDrawList}(x + 704) + f === :ParentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 872) + f === :ParentWindowInBeginStack && return Ptr{Ptr{ImGuiWindow}}(x + 876) + f === :RootWindow && return Ptr{Ptr{ImGuiWindow}}(x + 880) + f === :RootWindowPopupTree && return Ptr{Ptr{ImGuiWindow}}(x + 884) + f === :RootWindowDockTree && return Ptr{Ptr{ImGuiWindow}}(x + 888) + f === :RootWindowForTitleBarHighlight && return Ptr{Ptr{ImGuiWindow}}(x + 892) + f === :RootWindowForNav && return Ptr{Ptr{ImGuiWindow}}(x + 896) + f === :ParentWindowForFocusRoute && return Ptr{Ptr{ImGuiWindow}}(x + 900) + f === :NavLastChildNavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 904) + f === :NavLastIds && return Ptr{NTuple{2, ImGuiID}}(x + 908) + f === :NavRectRel && return Ptr{NTuple{2, ImRect}}(x + 916) + f === :NavPreferredScoringPosRel && return Ptr{NTuple{2, ImVec2}}(x + 948) + f === :NavRootFocusScopeId && return Ptr{ImGuiID}(x + 964) + f === :MemoryDrawListIdxCapacity && return Ptr{Cint}(x + 968) + f === :MemoryDrawListVtxCapacity && return Ptr{Cint}(x + 972) + f === :MemoryCompacted && return Ptr{Bool}(x + 976) + f === :DockIsActive && return (Ptr{Bool}(x + 976), 8, 1) + f === :DockNodeIsVisible && return (Ptr{Bool}(x + 976), 9, 1) + f === :DockTabIsVisible && return (Ptr{Bool}(x + 976), 10, 1) + f === :DockTabWantClose && return (Ptr{Bool}(x + 976), 11, 1) + f === :DockOrder && return Ptr{Cshort}(x + 978) + f === :DockStyle && return Ptr{ImGuiWindowDockStyle}(x + 980) + f === :DockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 1012) + f === :DockNodeAsHost && return Ptr{Ptr{ImGuiDockNode}}(x + 1016) + f === :DockId && return Ptr{ImGuiID}(x + 1020) + f === :DockTabItemStatusFlags && return Ptr{ImGuiItemStatusFlags}(x + 1024) + f === :DockTabItemRect && return Ptr{ImRect}(x + 1028) return getfield(x, f) end @@ -1710,7 +1796,7 @@ const ImGuiItemFlags = Cint struct ImGuiLastItemData ID::ImGuiID - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags StatusFlags::ImGuiItemStatusFlags Rect::ImRect NavRect::ImRect @@ -1719,8 +1805,10 @@ struct ImGuiLastItemData Shortcut::ImGuiKeyChord end -struct ImGuiStackSizes +struct ImGuiErrorRecoveryState + SizeOfWindowStack::Cshort SizeOfIDStack::Cshort + SizeOfTreeStack::Cshort SizeOfColorStack::Cshort SizeOfStyleVarStack::Cshort SizeOfFontStack::Cshort @@ -1734,7 +1822,7 @@ end struct ImGuiWindowStackData Window::Ptr{ImGuiWindow} ParentLastItemDataBackup::ImGuiLastItemData - StackSizesOnBegin::ImGuiStackSizes + StackSizesInBegin::ImGuiErrorRecoveryState DisabledOverrideReenable::Bool end @@ -1793,7 +1881,7 @@ struct ImGuiDataTypeStorage end struct ImGuiNextItemData - Flags::ImGuiNextItemDataFlags + HasFlags::ImGuiNextItemDataFlags ItemFlags::ImGuiItemFlags FocusScopeId::ImGuiID SelectionUserData::ImGuiSelectionUserData @@ -1942,7 +2030,7 @@ const ImGuiTreeNodeFlags = Cint struct ImGuiTreeNodeStackData ID::ImGuiID TreeFlags::ImGuiTreeNodeFlags - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags NavRect::ImRect end @@ -1965,7 +2053,7 @@ struct ImGuiNavItemData ID::ImGuiID FocusScopeId::ImGuiID RectRel::ImRect - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags DistBox::Cfloat DistCenter::Cfloat DistAxial::Cfloat @@ -1978,6 +2066,7 @@ const ImGuiScrollFlags = Cint @cenum ImGuiKey::UInt32 begin ImGuiKey_None = 0 + ImGuiKey_NamedKey_BEGIN = 512 ImGuiKey_Tab = 512 ImGuiKey_LeftArrow = 513 ImGuiKey_RightArrow = 514 @@ -2132,18 +2221,14 @@ const ImGuiScrollFlags = Cint ImGuiKey_ReservedForModShift = 663 ImGuiKey_ReservedForModAlt = 664 ImGuiKey_ReservedForModSuper = 665 - ImGuiKey_COUNT = 666 + ImGuiKey_NamedKey_END = 666 ImGuiMod_None = 0 ImGuiMod_Ctrl = 4096 ImGuiMod_Shift = 8192 ImGuiMod_Alt = 16384 ImGuiMod_Super = 32768 ImGuiMod_Mask_ = 61440 - ImGuiKey_NamedKey_BEGIN = 512 - ImGuiKey_NamedKey_END = 666 ImGuiKey_NamedKey_COUNT = 154 - ImGuiKey_KeysData_SIZE = 154 - ImGuiKey_KeysData_OFFSET = 512 end const ImGuiDragDropFlags = Cint @@ -2798,11 +2883,11 @@ struct ImGuiInputTextState Ctx::Ptr{Cvoid} # Ctx::Ptr{ImGuiContext} Stb::Ptr{ImStbTexteditState} ID::ImGuiID - CurLenA::Cint + TextLen::Cint TextA::ImVector_char - InitialTextA::ImVector_char + TextToRevertTo::ImVector_char CallbackTextBackup::ImVector_char - BufCapacityA::Cint + BufCapacity::Cint Scroll::ImVec2 CursorAnim::Cfloat CursorFollow::Bool @@ -2938,16 +3023,13 @@ struct ImVector_ImGuiContextHook Data::Ptr{ImGuiContextHook} end -@cenum ImGuiLogType::UInt32 begin - ImGuiLogType_None = 0 - ImGuiLogType_TTY = 1 - ImGuiLogType_File = 2 - ImGuiLogType_Buffer = 3 - ImGuiLogType_Clipboard = 4 -end +const ImGuiLogFlags = Cint const ImFileHandle = Ptr{Libc.FILE} +# typedef void ( * ImGuiErrorCallback ) ( ImGuiContext * ctx , void * user_data , const char * msg ) +const ImGuiErrorCallback = Ptr{Cvoid} + const ImGuiDebugLogFlags = Cint struct ImVector_int @@ -3065,313 +3147,324 @@ struct ImGuiDebugAllocInfo end struct ImGuiContext - data::NTuple{10184, UInt8} + data::NTuple{10272, UInt8} end function Base.getproperty(x::Ptr{ImGuiContext}, f::Symbol) f === :Initialized && return Ptr{Bool}(x + 0) f === :FontAtlasOwnedByContext && return Ptr{Bool}(x + 1) f === :IO && return Ptr{ImGuiIO}(x + 8) - f === :PlatformIO && return Ptr{ImGuiPlatformIO}(x + 2952) - f === :Style && return Ptr{ImGuiStyle}(x + 3104) - f === :ConfigFlagsCurrFrame && return Ptr{ImGuiConfigFlags}(x + 4296) - f === :ConfigFlagsLastFrame && return Ptr{ImGuiConfigFlags}(x + 4300) - f === :Font && return Ptr{Ptr{ImFont}}(x + 4304) - f === :FontSize && return Ptr{Cfloat}(x + 4308) - f === :FontBaseSize && return Ptr{Cfloat}(x + 4312) - f === :FontScale && return Ptr{Cfloat}(x + 4316) - f === :CurrentDpiScale && return Ptr{Cfloat}(x + 4320) - f === :DrawListSharedData && return Ptr{ImDrawListSharedData}(x + 4324) - f === :Time && return Ptr{Cdouble}(x + 4840) - f === :FrameCount && return Ptr{Cint}(x + 4848) - f === :FrameCountEnded && return Ptr{Cint}(x + 4852) - f === :FrameCountPlatformEnded && return Ptr{Cint}(x + 4856) - f === :FrameCountRendered && return Ptr{Cint}(x + 4860) - f === :WithinFrameScope && return Ptr{Bool}(x + 4864) - f === :WithinFrameScopeWithImplicitWindow && return Ptr{Bool}(x + 4865) - f === :WithinEndChild && return Ptr{Bool}(x + 4866) - f === :GcCompactAll && return Ptr{Bool}(x + 4867) - f === :TestEngineHookItems && return Ptr{Bool}(x + 4868) - f === :TestEngine && return Ptr{Ptr{Cvoid}}(x + 4872) - f === :ContextName && return Ptr{NTuple{16, Cchar}}(x + 4876) - f === :InputEventsQueue && return Ptr{ImVector_ImGuiInputEvent}(x + 4892) - f === :InputEventsTrail && return Ptr{ImVector_ImGuiInputEvent}(x + 4904) - f === :InputEventsNextMouseSource && return Ptr{ImGuiMouseSource}(x + 4916) - f === :InputEventsNextEventId && return Ptr{ImU32}(x + 4920) - f === :Windows && return Ptr{ImVector_ImGuiWindowPtr}(x + 4924) - f === :WindowsFocusOrder && return Ptr{ImVector_ImGuiWindowPtr}(x + 4936) - f === :WindowsTempSortBuffer && return Ptr{ImVector_ImGuiWindowPtr}(x + 4948) - f === :CurrentWindowStack && return Ptr{ImVector_ImGuiWindowStackData}(x + 4960) - f === :WindowsById && return Ptr{ImGuiStorage}(x + 4972) - f === :WindowsActiveCount && return Ptr{Cint}(x + 4984) - f === :WindowsHoverPadding && return Ptr{ImVec2}(x + 4988) - f === :DebugBreakInWindow && return Ptr{ImGuiID}(x + 4996) - f === :CurrentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5000) - f === :HoveredWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5004) - f === :HoveredWindowUnderMovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5008) - f === :HoveredWindowBeforeClear && return Ptr{Ptr{ImGuiWindow}}(x + 5012) - f === :MovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5016) - f === :WheelingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5020) - f === :WheelingWindowRefMousePos && return Ptr{ImVec2}(x + 5024) - f === :WheelingWindowStartFrame && return Ptr{Cint}(x + 5032) - f === :WheelingWindowScrolledFrame && return Ptr{Cint}(x + 5036) - f === :WheelingWindowReleaseTimer && return Ptr{Cfloat}(x + 5040) - f === :WheelingWindowWheelRemainder && return Ptr{ImVec2}(x + 5044) - f === :WheelingAxisAvg && return Ptr{ImVec2}(x + 5052) - f === :DebugDrawIdConflicts && return Ptr{ImGuiID}(x + 5060) - f === :DebugHookIdInfo && return Ptr{ImGuiID}(x + 5064) - f === :HoveredId && return Ptr{ImGuiID}(x + 5068) - f === :HoveredIdPreviousFrame && return Ptr{ImGuiID}(x + 5072) - f === :HoveredIdPreviousFrameItemCount && return Ptr{Cint}(x + 5076) - f === :HoveredIdTimer && return Ptr{Cfloat}(x + 5080) - f === :HoveredIdNotActiveTimer && return Ptr{Cfloat}(x + 5084) - f === :HoveredIdAllowOverlap && return Ptr{Bool}(x + 5088) - f === :HoveredIdIsDisabled && return Ptr{Bool}(x + 5089) - f === :ItemUnclipByLog && return Ptr{Bool}(x + 5090) - f === :ActiveId && return Ptr{ImGuiID}(x + 5092) - f === :ActiveIdIsAlive && return Ptr{ImGuiID}(x + 5096) - f === :ActiveIdTimer && return Ptr{Cfloat}(x + 5100) - f === :ActiveIdIsJustActivated && return Ptr{Bool}(x + 5104) - f === :ActiveIdAllowOverlap && return Ptr{Bool}(x + 5105) - f === :ActiveIdNoClearOnFocusLoss && return Ptr{Bool}(x + 5106) - f === :ActiveIdHasBeenPressedBefore && return Ptr{Bool}(x + 5107) - f === :ActiveIdHasBeenEditedBefore && return Ptr{Bool}(x + 5108) - f === :ActiveIdHasBeenEditedThisFrame && return Ptr{Bool}(x + 5109) - f === :ActiveIdFromShortcut && return Ptr{Bool}(x + 5110) - f === :ActiveIdMouseButton && return (Ptr{Cint}(x + 5108), 24, 8) - f === :ActiveIdClickOffset && return Ptr{ImVec2}(x + 5112) - f === :ActiveIdWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5120) - f === :ActiveIdSource && return Ptr{ImGuiInputSource}(x + 5124) - f === :ActiveIdPreviousFrame && return Ptr{ImGuiID}(x + 5128) - f === :ActiveIdPreviousFrameIsAlive && return Ptr{Bool}(x + 5132) - f === :ActiveIdPreviousFrameHasBeenEditedBefore && return Ptr{Bool}(x + 5133) - f === :ActiveIdPreviousFrameWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5136) - f === :LastActiveId && return Ptr{ImGuiID}(x + 5140) - f === :LastActiveIdTimer && return Ptr{Cfloat}(x + 5144) - f === :LastKeyModsChangeTime && return Ptr{Cdouble}(x + 5152) - f === :LastKeyModsChangeFromNoneTime && return Ptr{Cdouble}(x + 5160) - f === :LastKeyboardKeyPressTime && return Ptr{Cdouble}(x + 5168) - f === :KeysMayBeCharInput && return Ptr{ImBitArrayForNamedKeys}(x + 5176) - f === :KeysOwnerData && return Ptr{NTuple{154, ImGuiKeyOwnerData}}(x + 5196) - f === :KeysRoutingTable && return Ptr{ImGuiKeyRoutingTable}(x + 7044) - f === :ActiveIdUsingNavDirMask && return Ptr{ImU32}(x + 7376) - f === :ActiveIdUsingAllKeyboardKeys && return Ptr{Bool}(x + 7380) - f === :DebugBreakInShortcutRouting && return Ptr{ImGuiKeyChord}(x + 7384) - f === :CurrentFocusScopeId && return Ptr{ImGuiID}(x + 7388) - f === :CurrentItemFlags && return Ptr{ImGuiItemFlags}(x + 7392) - f === :DebugLocateId && return Ptr{ImGuiID}(x + 7396) - f === :NextItemData && return Ptr{ImGuiNextItemData}(x + 7400) - f === :LastItemData && return Ptr{ImGuiLastItemData}(x + 7456) - f === :NextWindowData && return Ptr{ImGuiNextWindowData}(x + 7536) - f === :DebugShowGroupRects && return Ptr{Bool}(x + 7684) - f === :DebugFlashStyleColorIdx && return Ptr{ImGuiCol}(x + 7688) - f === :ColorStack && return Ptr{ImVector_ImGuiColorMod}(x + 7692) - f === :StyleVarStack && return Ptr{ImVector_ImGuiStyleMod}(x + 7704) - f === :FontStack && return Ptr{ImVector_ImFontPtr}(x + 7716) - f === :FocusScopeStack && return Ptr{ImVector_ImGuiFocusScopeData}(x + 7728) - f === :ItemFlagsStack && return Ptr{ImVector_ImGuiItemFlags}(x + 7740) - f === :GroupStack && return Ptr{ImVector_ImGuiGroupData}(x + 7752) - f === :OpenPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 7764) - f === :BeginPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 7776) - f === :TreeNodeStack && return Ptr{ImVector_ImGuiTreeNodeStackData}(x + 7788) - f === :Viewports && return Ptr{ImVector_ImGuiViewportPPtr}(x + 7800) - f === :CurrentViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 7812) - f === :MouseViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 7816) - f === :MouseLastHoveredViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 7820) - f === :PlatformLastFocusedViewportId && return Ptr{ImGuiID}(x + 7824) - f === :FallbackMonitor && return Ptr{ImGuiPlatformMonitor}(x + 7828) - f === :PlatformMonitorsFullWorkRect && return Ptr{ImRect}(x + 7868) - f === :ViewportCreatedCount && return Ptr{Cint}(x + 7884) - f === :PlatformWindowsCreatedCount && return Ptr{Cint}(x + 7888) - f === :ViewportFocusedStampCount && return Ptr{Cint}(x + 7892) - f === :NavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 7896) - f === :NavId && return Ptr{ImGuiID}(x + 7900) - f === :NavFocusScopeId && return Ptr{ImGuiID}(x + 7904) - f === :NavLayer && return Ptr{ImGuiNavLayer}(x + 7908) - f === :NavActivateId && return Ptr{ImGuiID}(x + 7912) - f === :NavActivateDownId && return Ptr{ImGuiID}(x + 7916) - f === :NavActivatePressedId && return Ptr{ImGuiID}(x + 7920) - f === :NavActivateFlags && return Ptr{ImGuiActivateFlags}(x + 7924) - f === :NavFocusRoute && return Ptr{ImVector_ImGuiFocusScopeData}(x + 7928) - f === :NavHighlightActivatedId && return Ptr{ImGuiID}(x + 7940) - f === :NavHighlightActivatedTimer && return Ptr{Cfloat}(x + 7944) - f === :NavNextActivateId && return Ptr{ImGuiID}(x + 7948) - f === :NavNextActivateFlags && return Ptr{ImGuiActivateFlags}(x + 7952) - f === :NavInputSource && return Ptr{ImGuiInputSource}(x + 7956) - f === :NavLastValidSelectionUserData && return Ptr{ImGuiSelectionUserData}(x + 7960) - f === :NavIdIsAlive && return Ptr{Bool}(x + 7968) - f === :NavMousePosDirty && return Ptr{Bool}(x + 7969) - f === :NavDisableHighlight && return Ptr{Bool}(x + 7970) - f === :NavDisableMouseHover && return Ptr{Bool}(x + 7971) - f === :NavAnyRequest && return Ptr{Bool}(x + 7972) - f === :NavInitRequest && return Ptr{Bool}(x + 7973) - f === :NavInitRequestFromMove && return Ptr{Bool}(x + 7974) - f === :NavInitResult && return Ptr{ImGuiNavItemData}(x + 7976) - f === :NavMoveSubmitted && return Ptr{Bool}(x + 8032) - f === :NavMoveScoringItems && return Ptr{Bool}(x + 8033) - f === :NavMoveForwardToNextFrame && return Ptr{Bool}(x + 8034) - f === :NavMoveFlags && return Ptr{ImGuiNavMoveFlags}(x + 8036) - f === :NavMoveScrollFlags && return Ptr{ImGuiScrollFlags}(x + 8040) - f === :NavMoveKeyMods && return Ptr{ImGuiKeyChord}(x + 8044) - f === :NavMoveDir && return Ptr{ImGuiDir}(x + 8048) - f === :NavMoveDirForDebug && return Ptr{ImGuiDir}(x + 8052) - f === :NavMoveClipDir && return Ptr{ImGuiDir}(x + 8056) - f === :NavScoringRect && return Ptr{ImRect}(x + 8060) - f === :NavScoringNoClipRect && return Ptr{ImRect}(x + 8076) - f === :NavScoringDebugCount && return Ptr{Cint}(x + 8092) - f === :NavTabbingDir && return Ptr{Cint}(x + 8096) - f === :NavTabbingCounter && return Ptr{Cint}(x + 8100) - f === :NavMoveResultLocal && return Ptr{ImGuiNavItemData}(x + 8104) - f === :NavMoveResultLocalVisible && return Ptr{ImGuiNavItemData}(x + 8160) - f === :NavMoveResultOther && return Ptr{ImGuiNavItemData}(x + 8216) - f === :NavTabbingResultFirst && return Ptr{ImGuiNavItemData}(x + 8272) - f === :NavJustMovedFromFocusScopeId && return Ptr{ImGuiID}(x + 8328) - f === :NavJustMovedToId && return Ptr{ImGuiID}(x + 8332) - f === :NavJustMovedToFocusScopeId && return Ptr{ImGuiID}(x + 8336) - f === :NavJustMovedToKeyMods && return Ptr{ImGuiKeyChord}(x + 8340) - f === :NavJustMovedToIsTabbing && return Ptr{Bool}(x + 8344) - f === :NavJustMovedToHasSelectionData && return Ptr{Bool}(x + 8345) - f === :ConfigNavWindowingKeyNext && return Ptr{ImGuiKeyChord}(x + 8348) - f === :ConfigNavWindowingKeyPrev && return Ptr{ImGuiKeyChord}(x + 8352) - f === :NavWindowingTarget && return Ptr{Ptr{ImGuiWindow}}(x + 8356) - f === :NavWindowingTargetAnim && return Ptr{Ptr{ImGuiWindow}}(x + 8360) - f === :NavWindowingListWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8364) - f === :NavWindowingTimer && return Ptr{Cfloat}(x + 8368) - f === :NavWindowingHighlightAlpha && return Ptr{Cfloat}(x + 8372) - f === :NavWindowingToggleLayer && return Ptr{Bool}(x + 8376) - f === :NavWindowingToggleKey && return Ptr{ImGuiKey}(x + 8380) - f === :NavWindowingAccumDeltaPos && return Ptr{ImVec2}(x + 8384) - f === :NavWindowingAccumDeltaSize && return Ptr{ImVec2}(x + 8392) - f === :DimBgRatio && return Ptr{Cfloat}(x + 8400) - f === :DragDropActive && return Ptr{Bool}(x + 8404) - f === :DragDropWithinSource && return Ptr{Bool}(x + 8405) - f === :DragDropWithinTarget && return Ptr{Bool}(x + 8406) - f === :DragDropSourceFlags && return Ptr{ImGuiDragDropFlags}(x + 8408) - f === :DragDropSourceFrameCount && return Ptr{Cint}(x + 8412) - f === :DragDropMouseButton && return Ptr{Cint}(x + 8416) - f === :DragDropPayload && return Ptr{ImGuiPayload}(x + 8420) - f === :DragDropTargetRect && return Ptr{ImRect}(x + 8476) - f === :DragDropTargetClipRect && return Ptr{ImRect}(x + 8492) - f === :DragDropTargetId && return Ptr{ImGuiID}(x + 8508) - f === :DragDropAcceptFlags && return Ptr{ImGuiDragDropFlags}(x + 8512) - f === :DragDropAcceptIdCurrRectSurface && return Ptr{Cfloat}(x + 8516) - f === :DragDropAcceptIdCurr && return Ptr{ImGuiID}(x + 8520) - f === :DragDropAcceptIdPrev && return Ptr{ImGuiID}(x + 8524) - f === :DragDropAcceptFrameCount && return Ptr{Cint}(x + 8528) - f === :DragDropHoldJustPressedId && return Ptr{ImGuiID}(x + 8532) - f === :DragDropPayloadBufHeap && return Ptr{ImVector_unsigned_char}(x + 8536) - f === :DragDropPayloadBufLocal && return Ptr{NTuple{16, Cuchar}}(x + 8548) - f === :ClipperTempDataStacked && return Ptr{Cint}(x + 8564) - f === :ClipperTempData && return Ptr{ImVector_ImGuiListClipperData}(x + 8568) - f === :CurrentTable && return Ptr{Ptr{ImGuiTable}}(x + 8580) - f === :DebugBreakInTable && return Ptr{ImGuiID}(x + 8584) - f === :TablesTempDataStacked && return Ptr{Cint}(x + 8588) - f === :TablesTempData && return Ptr{ImVector_ImGuiTableTempData}(x + 8592) - f === :Tables && return Ptr{ImPool_ImGuiTable}(x + 8604) - f === :TablesLastTimeActive && return Ptr{ImVector_float}(x + 8636) - f === :DrawChannelsTempMergeBuffer && return Ptr{ImVector_ImDrawChannel}(x + 8648) - f === :CurrentTabBar && return Ptr{Ptr{ImGuiTabBar}}(x + 8660) - f === :TabBars && return Ptr{ImPool_ImGuiTabBar}(x + 8664) - f === :CurrentTabBarStack && return Ptr{ImVector_ImGuiPtrOrIndex}(x + 8696) - f === :ShrinkWidthBuffer && return Ptr{ImVector_ImGuiShrinkWidthItem}(x + 8708) - f === :BoxSelectState && return Ptr{ImGuiBoxSelectState}(x + 8720) - f === :CurrentMultiSelect && return Ptr{Ptr{ImGuiMultiSelectTempData}}(x + 8812) - f === :MultiSelectTempDataStacked && return Ptr{Cint}(x + 8816) - f === :MultiSelectTempData && return Ptr{ImVector_ImGuiMultiSelectTempData}(x + 8820) - f === :MultiSelectStorage && return Ptr{ImPool_ImGuiMultiSelectState}(x + 8832) - f === :HoverItemDelayId && return Ptr{ImGuiID}(x + 8864) - f === :HoverItemDelayIdPreviousFrame && return Ptr{ImGuiID}(x + 8868) - f === :HoverItemDelayTimer && return Ptr{Cfloat}(x + 8872) - f === :HoverItemDelayClearTimer && return Ptr{Cfloat}(x + 8876) - f === :HoverItemUnlockedStationaryId && return Ptr{ImGuiID}(x + 8880) - f === :HoverWindowUnlockedStationaryId && return Ptr{ImGuiID}(x + 8884) - f === :MouseCursor && return Ptr{ImGuiMouseCursor}(x + 8888) - f === :MouseStationaryTimer && return Ptr{Cfloat}(x + 8892) - f === :MouseLastValidPos && return Ptr{ImVec2}(x + 8896) - f === :InputTextState && return Ptr{ImGuiInputTextState}(x + 8904) - f === :InputTextDeactivatedState && return Ptr{ImGuiInputTextDeactivatedState}(x + 8992) - f === :InputTextPasswordFont && return Ptr{ImFont}(x + 9008) - f === :TempInputId && return Ptr{ImGuiID}(x + 9104) - f === :DataTypeZeroValue && return Ptr{ImGuiDataTypeStorage}(x + 9108) - f === :BeginMenuDepth && return Ptr{Cint}(x + 9116) - f === :BeginComboDepth && return Ptr{Cint}(x + 9120) - f === :ColorEditOptions && return Ptr{ImGuiColorEditFlags}(x + 9124) - f === :ColorEditCurrentID && return Ptr{ImGuiID}(x + 9128) - f === :ColorEditSavedID && return Ptr{ImGuiID}(x + 9132) - f === :ColorEditSavedHue && return Ptr{Cfloat}(x + 9136) - f === :ColorEditSavedSat && return Ptr{Cfloat}(x + 9140) - f === :ColorEditSavedColor && return Ptr{ImU32}(x + 9144) - f === :ColorPickerRef && return Ptr{ImVec4}(x + 9148) - f === :ComboPreviewData && return Ptr{ImGuiComboPreviewData}(x + 9164) - f === :WindowResizeBorderExpectedRect && return Ptr{ImRect}(x + 9212) - f === :WindowResizeRelativeMode && return Ptr{Bool}(x + 9228) - f === :ScrollbarSeekMode && return Ptr{Cshort}(x + 9230) - f === :ScrollbarClickDeltaToGrabCenter && return Ptr{Cfloat}(x + 9232) - f === :SliderGrabClickOffset && return Ptr{Cfloat}(x + 9236) - f === :SliderCurrentAccum && return Ptr{Cfloat}(x + 9240) - f === :SliderCurrentAccumDirty && return Ptr{Bool}(x + 9244) - f === :DragCurrentAccumDirty && return Ptr{Bool}(x + 9245) - f === :DragCurrentAccum && return Ptr{Cfloat}(x + 9248) - f === :DragSpeedDefaultRatio && return Ptr{Cfloat}(x + 9252) - f === :DisabledAlphaBackup && return Ptr{Cfloat}(x + 9256) - f === :DisabledStackSize && return Ptr{Cshort}(x + 9260) - f === :LockMarkEdited && return Ptr{Cshort}(x + 9262) - f === :TooltipOverrideCount && return Ptr{Cshort}(x + 9264) - f === :ClipboardHandlerData && return Ptr{ImVector_char}(x + 9268) - f === :MenusIdSubmittedThisFrame && return Ptr{ImVector_ImGuiID}(x + 9280) - f === :TypingSelectState && return Ptr{ImGuiTypingSelectState}(x + 9292) - f === :PlatformImeData && return Ptr{ImGuiPlatformImeData}(x + 9388) - f === :PlatformImeDataPrev && return Ptr{ImGuiPlatformImeData}(x + 9404) - f === :PlatformImeViewport && return Ptr{ImGuiID}(x + 9420) - f === :DockContext && return Ptr{ImGuiDockContext}(x + 9424) - f === :DockNodeWindowMenuHandler && return Ptr{Ptr{Cvoid}}(x + 9464) - f === :SettingsLoaded && return Ptr{Bool}(x + 9468) - f === :SettingsDirtyTimer && return Ptr{Cfloat}(x + 9472) - f === :SettingsIniData && return Ptr{ImGuiTextBuffer}(x + 9476) - f === :SettingsHandlers && return Ptr{ImVector_ImGuiSettingsHandler}(x + 9488) - f === :SettingsWindows && return Ptr{ImChunkStream_ImGuiWindowSettings}(x + 9500) - f === :SettingsTables && return Ptr{ImChunkStream_ImGuiTableSettings}(x + 9512) - f === :Hooks && return Ptr{ImVector_ImGuiContextHook}(x + 9524) - f === :HookIdNext && return Ptr{ImGuiID}(x + 9536) - f === :LocalizationTable && return Ptr{NTuple{13, Ptr{Cchar}}}(x + 9540) - f === :LogEnabled && return Ptr{Bool}(x + 9592) - f === :LogType && return Ptr{ImGuiLogType}(x + 9596) - f === :LogFile && return Ptr{ImFileHandle}(x + 9600) - f === :LogBuffer && return Ptr{ImGuiTextBuffer}(x + 9604) - f === :LogNextPrefix && return Ptr{Ptr{Cchar}}(x + 9616) - f === :LogNextSuffix && return Ptr{Ptr{Cchar}}(x + 9620) - f === :LogLinePosY && return Ptr{Cfloat}(x + 9624) - f === :LogLineFirstItem && return Ptr{Bool}(x + 9628) - f === :LogDepthRef && return Ptr{Cint}(x + 9632) - f === :LogDepthToExpand && return Ptr{Cint}(x + 9636) - f === :LogDepthToExpandDefault && return Ptr{Cint}(x + 9640) - f === :DebugLogFlags && return Ptr{ImGuiDebugLogFlags}(x + 9644) - f === :DebugLogBuf && return Ptr{ImGuiTextBuffer}(x + 9648) - f === :DebugLogIndex && return Ptr{ImGuiTextIndex}(x + 9660) - f === :DebugLogAutoDisableFlags && return Ptr{ImGuiDebugLogFlags}(x + 9676) - f === :DebugLogAutoDisableFrames && return Ptr{ImU8}(x + 9680) - f === :DebugLocateFrames && return Ptr{ImU8}(x + 9681) - f === :DebugBreakInLocateId && return Ptr{Bool}(x + 9682) - f === :DebugBreakKeyChord && return Ptr{ImGuiKeyChord}(x + 9684) - f === :DebugBeginReturnValueCullDepth && return Ptr{ImS8}(x + 9688) - f === :DebugItemPickerActive && return Ptr{Bool}(x + 9689) - f === :DebugItemPickerMouseButton && return Ptr{ImU8}(x + 9690) - f === :DebugItemPickerBreakId && return Ptr{ImGuiID}(x + 9692) - f === :DebugFlashStyleColorTime && return Ptr{Cfloat}(x + 9696) - f === :DebugFlashStyleColorBackup && return Ptr{ImVec4}(x + 9700) - f === :DebugMetricsConfig && return Ptr{ImGuiMetricsConfig}(x + 9716) - f === :DebugIDStackTool && return Ptr{ImGuiIDStackTool}(x + 9744) - f === :DebugAllocInfo && return Ptr{ImGuiDebugAllocInfo}(x + 9776) - f === :DebugHoveredDockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 9836) - f === :FramerateSecPerFrame && return Ptr{NTuple{60, Cfloat}}(x + 9840) - f === :FramerateSecPerFrameIdx && return Ptr{Cint}(x + 10080) - f === :FramerateSecPerFrameCount && return Ptr{Cint}(x + 10084) - f === :FramerateSecPerFrameAccum && return Ptr{Cfloat}(x + 10088) - f === :WantCaptureMouseNextFrame && return Ptr{Cint}(x + 10092) - f === :WantCaptureKeyboardNextFrame && return Ptr{Cint}(x + 10096) - f === :WantTextInputNextFrame && return Ptr{Cint}(x + 10100) - f === :TempBuffer && return Ptr{ImVector_char}(x + 10104) - f === :TempKeychordName && return Ptr{NTuple{64, Cchar}}(x + 10116) + f === :PlatformIO && return Ptr{ImGuiPlatformIO}(x + 2960) + f === :Style && return Ptr{ImGuiStyle}(x + 3116) + f === :ConfigFlagsCurrFrame && return Ptr{ImGuiConfigFlags}(x + 4308) + f === :ConfigFlagsLastFrame && return Ptr{ImGuiConfigFlags}(x + 4312) + f === :Font && return Ptr{Ptr{ImFont}}(x + 4316) + f === :FontSize && return Ptr{Cfloat}(x + 4320) + f === :FontBaseSize && return Ptr{Cfloat}(x + 4324) + f === :FontScale && return Ptr{Cfloat}(x + 4328) + f === :CurrentDpiScale && return Ptr{Cfloat}(x + 4332) + f === :DrawListSharedData && return Ptr{ImDrawListSharedData}(x + 4336) + f === :Time && return Ptr{Cdouble}(x + 4856) + f === :FrameCount && return Ptr{Cint}(x + 4864) + f === :FrameCountEnded && return Ptr{Cint}(x + 4868) + f === :FrameCountPlatformEnded && return Ptr{Cint}(x + 4872) + f === :FrameCountRendered && return Ptr{Cint}(x + 4876) + f === :WithinFrameScope && return Ptr{Bool}(x + 4880) + f === :WithinFrameScopeWithImplicitWindow && return Ptr{Bool}(x + 4881) + f === :WithinEndChild && return Ptr{Bool}(x + 4882) + f === :GcCompactAll && return Ptr{Bool}(x + 4883) + f === :TestEngineHookItems && return Ptr{Bool}(x + 4884) + f === :TestEngine && return Ptr{Ptr{Cvoid}}(x + 4888) + f === :ContextName && return Ptr{NTuple{16, Cchar}}(x + 4892) + f === :InputEventsQueue && return Ptr{ImVector_ImGuiInputEvent}(x + 4908) + f === :InputEventsTrail && return Ptr{ImVector_ImGuiInputEvent}(x + 4920) + f === :InputEventsNextMouseSource && return Ptr{ImGuiMouseSource}(x + 4932) + f === :InputEventsNextEventId && return Ptr{ImU32}(x + 4936) + f === :Windows && return Ptr{ImVector_ImGuiWindowPtr}(x + 4940) + f === :WindowsFocusOrder && return Ptr{ImVector_ImGuiWindowPtr}(x + 4952) + f === :WindowsTempSortBuffer && return Ptr{ImVector_ImGuiWindowPtr}(x + 4964) + f === :CurrentWindowStack && return Ptr{ImVector_ImGuiWindowStackData}(x + 4976) + f === :WindowsById && return Ptr{ImGuiStorage}(x + 4988) + f === :WindowsActiveCount && return Ptr{Cint}(x + 5000) + f === :WindowsHoverPadding && return Ptr{ImVec2}(x + 5004) + f === :DebugBreakInWindow && return Ptr{ImGuiID}(x + 5012) + f === :CurrentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5016) + f === :HoveredWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5020) + f === :HoveredWindowUnderMovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5024) + f === :HoveredWindowBeforeClear && return Ptr{Ptr{ImGuiWindow}}(x + 5028) + f === :MovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5032) + f === :WheelingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5036) + f === :WheelingWindowRefMousePos && return Ptr{ImVec2}(x + 5040) + f === :WheelingWindowStartFrame && return Ptr{Cint}(x + 5048) + f === :WheelingWindowScrolledFrame && return Ptr{Cint}(x + 5052) + f === :WheelingWindowReleaseTimer && return Ptr{Cfloat}(x + 5056) + f === :WheelingWindowWheelRemainder && return Ptr{ImVec2}(x + 5060) + f === :WheelingAxisAvg && return Ptr{ImVec2}(x + 5068) + f === :DebugDrawIdConflicts && return Ptr{ImGuiID}(x + 5076) + f === :DebugHookIdInfo && return Ptr{ImGuiID}(x + 5080) + f === :HoveredId && return Ptr{ImGuiID}(x + 5084) + f === :HoveredIdPreviousFrame && return Ptr{ImGuiID}(x + 5088) + f === :HoveredIdPreviousFrameItemCount && return Ptr{Cint}(x + 5092) + f === :HoveredIdTimer && return Ptr{Cfloat}(x + 5096) + f === :HoveredIdNotActiveTimer && return Ptr{Cfloat}(x + 5100) + f === :HoveredIdAllowOverlap && return Ptr{Bool}(x + 5104) + f === :HoveredIdIsDisabled && return Ptr{Bool}(x + 5105) + f === :ItemUnclipByLog && return Ptr{Bool}(x + 5106) + f === :ActiveId && return Ptr{ImGuiID}(x + 5108) + f === :ActiveIdIsAlive && return Ptr{ImGuiID}(x + 5112) + f === :ActiveIdTimer && return Ptr{Cfloat}(x + 5116) + f === :ActiveIdIsJustActivated && return Ptr{Bool}(x + 5120) + f === :ActiveIdAllowOverlap && return Ptr{Bool}(x + 5121) + f === :ActiveIdNoClearOnFocusLoss && return Ptr{Bool}(x + 5122) + f === :ActiveIdHasBeenPressedBefore && return Ptr{Bool}(x + 5123) + f === :ActiveIdHasBeenEditedBefore && return Ptr{Bool}(x + 5124) + f === :ActiveIdHasBeenEditedThisFrame && return Ptr{Bool}(x + 5125) + f === :ActiveIdFromShortcut && return Ptr{Bool}(x + 5126) + f === :ActiveIdMouseButton && return (Ptr{Cint}(x + 5124), 24, 8) + f === :ActiveIdClickOffset && return Ptr{ImVec2}(x + 5128) + f === :ActiveIdWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5136) + f === :ActiveIdSource && return Ptr{ImGuiInputSource}(x + 5140) + f === :ActiveIdPreviousFrame && return Ptr{ImGuiID}(x + 5144) + f === :ActiveIdPreviousFrameIsAlive && return Ptr{Bool}(x + 5148) + f === :ActiveIdPreviousFrameHasBeenEditedBefore && return Ptr{Bool}(x + 5149) + f === :ActiveIdPreviousFrameWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5152) + f === :LastActiveId && return Ptr{ImGuiID}(x + 5156) + f === :LastActiveIdTimer && return Ptr{Cfloat}(x + 5160) + f === :LastKeyModsChangeTime && return Ptr{Cdouble}(x + 5168) + f === :LastKeyModsChangeFromNoneTime && return Ptr{Cdouble}(x + 5176) + f === :LastKeyboardKeyPressTime && return Ptr{Cdouble}(x + 5184) + f === :KeysMayBeCharInput && return Ptr{ImBitArrayForNamedKeys}(x + 5192) + f === :KeysOwnerData && return Ptr{NTuple{154, ImGuiKeyOwnerData}}(x + 5212) + f === :KeysRoutingTable && return Ptr{ImGuiKeyRoutingTable}(x + 7060) + f === :ActiveIdUsingNavDirMask && return Ptr{ImU32}(x + 7392) + f === :ActiveIdUsingAllKeyboardKeys && return Ptr{Bool}(x + 7396) + f === :DebugBreakInShortcutRouting && return Ptr{ImGuiKeyChord}(x + 7400) + f === :CurrentFocusScopeId && return Ptr{ImGuiID}(x + 7404) + f === :CurrentItemFlags && return Ptr{ImGuiItemFlags}(x + 7408) + f === :DebugLocateId && return Ptr{ImGuiID}(x + 7412) + f === :NextItemData && return Ptr{ImGuiNextItemData}(x + 7416) + f === :LastItemData && return Ptr{ImGuiLastItemData}(x + 7472) + f === :NextWindowData && return Ptr{ImGuiNextWindowData}(x + 7552) + f === :DebugShowGroupRects && return Ptr{Bool}(x + 7700) + f === :DebugFlashStyleColorIdx && return Ptr{ImGuiCol}(x + 7704) + f === :ColorStack && return Ptr{ImVector_ImGuiColorMod}(x + 7708) + f === :StyleVarStack && return Ptr{ImVector_ImGuiStyleMod}(x + 7720) + f === :FontStack && return Ptr{ImVector_ImFontPtr}(x + 7732) + f === :FocusScopeStack && return Ptr{ImVector_ImGuiFocusScopeData}(x + 7744) + f === :ItemFlagsStack && return Ptr{ImVector_ImGuiItemFlags}(x + 7756) + f === :GroupStack && return Ptr{ImVector_ImGuiGroupData}(x + 7768) + f === :OpenPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 7780) + f === :BeginPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 7792) + f === :TreeNodeStack && return Ptr{ImVector_ImGuiTreeNodeStackData}(x + 7804) + f === :Viewports && return Ptr{ImVector_ImGuiViewportPPtr}(x + 7816) + f === :CurrentViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 7828) + f === :MouseViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 7832) + f === :MouseLastHoveredViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 7836) + f === :PlatformLastFocusedViewportId && return Ptr{ImGuiID}(x + 7840) + f === :FallbackMonitor && return Ptr{ImGuiPlatformMonitor}(x + 7844) + f === :PlatformMonitorsFullWorkRect && return Ptr{ImRect}(x + 7884) + f === :ViewportCreatedCount && return Ptr{Cint}(x + 7900) + f === :PlatformWindowsCreatedCount && return Ptr{Cint}(x + 7904) + f === :ViewportFocusedStampCount && return Ptr{Cint}(x + 7908) + f === :NavCursorVisible && return Ptr{Bool}(x + 7912) + f === :NavHighlightItemUnderNav && return Ptr{Bool}(x + 7913) + f === :NavMousePosDirty && return Ptr{Bool}(x + 7914) + f === :NavIdIsAlive && return Ptr{Bool}(x + 7915) + f === :NavId && return Ptr{ImGuiID}(x + 7916) + f === :NavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 7920) + f === :NavFocusScopeId && return Ptr{ImGuiID}(x + 7924) + f === :NavLayer && return Ptr{ImGuiNavLayer}(x + 7928) + f === :NavActivateId && return Ptr{ImGuiID}(x + 7932) + f === :NavActivateDownId && return Ptr{ImGuiID}(x + 7936) + f === :NavActivatePressedId && return Ptr{ImGuiID}(x + 7940) + f === :NavActivateFlags && return Ptr{ImGuiActivateFlags}(x + 7944) + f === :NavFocusRoute && return Ptr{ImVector_ImGuiFocusScopeData}(x + 7948) + f === :NavHighlightActivatedId && return Ptr{ImGuiID}(x + 7960) + f === :NavHighlightActivatedTimer && return Ptr{Cfloat}(x + 7964) + f === :NavNextActivateId && return Ptr{ImGuiID}(x + 7968) + f === :NavNextActivateFlags && return Ptr{ImGuiActivateFlags}(x + 7972) + f === :NavInputSource && return Ptr{ImGuiInputSource}(x + 7976) + f === :NavLastValidSelectionUserData && return Ptr{ImGuiSelectionUserData}(x + 7984) + f === :NavCursorHideFrames && return Ptr{ImS8}(x + 7992) + f === :NavAnyRequest && return Ptr{Bool}(x + 7993) + f === :NavInitRequest && return Ptr{Bool}(x + 7994) + f === :NavInitRequestFromMove && return Ptr{Bool}(x + 7995) + f === :NavInitResult && return Ptr{ImGuiNavItemData}(x + 8000) + f === :NavMoveSubmitted && return Ptr{Bool}(x + 8056) + f === :NavMoveScoringItems && return Ptr{Bool}(x + 8057) + f === :NavMoveForwardToNextFrame && return Ptr{Bool}(x + 8058) + f === :NavMoveFlags && return Ptr{ImGuiNavMoveFlags}(x + 8060) + f === :NavMoveScrollFlags && return Ptr{ImGuiScrollFlags}(x + 8064) + f === :NavMoveKeyMods && return Ptr{ImGuiKeyChord}(x + 8068) + f === :NavMoveDir && return Ptr{ImGuiDir}(x + 8072) + f === :NavMoveDirForDebug && return Ptr{ImGuiDir}(x + 8076) + f === :NavMoveClipDir && return Ptr{ImGuiDir}(x + 8080) + f === :NavScoringRect && return Ptr{ImRect}(x + 8084) + f === :NavScoringNoClipRect && return Ptr{ImRect}(x + 8100) + f === :NavScoringDebugCount && return Ptr{Cint}(x + 8116) + f === :NavTabbingDir && return Ptr{Cint}(x + 8120) + f === :NavTabbingCounter && return Ptr{Cint}(x + 8124) + f === :NavMoveResultLocal && return Ptr{ImGuiNavItemData}(x + 8128) + f === :NavMoveResultLocalVisible && return Ptr{ImGuiNavItemData}(x + 8184) + f === :NavMoveResultOther && return Ptr{ImGuiNavItemData}(x + 8240) + f === :NavTabbingResultFirst && return Ptr{ImGuiNavItemData}(x + 8296) + f === :NavJustMovedFromFocusScopeId && return Ptr{ImGuiID}(x + 8352) + f === :NavJustMovedToId && return Ptr{ImGuiID}(x + 8356) + f === :NavJustMovedToFocusScopeId && return Ptr{ImGuiID}(x + 8360) + f === :NavJustMovedToKeyMods && return Ptr{ImGuiKeyChord}(x + 8364) + f === :NavJustMovedToIsTabbing && return Ptr{Bool}(x + 8368) + f === :NavJustMovedToHasSelectionData && return Ptr{Bool}(x + 8369) + f === :ConfigNavWindowingKeyNext && return Ptr{ImGuiKeyChord}(x + 8372) + f === :ConfigNavWindowingKeyPrev && return Ptr{ImGuiKeyChord}(x + 8376) + f === :NavWindowingTarget && return Ptr{Ptr{ImGuiWindow}}(x + 8380) + f === :NavWindowingTargetAnim && return Ptr{Ptr{ImGuiWindow}}(x + 8384) + f === :NavWindowingListWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8388) + f === :NavWindowingTimer && return Ptr{Cfloat}(x + 8392) + f === :NavWindowingHighlightAlpha && return Ptr{Cfloat}(x + 8396) + f === :NavWindowingToggleLayer && return Ptr{Bool}(x + 8400) + f === :NavWindowingToggleKey && return Ptr{ImGuiKey}(x + 8404) + f === :NavWindowingAccumDeltaPos && return Ptr{ImVec2}(x + 8408) + f === :NavWindowingAccumDeltaSize && return Ptr{ImVec2}(x + 8416) + f === :DimBgRatio && return Ptr{Cfloat}(x + 8424) + f === :DragDropActive && return Ptr{Bool}(x + 8428) + f === :DragDropWithinSource && return Ptr{Bool}(x + 8429) + f === :DragDropWithinTarget && return Ptr{Bool}(x + 8430) + f === :DragDropSourceFlags && return Ptr{ImGuiDragDropFlags}(x + 8432) + f === :DragDropSourceFrameCount && return Ptr{Cint}(x + 8436) + f === :DragDropMouseButton && return Ptr{Cint}(x + 8440) + f === :DragDropPayload && return Ptr{ImGuiPayload}(x + 8444) + f === :DragDropTargetRect && return Ptr{ImRect}(x + 8500) + f === :DragDropTargetClipRect && return Ptr{ImRect}(x + 8516) + f === :DragDropTargetId && return Ptr{ImGuiID}(x + 8532) + f === :DragDropAcceptFlags && return Ptr{ImGuiDragDropFlags}(x + 8536) + f === :DragDropAcceptIdCurrRectSurface && return Ptr{Cfloat}(x + 8540) + f === :DragDropAcceptIdCurr && return Ptr{ImGuiID}(x + 8544) + f === :DragDropAcceptIdPrev && return Ptr{ImGuiID}(x + 8548) + f === :DragDropAcceptFrameCount && return Ptr{Cint}(x + 8552) + f === :DragDropHoldJustPressedId && return Ptr{ImGuiID}(x + 8556) + f === :DragDropPayloadBufHeap && return Ptr{ImVector_unsigned_char}(x + 8560) + f === :DragDropPayloadBufLocal && return Ptr{NTuple{16, Cuchar}}(x + 8572) + f === :ClipperTempDataStacked && return Ptr{Cint}(x + 8588) + f === :ClipperTempData && return Ptr{ImVector_ImGuiListClipperData}(x + 8592) + f === :CurrentTable && return Ptr{Ptr{ImGuiTable}}(x + 8604) + f === :DebugBreakInTable && return Ptr{ImGuiID}(x + 8608) + f === :TablesTempDataStacked && return Ptr{Cint}(x + 8612) + f === :TablesTempData && return Ptr{ImVector_ImGuiTableTempData}(x + 8616) + f === :Tables && return Ptr{ImPool_ImGuiTable}(x + 8628) + f === :TablesLastTimeActive && return Ptr{ImVector_float}(x + 8660) + f === :DrawChannelsTempMergeBuffer && return Ptr{ImVector_ImDrawChannel}(x + 8672) + f === :CurrentTabBar && return Ptr{Ptr{ImGuiTabBar}}(x + 8684) + f === :TabBars && return Ptr{ImPool_ImGuiTabBar}(x + 8688) + f === :CurrentTabBarStack && return Ptr{ImVector_ImGuiPtrOrIndex}(x + 8720) + f === :ShrinkWidthBuffer && return Ptr{ImVector_ImGuiShrinkWidthItem}(x + 8732) + f === :BoxSelectState && return Ptr{ImGuiBoxSelectState}(x + 8744) + f === :CurrentMultiSelect && return Ptr{Ptr{ImGuiMultiSelectTempData}}(x + 8836) + f === :MultiSelectTempDataStacked && return Ptr{Cint}(x + 8840) + f === :MultiSelectTempData && return Ptr{ImVector_ImGuiMultiSelectTempData}(x + 8844) + f === :MultiSelectStorage && return Ptr{ImPool_ImGuiMultiSelectState}(x + 8856) + f === :HoverItemDelayId && return Ptr{ImGuiID}(x + 8888) + f === :HoverItemDelayIdPreviousFrame && return Ptr{ImGuiID}(x + 8892) + f === :HoverItemDelayTimer && return Ptr{Cfloat}(x + 8896) + f === :HoverItemDelayClearTimer && return Ptr{Cfloat}(x + 8900) + f === :HoverItemUnlockedStationaryId && return Ptr{ImGuiID}(x + 8904) + f === :HoverWindowUnlockedStationaryId && return Ptr{ImGuiID}(x + 8908) + f === :MouseCursor && return Ptr{ImGuiMouseCursor}(x + 8912) + f === :MouseStationaryTimer && return Ptr{Cfloat}(x + 8916) + f === :MouseLastValidPos && return Ptr{ImVec2}(x + 8920) + f === :InputTextState && return Ptr{ImGuiInputTextState}(x + 8928) + f === :InputTextDeactivatedState && return Ptr{ImGuiInputTextDeactivatedState}(x + 9016) + f === :InputTextPasswordFont && return Ptr{ImFont}(x + 9032) + f === :TempInputId && return Ptr{ImGuiID}(x + 9128) + f === :DataTypeZeroValue && return Ptr{ImGuiDataTypeStorage}(x + 9132) + f === :BeginMenuDepth && return Ptr{Cint}(x + 9140) + f === :BeginComboDepth && return Ptr{Cint}(x + 9144) + f === :ColorEditOptions && return Ptr{ImGuiColorEditFlags}(x + 9148) + f === :ColorEditCurrentID && return Ptr{ImGuiID}(x + 9152) + f === :ColorEditSavedID && return Ptr{ImGuiID}(x + 9156) + f === :ColorEditSavedHue && return Ptr{Cfloat}(x + 9160) + f === :ColorEditSavedSat && return Ptr{Cfloat}(x + 9164) + f === :ColorEditSavedColor && return Ptr{ImU32}(x + 9168) + f === :ColorPickerRef && return Ptr{ImVec4}(x + 9172) + f === :ComboPreviewData && return Ptr{ImGuiComboPreviewData}(x + 9188) + f === :WindowResizeBorderExpectedRect && return Ptr{ImRect}(x + 9236) + f === :WindowResizeRelativeMode && return Ptr{Bool}(x + 9252) + f === :ScrollbarSeekMode && return Ptr{Cshort}(x + 9254) + f === :ScrollbarClickDeltaToGrabCenter && return Ptr{Cfloat}(x + 9256) + f === :SliderGrabClickOffset && return Ptr{Cfloat}(x + 9260) + f === :SliderCurrentAccum && return Ptr{Cfloat}(x + 9264) + f === :SliderCurrentAccumDirty && return Ptr{Bool}(x + 9268) + f === :DragCurrentAccumDirty && return Ptr{Bool}(x + 9269) + f === :DragCurrentAccum && return Ptr{Cfloat}(x + 9272) + f === :DragSpeedDefaultRatio && return Ptr{Cfloat}(x + 9276) + f === :DisabledAlphaBackup && return Ptr{Cfloat}(x + 9280) + f === :DisabledStackSize && return Ptr{Cshort}(x + 9284) + f === :TooltipOverrideCount && return Ptr{Cshort}(x + 9286) + f === :TooltipPreviousWindow && return Ptr{Ptr{ImGuiWindow}}(x + 9288) + f === :ClipboardHandlerData && return Ptr{ImVector_char}(x + 9292) + f === :MenusIdSubmittedThisFrame && return Ptr{ImVector_ImGuiID}(x + 9304) + f === :TypingSelectState && return Ptr{ImGuiTypingSelectState}(x + 9316) + f === :PlatformImeData && return Ptr{ImGuiPlatformImeData}(x + 9412) + f === :PlatformImeDataPrev && return Ptr{ImGuiPlatformImeData}(x + 9428) + f === :PlatformImeViewport && return Ptr{ImGuiID}(x + 9444) + f === :DockContext && return Ptr{ImGuiDockContext}(x + 9448) + f === :DockNodeWindowMenuHandler && return Ptr{Ptr{Cvoid}}(x + 9488) + f === :SettingsLoaded && return Ptr{Bool}(x + 9492) + f === :SettingsDirtyTimer && return Ptr{Cfloat}(x + 9496) + f === :SettingsIniData && return Ptr{ImGuiTextBuffer}(x + 9500) + f === :SettingsHandlers && return Ptr{ImVector_ImGuiSettingsHandler}(x + 9512) + f === :SettingsWindows && return Ptr{ImChunkStream_ImGuiWindowSettings}(x + 9524) + f === :SettingsTables && return Ptr{ImChunkStream_ImGuiTableSettings}(x + 9536) + f === :Hooks && return Ptr{ImVector_ImGuiContextHook}(x + 9548) + f === :HookIdNext && return Ptr{ImGuiID}(x + 9560) + f === :LocalizationTable && return Ptr{NTuple{13, Ptr{Cchar}}}(x + 9564) + f === :LogEnabled && return Ptr{Bool}(x + 9616) + f === :LogFlags && return Ptr{ImGuiLogFlags}(x + 9620) + f === :LogWindow && return Ptr{Ptr{ImGuiWindow}}(x + 9624) + f === :LogFile && return Ptr{ImFileHandle}(x + 9628) + f === :LogBuffer && return Ptr{ImGuiTextBuffer}(x + 9632) + f === :LogNextPrefix && return Ptr{Ptr{Cchar}}(x + 9644) + f === :LogNextSuffix && return Ptr{Ptr{Cchar}}(x + 9648) + f === :LogLinePosY && return Ptr{Cfloat}(x + 9652) + f === :LogLineFirstItem && return Ptr{Bool}(x + 9656) + f === :LogDepthRef && return Ptr{Cint}(x + 9660) + f === :LogDepthToExpand && return Ptr{Cint}(x + 9664) + f === :LogDepthToExpandDefault && return Ptr{Cint}(x + 9668) + f === :ErrorCallback && return Ptr{ImGuiErrorCallback}(x + 9672) + f === :ErrorCallbackUserData && return Ptr{Ptr{Cvoid}}(x + 9676) + f === :ErrorTooltipLockedPos && return Ptr{ImVec2}(x + 9680) + f === :ErrorFirst && return Ptr{Bool}(x + 9688) + f === :ErrorCountCurrentFrame && return Ptr{Cint}(x + 9692) + f === :StackSizesInNewFrame && return Ptr{ImGuiErrorRecoveryState}(x + 9696) + f === :StackSizesInBeginForCurrentWindow && return Ptr{Ptr{ImGuiErrorRecoveryState}}(x + 9720) + f === :DebugDrawIdConflictsCount && return Ptr{Cint}(x + 9724) + f === :DebugLogFlags && return Ptr{ImGuiDebugLogFlags}(x + 9728) + f === :DebugLogBuf && return Ptr{ImGuiTextBuffer}(x + 9732) + f === :DebugLogIndex && return Ptr{ImGuiTextIndex}(x + 9744) + f === :DebugLogSkippedErrors && return Ptr{Cint}(x + 9760) + f === :DebugLogAutoDisableFlags && return Ptr{ImGuiDebugLogFlags}(x + 9764) + f === :DebugLogAutoDisableFrames && return Ptr{ImU8}(x + 9768) + f === :DebugLocateFrames && return Ptr{ImU8}(x + 9769) + f === :DebugBreakInLocateId && return Ptr{Bool}(x + 9770) + f === :DebugBreakKeyChord && return Ptr{ImGuiKeyChord}(x + 9772) + f === :DebugBeginReturnValueCullDepth && return Ptr{ImS8}(x + 9776) + f === :DebugItemPickerActive && return Ptr{Bool}(x + 9777) + f === :DebugItemPickerMouseButton && return Ptr{ImU8}(x + 9778) + f === :DebugItemPickerBreakId && return Ptr{ImGuiID}(x + 9780) + f === :DebugFlashStyleColorTime && return Ptr{Cfloat}(x + 9784) + f === :DebugFlashStyleColorBackup && return Ptr{ImVec4}(x + 9788) + f === :DebugMetricsConfig && return Ptr{ImGuiMetricsConfig}(x + 9804) + f === :DebugIDStackTool && return Ptr{ImGuiIDStackTool}(x + 9832) + f === :DebugAllocInfo && return Ptr{ImGuiDebugAllocInfo}(x + 9864) + f === :DebugHoveredDockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 9924) + f === :FramerateSecPerFrame && return Ptr{NTuple{60, Cfloat}}(x + 9928) + f === :FramerateSecPerFrameIdx && return Ptr{Cint}(x + 10168) + f === :FramerateSecPerFrameCount && return Ptr{Cint}(x + 10172) + f === :FramerateSecPerFrameAccum && return Ptr{Cfloat}(x + 10176) + f === :WantCaptureMouseNextFrame && return Ptr{Cint}(x + 10180) + f === :WantCaptureKeyboardNextFrame && return Ptr{Cint}(x + 10184) + f === :WantTextInputNextFrame && return Ptr{Cint}(x + 10188) + f === :TempBuffer && return Ptr{ImVector_char}(x + 10192) + f === :TempKeychordName && return Ptr{NTuple{64, Cchar}}(x + 10204) return getfield(x, f) end @@ -3561,8 +3654,6 @@ struct ImVector_const_charPtr Data::Ptr{Ptr{Cchar}} end -const ImU64 = Culonglong - const ImGuiMouseButton = Cint const ImGuiTableBgTarget = Cint @@ -3667,12 +3758,13 @@ end ImGuiInputTextFlags_DisplayEmptyRefVal = 16384 ImGuiInputTextFlags_NoHorizontalScroll = 32768 ImGuiInputTextFlags_NoUndoRedo = 65536 - ImGuiInputTextFlags_CallbackCompletion = 131072 - ImGuiInputTextFlags_CallbackHistory = 262144 - ImGuiInputTextFlags_CallbackAlways = 524288 - ImGuiInputTextFlags_CallbackCharFilter = 1048576 - ImGuiInputTextFlags_CallbackResize = 2097152 - ImGuiInputTextFlags_CallbackEdit = 4194304 + ImGuiInputTextFlags_ElideLeft = 131072 + ImGuiInputTextFlags_CallbackCompletion = 262144 + ImGuiInputTextFlags_CallbackHistory = 524288 + ImGuiInputTextFlags_CallbackAlways = 1048576 + ImGuiInputTextFlags_CallbackCharFilter = 2097152 + ImGuiInputTextFlags_CallbackResize = 4194304 + ImGuiInputTextFlags_CallbackEdit = 8388608 end @cenum ImGuiTreeNodeFlags_::UInt32 begin @@ -3856,8 +3948,6 @@ end ImGuiConfigFlags_None = 0 ImGuiConfigFlags_NavEnableKeyboard = 1 ImGuiConfigFlags_NavEnableGamepad = 2 - ImGuiConfigFlags_NavEnableSetMousePos = 4 - ImGuiConfigFlags_NavNoCaptureKeyboard = 8 ImGuiConfigFlags_NoMouse = 16 ImGuiConfigFlags_NoMouseCursorChange = 32 ImGuiConfigFlags_NoKeyboard = 64 @@ -3935,7 +4025,7 @@ end ImGuiCol_TextLink = 51 ImGuiCol_TextSelectedBg = 52 ImGuiCol_DragDropTarget = 53 - ImGuiCol_NavHighlight = 54 + ImGuiCol_NavCursor = 54 ImGuiCol_NavWindowingHighlight = 55 ImGuiCol_NavWindowingDimBg = 56 ImGuiCol_ModalWindowDimBg = 57 @@ -3986,6 +4076,7 @@ end ImGuiButtonFlags_MouseButtonRight = 2 ImGuiButtonFlags_MouseButtonMiddle = 4 ImGuiButtonFlags_MouseButtonMask_ = 7 + ImGuiButtonFlags_EnableNav = 8 end @cenum ImGuiColorEditFlags_::UInt32 begin @@ -4022,11 +4113,13 @@ end @cenum ImGuiSliderFlags_::UInt32 begin ImGuiSliderFlags_None = 0 - ImGuiSliderFlags_AlwaysClamp = 16 ImGuiSliderFlags_Logarithmic = 32 ImGuiSliderFlags_NoRoundToFormat = 64 ImGuiSliderFlags_NoInput = 128 ImGuiSliderFlags_WrapAround = 256 + ImGuiSliderFlags_ClampOnInput = 512 + ImGuiSliderFlags_ClampZeroRange = 1024 + ImGuiSliderFlags_AlwaysClamp = 1536 ImGuiSliderFlags_InvalidMask_ = 1879048207 end @@ -4214,7 +4307,7 @@ end const ImGuiFocusRequestFlags = Cint -const ImGuiNavHighlightFlags = Cint +const ImGuiNavRenderCursorFlags = Cint const ImGuiSeparatorFlags = Cint @@ -4222,9 +4315,6 @@ const ImGuiTextFlags = Cint const ImGuiTooltipFlags = Cint -# typedef void ( * ImGuiErrorLogCallback ) ( void * user_data , const char * fmt , ... ) -const ImGuiErrorLogCallback = Ptr{Cvoid} - @cenum ImGuiDataTypePrivate_::UInt32 begin ImGuiDataType_String = 12 ImGuiDataType_Pointer = 13 @@ -4237,6 +4327,8 @@ end ImGuiItemFlags_MixedValue = 4096 ImGuiItemFlags_NoWindowHoverableCheck = 8192 ImGuiItemFlags_AllowOverlap = 16384 + ImGuiItemFlags_NoNavDisableMouseHover = 32768 + ImGuiItemFlags_NoMarkEdited = 65536 ImGuiItemFlags_Inputable = 1048576 ImGuiItemFlags_HasSelectionUserData = 2097152 ImGuiItemFlags_IsMultiSelect = 4194304 @@ -4266,9 +4358,8 @@ end @cenum ImGuiInputTextFlagsPrivate_::UInt32 begin ImGuiInputTextFlags_Multiline = 67108864 - ImGuiInputTextFlags_NoMarkEdited = 134217728 - ImGuiInputTextFlags_MergedItem = 268435456 - ImGuiInputTextFlags_LocalizeDecimalPoint = 536870912 + ImGuiInputTextFlags_MergedItem = 134217728 + ImGuiInputTextFlags_LocalizeDecimalPoint = 268435456 end @cenum ImGuiButtonFlagsPrivate_::UInt32 begin @@ -4278,12 +4369,10 @@ end ImGuiButtonFlags_PressedOnRelease = 128 ImGuiButtonFlags_PressedOnDoubleClick = 256 ImGuiButtonFlags_PressedOnDragDropHold = 512 - ImGuiButtonFlags_Repeat = 1024 ImGuiButtonFlags_FlattenChildren = 2048 ImGuiButtonFlags_AllowOverlap = 4096 - ImGuiButtonFlags_DontClosePopups = 8192 ImGuiButtonFlags_AlignTextBaseLine = 32768 - ImGuiButtonFlags_NoKeyModifiers = 65536 + ImGuiButtonFlags_NoKeyModsAllowed = 65536 ImGuiButtonFlags_NoHoldingActiveId = 131072 ImGuiButtonFlags_NoNavFocus = 262144 ImGuiButtonFlags_NoHoveredOnFocus = 524288 @@ -4347,6 +4436,15 @@ end ImGuiLayoutType_Vertical = 1 end +@cenum ImGuiLogFlags_::UInt32 begin + ImGuiLogFlags_None = 0 + ImGuiLogFlags_OutputTTY = 1 + ImGuiLogFlags_OutputFile = 2 + ImGuiLogFlags_OutputBuffer = 4 + ImGuiLogFlags_OutputClipboard = 8 + ImGuiLogFlags_OutputMask_ = 15 +end + @cenum ImGuiPlotType::UInt32 begin ImGuiPlotType_Lines = 0 ImGuiPlotType_Histogram = 1 @@ -4476,11 +4574,11 @@ end ImGuiScrollFlags_MaskY_ = 42 end -@cenum ImGuiNavHighlightFlags_::UInt32 begin - ImGuiNavHighlightFlags_None = 0 - ImGuiNavHighlightFlags_Compact = 2 - ImGuiNavHighlightFlags_AlwaysDraw = 4 - ImGuiNavHighlightFlags_NoRounding = 8 +@cenum ImGuiNavRenderCursorFlags_::UInt32 begin + ImGuiNavRenderCursorFlags_None = 0 + ImGuiNavRenderCursorFlags_Compact = 2 + ImGuiNavRenderCursorFlags_AlwaysDraw = 4 + ImGuiNavRenderCursorFlags_NoRounding = 8 end @cenum ImGuiNavMoveFlags_::UInt32 begin @@ -4500,7 +4598,7 @@ end ImGuiNavMoveFlags_IsPageMove = 2048 ImGuiNavMoveFlags_Activate = 4096 ImGuiNavMoveFlags_NoSelect = 8192 - ImGuiNavMoveFlags_NoSetNavHighlight = 16384 + ImGuiNavMoveFlags_NoSetNavCursorVisible = 16384 ImGuiNavMoveFlags_NoClearActiveId = 32768 end @@ -4560,17 +4658,19 @@ end @cenum ImGuiDebugLogFlags_::UInt32 begin ImGuiDebugLogFlags_None = 0 - ImGuiDebugLogFlags_EventActiveId = 1 - ImGuiDebugLogFlags_EventFocus = 2 - ImGuiDebugLogFlags_EventPopup = 4 - ImGuiDebugLogFlags_EventNav = 8 - ImGuiDebugLogFlags_EventClipper = 16 - ImGuiDebugLogFlags_EventSelection = 32 - ImGuiDebugLogFlags_EventIO = 64 - ImGuiDebugLogFlags_EventInputRouting = 128 - ImGuiDebugLogFlags_EventDocking = 256 - ImGuiDebugLogFlags_EventViewport = 512 - ImGuiDebugLogFlags_EventMask_ = 1023 + ImGuiDebugLogFlags_EventError = 1 + ImGuiDebugLogFlags_EventActiveId = 2 + ImGuiDebugLogFlags_EventFocus = 4 + ImGuiDebugLogFlags_EventPopup = 8 + ImGuiDebugLogFlags_EventNav = 16 + ImGuiDebugLogFlags_EventClipper = 32 + ImGuiDebugLogFlags_EventSelection = 64 + ImGuiDebugLogFlags_EventIO = 128 + ImGuiDebugLogFlags_EventFont = 256 + ImGuiDebugLogFlags_EventInputRouting = 512 + ImGuiDebugLogFlags_EventDocking = 1024 + ImGuiDebugLogFlags_EventViewport = 2048 + ImGuiDebugLogFlags_EventMask_ = 4095 ImGuiDebugLogFlags_OutputToTTY = 1048576 ImGuiDebugLogFlags_OutputToTestEngine = 2097152 end @@ -5935,6 +6035,10 @@ function igSetKeyboardFocusHere(offset) ccall((:igSetKeyboardFocusHere, libcimgui), Cvoid, (Cint,), offset) end +function igSetNavCursorVisible(visible) + ccall((:igSetNavCursorVisible, libcimgui), Cvoid, (Bool,), visible) +end + function igSetNextItemAllowOverlap() ccall((:igSetNextItemAllowOverlap, libcimgui), Cvoid, ()) end @@ -6920,8 +7024,8 @@ function ImDrawList_PathRect(self, rect_min, rect_max, rounding, flags) ccall((:ImDrawList_PathRect, libcimgui), Cvoid, (Ptr{ImDrawList}, ImVec2, ImVec2, Cfloat, ImDrawFlags), self, rect_min, rect_max, rounding, flags) end -function ImDrawList_AddCallback(self, callback, callback_data) - ccall((:ImDrawList_AddCallback, libcimgui), Cvoid, (Ptr{ImDrawList}, ImDrawCallback, Ptr{Cvoid}), self, callback, callback_data) +function ImDrawList_AddCallback(self, callback, userdata, userdata_size) + ccall((:ImDrawList_AddCallback, libcimgui), Cvoid, (Ptr{ImDrawList}, ImDrawCallback, Ptr{Cvoid}, Csize_t), self, callback, userdata, userdata_size) end function ImDrawList_AddDrawCmd(self) @@ -8090,20 +8194,12 @@ function ImGuiLastItemData_destroy(self) ccall((:ImGuiLastItemData_destroy, libcimgui), Cvoid, (Ptr{ImGuiLastItemData},), self) end -function ImGuiStackSizes_ImGuiStackSizes() - ccall((:ImGuiStackSizes_ImGuiStackSizes, libcimgui), Ptr{ImGuiStackSizes}, ()) +function ImGuiErrorRecoveryState_ImGuiErrorRecoveryState() + ccall((:ImGuiErrorRecoveryState_ImGuiErrorRecoveryState, libcimgui), Ptr{ImGuiErrorRecoveryState}, ()) end -function ImGuiStackSizes_destroy(self) - ccall((:ImGuiStackSizes_destroy, libcimgui), Cvoid, (Ptr{ImGuiStackSizes},), self) -end - -function ImGuiStackSizes_SetToContextState(self, ctx) - ccall((:ImGuiStackSizes_SetToContextState, libcimgui), Cvoid, (Ptr{ImGuiStackSizes}, Ptr{ImGuiContext}), self, ctx) -end - -function ImGuiStackSizes_CompareWithContextState(self, ctx) - ccall((:ImGuiStackSizes_CompareWithContextState, libcimgui), Cvoid, (Ptr{ImGuiStackSizes}, Ptr{ImGuiContext}), self, ctx) +function ImGuiErrorRecoveryState_destroy(self) + ccall((:ImGuiErrorRecoveryState_destroy, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), self) end function ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr(ptr) @@ -8526,6 +8622,14 @@ function ImGuiTableSettings_GetColumnSettings(self) ccall((:ImGuiTableSettings_GetColumnSettings, libcimgui), Ptr{ImGuiTableColumnSettings}, (Ptr{ImGuiTableSettings},), self) end +function igGetIOEx(ctx) + ccall((:igGetIOEx, libcimgui), Ptr{ImGuiIO}, (Ptr{ImGuiContext},), ctx) +end + +function igGetPlatformIOEx(ctx) + ccall((:igGetPlatformIOEx, libcimgui), Ptr{ImGuiPlatformIO}, (Ptr{ImGuiContext},), ctx) +end + function igGetCurrentWindowRead() ccall((:igGetCurrentWindowRead, libcimgui), Ptr{ImGuiWindow}, ()) end @@ -8930,8 +9034,8 @@ function igEndDisabledOverrideReenable() ccall((:igEndDisabledOverrideReenable, libcimgui), Cvoid, ()) end -function igLogBegin(type, auto_open_depth) - ccall((:igLogBegin, libcimgui), Cvoid, (ImGuiLogType, Cint), type, auto_open_depth) +function igLogBegin(flags, auto_open_depth) + ccall((:igLogBegin, libcimgui), Cvoid, (ImGuiLogFlags, Cint), flags, auto_open_depth) end function igLogToBuffer(auto_open_depth) @@ -9078,8 +9182,8 @@ function igNavClearPreferredPosForAxis(axis) ccall((:igNavClearPreferredPosForAxis, libcimgui), Cvoid, (ImGuiAxis,), axis) end -function igNavRestoreHighlightAfterMove() - ccall((:igNavRestoreHighlightAfterMove, libcimgui), Cvoid, ()) +function igSetNavCursorVisibleAfterMove() + ccall((:igSetNavCursorVisibleAfterMove, libcimgui), Cvoid, ()) end function igNavUpdateCurrentWindowIsScrollPushableX() @@ -9798,8 +9902,12 @@ function igTabBarCloseTab(tab_bar, tab) ccall((:igTabBarCloseTab, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) end -function igTabBarQueueFocus(tab_bar, tab) - ccall((:igTabBarQueueFocus, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) +function igTabBarQueueFocus_TabItemPtr(tab_bar, tab) + ccall((:igTabBarQueueFocus_TabItemPtr, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) +end + +function igTabBarQueueFocus_Str(tab_bar, tab_name) + ccall((:igTabBarQueueFocus_Str, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{Cchar}), tab_bar, tab_name) end function igTabBarQueueReorder(tab_bar, tab, offset) @@ -9866,8 +9974,8 @@ function igRenderColorRectWithAlphaCheckerboard(draw_list, p_min, p_max, fill_co ccall((:igRenderColorRectWithAlphaCheckerboard, libcimgui), Cvoid, (Ptr{ImDrawList}, ImVec2, ImVec2, ImU32, Cfloat, ImVec2, Cfloat, ImDrawFlags), draw_list, p_min, p_max, fill_col, grid_step, grid_off, rounding, flags) end -function igRenderNavHighlight(bb, id, flags) - ccall((:igRenderNavHighlight, libcimgui), Cvoid, (ImRect, ImGuiID, ImGuiNavHighlightFlags), bb, id, flags) +function igRenderNavCursor(bb, id, flags) + ccall((:igRenderNavCursor, libcimgui), Cvoid, (ImRect, ImGuiID, ImGuiNavRenderCursorFlags), bb, id, flags) end function igFindRenderedTextEnd(text, text_end) @@ -9922,8 +10030,8 @@ function igArrowButtonEx(str_id, dir, size_arg, flags) ccall((:igArrowButtonEx, libcimgui), Bool, (Ptr{Cchar}, ImGuiDir, ImVec2, ImGuiButtonFlags), str_id, dir, size_arg, flags) end -function igImageButtonEx(id, texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) - ccall((:igImageButtonEx, libcimgui), Bool, (ImGuiID, ImTextureID, ImVec2, ImVec2, ImVec2, ImVec4, ImVec4, ImGuiButtonFlags), id, texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) +function igImageButtonEx(id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) + ccall((:igImageButtonEx, libcimgui), Bool, (ImGuiID, ImTextureID, ImVec2, ImVec2, ImVec2, ImVec4, ImVec4, ImGuiButtonFlags), id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) end function igSeparatorEx(flags, thickness) @@ -9954,8 +10062,8 @@ function igScrollbar(axis) ccall((:igScrollbar, libcimgui), Cvoid, (ImGuiAxis,), axis) end -function igScrollbarEx(bb, id, axis, p_scroll_v, avail_v, contents_v, flags) - ccall((:igScrollbarEx, libcimgui), Bool, (ImRect, ImGuiID, ImGuiAxis, Ptr{ImS64}, ImS64, ImS64, ImDrawFlags), bb, id, axis, p_scroll_v, avail_v, contents_v, flags) +function igScrollbarEx(bb, id, axis, p_scroll_v, avail_v, contents_v, draw_rounding_flags) + ccall((:igScrollbarEx, libcimgui), Bool, (ImRect, ImGuiID, ImGuiAxis, Ptr{ImS64}, ImS64, ImS64, ImDrawFlags), bb, id, axis, p_scroll_v, avail_v, contents_v, draw_rounding_flags) end function igGetWindowScrollbarRect(pOut, window, axis) @@ -10034,6 +10142,10 @@ function igDataTypeClamp(data_type, p_data, p_min, p_max) ccall((:igDataTypeClamp, libcimgui), Bool, (ImGuiDataType, Ptr{Cvoid}, Ptr{Cvoid}, Ptr{Cvoid}), data_type, p_data, p_min, p_max) end +function igDataTypeIsZero(data_type, p_data) + ccall((:igDataTypeIsZero, libcimgui), Bool, (ImGuiDataType, Ptr{Cvoid}), data_type, p_data) +end + function igInputTextEx(label, hint, buf, buf_size, size_arg, flags, callback, user_data) ccall((:igInputTextEx, libcimgui), Bool, (Ptr{Cchar}, Ptr{Cchar}, Ptr{Cchar}, Cint, ImVec2, ImGuiInputTextFlags, ImGuiInputTextCallback, Ptr{Cvoid}), label, hint, buf, buf_size, size_arg, flags, callback, user_data) end @@ -10102,22 +10214,42 @@ function igGcAwakeTransientWindowBuffers(window) ccall((:igGcAwakeTransientWindowBuffers, libcimgui), Cvoid, (Ptr{ImGuiWindow},), window) end -function igDebugAllocHook(info, frame_count, ptr, size) - ccall((:igDebugAllocHook, libcimgui), Cvoid, (Ptr{ImGuiDebugAllocInfo}, Cint, Ptr{Cvoid}, Csize_t), info, frame_count, ptr, size) +function igErrorLog(msg) + ccall((:igErrorLog, libcimgui), Bool, (Ptr{Cchar},), msg) +end + +function igErrorRecoveryStoreState(state_out) + ccall((:igErrorRecoveryStoreState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_out) end -function igErrorCheckEndFrameRecover(log_callback, user_data) - ccall((:igErrorCheckEndFrameRecover, libcimgui), Cvoid, (ImGuiErrorLogCallback, Ptr{Cvoid}), log_callback, user_data) +function igErrorRecoveryTryToRecoverState(state_in) + ccall((:igErrorRecoveryTryToRecoverState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_in) end -function igErrorCheckEndWindowRecover(log_callback, user_data) - ccall((:igErrorCheckEndWindowRecover, libcimgui), Cvoid, (ImGuiErrorLogCallback, Ptr{Cvoid}), log_callback, user_data) +function igErrorRecoveryTryToRecoverWindowState(state_in) + ccall((:igErrorRecoveryTryToRecoverWindowState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_in) end function igErrorCheckUsingSetCursorPosToExtendParentBoundaries() ccall((:igErrorCheckUsingSetCursorPosToExtendParentBoundaries, libcimgui), Cvoid, ()) end +function igErrorCheckEndFrameFinalizeErrorTooltip() + ccall((:igErrorCheckEndFrameFinalizeErrorTooltip, libcimgui), Cvoid, ()) +end + +function igBeginErrorTooltip() + ccall((:igBeginErrorTooltip, libcimgui), Bool, ()) +end + +function igEndErrorTooltip() + ccall((:igEndErrorTooltip, libcimgui), Cvoid, ()) +end + +function igDebugAllocHook(info, frame_count, ptr, size) + ccall((:igDebugAllocHook, libcimgui), Cvoid, (Ptr{ImGuiDebugAllocInfo}, Cint, Ptr{Cvoid}, Csize_t), info, frame_count, ptr, size) +end + function igDebugDrawCursorPos(col) ccall((:igDebugDrawCursorPos, libcimgui), Cvoid, (ImU32,), col) end @@ -10821,11 +10953,29 @@ struct ImVector_ImU64 Data::Ptr{ImU64} end -struct ImVector_ImU8 +struct var"##Ctag#234" Size::Cint Capacity::Cint Data::Ptr{ImU8} end +function Base.getproperty(x::Ptr{var"##Ctag#234"}, f::Symbol) + f === :Size && return Ptr{Cint}(x + 0) + f === :Capacity && return Ptr{Cint}(x + 0) + f === :Data && return Ptr{Ptr{ImU8}}(x + 0) + return getfield(x, f) +end + +function Base.getproperty(x::var"##Ctag#234", f::Symbol) + r = Ref{var"##Ctag#234"}(x) + ptr = Base.unsafe_convert(Ptr{var"##Ctag#234"}, r) + fptr = getproperty(ptr, f) + GC.@preserve r unsafe_load(fptr) +end + +function Base.setproperty!(x::Ptr{var"##Ctag#234"}, f::Symbol, v) + unsafe_store!(getproperty(x, f), v) +end + const ImPlotDragToolFlags = Cint @@ -14828,6 +14978,8 @@ function ImGui_ImplOpenGL3_DestroyDeviceObjects() ccall((:ImGui_ImplOpenGL3_DestroyDeviceObjects, libcimgui), Cvoid, ()) end +const IM_UNICODE_CODEPOINT_MAX = 65535 + const IMGUI_HAS_DOCK = 1 const ImDrawCallback_ResetRenderState = ImDrawCallback(-8) diff --git a/lib/i686-linux-gnu.jl b/lib/i686-linux-gnu.jl index b027680..4e64018 100644 --- a/lib/i686-linux-gnu.jl +++ b/lib/i686-linux-gnu.jl @@ -45,7 +45,9 @@ function Base.setproperty!(x::Ptr{ImVec4}, f::Symbol, v) end -const ImTextureID = Ptr{Cvoid} +const ImU64 = Culonglong + +const ImTextureID = ImU64 struct ImDrawCmd ClipRect::ImVec4 @@ -55,15 +57,19 @@ struct ImDrawCmd ElemCount::Cuint UserCallback::ImDrawCallback UserCallbackData::Ptr{Cvoid} + UserCallbackDataSize::Cint + UserCallbackDataOffset::Cint end function Base.getproperty(x::Ptr{ImDrawCmd}, f::Symbol) f === :ClipRect && return Ptr{ImVec4}(x + 0) f === :TextureId && return Ptr{ImTextureID}(x + 16) - f === :VtxOffset && return Ptr{Cuint}(x + 20) - f === :IdxOffset && return Ptr{Cuint}(x + 24) - f === :ElemCount && return Ptr{Cuint}(x + 28) - f === :UserCallback && return Ptr{ImDrawCallback}(x + 32) - f === :UserCallbackData && return Ptr{Ptr{Cvoid}}(x + 36) + f === :VtxOffset && return Ptr{Cuint}(x + 24) + f === :IdxOffset && return Ptr{Cuint}(x + 28) + f === :ElemCount && return Ptr{Cuint}(x + 32) + f === :UserCallback && return Ptr{ImDrawCallback}(x + 36) + f === :UserCallbackData && return Ptr{Ptr{Cvoid}}(x + 40) + f === :UserCallbackDataSize && return Ptr{Cint}(x + 44) + f === :UserCallbackDataOffset && return Ptr{Cint}(x + 48) return getfield(x, f) end @@ -221,21 +227,65 @@ function Base.getproperty(x::ImVector_ImFontPtr, f::Symbol) end struct ImFontAtlasCustomRect - Width::Cushort - Height::Cushort - X::Cushort - Y::Cushort - GlyphID::Cuint - GlyphAdvanceX::Cfloat - GlyphOffset::ImVec2 - Font::Ptr{Cvoid} # Font::Ptr{ImFont} + data::NTuple{28, UInt8} end -function Base.getproperty(x::ImFontAtlasCustomRect, f::Symbol) - f === :Font && return Ptr{ImFont}(getfield(x, f)) +function Base.getproperty(x::Ptr{ImFontAtlasCustomRect}, f::Symbol) + f === :X && return Ptr{Cushort}(x + 0) + f === :Y && return Ptr{Cushort}(x + 2) + f === :Width && return Ptr{Cushort}(x + 4) + f === :Height && return Ptr{Cushort}(x + 6) + f === :GlyphID && return (Ptr{Cuint}(x + 8), 0, 31) + f === :GlyphColored && return (Ptr{Cuint}(x + 8), 31, 1) + f === :GlyphAdvanceX && return Ptr{Cfloat}(x + 12) + f === :GlyphOffset && return Ptr{ImVec2}(x + 16) + f === :Font && return Ptr{Ptr{ImFont}}(x + 24) return getfield(x, f) end +function Base.getproperty(x::ImFontAtlasCustomRect, f::Symbol) + r = Ref{ImFontAtlasCustomRect}(x) + ptr = Base.unsafe_convert(Ptr{ImFontAtlasCustomRect}, r) + fptr = getproperty(ptr, f) + begin + if fptr isa Ptr + return GC.@preserve(r, unsafe_load(fptr)) + else + (baseptr, offset, width) = fptr + ty = eltype(baseptr) + baseptr32 = convert(Ptr{UInt32}, baseptr) + u64 = GC.@preserve(r, unsafe_load(baseptr32)) + if offset + width > 32 + u64 |= GC.@preserve(r, unsafe_load(baseptr32 + 4)) << 32 + end + u64 = u64 >> offset & (1 << width - 1) + return u64 % ty + end + end +end + +function Base.setproperty!(x::Ptr{ImFontAtlasCustomRect}, f::Symbol, v) + fptr = getproperty(x, f) + if fptr isa Ptr + unsafe_store!(getproperty(x, f), v) + else + (baseptr, offset, width) = fptr + baseptr32 = convert(Ptr{UInt32}, baseptr) + u64 = unsafe_load(baseptr32) + straddle = offset + width > 32 + if straddle + u64 |= unsafe_load(baseptr32 + 4) << 32 + end + mask = 1 << width - 1 + u64 &= ~(mask << offset) + u64 |= (unsigned(v) & mask) << offset + unsafe_store!(baseptr32, u64 & typemax(UInt32)) + if straddle + unsafe_store!(baseptr32 + 4, u64 >> 32) + end + end +end + struct ImVector_ImFontAtlasCustomRect Size::Cint Capacity::Cint @@ -335,26 +385,26 @@ end function Base.getproperty(x::Ptr{ImFontAtlas}, f::Symbol) f === :Flags && return Ptr{ImFontAtlasFlags}(x + 0) f === :TexID && return Ptr{ImTextureID}(x + 4) - f === :TexDesiredWidth && return Ptr{Cint}(x + 8) - f === :TexGlyphPadding && return Ptr{Cint}(x + 12) - f === :Locked && return Ptr{Bool}(x + 16) - f === :UserData && return Ptr{Ptr{Cvoid}}(x + 20) - f === :TexReady && return Ptr{Bool}(x + 24) - f === :TexPixelsUseColors && return Ptr{Bool}(x + 25) - f === :TexPixelsAlpha8 && return Ptr{Ptr{Cuchar}}(x + 28) - f === :TexPixelsRGBA32 && return Ptr{Ptr{Cuint}}(x + 32) - f === :TexWidth && return Ptr{Cint}(x + 36) - f === :TexHeight && return Ptr{Cint}(x + 40) - f === :TexUvScale && return Ptr{ImVec2}(x + 44) - f === :TexUvWhitePixel && return Ptr{ImVec2}(x + 52) - f === :Fonts && return Ptr{ImVector_ImFontPtr}(x + 60) - f === :CustomRects && return Ptr{ImVector_ImFontAtlasCustomRect}(x + 72) - f === :ConfigData && return Ptr{ImVector_ImFontConfig}(x + 84) - f === :TexUvLines && return Ptr{NTuple{64, ImVec4}}(x + 96) - f === :FontBuilderIO && return Ptr{Ptr{ImFontBuilderIO}}(x + 1120) - f === :FontBuilderFlags && return Ptr{Cuint}(x + 1124) - f === :PackIdMouseCursors && return Ptr{Cint}(x + 1128) - f === :PackIdLines && return Ptr{Cint}(x + 1132) + f === :TexDesiredWidth && return Ptr{Cint}(x + 12) + f === :TexGlyphPadding && return Ptr{Cint}(x + 16) + f === :Locked && return Ptr{Bool}(x + 20) + f === :UserData && return Ptr{Ptr{Cvoid}}(x + 24) + f === :TexReady && return Ptr{Bool}(x + 28) + f === :TexPixelsUseColors && return Ptr{Bool}(x + 29) + f === :TexPixelsAlpha8 && return Ptr{Ptr{Cuchar}}(x + 32) + f === :TexPixelsRGBA32 && return Ptr{Ptr{Cuint}}(x + 36) + f === :TexWidth && return Ptr{Cint}(x + 40) + f === :TexHeight && return Ptr{Cint}(x + 44) + f === :TexUvScale && return Ptr{ImVec2}(x + 48) + f === :TexUvWhitePixel && return Ptr{ImVec2}(x + 56) + f === :Fonts && return Ptr{ImVector_ImFontPtr}(x + 64) + f === :CustomRects && return Ptr{ImVector_ImFontAtlasCustomRect}(x + 76) + f === :ConfigData && return Ptr{ImVector_ImFontConfig}(x + 88) + f === :TexUvLines && return Ptr{NTuple{64, ImVec4}}(x + 100) + f === :FontBuilderIO && return Ptr{Ptr{ImFontBuilderIO}}(x + 1124) + f === :FontBuilderFlags && return Ptr{Cuint}(x + 1128) + f === :PackIdMouseCursors && return Ptr{Cint}(x + 1132) + f === :PackIdLines && return Ptr{Cint}(x + 1136) return getfield(x, f) end @@ -375,9 +425,9 @@ struct ImFont ContainerAtlas::Ptr{ImFontAtlas} ConfigData::Ptr{ImFontConfig} ConfigDataCount::Cshort - FallbackChar::ImWchar - EllipsisChar::ImWchar EllipsisCharCount::Cshort + EllipsisChar::ImWchar + FallbackChar::ImWchar EllipsisWidth::Cfloat EllipsisCharStep::Cfloat DirtyLookupTables::Bool @@ -396,6 +446,7 @@ end struct ImDrawListSharedData TexUvWhitePixel::ImVec2 + TexUvLines::Ptr{ImVec4} Font::Ptr{ImFont} FontSize::Cfloat FontScale::Cfloat @@ -407,7 +458,6 @@ struct ImDrawListSharedData ArcFastVtx::NTuple{48, ImVec2} ArcFastRadiusCutoff::Cfloat CircleSegmentCounts::NTuple{64, ImU8} - TexUvLines::Ptr{ImVec4} end struct ImDrawCmdHeader @@ -440,6 +490,12 @@ struct ImVector_ImTextureID Data::Ptr{ImTextureID} end +struct ImVector_ImU8 + Size::Cint + Capacity::Cint + Data::Ptr{ImU8} +end + struct ImDrawList CmdBuffer::ImVector_ImDrawCmd IdxBuffer::ImVector_ImDrawIdx @@ -454,6 +510,7 @@ struct ImDrawList _Splitter::ImDrawListSplitter _ClipRectStack::ImVector_ImVec4 _TextureIdStack::ImVector_ImTextureID + _CallbacksDataBuf::ImVector_ImU8 _FringeScale::Cfloat _OwnerName::Ptr{Cchar} end @@ -468,11 +525,12 @@ function Base.getproperty(x::Ptr{ImDrawList}, f::Symbol) f === :_IdxWritePtr && return Ptr{Ptr{ImDrawIdx}}(x + 52) f === :_Path && return Ptr{ImVector_ImVec2}(x + 56) f === :_CmdHeader && return Ptr{ImDrawCmdHeader}(x + 68) - f === :_Splitter && return Ptr{ImDrawListSplitter}(x + 92) - f === :_ClipRectStack && return Ptr{ImVector_ImVec4}(x + 112) - f === :_TextureIdStack && return Ptr{ImVector_ImTextureID}(x + 124) - f === :_FringeScale && return Ptr{Cfloat}(x + 136) - f === :_OwnerName && return Ptr{Ptr{Cchar}}(x + 140) + f === :_Splitter && return Ptr{ImDrawListSplitter}(x + 96) + f === :_ClipRectStack && return Ptr{ImVector_ImVec4}(x + 116) + f === :_TextureIdStack && return Ptr{ImVector_ImTextureID}(x + 128) + f === :_CallbacksDataBuf && return Ptr{ImVector_ImU8}(x + 140) + f === :_FringeScale && return Ptr{Cfloat}(x + 152) + f === :_OwnerName && return Ptr{Ptr{Cchar}}(x + 156) return getfield(x, f) end @@ -606,8 +664,6 @@ end const ImU16 = Cushort -const ImS8 = Int8 - struct ImGuiIO ConfigFlags::ImGuiConfigFlags BackendFlags::ImGuiBackendFlags @@ -622,6 +678,13 @@ struct ImGuiIO FontAllowUserScaling::Bool FontDefault::Ptr{ImFont} DisplayFramebufferScale::ImVec2 + ConfigNavSwapGamepadButtons::Bool + ConfigNavMoveSetMousePos::Bool + ConfigNavCaptureKeyboard::Bool + ConfigNavEscapeClearFocusItem::Bool + ConfigNavEscapeClearFocusWindow::Bool + ConfigNavCursorVisibleAuto::Bool + ConfigNavCursorVisibleAlways::Bool ConfigDockingNoSplit::Bool ConfigDockingWithShift::Bool ConfigDockingAlwaysTabBar::Bool @@ -632,19 +695,24 @@ struct ImGuiIO ConfigViewportsNoDefaultParent::Bool MouseDrawCursor::Bool ConfigMacOSXBehaviors::Bool - ConfigNavSwapGamepadButtons::Bool ConfigInputTrickleEventQueue::Bool ConfigInputTextCursorBlink::Bool ConfigInputTextEnterKeepActive::Bool ConfigDragClickToInputText::Bool ConfigWindowsResizeFromEdges::Bool ConfigWindowsMoveFromTitleBarOnly::Bool + ConfigWindowsCopyContentsWithCtrlC::Bool + ConfigScrollbarScrollByPage::Bool ConfigMemoryCompactTimer::Cfloat MouseDoubleClickTime::Cfloat MouseDoubleClickMaxDist::Cfloat MouseDragThreshold::Cfloat KeyRepeatDelay::Cfloat KeyRepeatRate::Cfloat + ConfigErrorRecovery::Bool + ConfigErrorRecoveryEnableAssert::Bool + ConfigErrorRecoveryEnableDebugLog::Bool + ConfigErrorRecoveryEnableTooltip::Bool ConfigDebugIsDebuggerPresent::Bool ConfigDebugHighlightIdConflicts::Bool ConfigDebugBeginReturnValueOnce::Bool @@ -702,8 +770,6 @@ struct ImGuiIO PenPressure::Cfloat AppFocusLost::Bool AppAcceptingEvents::Bool - BackendUsingLegacyKeyArrays::ImS8 - BackendUsingLegacyNavInputArray::Bool InputQueueSurrogate::ImWchar16 InputQueueCharacters::ImVector_ImWchar end @@ -727,90 +793,100 @@ function Base.getproperty(x::Ptr{ImGuiIO}, f::Symbol) f === :FontAllowUserScaling && return Ptr{Bool}(x + 44) f === :FontDefault && return Ptr{Ptr{ImFont}}(x + 48) f === :DisplayFramebufferScale && return Ptr{ImVec2}(x + 52) - f === :ConfigDockingNoSplit && return Ptr{Bool}(x + 60) - f === :ConfigDockingWithShift && return Ptr{Bool}(x + 61) - f === :ConfigDockingAlwaysTabBar && return Ptr{Bool}(x + 62) - f === :ConfigDockingTransparentPayload && return Ptr{Bool}(x + 63) - f === :ConfigViewportsNoAutoMerge && return Ptr{Bool}(x + 64) - f === :ConfigViewportsNoTaskBarIcon && return Ptr{Bool}(x + 65) - f === :ConfigViewportsNoDecoration && return Ptr{Bool}(x + 66) - f === :ConfigViewportsNoDefaultParent && return Ptr{Bool}(x + 67) - f === :MouseDrawCursor && return Ptr{Bool}(x + 68) - f === :ConfigMacOSXBehaviors && return Ptr{Bool}(x + 69) - f === :ConfigNavSwapGamepadButtons && return Ptr{Bool}(x + 70) - f === :ConfigInputTrickleEventQueue && return Ptr{Bool}(x + 71) - f === :ConfigInputTextCursorBlink && return Ptr{Bool}(x + 72) - f === :ConfigInputTextEnterKeepActive && return Ptr{Bool}(x + 73) - f === :ConfigDragClickToInputText && return Ptr{Bool}(x + 74) - f === :ConfigWindowsResizeFromEdges && return Ptr{Bool}(x + 75) - f === :ConfigWindowsMoveFromTitleBarOnly && return Ptr{Bool}(x + 76) - f === :ConfigMemoryCompactTimer && return Ptr{Cfloat}(x + 80) - f === :MouseDoubleClickTime && return Ptr{Cfloat}(x + 84) - f === :MouseDoubleClickMaxDist && return Ptr{Cfloat}(x + 88) - f === :MouseDragThreshold && return Ptr{Cfloat}(x + 92) - f === :KeyRepeatDelay && return Ptr{Cfloat}(x + 96) - f === :KeyRepeatRate && return Ptr{Cfloat}(x + 100) - f === :ConfigDebugIsDebuggerPresent && return Ptr{Bool}(x + 104) - f === :ConfigDebugHighlightIdConflicts && return Ptr{Bool}(x + 105) - f === :ConfigDebugBeginReturnValueOnce && return Ptr{Bool}(x + 106) - f === :ConfigDebugBeginReturnValueLoop && return Ptr{Bool}(x + 107) - f === :ConfigDebugIgnoreFocusLoss && return Ptr{Bool}(x + 108) - f === :ConfigDebugIniSettings && return Ptr{Bool}(x + 109) - f === :BackendPlatformName && return Ptr{Ptr{Cchar}}(x + 112) - f === :BackendRendererName && return Ptr{Ptr{Cchar}}(x + 116) - f === :BackendPlatformUserData && return Ptr{Ptr{Cvoid}}(x + 120) - f === :BackendRendererUserData && return Ptr{Ptr{Cvoid}}(x + 124) - f === :BackendLanguageUserData && return Ptr{Ptr{Cvoid}}(x + 128) - f === :WantCaptureMouse && return Ptr{Bool}(x + 132) - f === :WantCaptureKeyboard && return Ptr{Bool}(x + 133) - f === :WantTextInput && return Ptr{Bool}(x + 134) - f === :WantSetMousePos && return Ptr{Bool}(x + 135) - f === :WantSaveIniSettings && return Ptr{Bool}(x + 136) - f === :NavActive && return Ptr{Bool}(x + 137) - f === :NavVisible && return Ptr{Bool}(x + 138) - f === :Framerate && return Ptr{Cfloat}(x + 140) - f === :MetricsRenderVertices && return Ptr{Cint}(x + 144) - f === :MetricsRenderIndices && return Ptr{Cint}(x + 148) - f === :MetricsRenderWindows && return Ptr{Cint}(x + 152) - f === :MetricsActiveWindows && return Ptr{Cint}(x + 156) - f === :MouseDelta && return Ptr{ImVec2}(x + 160) - f === :Ctx && return Ptr{Ptr{ImGuiContext}}(x + 168) - f === :MousePos && return Ptr{ImVec2}(x + 172) - f === :MouseDown && return Ptr{NTuple{5, Bool}}(x + 180) - f === :MouseWheel && return Ptr{Cfloat}(x + 188) - f === :MouseWheelH && return Ptr{Cfloat}(x + 192) - f === :MouseSource && return Ptr{ImGuiMouseSource}(x + 196) - f === :MouseHoveredViewport && return Ptr{ImGuiID}(x + 200) - f === :KeyCtrl && return Ptr{Bool}(x + 204) - f === :KeyShift && return Ptr{Bool}(x + 205) - f === :KeyAlt && return Ptr{Bool}(x + 206) - f === :KeySuper && return Ptr{Bool}(x + 207) - f === :KeyMods && return Ptr{ImGuiKeyChord}(x + 208) - f === :KeysData && return Ptr{NTuple{154, ImGuiKeyData}}(x + 212) - f === :WantCaptureMouseUnlessPopupClose && return Ptr{Bool}(x + 2676) - f === :MousePosPrev && return Ptr{ImVec2}(x + 2680) - f === :MouseClickedPos && return Ptr{NTuple{5, ImVec2}}(x + 2688) - f === :MouseClickedTime && return Ptr{NTuple{5, Cdouble}}(x + 2728) - f === :MouseClicked && return Ptr{NTuple{5, Bool}}(x + 2768) - f === :MouseDoubleClicked && return Ptr{NTuple{5, Bool}}(x + 2773) - f === :MouseClickedCount && return Ptr{NTuple{5, ImU16}}(x + 2778) - f === :MouseClickedLastCount && return Ptr{NTuple{5, ImU16}}(x + 2788) - f === :MouseReleased && return Ptr{NTuple{5, Bool}}(x + 2798) - f === :MouseDownOwned && return Ptr{NTuple{5, Bool}}(x + 2803) - f === :MouseDownOwnedUnlessPopupClose && return Ptr{NTuple{5, Bool}}(x + 2808) - f === :MouseWheelRequestAxisSwap && return Ptr{Bool}(x + 2813) - f === :MouseCtrlLeftAsRightClick && return Ptr{Bool}(x + 2814) - f === :MouseDownDuration && return Ptr{NTuple{5, Cfloat}}(x + 2816) - f === :MouseDownDurationPrev && return Ptr{NTuple{5, Cfloat}}(x + 2836) - f === :MouseDragMaxDistanceAbs && return Ptr{NTuple{5, ImVec2}}(x + 2856) - f === :MouseDragMaxDistanceSqr && return Ptr{NTuple{5, Cfloat}}(x + 2896) - f === :PenPressure && return Ptr{Cfloat}(x + 2916) - f === :AppFocusLost && return Ptr{Bool}(x + 2920) - f === :AppAcceptingEvents && return Ptr{Bool}(x + 2921) - f === :BackendUsingLegacyKeyArrays && return Ptr{ImS8}(x + 2922) - f === :BackendUsingLegacyNavInputArray && return Ptr{Bool}(x + 2923) - f === :InputQueueSurrogate && return Ptr{ImWchar16}(x + 2924) - f === :InputQueueCharacters && return Ptr{ImVector_ImWchar}(x + 2928) + f === :ConfigNavSwapGamepadButtons && return Ptr{Bool}(x + 60) + f === :ConfigNavMoveSetMousePos && return Ptr{Bool}(x + 61) + f === :ConfigNavCaptureKeyboard && return Ptr{Bool}(x + 62) + f === :ConfigNavEscapeClearFocusItem && return Ptr{Bool}(x + 63) + f === :ConfigNavEscapeClearFocusWindow && return Ptr{Bool}(x + 64) + f === :ConfigNavCursorVisibleAuto && return Ptr{Bool}(x + 65) + f === :ConfigNavCursorVisibleAlways && return Ptr{Bool}(x + 66) + f === :ConfigDockingNoSplit && return Ptr{Bool}(x + 67) + f === :ConfigDockingWithShift && return Ptr{Bool}(x + 68) + f === :ConfigDockingAlwaysTabBar && return Ptr{Bool}(x + 69) + f === :ConfigDockingTransparentPayload && return Ptr{Bool}(x + 70) + f === :ConfigViewportsNoAutoMerge && return Ptr{Bool}(x + 71) + f === :ConfigViewportsNoTaskBarIcon && return Ptr{Bool}(x + 72) + f === :ConfigViewportsNoDecoration && return Ptr{Bool}(x + 73) + f === :ConfigViewportsNoDefaultParent && return Ptr{Bool}(x + 74) + f === :MouseDrawCursor && return Ptr{Bool}(x + 75) + f === :ConfigMacOSXBehaviors && return Ptr{Bool}(x + 76) + f === :ConfigInputTrickleEventQueue && return Ptr{Bool}(x + 77) + f === :ConfigInputTextCursorBlink && return Ptr{Bool}(x + 78) + f === :ConfigInputTextEnterKeepActive && return Ptr{Bool}(x + 79) + f === :ConfigDragClickToInputText && return Ptr{Bool}(x + 80) + f === :ConfigWindowsResizeFromEdges && return Ptr{Bool}(x + 81) + f === :ConfigWindowsMoveFromTitleBarOnly && return Ptr{Bool}(x + 82) + f === :ConfigWindowsCopyContentsWithCtrlC && return Ptr{Bool}(x + 83) + f === :ConfigScrollbarScrollByPage && return Ptr{Bool}(x + 84) + f === :ConfigMemoryCompactTimer && return Ptr{Cfloat}(x + 88) + f === :MouseDoubleClickTime && return Ptr{Cfloat}(x + 92) + f === :MouseDoubleClickMaxDist && return Ptr{Cfloat}(x + 96) + f === :MouseDragThreshold && return Ptr{Cfloat}(x + 100) + f === :KeyRepeatDelay && return Ptr{Cfloat}(x + 104) + f === :KeyRepeatRate && return Ptr{Cfloat}(x + 108) + f === :ConfigErrorRecovery && return Ptr{Bool}(x + 112) + f === :ConfigErrorRecoveryEnableAssert && return Ptr{Bool}(x + 113) + f === :ConfigErrorRecoveryEnableDebugLog && return Ptr{Bool}(x + 114) + f === :ConfigErrorRecoveryEnableTooltip && return Ptr{Bool}(x + 115) + f === :ConfigDebugIsDebuggerPresent && return Ptr{Bool}(x + 116) + f === :ConfigDebugHighlightIdConflicts && return Ptr{Bool}(x + 117) + f === :ConfigDebugBeginReturnValueOnce && return Ptr{Bool}(x + 118) + f === :ConfigDebugBeginReturnValueLoop && return Ptr{Bool}(x + 119) + f === :ConfigDebugIgnoreFocusLoss && return Ptr{Bool}(x + 120) + f === :ConfigDebugIniSettings && return Ptr{Bool}(x + 121) + f === :BackendPlatformName && return Ptr{Ptr{Cchar}}(x + 124) + f === :BackendRendererName && return Ptr{Ptr{Cchar}}(x + 128) + f === :BackendPlatformUserData && return Ptr{Ptr{Cvoid}}(x + 132) + f === :BackendRendererUserData && return Ptr{Ptr{Cvoid}}(x + 136) + f === :BackendLanguageUserData && return Ptr{Ptr{Cvoid}}(x + 140) + f === :WantCaptureMouse && return Ptr{Bool}(x + 144) + f === :WantCaptureKeyboard && return Ptr{Bool}(x + 145) + f === :WantTextInput && return Ptr{Bool}(x + 146) + f === :WantSetMousePos && return Ptr{Bool}(x + 147) + f === :WantSaveIniSettings && return Ptr{Bool}(x + 148) + f === :NavActive && return Ptr{Bool}(x + 149) + f === :NavVisible && return Ptr{Bool}(x + 150) + f === :Framerate && return Ptr{Cfloat}(x + 152) + f === :MetricsRenderVertices && return Ptr{Cint}(x + 156) + f === :MetricsRenderIndices && return Ptr{Cint}(x + 160) + f === :MetricsRenderWindows && return Ptr{Cint}(x + 164) + f === :MetricsActiveWindows && return Ptr{Cint}(x + 168) + f === :MouseDelta && return Ptr{ImVec2}(x + 172) + f === :Ctx && return Ptr{Ptr{ImGuiContext}}(x + 180) + f === :MousePos && return Ptr{ImVec2}(x + 184) + f === :MouseDown && return Ptr{NTuple{5, Bool}}(x + 192) + f === :MouseWheel && return Ptr{Cfloat}(x + 200) + f === :MouseWheelH && return Ptr{Cfloat}(x + 204) + f === :MouseSource && return Ptr{ImGuiMouseSource}(x + 208) + f === :MouseHoveredViewport && return Ptr{ImGuiID}(x + 212) + f === :KeyCtrl && return Ptr{Bool}(x + 216) + f === :KeyShift && return Ptr{Bool}(x + 217) + f === :KeyAlt && return Ptr{Bool}(x + 218) + f === :KeySuper && return Ptr{Bool}(x + 219) + f === :KeyMods && return Ptr{ImGuiKeyChord}(x + 220) + f === :KeysData && return Ptr{NTuple{154, ImGuiKeyData}}(x + 224) + f === :WantCaptureMouseUnlessPopupClose && return Ptr{Bool}(x + 2688) + f === :MousePosPrev && return Ptr{ImVec2}(x + 2692) + f === :MouseClickedPos && return Ptr{NTuple{5, ImVec2}}(x + 2700) + f === :MouseClickedTime && return Ptr{NTuple{5, Cdouble}}(x + 2740) + f === :MouseClicked && return Ptr{NTuple{5, Bool}}(x + 2780) + f === :MouseDoubleClicked && return Ptr{NTuple{5, Bool}}(x + 2785) + f === :MouseClickedCount && return Ptr{NTuple{5, ImU16}}(x + 2790) + f === :MouseClickedLastCount && return Ptr{NTuple{5, ImU16}}(x + 2800) + f === :MouseReleased && return Ptr{NTuple{5, Bool}}(x + 2810) + f === :MouseDownOwned && return Ptr{NTuple{5, Bool}}(x + 2815) + f === :MouseDownOwnedUnlessPopupClose && return Ptr{NTuple{5, Bool}}(x + 2820) + f === :MouseWheelRequestAxisSwap && return Ptr{Bool}(x + 2825) + f === :MouseCtrlLeftAsRightClick && return Ptr{Bool}(x + 2826) + f === :MouseDownDuration && return Ptr{NTuple{5, Cfloat}}(x + 2828) + f === :MouseDownDurationPrev && return Ptr{NTuple{5, Cfloat}}(x + 2848) + f === :MouseDragMaxDistanceAbs && return Ptr{NTuple{5, ImVec2}}(x + 2868) + f === :MouseDragMaxDistanceSqr && return Ptr{NTuple{5, Cfloat}}(x + 2908) + f === :PenPressure && return Ptr{Cfloat}(x + 2928) + f === :AppFocusLost && return Ptr{Bool}(x + 2932) + f === :AppAcceptingEvents && return Ptr{Bool}(x + 2933) + f === :InputQueueSurrogate && return Ptr{ImWchar16}(x + 2934) + f === :InputQueueCharacters && return Ptr{ImVector_ImWchar}(x + 2936) return getfield(x, f) end @@ -862,6 +938,7 @@ struct ImGuiPlatformIO Platform_SetImeDataFn::Ptr{Cvoid} Platform_ImeUserData::Ptr{Cvoid} Platform_LocaleDecimalPoint::ImWchar + Renderer_RenderState::Ptr{Cvoid} Platform_CreateWindow::Ptr{Cvoid} Platform_DestroyWindow::Ptr{Cvoid} Platform_ShowWindow::Ptr{Cvoid} @@ -898,32 +975,33 @@ function Base.getproperty(x::Ptr{ImGuiPlatformIO}, f::Symbol) f === :Platform_SetImeDataFn && return Ptr{Ptr{Cvoid}}(x + 20) f === :Platform_ImeUserData && return Ptr{Ptr{Cvoid}}(x + 24) f === :Platform_LocaleDecimalPoint && return Ptr{ImWchar}(x + 28) - f === :Platform_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 32) - f === :Platform_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 36) - f === :Platform_ShowWindow && return Ptr{Ptr{Cvoid}}(x + 40) - f === :Platform_SetWindowPos && return Ptr{Ptr{Cvoid}}(x + 44) - f === :Platform_GetWindowPos && return Ptr{Ptr{Cvoid}}(x + 48) - f === :Platform_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 52) - f === :Platform_GetWindowSize && return Ptr{Ptr{Cvoid}}(x + 56) - f === :Platform_SetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 60) - f === :Platform_GetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 64) - f === :Platform_GetWindowMinimized && return Ptr{Ptr{Cvoid}}(x + 68) - f === :Platform_SetWindowTitle && return Ptr{Ptr{Cvoid}}(x + 72) - f === :Platform_SetWindowAlpha && return Ptr{Ptr{Cvoid}}(x + 76) - f === :Platform_UpdateWindow && return Ptr{Ptr{Cvoid}}(x + 80) - f === :Platform_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 84) - f === :Platform_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 88) - f === :Platform_GetWindowDpiScale && return Ptr{Ptr{Cvoid}}(x + 92) - f === :Platform_OnChangedViewport && return Ptr{Ptr{Cvoid}}(x + 96) - f === :Platform_GetWindowWorkAreaInsets && return Ptr{Ptr{Cvoid}}(x + 100) - f === :Platform_CreateVkSurface && return Ptr{Ptr{Cvoid}}(x + 104) - f === :Renderer_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 108) - f === :Renderer_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 112) - f === :Renderer_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 116) - f === :Renderer_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 120) - f === :Renderer_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 124) - f === :Monitors && return Ptr{ImVector_ImGuiPlatformMonitor}(x + 128) - f === :Viewports && return Ptr{ImVector_ImGuiViewportPtr}(x + 140) + f === :Renderer_RenderState && return Ptr{Ptr{Cvoid}}(x + 32) + f === :Platform_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 36) + f === :Platform_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 40) + f === :Platform_ShowWindow && return Ptr{Ptr{Cvoid}}(x + 44) + f === :Platform_SetWindowPos && return Ptr{Ptr{Cvoid}}(x + 48) + f === :Platform_GetWindowPos && return Ptr{Ptr{Cvoid}}(x + 52) + f === :Platform_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 56) + f === :Platform_GetWindowSize && return Ptr{Ptr{Cvoid}}(x + 60) + f === :Platform_SetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 64) + f === :Platform_GetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 68) + f === :Platform_GetWindowMinimized && return Ptr{Ptr{Cvoid}}(x + 72) + f === :Platform_SetWindowTitle && return Ptr{Ptr{Cvoid}}(x + 76) + f === :Platform_SetWindowAlpha && return Ptr{Ptr{Cvoid}}(x + 80) + f === :Platform_UpdateWindow && return Ptr{Ptr{Cvoid}}(x + 84) + f === :Platform_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 88) + f === :Platform_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 92) + f === :Platform_GetWindowDpiScale && return Ptr{Ptr{Cvoid}}(x + 96) + f === :Platform_OnChangedViewport && return Ptr{Ptr{Cvoid}}(x + 100) + f === :Platform_GetWindowWorkAreaInsets && return Ptr{Ptr{Cvoid}}(x + 104) + f === :Platform_CreateVkSurface && return Ptr{Ptr{Cvoid}}(x + 108) + f === :Renderer_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 112) + f === :Renderer_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 116) + f === :Renderer_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 120) + f === :Renderer_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 124) + f === :Renderer_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 128) + f === :Monitors && return Ptr{ImVector_ImGuiPlatformMonitor}(x + 132) + f === :Viewports && return Ptr{ImVector_ImGuiViewportPtr}(x + 144) return getfield(x, f) end @@ -1185,6 +1263,8 @@ function Base.getproperty(x::ImGuiViewportP, f::Symbol) return getfield(x, f) end +const ImS8 = Int8 + const ImGuiCond = Cint struct ImVector_ImGuiID @@ -1395,6 +1475,7 @@ struct ImGuiTextBuffer end struct ImGuiTabBar + Window::Ptr{Cvoid} # Window::Ptr{ImGuiWindow} Tabs::ImVector_ImGuiTabItem Flags::ImGuiTabBarFlags ID::ImGuiID @@ -1430,6 +1511,11 @@ struct ImGuiTabBar TabsNames::ImGuiTextBuffer end +function Base.getproperty(x::ImGuiTabBar, f::Symbol) + f === :Window && return Ptr{ImGuiWindow}(getfield(x, f)) + return getfield(x, f) +end + @cenum ImGuiAxis::Int32 begin ImGuiAxis_None = -1 ImGuiAxis_X = 0 @@ -1534,7 +1620,7 @@ end const ImGuiItemStatusFlags = Cint struct ImGuiWindow - data::NTuple{1016, UInt8} + data::NTuple{1032, UInt8} end function Base.getproperty(x::Ptr{ImGuiWindow}, f::Symbol) @@ -1635,33 +1721,33 @@ function Base.getproperty(x::Ptr{ImGuiWindow}, f::Symbol) f === :SettingsOffset && return Ptr{Cint}(x + 692) f === :DrawList && return Ptr{Ptr{ImDrawList}}(x + 696) f === :DrawListInst && return Ptr{ImDrawList}(x + 700) - f === :ParentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 844) - f === :ParentWindowInBeginStack && return Ptr{Ptr{ImGuiWindow}}(x + 848) - f === :RootWindow && return Ptr{Ptr{ImGuiWindow}}(x + 852) - f === :RootWindowPopupTree && return Ptr{Ptr{ImGuiWindow}}(x + 856) - f === :RootWindowDockTree && return Ptr{Ptr{ImGuiWindow}}(x + 860) - f === :RootWindowForTitleBarHighlight && return Ptr{Ptr{ImGuiWindow}}(x + 864) - f === :RootWindowForNav && return Ptr{Ptr{ImGuiWindow}}(x + 868) - f === :ParentWindowForFocusRoute && return Ptr{Ptr{ImGuiWindow}}(x + 872) - f === :NavLastChildNavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 876) - f === :NavLastIds && return Ptr{NTuple{2, ImGuiID}}(x + 880) - f === :NavRectRel && return Ptr{NTuple{2, ImRect}}(x + 888) - f === :NavPreferredScoringPosRel && return Ptr{NTuple{2, ImVec2}}(x + 920) - f === :NavRootFocusScopeId && return Ptr{ImGuiID}(x + 936) - f === :MemoryDrawListIdxCapacity && return Ptr{Cint}(x + 940) - f === :MemoryDrawListVtxCapacity && return Ptr{Cint}(x + 944) - f === :MemoryCompacted && return Ptr{Bool}(x + 948) - f === :DockIsActive && return (Ptr{Bool}(x + 948), 8, 1) - f === :DockNodeIsVisible && return (Ptr{Bool}(x + 948), 9, 1) - f === :DockTabIsVisible && return (Ptr{Bool}(x + 948), 10, 1) - f === :DockTabWantClose && return (Ptr{Bool}(x + 948), 11, 1) - f === :DockOrder && return Ptr{Cshort}(x + 950) - f === :DockStyle && return Ptr{ImGuiWindowDockStyle}(x + 952) - f === :DockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 984) - f === :DockNodeAsHost && return Ptr{Ptr{ImGuiDockNode}}(x + 988) - f === :DockId && return Ptr{ImGuiID}(x + 992) - f === :DockTabItemStatusFlags && return Ptr{ImGuiItemStatusFlags}(x + 996) - f === :DockTabItemRect && return Ptr{ImRect}(x + 1000) + f === :ParentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 860) + f === :ParentWindowInBeginStack && return Ptr{Ptr{ImGuiWindow}}(x + 864) + f === :RootWindow && return Ptr{Ptr{ImGuiWindow}}(x + 868) + f === :RootWindowPopupTree && return Ptr{Ptr{ImGuiWindow}}(x + 872) + f === :RootWindowDockTree && return Ptr{Ptr{ImGuiWindow}}(x + 876) + f === :RootWindowForTitleBarHighlight && return Ptr{Ptr{ImGuiWindow}}(x + 880) + f === :RootWindowForNav && return Ptr{Ptr{ImGuiWindow}}(x + 884) + f === :ParentWindowForFocusRoute && return Ptr{Ptr{ImGuiWindow}}(x + 888) + f === :NavLastChildNavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 892) + f === :NavLastIds && return Ptr{NTuple{2, ImGuiID}}(x + 896) + f === :NavRectRel && return Ptr{NTuple{2, ImRect}}(x + 904) + f === :NavPreferredScoringPosRel && return Ptr{NTuple{2, ImVec2}}(x + 936) + f === :NavRootFocusScopeId && return Ptr{ImGuiID}(x + 952) + f === :MemoryDrawListIdxCapacity && return Ptr{Cint}(x + 956) + f === :MemoryDrawListVtxCapacity && return Ptr{Cint}(x + 960) + f === :MemoryCompacted && return Ptr{Bool}(x + 964) + f === :DockIsActive && return (Ptr{Bool}(x + 964), 8, 1) + f === :DockNodeIsVisible && return (Ptr{Bool}(x + 964), 9, 1) + f === :DockTabIsVisible && return (Ptr{Bool}(x + 964), 10, 1) + f === :DockTabWantClose && return (Ptr{Bool}(x + 964), 11, 1) + f === :DockOrder && return Ptr{Cshort}(x + 966) + f === :DockStyle && return Ptr{ImGuiWindowDockStyle}(x + 968) + f === :DockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 1000) + f === :DockNodeAsHost && return Ptr{Ptr{ImGuiDockNode}}(x + 1004) + f === :DockId && return Ptr{ImGuiID}(x + 1008) + f === :DockTabItemStatusFlags && return Ptr{ImGuiItemStatusFlags}(x + 1012) + f === :DockTabItemRect && return Ptr{ImRect}(x + 1016) return getfield(x, f) end @@ -1712,7 +1798,7 @@ const ImGuiItemFlags = Cint struct ImGuiLastItemData ID::ImGuiID - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags StatusFlags::ImGuiItemStatusFlags Rect::ImRect NavRect::ImRect @@ -1721,8 +1807,10 @@ struct ImGuiLastItemData Shortcut::ImGuiKeyChord end -struct ImGuiStackSizes +struct ImGuiErrorRecoveryState + SizeOfWindowStack::Cshort SizeOfIDStack::Cshort + SizeOfTreeStack::Cshort SizeOfColorStack::Cshort SizeOfStyleVarStack::Cshort SizeOfFontStack::Cshort @@ -1736,7 +1824,7 @@ end struct ImGuiWindowStackData Window::Ptr{ImGuiWindow} ParentLastItemDataBackup::ImGuiLastItemData - StackSizesOnBegin::ImGuiStackSizes + StackSizesInBegin::ImGuiErrorRecoveryState DisabledOverrideReenable::Bool end @@ -1795,7 +1883,7 @@ struct ImGuiDataTypeStorage end struct ImGuiNextItemData - Flags::ImGuiNextItemDataFlags + HasFlags::ImGuiNextItemDataFlags ItemFlags::ImGuiItemFlags FocusScopeId::ImGuiID SelectionUserData::ImGuiSelectionUserData @@ -1944,7 +2032,7 @@ const ImGuiTreeNodeFlags = Cint struct ImGuiTreeNodeStackData ID::ImGuiID TreeFlags::ImGuiTreeNodeFlags - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags NavRect::ImRect end @@ -1967,7 +2055,7 @@ struct ImGuiNavItemData ID::ImGuiID FocusScopeId::ImGuiID RectRel::ImRect - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags DistBox::Cfloat DistCenter::Cfloat DistAxial::Cfloat @@ -1980,6 +2068,7 @@ const ImGuiScrollFlags = Cint @cenum ImGuiKey::UInt32 begin ImGuiKey_None = 0 + ImGuiKey_NamedKey_BEGIN = 512 ImGuiKey_Tab = 512 ImGuiKey_LeftArrow = 513 ImGuiKey_RightArrow = 514 @@ -2134,18 +2223,14 @@ const ImGuiScrollFlags = Cint ImGuiKey_ReservedForModShift = 663 ImGuiKey_ReservedForModAlt = 664 ImGuiKey_ReservedForModSuper = 665 - ImGuiKey_COUNT = 666 + ImGuiKey_NamedKey_END = 666 ImGuiMod_None = 0 ImGuiMod_Ctrl = 4096 ImGuiMod_Shift = 8192 ImGuiMod_Alt = 16384 ImGuiMod_Super = 32768 ImGuiMod_Mask_ = 61440 - ImGuiKey_NamedKey_BEGIN = 512 - ImGuiKey_NamedKey_END = 666 ImGuiKey_NamedKey_COUNT = 154 - ImGuiKey_KeysData_SIZE = 154 - ImGuiKey_KeysData_OFFSET = 512 end const ImGuiDragDropFlags = Cint @@ -2800,11 +2885,11 @@ struct ImGuiInputTextState Ctx::Ptr{Cvoid} # Ctx::Ptr{ImGuiContext} Stb::Ptr{ImStbTexteditState} ID::ImGuiID - CurLenA::Cint + TextLen::Cint TextA::ImVector_char - InitialTextA::ImVector_char + TextToRevertTo::ImVector_char CallbackTextBackup::ImVector_char - BufCapacityA::Cint + BufCapacity::Cint Scroll::ImVec2 CursorAnim::Cfloat CursorFollow::Bool @@ -2940,16 +3025,13 @@ struct ImVector_ImGuiContextHook Data::Ptr{ImGuiContextHook} end -@cenum ImGuiLogType::UInt32 begin - ImGuiLogType_None = 0 - ImGuiLogType_TTY = 1 - ImGuiLogType_File = 2 - ImGuiLogType_Buffer = 3 - ImGuiLogType_Clipboard = 4 -end +const ImGuiLogFlags = Cint const ImFileHandle = Ptr{Libc.FILE} +# typedef void ( * ImGuiErrorCallback ) ( ImGuiContext * ctx , void * user_data , const char * msg ) +const ImGuiErrorCallback = Ptr{Cvoid} + const ImGuiDebugLogFlags = Cint struct ImVector_int @@ -3067,313 +3149,324 @@ struct ImGuiDebugAllocInfo end struct ImGuiContext - data::NTuple{10140, UInt8} + data::NTuple{10216, UInt8} end function Base.getproperty(x::Ptr{ImGuiContext}, f::Symbol) f === :Initialized && return Ptr{Bool}(x + 0) f === :FontAtlasOwnedByContext && return Ptr{Bool}(x + 1) f === :IO && return Ptr{ImGuiIO}(x + 4) - f === :PlatformIO && return Ptr{ImGuiPlatformIO}(x + 2944) - f === :Style && return Ptr{ImGuiStyle}(x + 3096) - f === :ConfigFlagsCurrFrame && return Ptr{ImGuiConfigFlags}(x + 4288) - f === :ConfigFlagsLastFrame && return Ptr{ImGuiConfigFlags}(x + 4292) - f === :Font && return Ptr{Ptr{ImFont}}(x + 4296) - f === :FontSize && return Ptr{Cfloat}(x + 4300) - f === :FontBaseSize && return Ptr{Cfloat}(x + 4304) - f === :FontScale && return Ptr{Cfloat}(x + 4308) - f === :CurrentDpiScale && return Ptr{Cfloat}(x + 4312) - f === :DrawListSharedData && return Ptr{ImDrawListSharedData}(x + 4316) - f === :Time && return Ptr{Cdouble}(x + 4832) - f === :FrameCount && return Ptr{Cint}(x + 4840) - f === :FrameCountEnded && return Ptr{Cint}(x + 4844) - f === :FrameCountPlatformEnded && return Ptr{Cint}(x + 4848) - f === :FrameCountRendered && return Ptr{Cint}(x + 4852) - f === :WithinFrameScope && return Ptr{Bool}(x + 4856) - f === :WithinFrameScopeWithImplicitWindow && return Ptr{Bool}(x + 4857) - f === :WithinEndChild && return Ptr{Bool}(x + 4858) - f === :GcCompactAll && return Ptr{Bool}(x + 4859) - f === :TestEngineHookItems && return Ptr{Bool}(x + 4860) - f === :TestEngine && return Ptr{Ptr{Cvoid}}(x + 4864) - f === :ContextName && return Ptr{NTuple{16, Cchar}}(x + 4868) - f === :InputEventsQueue && return Ptr{ImVector_ImGuiInputEvent}(x + 4884) - f === :InputEventsTrail && return Ptr{ImVector_ImGuiInputEvent}(x + 4896) - f === :InputEventsNextMouseSource && return Ptr{ImGuiMouseSource}(x + 4908) - f === :InputEventsNextEventId && return Ptr{ImU32}(x + 4912) - f === :Windows && return Ptr{ImVector_ImGuiWindowPtr}(x + 4916) - f === :WindowsFocusOrder && return Ptr{ImVector_ImGuiWindowPtr}(x + 4928) - f === :WindowsTempSortBuffer && return Ptr{ImVector_ImGuiWindowPtr}(x + 4940) - f === :CurrentWindowStack && return Ptr{ImVector_ImGuiWindowStackData}(x + 4952) - f === :WindowsById && return Ptr{ImGuiStorage}(x + 4964) - f === :WindowsActiveCount && return Ptr{Cint}(x + 4976) - f === :WindowsHoverPadding && return Ptr{ImVec2}(x + 4980) - f === :DebugBreakInWindow && return Ptr{ImGuiID}(x + 4988) - f === :CurrentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 4992) - f === :HoveredWindow && return Ptr{Ptr{ImGuiWindow}}(x + 4996) - f === :HoveredWindowUnderMovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5000) - f === :HoveredWindowBeforeClear && return Ptr{Ptr{ImGuiWindow}}(x + 5004) - f === :MovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5008) - f === :WheelingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5012) - f === :WheelingWindowRefMousePos && return Ptr{ImVec2}(x + 5016) - f === :WheelingWindowStartFrame && return Ptr{Cint}(x + 5024) - f === :WheelingWindowScrolledFrame && return Ptr{Cint}(x + 5028) - f === :WheelingWindowReleaseTimer && return Ptr{Cfloat}(x + 5032) - f === :WheelingWindowWheelRemainder && return Ptr{ImVec2}(x + 5036) - f === :WheelingAxisAvg && return Ptr{ImVec2}(x + 5044) - f === :DebugDrawIdConflicts && return Ptr{ImGuiID}(x + 5052) - f === :DebugHookIdInfo && return Ptr{ImGuiID}(x + 5056) - f === :HoveredId && return Ptr{ImGuiID}(x + 5060) - f === :HoveredIdPreviousFrame && return Ptr{ImGuiID}(x + 5064) - f === :HoveredIdPreviousFrameItemCount && return Ptr{Cint}(x + 5068) - f === :HoveredIdTimer && return Ptr{Cfloat}(x + 5072) - f === :HoveredIdNotActiveTimer && return Ptr{Cfloat}(x + 5076) - f === :HoveredIdAllowOverlap && return Ptr{Bool}(x + 5080) - f === :HoveredIdIsDisabled && return Ptr{Bool}(x + 5081) - f === :ItemUnclipByLog && return Ptr{Bool}(x + 5082) - f === :ActiveId && return Ptr{ImGuiID}(x + 5084) - f === :ActiveIdIsAlive && return Ptr{ImGuiID}(x + 5088) - f === :ActiveIdTimer && return Ptr{Cfloat}(x + 5092) - f === :ActiveIdIsJustActivated && return Ptr{Bool}(x + 5096) - f === :ActiveIdAllowOverlap && return Ptr{Bool}(x + 5097) - f === :ActiveIdNoClearOnFocusLoss && return Ptr{Bool}(x + 5098) - f === :ActiveIdHasBeenPressedBefore && return Ptr{Bool}(x + 5099) - f === :ActiveIdHasBeenEditedBefore && return Ptr{Bool}(x + 5100) - f === :ActiveIdHasBeenEditedThisFrame && return Ptr{Bool}(x + 5101) - f === :ActiveIdFromShortcut && return Ptr{Bool}(x + 5102) - f === :ActiveIdMouseButton && return (Ptr{Cint}(x + 5100), 24, 8) - f === :ActiveIdClickOffset && return Ptr{ImVec2}(x + 5104) - f === :ActiveIdWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5112) - f === :ActiveIdSource && return Ptr{ImGuiInputSource}(x + 5116) - f === :ActiveIdPreviousFrame && return Ptr{ImGuiID}(x + 5120) - f === :ActiveIdPreviousFrameIsAlive && return Ptr{Bool}(x + 5124) - f === :ActiveIdPreviousFrameHasBeenEditedBefore && return Ptr{Bool}(x + 5125) - f === :ActiveIdPreviousFrameWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5128) - f === :LastActiveId && return Ptr{ImGuiID}(x + 5132) - f === :LastActiveIdTimer && return Ptr{Cfloat}(x + 5136) - f === :LastKeyModsChangeTime && return Ptr{Cdouble}(x + 5140) - f === :LastKeyModsChangeFromNoneTime && return Ptr{Cdouble}(x + 5148) - f === :LastKeyboardKeyPressTime && return Ptr{Cdouble}(x + 5156) - f === :KeysMayBeCharInput && return Ptr{ImBitArrayForNamedKeys}(x + 5164) - f === :KeysOwnerData && return Ptr{NTuple{154, ImGuiKeyOwnerData}}(x + 5184) - f === :KeysRoutingTable && return Ptr{ImGuiKeyRoutingTable}(x + 7032) - f === :ActiveIdUsingNavDirMask && return Ptr{ImU32}(x + 7364) - f === :ActiveIdUsingAllKeyboardKeys && return Ptr{Bool}(x + 7368) - f === :DebugBreakInShortcutRouting && return Ptr{ImGuiKeyChord}(x + 7372) - f === :CurrentFocusScopeId && return Ptr{ImGuiID}(x + 7376) - f === :CurrentItemFlags && return Ptr{ImGuiItemFlags}(x + 7380) - f === :DebugLocateId && return Ptr{ImGuiID}(x + 7384) - f === :NextItemData && return Ptr{ImGuiNextItemData}(x + 7388) - f === :LastItemData && return Ptr{ImGuiLastItemData}(x + 7436) - f === :NextWindowData && return Ptr{ImGuiNextWindowData}(x + 7516) - f === :DebugShowGroupRects && return Ptr{Bool}(x + 7664) - f === :DebugFlashStyleColorIdx && return Ptr{ImGuiCol}(x + 7668) - f === :ColorStack && return Ptr{ImVector_ImGuiColorMod}(x + 7672) - f === :StyleVarStack && return Ptr{ImVector_ImGuiStyleMod}(x + 7684) - f === :FontStack && return Ptr{ImVector_ImFontPtr}(x + 7696) - f === :FocusScopeStack && return Ptr{ImVector_ImGuiFocusScopeData}(x + 7708) - f === :ItemFlagsStack && return Ptr{ImVector_ImGuiItemFlags}(x + 7720) - f === :GroupStack && return Ptr{ImVector_ImGuiGroupData}(x + 7732) - f === :OpenPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 7744) - f === :BeginPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 7756) - f === :TreeNodeStack && return Ptr{ImVector_ImGuiTreeNodeStackData}(x + 7768) - f === :Viewports && return Ptr{ImVector_ImGuiViewportPPtr}(x + 7780) - f === :CurrentViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 7792) - f === :MouseViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 7796) - f === :MouseLastHoveredViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 7800) - f === :PlatformLastFocusedViewportId && return Ptr{ImGuiID}(x + 7804) - f === :FallbackMonitor && return Ptr{ImGuiPlatformMonitor}(x + 7808) - f === :PlatformMonitorsFullWorkRect && return Ptr{ImRect}(x + 7848) - f === :ViewportCreatedCount && return Ptr{Cint}(x + 7864) - f === :PlatformWindowsCreatedCount && return Ptr{Cint}(x + 7868) - f === :ViewportFocusedStampCount && return Ptr{Cint}(x + 7872) - f === :NavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 7876) - f === :NavId && return Ptr{ImGuiID}(x + 7880) - f === :NavFocusScopeId && return Ptr{ImGuiID}(x + 7884) - f === :NavLayer && return Ptr{ImGuiNavLayer}(x + 7888) - f === :NavActivateId && return Ptr{ImGuiID}(x + 7892) - f === :NavActivateDownId && return Ptr{ImGuiID}(x + 7896) - f === :NavActivatePressedId && return Ptr{ImGuiID}(x + 7900) - f === :NavActivateFlags && return Ptr{ImGuiActivateFlags}(x + 7904) - f === :NavFocusRoute && return Ptr{ImVector_ImGuiFocusScopeData}(x + 7908) - f === :NavHighlightActivatedId && return Ptr{ImGuiID}(x + 7920) - f === :NavHighlightActivatedTimer && return Ptr{Cfloat}(x + 7924) - f === :NavNextActivateId && return Ptr{ImGuiID}(x + 7928) - f === :NavNextActivateFlags && return Ptr{ImGuiActivateFlags}(x + 7932) - f === :NavInputSource && return Ptr{ImGuiInputSource}(x + 7936) - f === :NavLastValidSelectionUserData && return Ptr{ImGuiSelectionUserData}(x + 7940) - f === :NavIdIsAlive && return Ptr{Bool}(x + 7948) - f === :NavMousePosDirty && return Ptr{Bool}(x + 7949) - f === :NavDisableHighlight && return Ptr{Bool}(x + 7950) - f === :NavDisableMouseHover && return Ptr{Bool}(x + 7951) - f === :NavAnyRequest && return Ptr{Bool}(x + 7952) - f === :NavInitRequest && return Ptr{Bool}(x + 7953) - f === :NavInitRequestFromMove && return Ptr{Bool}(x + 7954) - f === :NavInitResult && return Ptr{ImGuiNavItemData}(x + 7956) - f === :NavMoveSubmitted && return Ptr{Bool}(x + 8008) - f === :NavMoveScoringItems && return Ptr{Bool}(x + 8009) - f === :NavMoveForwardToNextFrame && return Ptr{Bool}(x + 8010) - f === :NavMoveFlags && return Ptr{ImGuiNavMoveFlags}(x + 8012) - f === :NavMoveScrollFlags && return Ptr{ImGuiScrollFlags}(x + 8016) - f === :NavMoveKeyMods && return Ptr{ImGuiKeyChord}(x + 8020) - f === :NavMoveDir && return Ptr{ImGuiDir}(x + 8024) - f === :NavMoveDirForDebug && return Ptr{ImGuiDir}(x + 8028) - f === :NavMoveClipDir && return Ptr{ImGuiDir}(x + 8032) - f === :NavScoringRect && return Ptr{ImRect}(x + 8036) - f === :NavScoringNoClipRect && return Ptr{ImRect}(x + 8052) - f === :NavScoringDebugCount && return Ptr{Cint}(x + 8068) - f === :NavTabbingDir && return Ptr{Cint}(x + 8072) - f === :NavTabbingCounter && return Ptr{Cint}(x + 8076) - f === :NavMoveResultLocal && return Ptr{ImGuiNavItemData}(x + 8080) - f === :NavMoveResultLocalVisible && return Ptr{ImGuiNavItemData}(x + 8132) - f === :NavMoveResultOther && return Ptr{ImGuiNavItemData}(x + 8184) - f === :NavTabbingResultFirst && return Ptr{ImGuiNavItemData}(x + 8236) - f === :NavJustMovedFromFocusScopeId && return Ptr{ImGuiID}(x + 8288) - f === :NavJustMovedToId && return Ptr{ImGuiID}(x + 8292) - f === :NavJustMovedToFocusScopeId && return Ptr{ImGuiID}(x + 8296) - f === :NavJustMovedToKeyMods && return Ptr{ImGuiKeyChord}(x + 8300) - f === :NavJustMovedToIsTabbing && return Ptr{Bool}(x + 8304) - f === :NavJustMovedToHasSelectionData && return Ptr{Bool}(x + 8305) - f === :ConfigNavWindowingKeyNext && return Ptr{ImGuiKeyChord}(x + 8308) - f === :ConfigNavWindowingKeyPrev && return Ptr{ImGuiKeyChord}(x + 8312) - f === :NavWindowingTarget && return Ptr{Ptr{ImGuiWindow}}(x + 8316) - f === :NavWindowingTargetAnim && return Ptr{Ptr{ImGuiWindow}}(x + 8320) - f === :NavWindowingListWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8324) - f === :NavWindowingTimer && return Ptr{Cfloat}(x + 8328) - f === :NavWindowingHighlightAlpha && return Ptr{Cfloat}(x + 8332) - f === :NavWindowingToggleLayer && return Ptr{Bool}(x + 8336) - f === :NavWindowingToggleKey && return Ptr{ImGuiKey}(x + 8340) - f === :NavWindowingAccumDeltaPos && return Ptr{ImVec2}(x + 8344) - f === :NavWindowingAccumDeltaSize && return Ptr{ImVec2}(x + 8352) - f === :DimBgRatio && return Ptr{Cfloat}(x + 8360) - f === :DragDropActive && return Ptr{Bool}(x + 8364) - f === :DragDropWithinSource && return Ptr{Bool}(x + 8365) - f === :DragDropWithinTarget && return Ptr{Bool}(x + 8366) - f === :DragDropSourceFlags && return Ptr{ImGuiDragDropFlags}(x + 8368) - f === :DragDropSourceFrameCount && return Ptr{Cint}(x + 8372) - f === :DragDropMouseButton && return Ptr{Cint}(x + 8376) - f === :DragDropPayload && return Ptr{ImGuiPayload}(x + 8380) - f === :DragDropTargetRect && return Ptr{ImRect}(x + 8436) - f === :DragDropTargetClipRect && return Ptr{ImRect}(x + 8452) - f === :DragDropTargetId && return Ptr{ImGuiID}(x + 8468) - f === :DragDropAcceptFlags && return Ptr{ImGuiDragDropFlags}(x + 8472) - f === :DragDropAcceptIdCurrRectSurface && return Ptr{Cfloat}(x + 8476) - f === :DragDropAcceptIdCurr && return Ptr{ImGuiID}(x + 8480) - f === :DragDropAcceptIdPrev && return Ptr{ImGuiID}(x + 8484) - f === :DragDropAcceptFrameCount && return Ptr{Cint}(x + 8488) - f === :DragDropHoldJustPressedId && return Ptr{ImGuiID}(x + 8492) - f === :DragDropPayloadBufHeap && return Ptr{ImVector_unsigned_char}(x + 8496) - f === :DragDropPayloadBufLocal && return Ptr{NTuple{16, Cuchar}}(x + 8508) - f === :ClipperTempDataStacked && return Ptr{Cint}(x + 8524) - f === :ClipperTempData && return Ptr{ImVector_ImGuiListClipperData}(x + 8528) - f === :CurrentTable && return Ptr{Ptr{ImGuiTable}}(x + 8540) - f === :DebugBreakInTable && return Ptr{ImGuiID}(x + 8544) - f === :TablesTempDataStacked && return Ptr{Cint}(x + 8548) - f === :TablesTempData && return Ptr{ImVector_ImGuiTableTempData}(x + 8552) - f === :Tables && return Ptr{ImPool_ImGuiTable}(x + 8564) - f === :TablesLastTimeActive && return Ptr{ImVector_float}(x + 8596) - f === :DrawChannelsTempMergeBuffer && return Ptr{ImVector_ImDrawChannel}(x + 8608) - f === :CurrentTabBar && return Ptr{Ptr{ImGuiTabBar}}(x + 8620) - f === :TabBars && return Ptr{ImPool_ImGuiTabBar}(x + 8624) - f === :CurrentTabBarStack && return Ptr{ImVector_ImGuiPtrOrIndex}(x + 8656) - f === :ShrinkWidthBuffer && return Ptr{ImVector_ImGuiShrinkWidthItem}(x + 8668) - f === :BoxSelectState && return Ptr{ImGuiBoxSelectState}(x + 8680) - f === :CurrentMultiSelect && return Ptr{Ptr{ImGuiMultiSelectTempData}}(x + 8772) - f === :MultiSelectTempDataStacked && return Ptr{Cint}(x + 8776) - f === :MultiSelectTempData && return Ptr{ImVector_ImGuiMultiSelectTempData}(x + 8780) - f === :MultiSelectStorage && return Ptr{ImPool_ImGuiMultiSelectState}(x + 8792) - f === :HoverItemDelayId && return Ptr{ImGuiID}(x + 8824) - f === :HoverItemDelayIdPreviousFrame && return Ptr{ImGuiID}(x + 8828) - f === :HoverItemDelayTimer && return Ptr{Cfloat}(x + 8832) - f === :HoverItemDelayClearTimer && return Ptr{Cfloat}(x + 8836) - f === :HoverItemUnlockedStationaryId && return Ptr{ImGuiID}(x + 8840) - f === :HoverWindowUnlockedStationaryId && return Ptr{ImGuiID}(x + 8844) - f === :MouseCursor && return Ptr{ImGuiMouseCursor}(x + 8848) - f === :MouseStationaryTimer && return Ptr{Cfloat}(x + 8852) - f === :MouseLastValidPos && return Ptr{ImVec2}(x + 8856) - f === :InputTextState && return Ptr{ImGuiInputTextState}(x + 8864) - f === :InputTextDeactivatedState && return Ptr{ImGuiInputTextDeactivatedState}(x + 8952) - f === :InputTextPasswordFont && return Ptr{ImFont}(x + 8968) - f === :TempInputId && return Ptr{ImGuiID}(x + 9064) - f === :DataTypeZeroValue && return Ptr{ImGuiDataTypeStorage}(x + 9068) - f === :BeginMenuDepth && return Ptr{Cint}(x + 9076) - f === :BeginComboDepth && return Ptr{Cint}(x + 9080) - f === :ColorEditOptions && return Ptr{ImGuiColorEditFlags}(x + 9084) - f === :ColorEditCurrentID && return Ptr{ImGuiID}(x + 9088) - f === :ColorEditSavedID && return Ptr{ImGuiID}(x + 9092) - f === :ColorEditSavedHue && return Ptr{Cfloat}(x + 9096) - f === :ColorEditSavedSat && return Ptr{Cfloat}(x + 9100) - f === :ColorEditSavedColor && return Ptr{ImU32}(x + 9104) - f === :ColorPickerRef && return Ptr{ImVec4}(x + 9108) - f === :ComboPreviewData && return Ptr{ImGuiComboPreviewData}(x + 9124) - f === :WindowResizeBorderExpectedRect && return Ptr{ImRect}(x + 9172) - f === :WindowResizeRelativeMode && return Ptr{Bool}(x + 9188) - f === :ScrollbarSeekMode && return Ptr{Cshort}(x + 9190) - f === :ScrollbarClickDeltaToGrabCenter && return Ptr{Cfloat}(x + 9192) - f === :SliderGrabClickOffset && return Ptr{Cfloat}(x + 9196) - f === :SliderCurrentAccum && return Ptr{Cfloat}(x + 9200) - f === :SliderCurrentAccumDirty && return Ptr{Bool}(x + 9204) - f === :DragCurrentAccumDirty && return Ptr{Bool}(x + 9205) - f === :DragCurrentAccum && return Ptr{Cfloat}(x + 9208) - f === :DragSpeedDefaultRatio && return Ptr{Cfloat}(x + 9212) - f === :DisabledAlphaBackup && return Ptr{Cfloat}(x + 9216) - f === :DisabledStackSize && return Ptr{Cshort}(x + 9220) - f === :LockMarkEdited && return Ptr{Cshort}(x + 9222) - f === :TooltipOverrideCount && return Ptr{Cshort}(x + 9224) - f === :ClipboardHandlerData && return Ptr{ImVector_char}(x + 9228) - f === :MenusIdSubmittedThisFrame && return Ptr{ImVector_ImGuiID}(x + 9240) - f === :TypingSelectState && return Ptr{ImGuiTypingSelectState}(x + 9252) - f === :PlatformImeData && return Ptr{ImGuiPlatformImeData}(x + 9348) - f === :PlatformImeDataPrev && return Ptr{ImGuiPlatformImeData}(x + 9364) - f === :PlatformImeViewport && return Ptr{ImGuiID}(x + 9380) - f === :DockContext && return Ptr{ImGuiDockContext}(x + 9384) - f === :DockNodeWindowMenuHandler && return Ptr{Ptr{Cvoid}}(x + 9424) - f === :SettingsLoaded && return Ptr{Bool}(x + 9428) - f === :SettingsDirtyTimer && return Ptr{Cfloat}(x + 9432) - f === :SettingsIniData && return Ptr{ImGuiTextBuffer}(x + 9436) - f === :SettingsHandlers && return Ptr{ImVector_ImGuiSettingsHandler}(x + 9448) - f === :SettingsWindows && return Ptr{ImChunkStream_ImGuiWindowSettings}(x + 9460) - f === :SettingsTables && return Ptr{ImChunkStream_ImGuiTableSettings}(x + 9472) - f === :Hooks && return Ptr{ImVector_ImGuiContextHook}(x + 9484) - f === :HookIdNext && return Ptr{ImGuiID}(x + 9496) - f === :LocalizationTable && return Ptr{NTuple{13, Ptr{Cchar}}}(x + 9500) - f === :LogEnabled && return Ptr{Bool}(x + 9552) - f === :LogType && return Ptr{ImGuiLogType}(x + 9556) - f === :LogFile && return Ptr{ImFileHandle}(x + 9560) - f === :LogBuffer && return Ptr{ImGuiTextBuffer}(x + 9564) - f === :LogNextPrefix && return Ptr{Ptr{Cchar}}(x + 9576) - f === :LogNextSuffix && return Ptr{Ptr{Cchar}}(x + 9580) - f === :LogLinePosY && return Ptr{Cfloat}(x + 9584) - f === :LogLineFirstItem && return Ptr{Bool}(x + 9588) - f === :LogDepthRef && return Ptr{Cint}(x + 9592) - f === :LogDepthToExpand && return Ptr{Cint}(x + 9596) - f === :LogDepthToExpandDefault && return Ptr{Cint}(x + 9600) - f === :DebugLogFlags && return Ptr{ImGuiDebugLogFlags}(x + 9604) - f === :DebugLogBuf && return Ptr{ImGuiTextBuffer}(x + 9608) - f === :DebugLogIndex && return Ptr{ImGuiTextIndex}(x + 9620) - f === :DebugLogAutoDisableFlags && return Ptr{ImGuiDebugLogFlags}(x + 9636) - f === :DebugLogAutoDisableFrames && return Ptr{ImU8}(x + 9640) - f === :DebugLocateFrames && return Ptr{ImU8}(x + 9641) - f === :DebugBreakInLocateId && return Ptr{Bool}(x + 9642) - f === :DebugBreakKeyChord && return Ptr{ImGuiKeyChord}(x + 9644) - f === :DebugBeginReturnValueCullDepth && return Ptr{ImS8}(x + 9648) - f === :DebugItemPickerActive && return Ptr{Bool}(x + 9649) - f === :DebugItemPickerMouseButton && return Ptr{ImU8}(x + 9650) - f === :DebugItemPickerBreakId && return Ptr{ImGuiID}(x + 9652) - f === :DebugFlashStyleColorTime && return Ptr{Cfloat}(x + 9656) - f === :DebugFlashStyleColorBackup && return Ptr{ImVec4}(x + 9660) - f === :DebugMetricsConfig && return Ptr{ImGuiMetricsConfig}(x + 9676) - f === :DebugIDStackTool && return Ptr{ImGuiIDStackTool}(x + 9704) - f === :DebugAllocInfo && return Ptr{ImGuiDebugAllocInfo}(x + 9736) - f === :DebugHoveredDockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 9796) - f === :FramerateSecPerFrame && return Ptr{NTuple{60, Cfloat}}(x + 9800) - f === :FramerateSecPerFrameIdx && return Ptr{Cint}(x + 10040) - f === :FramerateSecPerFrameCount && return Ptr{Cint}(x + 10044) - f === :FramerateSecPerFrameAccum && return Ptr{Cfloat}(x + 10048) - f === :WantCaptureMouseNextFrame && return Ptr{Cint}(x + 10052) - f === :WantCaptureKeyboardNextFrame && return Ptr{Cint}(x + 10056) - f === :WantTextInputNextFrame && return Ptr{Cint}(x + 10060) - f === :TempBuffer && return Ptr{ImVector_char}(x + 10064) - f === :TempKeychordName && return Ptr{NTuple{64, Cchar}}(x + 10076) + f === :PlatformIO && return Ptr{ImGuiPlatformIO}(x + 2952) + f === :Style && return Ptr{ImGuiStyle}(x + 3108) + f === :ConfigFlagsCurrFrame && return Ptr{ImGuiConfigFlags}(x + 4300) + f === :ConfigFlagsLastFrame && return Ptr{ImGuiConfigFlags}(x + 4304) + f === :Font && return Ptr{Ptr{ImFont}}(x + 4308) + f === :FontSize && return Ptr{Cfloat}(x + 4312) + f === :FontBaseSize && return Ptr{Cfloat}(x + 4316) + f === :FontScale && return Ptr{Cfloat}(x + 4320) + f === :CurrentDpiScale && return Ptr{Cfloat}(x + 4324) + f === :DrawListSharedData && return Ptr{ImDrawListSharedData}(x + 4328) + f === :Time && return Ptr{Cdouble}(x + 4844) + f === :FrameCount && return Ptr{Cint}(x + 4852) + f === :FrameCountEnded && return Ptr{Cint}(x + 4856) + f === :FrameCountPlatformEnded && return Ptr{Cint}(x + 4860) + f === :FrameCountRendered && return Ptr{Cint}(x + 4864) + f === :WithinFrameScope && return Ptr{Bool}(x + 4868) + f === :WithinFrameScopeWithImplicitWindow && return Ptr{Bool}(x + 4869) + f === :WithinEndChild && return Ptr{Bool}(x + 4870) + f === :GcCompactAll && return Ptr{Bool}(x + 4871) + f === :TestEngineHookItems && return Ptr{Bool}(x + 4872) + f === :TestEngine && return Ptr{Ptr{Cvoid}}(x + 4876) + f === :ContextName && return Ptr{NTuple{16, Cchar}}(x + 4880) + f === :InputEventsQueue && return Ptr{ImVector_ImGuiInputEvent}(x + 4896) + f === :InputEventsTrail && return Ptr{ImVector_ImGuiInputEvent}(x + 4908) + f === :InputEventsNextMouseSource && return Ptr{ImGuiMouseSource}(x + 4920) + f === :InputEventsNextEventId && return Ptr{ImU32}(x + 4924) + f === :Windows && return Ptr{ImVector_ImGuiWindowPtr}(x + 4928) + f === :WindowsFocusOrder && return Ptr{ImVector_ImGuiWindowPtr}(x + 4940) + f === :WindowsTempSortBuffer && return Ptr{ImVector_ImGuiWindowPtr}(x + 4952) + f === :CurrentWindowStack && return Ptr{ImVector_ImGuiWindowStackData}(x + 4964) + f === :WindowsById && return Ptr{ImGuiStorage}(x + 4976) + f === :WindowsActiveCount && return Ptr{Cint}(x + 4988) + f === :WindowsHoverPadding && return Ptr{ImVec2}(x + 4992) + f === :DebugBreakInWindow && return Ptr{ImGuiID}(x + 5000) + f === :CurrentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5004) + f === :HoveredWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5008) + f === :HoveredWindowUnderMovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5012) + f === :HoveredWindowBeforeClear && return Ptr{Ptr{ImGuiWindow}}(x + 5016) + f === :MovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5020) + f === :WheelingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5024) + f === :WheelingWindowRefMousePos && return Ptr{ImVec2}(x + 5028) + f === :WheelingWindowStartFrame && return Ptr{Cint}(x + 5036) + f === :WheelingWindowScrolledFrame && return Ptr{Cint}(x + 5040) + f === :WheelingWindowReleaseTimer && return Ptr{Cfloat}(x + 5044) + f === :WheelingWindowWheelRemainder && return Ptr{ImVec2}(x + 5048) + f === :WheelingAxisAvg && return Ptr{ImVec2}(x + 5056) + f === :DebugDrawIdConflicts && return Ptr{ImGuiID}(x + 5064) + f === :DebugHookIdInfo && return Ptr{ImGuiID}(x + 5068) + f === :HoveredId && return Ptr{ImGuiID}(x + 5072) + f === :HoveredIdPreviousFrame && return Ptr{ImGuiID}(x + 5076) + f === :HoveredIdPreviousFrameItemCount && return Ptr{Cint}(x + 5080) + f === :HoveredIdTimer && return Ptr{Cfloat}(x + 5084) + f === :HoveredIdNotActiveTimer && return Ptr{Cfloat}(x + 5088) + f === :HoveredIdAllowOverlap && return Ptr{Bool}(x + 5092) + f === :HoveredIdIsDisabled && return Ptr{Bool}(x + 5093) + f === :ItemUnclipByLog && return Ptr{Bool}(x + 5094) + f === :ActiveId && return Ptr{ImGuiID}(x + 5096) + f === :ActiveIdIsAlive && return Ptr{ImGuiID}(x + 5100) + f === :ActiveIdTimer && return Ptr{Cfloat}(x + 5104) + f === :ActiveIdIsJustActivated && return Ptr{Bool}(x + 5108) + f === :ActiveIdAllowOverlap && return Ptr{Bool}(x + 5109) + f === :ActiveIdNoClearOnFocusLoss && return Ptr{Bool}(x + 5110) + f === :ActiveIdHasBeenPressedBefore && return Ptr{Bool}(x + 5111) + f === :ActiveIdHasBeenEditedBefore && return Ptr{Bool}(x + 5112) + f === :ActiveIdHasBeenEditedThisFrame && return Ptr{Bool}(x + 5113) + f === :ActiveIdFromShortcut && return Ptr{Bool}(x + 5114) + f === :ActiveIdMouseButton && return (Ptr{Cint}(x + 5112), 24, 8) + f === :ActiveIdClickOffset && return Ptr{ImVec2}(x + 5116) + f === :ActiveIdWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5124) + f === :ActiveIdSource && return Ptr{ImGuiInputSource}(x + 5128) + f === :ActiveIdPreviousFrame && return Ptr{ImGuiID}(x + 5132) + f === :ActiveIdPreviousFrameIsAlive && return Ptr{Bool}(x + 5136) + f === :ActiveIdPreviousFrameHasBeenEditedBefore && return Ptr{Bool}(x + 5137) + f === :ActiveIdPreviousFrameWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5140) + f === :LastActiveId && return Ptr{ImGuiID}(x + 5144) + f === :LastActiveIdTimer && return Ptr{Cfloat}(x + 5148) + f === :LastKeyModsChangeTime && return Ptr{Cdouble}(x + 5152) + f === :LastKeyModsChangeFromNoneTime && return Ptr{Cdouble}(x + 5160) + f === :LastKeyboardKeyPressTime && return Ptr{Cdouble}(x + 5168) + f === :KeysMayBeCharInput && return Ptr{ImBitArrayForNamedKeys}(x + 5176) + f === :KeysOwnerData && return Ptr{NTuple{154, ImGuiKeyOwnerData}}(x + 5196) + f === :KeysRoutingTable && return Ptr{ImGuiKeyRoutingTable}(x + 7044) + f === :ActiveIdUsingNavDirMask && return Ptr{ImU32}(x + 7376) + f === :ActiveIdUsingAllKeyboardKeys && return Ptr{Bool}(x + 7380) + f === :DebugBreakInShortcutRouting && return Ptr{ImGuiKeyChord}(x + 7384) + f === :CurrentFocusScopeId && return Ptr{ImGuiID}(x + 7388) + f === :CurrentItemFlags && return Ptr{ImGuiItemFlags}(x + 7392) + f === :DebugLocateId && return Ptr{ImGuiID}(x + 7396) + f === :NextItemData && return Ptr{ImGuiNextItemData}(x + 7400) + f === :LastItemData && return Ptr{ImGuiLastItemData}(x + 7448) + f === :NextWindowData && return Ptr{ImGuiNextWindowData}(x + 7528) + f === :DebugShowGroupRects && return Ptr{Bool}(x + 7676) + f === :DebugFlashStyleColorIdx && return Ptr{ImGuiCol}(x + 7680) + f === :ColorStack && return Ptr{ImVector_ImGuiColorMod}(x + 7684) + f === :StyleVarStack && return Ptr{ImVector_ImGuiStyleMod}(x + 7696) + f === :FontStack && return Ptr{ImVector_ImFontPtr}(x + 7708) + f === :FocusScopeStack && return Ptr{ImVector_ImGuiFocusScopeData}(x + 7720) + f === :ItemFlagsStack && return Ptr{ImVector_ImGuiItemFlags}(x + 7732) + f === :GroupStack && return Ptr{ImVector_ImGuiGroupData}(x + 7744) + f === :OpenPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 7756) + f === :BeginPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 7768) + f === :TreeNodeStack && return Ptr{ImVector_ImGuiTreeNodeStackData}(x + 7780) + f === :Viewports && return Ptr{ImVector_ImGuiViewportPPtr}(x + 7792) + f === :CurrentViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 7804) + f === :MouseViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 7808) + f === :MouseLastHoveredViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 7812) + f === :PlatformLastFocusedViewportId && return Ptr{ImGuiID}(x + 7816) + f === :FallbackMonitor && return Ptr{ImGuiPlatformMonitor}(x + 7820) + f === :PlatformMonitorsFullWorkRect && return Ptr{ImRect}(x + 7860) + f === :ViewportCreatedCount && return Ptr{Cint}(x + 7876) + f === :PlatformWindowsCreatedCount && return Ptr{Cint}(x + 7880) + f === :ViewportFocusedStampCount && return Ptr{Cint}(x + 7884) + f === :NavCursorVisible && return Ptr{Bool}(x + 7888) + f === :NavHighlightItemUnderNav && return Ptr{Bool}(x + 7889) + f === :NavMousePosDirty && return Ptr{Bool}(x + 7890) + f === :NavIdIsAlive && return Ptr{Bool}(x + 7891) + f === :NavId && return Ptr{ImGuiID}(x + 7892) + f === :NavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 7896) + f === :NavFocusScopeId && return Ptr{ImGuiID}(x + 7900) + f === :NavLayer && return Ptr{ImGuiNavLayer}(x + 7904) + f === :NavActivateId && return Ptr{ImGuiID}(x + 7908) + f === :NavActivateDownId && return Ptr{ImGuiID}(x + 7912) + f === :NavActivatePressedId && return Ptr{ImGuiID}(x + 7916) + f === :NavActivateFlags && return Ptr{ImGuiActivateFlags}(x + 7920) + f === :NavFocusRoute && return Ptr{ImVector_ImGuiFocusScopeData}(x + 7924) + f === :NavHighlightActivatedId && return Ptr{ImGuiID}(x + 7936) + f === :NavHighlightActivatedTimer && return Ptr{Cfloat}(x + 7940) + f === :NavNextActivateId && return Ptr{ImGuiID}(x + 7944) + f === :NavNextActivateFlags && return Ptr{ImGuiActivateFlags}(x + 7948) + f === :NavInputSource && return Ptr{ImGuiInputSource}(x + 7952) + f === :NavLastValidSelectionUserData && return Ptr{ImGuiSelectionUserData}(x + 7956) + f === :NavCursorHideFrames && return Ptr{ImS8}(x + 7964) + f === :NavAnyRequest && return Ptr{Bool}(x + 7965) + f === :NavInitRequest && return Ptr{Bool}(x + 7966) + f === :NavInitRequestFromMove && return Ptr{Bool}(x + 7967) + f === :NavInitResult && return Ptr{ImGuiNavItemData}(x + 7968) + f === :NavMoveSubmitted && return Ptr{Bool}(x + 8020) + f === :NavMoveScoringItems && return Ptr{Bool}(x + 8021) + f === :NavMoveForwardToNextFrame && return Ptr{Bool}(x + 8022) + f === :NavMoveFlags && return Ptr{ImGuiNavMoveFlags}(x + 8024) + f === :NavMoveScrollFlags && return Ptr{ImGuiScrollFlags}(x + 8028) + f === :NavMoveKeyMods && return Ptr{ImGuiKeyChord}(x + 8032) + f === :NavMoveDir && return Ptr{ImGuiDir}(x + 8036) + f === :NavMoveDirForDebug && return Ptr{ImGuiDir}(x + 8040) + f === :NavMoveClipDir && return Ptr{ImGuiDir}(x + 8044) + f === :NavScoringRect && return Ptr{ImRect}(x + 8048) + f === :NavScoringNoClipRect && return Ptr{ImRect}(x + 8064) + f === :NavScoringDebugCount && return Ptr{Cint}(x + 8080) + f === :NavTabbingDir && return Ptr{Cint}(x + 8084) + f === :NavTabbingCounter && return Ptr{Cint}(x + 8088) + f === :NavMoveResultLocal && return Ptr{ImGuiNavItemData}(x + 8092) + f === :NavMoveResultLocalVisible && return Ptr{ImGuiNavItemData}(x + 8144) + f === :NavMoveResultOther && return Ptr{ImGuiNavItemData}(x + 8196) + f === :NavTabbingResultFirst && return Ptr{ImGuiNavItemData}(x + 8248) + f === :NavJustMovedFromFocusScopeId && return Ptr{ImGuiID}(x + 8300) + f === :NavJustMovedToId && return Ptr{ImGuiID}(x + 8304) + f === :NavJustMovedToFocusScopeId && return Ptr{ImGuiID}(x + 8308) + f === :NavJustMovedToKeyMods && return Ptr{ImGuiKeyChord}(x + 8312) + f === :NavJustMovedToIsTabbing && return Ptr{Bool}(x + 8316) + f === :NavJustMovedToHasSelectionData && return Ptr{Bool}(x + 8317) + f === :ConfigNavWindowingKeyNext && return Ptr{ImGuiKeyChord}(x + 8320) + f === :ConfigNavWindowingKeyPrev && return Ptr{ImGuiKeyChord}(x + 8324) + f === :NavWindowingTarget && return Ptr{Ptr{ImGuiWindow}}(x + 8328) + f === :NavWindowingTargetAnim && return Ptr{Ptr{ImGuiWindow}}(x + 8332) + f === :NavWindowingListWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8336) + f === :NavWindowingTimer && return Ptr{Cfloat}(x + 8340) + f === :NavWindowingHighlightAlpha && return Ptr{Cfloat}(x + 8344) + f === :NavWindowingToggleLayer && return Ptr{Bool}(x + 8348) + f === :NavWindowingToggleKey && return Ptr{ImGuiKey}(x + 8352) + f === :NavWindowingAccumDeltaPos && return Ptr{ImVec2}(x + 8356) + f === :NavWindowingAccumDeltaSize && return Ptr{ImVec2}(x + 8364) + f === :DimBgRatio && return Ptr{Cfloat}(x + 8372) + f === :DragDropActive && return Ptr{Bool}(x + 8376) + f === :DragDropWithinSource && return Ptr{Bool}(x + 8377) + f === :DragDropWithinTarget && return Ptr{Bool}(x + 8378) + f === :DragDropSourceFlags && return Ptr{ImGuiDragDropFlags}(x + 8380) + f === :DragDropSourceFrameCount && return Ptr{Cint}(x + 8384) + f === :DragDropMouseButton && return Ptr{Cint}(x + 8388) + f === :DragDropPayload && return Ptr{ImGuiPayload}(x + 8392) + f === :DragDropTargetRect && return Ptr{ImRect}(x + 8448) + f === :DragDropTargetClipRect && return Ptr{ImRect}(x + 8464) + f === :DragDropTargetId && return Ptr{ImGuiID}(x + 8480) + f === :DragDropAcceptFlags && return Ptr{ImGuiDragDropFlags}(x + 8484) + f === :DragDropAcceptIdCurrRectSurface && return Ptr{Cfloat}(x + 8488) + f === :DragDropAcceptIdCurr && return Ptr{ImGuiID}(x + 8492) + f === :DragDropAcceptIdPrev && return Ptr{ImGuiID}(x + 8496) + f === :DragDropAcceptFrameCount && return Ptr{Cint}(x + 8500) + f === :DragDropHoldJustPressedId && return Ptr{ImGuiID}(x + 8504) + f === :DragDropPayloadBufHeap && return Ptr{ImVector_unsigned_char}(x + 8508) + f === :DragDropPayloadBufLocal && return Ptr{NTuple{16, Cuchar}}(x + 8520) + f === :ClipperTempDataStacked && return Ptr{Cint}(x + 8536) + f === :ClipperTempData && return Ptr{ImVector_ImGuiListClipperData}(x + 8540) + f === :CurrentTable && return Ptr{Ptr{ImGuiTable}}(x + 8552) + f === :DebugBreakInTable && return Ptr{ImGuiID}(x + 8556) + f === :TablesTempDataStacked && return Ptr{Cint}(x + 8560) + f === :TablesTempData && return Ptr{ImVector_ImGuiTableTempData}(x + 8564) + f === :Tables && return Ptr{ImPool_ImGuiTable}(x + 8576) + f === :TablesLastTimeActive && return Ptr{ImVector_float}(x + 8608) + f === :DrawChannelsTempMergeBuffer && return Ptr{ImVector_ImDrawChannel}(x + 8620) + f === :CurrentTabBar && return Ptr{Ptr{ImGuiTabBar}}(x + 8632) + f === :TabBars && return Ptr{ImPool_ImGuiTabBar}(x + 8636) + f === :CurrentTabBarStack && return Ptr{ImVector_ImGuiPtrOrIndex}(x + 8668) + f === :ShrinkWidthBuffer && return Ptr{ImVector_ImGuiShrinkWidthItem}(x + 8680) + f === :BoxSelectState && return Ptr{ImGuiBoxSelectState}(x + 8692) + f === :CurrentMultiSelect && return Ptr{Ptr{ImGuiMultiSelectTempData}}(x + 8784) + f === :MultiSelectTempDataStacked && return Ptr{Cint}(x + 8788) + f === :MultiSelectTempData && return Ptr{ImVector_ImGuiMultiSelectTempData}(x + 8792) + f === :MultiSelectStorage && return Ptr{ImPool_ImGuiMultiSelectState}(x + 8804) + f === :HoverItemDelayId && return Ptr{ImGuiID}(x + 8836) + f === :HoverItemDelayIdPreviousFrame && return Ptr{ImGuiID}(x + 8840) + f === :HoverItemDelayTimer && return Ptr{Cfloat}(x + 8844) + f === :HoverItemDelayClearTimer && return Ptr{Cfloat}(x + 8848) + f === :HoverItemUnlockedStationaryId && return Ptr{ImGuiID}(x + 8852) + f === :HoverWindowUnlockedStationaryId && return Ptr{ImGuiID}(x + 8856) + f === :MouseCursor && return Ptr{ImGuiMouseCursor}(x + 8860) + f === :MouseStationaryTimer && return Ptr{Cfloat}(x + 8864) + f === :MouseLastValidPos && return Ptr{ImVec2}(x + 8868) + f === :InputTextState && return Ptr{ImGuiInputTextState}(x + 8876) + f === :InputTextDeactivatedState && return Ptr{ImGuiInputTextDeactivatedState}(x + 8964) + f === :InputTextPasswordFont && return Ptr{ImFont}(x + 8980) + f === :TempInputId && return Ptr{ImGuiID}(x + 9076) + f === :DataTypeZeroValue && return Ptr{ImGuiDataTypeStorage}(x + 9080) + f === :BeginMenuDepth && return Ptr{Cint}(x + 9088) + f === :BeginComboDepth && return Ptr{Cint}(x + 9092) + f === :ColorEditOptions && return Ptr{ImGuiColorEditFlags}(x + 9096) + f === :ColorEditCurrentID && return Ptr{ImGuiID}(x + 9100) + f === :ColorEditSavedID && return Ptr{ImGuiID}(x + 9104) + f === :ColorEditSavedHue && return Ptr{Cfloat}(x + 9108) + f === :ColorEditSavedSat && return Ptr{Cfloat}(x + 9112) + f === :ColorEditSavedColor && return Ptr{ImU32}(x + 9116) + f === :ColorPickerRef && return Ptr{ImVec4}(x + 9120) + f === :ComboPreviewData && return Ptr{ImGuiComboPreviewData}(x + 9136) + f === :WindowResizeBorderExpectedRect && return Ptr{ImRect}(x + 9184) + f === :WindowResizeRelativeMode && return Ptr{Bool}(x + 9200) + f === :ScrollbarSeekMode && return Ptr{Cshort}(x + 9202) + f === :ScrollbarClickDeltaToGrabCenter && return Ptr{Cfloat}(x + 9204) + f === :SliderGrabClickOffset && return Ptr{Cfloat}(x + 9208) + f === :SliderCurrentAccum && return Ptr{Cfloat}(x + 9212) + f === :SliderCurrentAccumDirty && return Ptr{Bool}(x + 9216) + f === :DragCurrentAccumDirty && return Ptr{Bool}(x + 9217) + f === :DragCurrentAccum && return Ptr{Cfloat}(x + 9220) + f === :DragSpeedDefaultRatio && return Ptr{Cfloat}(x + 9224) + f === :DisabledAlphaBackup && return Ptr{Cfloat}(x + 9228) + f === :DisabledStackSize && return Ptr{Cshort}(x + 9232) + f === :TooltipOverrideCount && return Ptr{Cshort}(x + 9234) + f === :TooltipPreviousWindow && return Ptr{Ptr{ImGuiWindow}}(x + 9236) + f === :ClipboardHandlerData && return Ptr{ImVector_char}(x + 9240) + f === :MenusIdSubmittedThisFrame && return Ptr{ImVector_ImGuiID}(x + 9252) + f === :TypingSelectState && return Ptr{ImGuiTypingSelectState}(x + 9264) + f === :PlatformImeData && return Ptr{ImGuiPlatformImeData}(x + 9360) + f === :PlatformImeDataPrev && return Ptr{ImGuiPlatformImeData}(x + 9376) + f === :PlatformImeViewport && return Ptr{ImGuiID}(x + 9392) + f === :DockContext && return Ptr{ImGuiDockContext}(x + 9396) + f === :DockNodeWindowMenuHandler && return Ptr{Ptr{Cvoid}}(x + 9436) + f === :SettingsLoaded && return Ptr{Bool}(x + 9440) + f === :SettingsDirtyTimer && return Ptr{Cfloat}(x + 9444) + f === :SettingsIniData && return Ptr{ImGuiTextBuffer}(x + 9448) + f === :SettingsHandlers && return Ptr{ImVector_ImGuiSettingsHandler}(x + 9460) + f === :SettingsWindows && return Ptr{ImChunkStream_ImGuiWindowSettings}(x + 9472) + f === :SettingsTables && return Ptr{ImChunkStream_ImGuiTableSettings}(x + 9484) + f === :Hooks && return Ptr{ImVector_ImGuiContextHook}(x + 9496) + f === :HookIdNext && return Ptr{ImGuiID}(x + 9508) + f === :LocalizationTable && return Ptr{NTuple{13, Ptr{Cchar}}}(x + 9512) + f === :LogEnabled && return Ptr{Bool}(x + 9564) + f === :LogFlags && return Ptr{ImGuiLogFlags}(x + 9568) + f === :LogWindow && return Ptr{Ptr{ImGuiWindow}}(x + 9572) + f === :LogFile && return Ptr{ImFileHandle}(x + 9576) + f === :LogBuffer && return Ptr{ImGuiTextBuffer}(x + 9580) + f === :LogNextPrefix && return Ptr{Ptr{Cchar}}(x + 9592) + f === :LogNextSuffix && return Ptr{Ptr{Cchar}}(x + 9596) + f === :LogLinePosY && return Ptr{Cfloat}(x + 9600) + f === :LogLineFirstItem && return Ptr{Bool}(x + 9604) + f === :LogDepthRef && return Ptr{Cint}(x + 9608) + f === :LogDepthToExpand && return Ptr{Cint}(x + 9612) + f === :LogDepthToExpandDefault && return Ptr{Cint}(x + 9616) + f === :ErrorCallback && return Ptr{ImGuiErrorCallback}(x + 9620) + f === :ErrorCallbackUserData && return Ptr{Ptr{Cvoid}}(x + 9624) + f === :ErrorTooltipLockedPos && return Ptr{ImVec2}(x + 9628) + f === :ErrorFirst && return Ptr{Bool}(x + 9636) + f === :ErrorCountCurrentFrame && return Ptr{Cint}(x + 9640) + f === :StackSizesInNewFrame && return Ptr{ImGuiErrorRecoveryState}(x + 9644) + f === :StackSizesInBeginForCurrentWindow && return Ptr{Ptr{ImGuiErrorRecoveryState}}(x + 9668) + f === :DebugDrawIdConflictsCount && return Ptr{Cint}(x + 9672) + f === :DebugLogFlags && return Ptr{ImGuiDebugLogFlags}(x + 9676) + f === :DebugLogBuf && return Ptr{ImGuiTextBuffer}(x + 9680) + f === :DebugLogIndex && return Ptr{ImGuiTextIndex}(x + 9692) + f === :DebugLogSkippedErrors && return Ptr{Cint}(x + 9708) + f === :DebugLogAutoDisableFlags && return Ptr{ImGuiDebugLogFlags}(x + 9712) + f === :DebugLogAutoDisableFrames && return Ptr{ImU8}(x + 9716) + f === :DebugLocateFrames && return Ptr{ImU8}(x + 9717) + f === :DebugBreakInLocateId && return Ptr{Bool}(x + 9718) + f === :DebugBreakKeyChord && return Ptr{ImGuiKeyChord}(x + 9720) + f === :DebugBeginReturnValueCullDepth && return Ptr{ImS8}(x + 9724) + f === :DebugItemPickerActive && return Ptr{Bool}(x + 9725) + f === :DebugItemPickerMouseButton && return Ptr{ImU8}(x + 9726) + f === :DebugItemPickerBreakId && return Ptr{ImGuiID}(x + 9728) + f === :DebugFlashStyleColorTime && return Ptr{Cfloat}(x + 9732) + f === :DebugFlashStyleColorBackup && return Ptr{ImVec4}(x + 9736) + f === :DebugMetricsConfig && return Ptr{ImGuiMetricsConfig}(x + 9752) + f === :DebugIDStackTool && return Ptr{ImGuiIDStackTool}(x + 9780) + f === :DebugAllocInfo && return Ptr{ImGuiDebugAllocInfo}(x + 9812) + f === :DebugHoveredDockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 9872) + f === :FramerateSecPerFrame && return Ptr{NTuple{60, Cfloat}}(x + 9876) + f === :FramerateSecPerFrameIdx && return Ptr{Cint}(x + 10116) + f === :FramerateSecPerFrameCount && return Ptr{Cint}(x + 10120) + f === :FramerateSecPerFrameAccum && return Ptr{Cfloat}(x + 10124) + f === :WantCaptureMouseNextFrame && return Ptr{Cint}(x + 10128) + f === :WantCaptureKeyboardNextFrame && return Ptr{Cint}(x + 10132) + f === :WantTextInputNextFrame && return Ptr{Cint}(x + 10136) + f === :TempBuffer && return Ptr{ImVector_char}(x + 10140) + f === :TempKeychordName && return Ptr{NTuple{64, Cchar}}(x + 10152) return getfield(x, f) end @@ -3563,8 +3656,6 @@ struct ImVector_const_charPtr Data::Ptr{Ptr{Cchar}} end -const ImU64 = Culonglong - const ImGuiMouseButton = Cint const ImGuiTableBgTarget = Cint @@ -3669,12 +3760,13 @@ end ImGuiInputTextFlags_DisplayEmptyRefVal = 16384 ImGuiInputTextFlags_NoHorizontalScroll = 32768 ImGuiInputTextFlags_NoUndoRedo = 65536 - ImGuiInputTextFlags_CallbackCompletion = 131072 - ImGuiInputTextFlags_CallbackHistory = 262144 - ImGuiInputTextFlags_CallbackAlways = 524288 - ImGuiInputTextFlags_CallbackCharFilter = 1048576 - ImGuiInputTextFlags_CallbackResize = 2097152 - ImGuiInputTextFlags_CallbackEdit = 4194304 + ImGuiInputTextFlags_ElideLeft = 131072 + ImGuiInputTextFlags_CallbackCompletion = 262144 + ImGuiInputTextFlags_CallbackHistory = 524288 + ImGuiInputTextFlags_CallbackAlways = 1048576 + ImGuiInputTextFlags_CallbackCharFilter = 2097152 + ImGuiInputTextFlags_CallbackResize = 4194304 + ImGuiInputTextFlags_CallbackEdit = 8388608 end @cenum ImGuiTreeNodeFlags_::UInt32 begin @@ -3858,8 +3950,6 @@ end ImGuiConfigFlags_None = 0 ImGuiConfigFlags_NavEnableKeyboard = 1 ImGuiConfigFlags_NavEnableGamepad = 2 - ImGuiConfigFlags_NavEnableSetMousePos = 4 - ImGuiConfigFlags_NavNoCaptureKeyboard = 8 ImGuiConfigFlags_NoMouse = 16 ImGuiConfigFlags_NoMouseCursorChange = 32 ImGuiConfigFlags_NoKeyboard = 64 @@ -3937,7 +4027,7 @@ end ImGuiCol_TextLink = 51 ImGuiCol_TextSelectedBg = 52 ImGuiCol_DragDropTarget = 53 - ImGuiCol_NavHighlight = 54 + ImGuiCol_NavCursor = 54 ImGuiCol_NavWindowingHighlight = 55 ImGuiCol_NavWindowingDimBg = 56 ImGuiCol_ModalWindowDimBg = 57 @@ -3988,6 +4078,7 @@ end ImGuiButtonFlags_MouseButtonRight = 2 ImGuiButtonFlags_MouseButtonMiddle = 4 ImGuiButtonFlags_MouseButtonMask_ = 7 + ImGuiButtonFlags_EnableNav = 8 end @cenum ImGuiColorEditFlags_::UInt32 begin @@ -4024,11 +4115,13 @@ end @cenum ImGuiSliderFlags_::UInt32 begin ImGuiSliderFlags_None = 0 - ImGuiSliderFlags_AlwaysClamp = 16 ImGuiSliderFlags_Logarithmic = 32 ImGuiSliderFlags_NoRoundToFormat = 64 ImGuiSliderFlags_NoInput = 128 ImGuiSliderFlags_WrapAround = 256 + ImGuiSliderFlags_ClampOnInput = 512 + ImGuiSliderFlags_ClampZeroRange = 1024 + ImGuiSliderFlags_AlwaysClamp = 1536 ImGuiSliderFlags_InvalidMask_ = 1879048207 end @@ -4216,7 +4309,7 @@ end const ImGuiFocusRequestFlags = Cint -const ImGuiNavHighlightFlags = Cint +const ImGuiNavRenderCursorFlags = Cint const ImGuiSeparatorFlags = Cint @@ -4224,9 +4317,6 @@ const ImGuiTextFlags = Cint const ImGuiTooltipFlags = Cint -# typedef void ( * ImGuiErrorLogCallback ) ( void * user_data , const char * fmt , ... ) -const ImGuiErrorLogCallback = Ptr{Cvoid} - @cenum ImGuiDataTypePrivate_::UInt32 begin ImGuiDataType_String = 12 ImGuiDataType_Pointer = 13 @@ -4239,6 +4329,8 @@ end ImGuiItemFlags_MixedValue = 4096 ImGuiItemFlags_NoWindowHoverableCheck = 8192 ImGuiItemFlags_AllowOverlap = 16384 + ImGuiItemFlags_NoNavDisableMouseHover = 32768 + ImGuiItemFlags_NoMarkEdited = 65536 ImGuiItemFlags_Inputable = 1048576 ImGuiItemFlags_HasSelectionUserData = 2097152 ImGuiItemFlags_IsMultiSelect = 4194304 @@ -4268,9 +4360,8 @@ end @cenum ImGuiInputTextFlagsPrivate_::UInt32 begin ImGuiInputTextFlags_Multiline = 67108864 - ImGuiInputTextFlags_NoMarkEdited = 134217728 - ImGuiInputTextFlags_MergedItem = 268435456 - ImGuiInputTextFlags_LocalizeDecimalPoint = 536870912 + ImGuiInputTextFlags_MergedItem = 134217728 + ImGuiInputTextFlags_LocalizeDecimalPoint = 268435456 end @cenum ImGuiButtonFlagsPrivate_::UInt32 begin @@ -4280,12 +4371,10 @@ end ImGuiButtonFlags_PressedOnRelease = 128 ImGuiButtonFlags_PressedOnDoubleClick = 256 ImGuiButtonFlags_PressedOnDragDropHold = 512 - ImGuiButtonFlags_Repeat = 1024 ImGuiButtonFlags_FlattenChildren = 2048 ImGuiButtonFlags_AllowOverlap = 4096 - ImGuiButtonFlags_DontClosePopups = 8192 ImGuiButtonFlags_AlignTextBaseLine = 32768 - ImGuiButtonFlags_NoKeyModifiers = 65536 + ImGuiButtonFlags_NoKeyModsAllowed = 65536 ImGuiButtonFlags_NoHoldingActiveId = 131072 ImGuiButtonFlags_NoNavFocus = 262144 ImGuiButtonFlags_NoHoveredOnFocus = 524288 @@ -4349,6 +4438,15 @@ end ImGuiLayoutType_Vertical = 1 end +@cenum ImGuiLogFlags_::UInt32 begin + ImGuiLogFlags_None = 0 + ImGuiLogFlags_OutputTTY = 1 + ImGuiLogFlags_OutputFile = 2 + ImGuiLogFlags_OutputBuffer = 4 + ImGuiLogFlags_OutputClipboard = 8 + ImGuiLogFlags_OutputMask_ = 15 +end + @cenum ImGuiPlotType::UInt32 begin ImGuiPlotType_Lines = 0 ImGuiPlotType_Histogram = 1 @@ -4478,11 +4576,11 @@ end ImGuiScrollFlags_MaskY_ = 42 end -@cenum ImGuiNavHighlightFlags_::UInt32 begin - ImGuiNavHighlightFlags_None = 0 - ImGuiNavHighlightFlags_Compact = 2 - ImGuiNavHighlightFlags_AlwaysDraw = 4 - ImGuiNavHighlightFlags_NoRounding = 8 +@cenum ImGuiNavRenderCursorFlags_::UInt32 begin + ImGuiNavRenderCursorFlags_None = 0 + ImGuiNavRenderCursorFlags_Compact = 2 + ImGuiNavRenderCursorFlags_AlwaysDraw = 4 + ImGuiNavRenderCursorFlags_NoRounding = 8 end @cenum ImGuiNavMoveFlags_::UInt32 begin @@ -4502,7 +4600,7 @@ end ImGuiNavMoveFlags_IsPageMove = 2048 ImGuiNavMoveFlags_Activate = 4096 ImGuiNavMoveFlags_NoSelect = 8192 - ImGuiNavMoveFlags_NoSetNavHighlight = 16384 + ImGuiNavMoveFlags_NoSetNavCursorVisible = 16384 ImGuiNavMoveFlags_NoClearActiveId = 32768 end @@ -4562,17 +4660,19 @@ end @cenum ImGuiDebugLogFlags_::UInt32 begin ImGuiDebugLogFlags_None = 0 - ImGuiDebugLogFlags_EventActiveId = 1 - ImGuiDebugLogFlags_EventFocus = 2 - ImGuiDebugLogFlags_EventPopup = 4 - ImGuiDebugLogFlags_EventNav = 8 - ImGuiDebugLogFlags_EventClipper = 16 - ImGuiDebugLogFlags_EventSelection = 32 - ImGuiDebugLogFlags_EventIO = 64 - ImGuiDebugLogFlags_EventInputRouting = 128 - ImGuiDebugLogFlags_EventDocking = 256 - ImGuiDebugLogFlags_EventViewport = 512 - ImGuiDebugLogFlags_EventMask_ = 1023 + ImGuiDebugLogFlags_EventError = 1 + ImGuiDebugLogFlags_EventActiveId = 2 + ImGuiDebugLogFlags_EventFocus = 4 + ImGuiDebugLogFlags_EventPopup = 8 + ImGuiDebugLogFlags_EventNav = 16 + ImGuiDebugLogFlags_EventClipper = 32 + ImGuiDebugLogFlags_EventSelection = 64 + ImGuiDebugLogFlags_EventIO = 128 + ImGuiDebugLogFlags_EventFont = 256 + ImGuiDebugLogFlags_EventInputRouting = 512 + ImGuiDebugLogFlags_EventDocking = 1024 + ImGuiDebugLogFlags_EventViewport = 2048 + ImGuiDebugLogFlags_EventMask_ = 4095 ImGuiDebugLogFlags_OutputToTTY = 1048576 ImGuiDebugLogFlags_OutputToTestEngine = 2097152 end @@ -5937,6 +6037,10 @@ function igSetKeyboardFocusHere(offset) ccall((:igSetKeyboardFocusHere, libcimgui), Cvoid, (Cint,), offset) end +function igSetNavCursorVisible(visible) + ccall((:igSetNavCursorVisible, libcimgui), Cvoid, (Bool,), visible) +end + function igSetNextItemAllowOverlap() ccall((:igSetNextItemAllowOverlap, libcimgui), Cvoid, ()) end @@ -6922,8 +7026,8 @@ function ImDrawList_PathRect(self, rect_min, rect_max, rounding, flags) ccall((:ImDrawList_PathRect, libcimgui), Cvoid, (Ptr{ImDrawList}, ImVec2, ImVec2, Cfloat, ImDrawFlags), self, rect_min, rect_max, rounding, flags) end -function ImDrawList_AddCallback(self, callback, callback_data) - ccall((:ImDrawList_AddCallback, libcimgui), Cvoid, (Ptr{ImDrawList}, ImDrawCallback, Ptr{Cvoid}), self, callback, callback_data) +function ImDrawList_AddCallback(self, callback, userdata, userdata_size) + ccall((:ImDrawList_AddCallback, libcimgui), Cvoid, (Ptr{ImDrawList}, ImDrawCallback, Ptr{Cvoid}, Csize_t), self, callback, userdata, userdata_size) end function ImDrawList_AddDrawCmd(self) @@ -8092,20 +8196,12 @@ function ImGuiLastItemData_destroy(self) ccall((:ImGuiLastItemData_destroy, libcimgui), Cvoid, (Ptr{ImGuiLastItemData},), self) end -function ImGuiStackSizes_ImGuiStackSizes() - ccall((:ImGuiStackSizes_ImGuiStackSizes, libcimgui), Ptr{ImGuiStackSizes}, ()) +function ImGuiErrorRecoveryState_ImGuiErrorRecoveryState() + ccall((:ImGuiErrorRecoveryState_ImGuiErrorRecoveryState, libcimgui), Ptr{ImGuiErrorRecoveryState}, ()) end -function ImGuiStackSizes_destroy(self) - ccall((:ImGuiStackSizes_destroy, libcimgui), Cvoid, (Ptr{ImGuiStackSizes},), self) -end - -function ImGuiStackSizes_SetToContextState(self, ctx) - ccall((:ImGuiStackSizes_SetToContextState, libcimgui), Cvoid, (Ptr{ImGuiStackSizes}, Ptr{ImGuiContext}), self, ctx) -end - -function ImGuiStackSizes_CompareWithContextState(self, ctx) - ccall((:ImGuiStackSizes_CompareWithContextState, libcimgui), Cvoid, (Ptr{ImGuiStackSizes}, Ptr{ImGuiContext}), self, ctx) +function ImGuiErrorRecoveryState_destroy(self) + ccall((:ImGuiErrorRecoveryState_destroy, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), self) end function ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr(ptr) @@ -8528,6 +8624,14 @@ function ImGuiTableSettings_GetColumnSettings(self) ccall((:ImGuiTableSettings_GetColumnSettings, libcimgui), Ptr{ImGuiTableColumnSettings}, (Ptr{ImGuiTableSettings},), self) end +function igGetIOEx(ctx) + ccall((:igGetIOEx, libcimgui), Ptr{ImGuiIO}, (Ptr{ImGuiContext},), ctx) +end + +function igGetPlatformIOEx(ctx) + ccall((:igGetPlatformIOEx, libcimgui), Ptr{ImGuiPlatformIO}, (Ptr{ImGuiContext},), ctx) +end + function igGetCurrentWindowRead() ccall((:igGetCurrentWindowRead, libcimgui), Ptr{ImGuiWindow}, ()) end @@ -8932,8 +9036,8 @@ function igEndDisabledOverrideReenable() ccall((:igEndDisabledOverrideReenable, libcimgui), Cvoid, ()) end -function igLogBegin(type, auto_open_depth) - ccall((:igLogBegin, libcimgui), Cvoid, (ImGuiLogType, Cint), type, auto_open_depth) +function igLogBegin(flags, auto_open_depth) + ccall((:igLogBegin, libcimgui), Cvoid, (ImGuiLogFlags, Cint), flags, auto_open_depth) end function igLogToBuffer(auto_open_depth) @@ -9080,8 +9184,8 @@ function igNavClearPreferredPosForAxis(axis) ccall((:igNavClearPreferredPosForAxis, libcimgui), Cvoid, (ImGuiAxis,), axis) end -function igNavRestoreHighlightAfterMove() - ccall((:igNavRestoreHighlightAfterMove, libcimgui), Cvoid, ()) +function igSetNavCursorVisibleAfterMove() + ccall((:igSetNavCursorVisibleAfterMove, libcimgui), Cvoid, ()) end function igNavUpdateCurrentWindowIsScrollPushableX() @@ -9800,8 +9904,12 @@ function igTabBarCloseTab(tab_bar, tab) ccall((:igTabBarCloseTab, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) end -function igTabBarQueueFocus(tab_bar, tab) - ccall((:igTabBarQueueFocus, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) +function igTabBarQueueFocus_TabItemPtr(tab_bar, tab) + ccall((:igTabBarQueueFocus_TabItemPtr, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) +end + +function igTabBarQueueFocus_Str(tab_bar, tab_name) + ccall((:igTabBarQueueFocus_Str, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{Cchar}), tab_bar, tab_name) end function igTabBarQueueReorder(tab_bar, tab, offset) @@ -9868,8 +9976,8 @@ function igRenderColorRectWithAlphaCheckerboard(draw_list, p_min, p_max, fill_co ccall((:igRenderColorRectWithAlphaCheckerboard, libcimgui), Cvoid, (Ptr{ImDrawList}, ImVec2, ImVec2, ImU32, Cfloat, ImVec2, Cfloat, ImDrawFlags), draw_list, p_min, p_max, fill_col, grid_step, grid_off, rounding, flags) end -function igRenderNavHighlight(bb, id, flags) - ccall((:igRenderNavHighlight, libcimgui), Cvoid, (ImRect, ImGuiID, ImGuiNavHighlightFlags), bb, id, flags) +function igRenderNavCursor(bb, id, flags) + ccall((:igRenderNavCursor, libcimgui), Cvoid, (ImRect, ImGuiID, ImGuiNavRenderCursorFlags), bb, id, flags) end function igFindRenderedTextEnd(text, text_end) @@ -9924,8 +10032,8 @@ function igArrowButtonEx(str_id, dir, size_arg, flags) ccall((:igArrowButtonEx, libcimgui), Bool, (Ptr{Cchar}, ImGuiDir, ImVec2, ImGuiButtonFlags), str_id, dir, size_arg, flags) end -function igImageButtonEx(id, texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) - ccall((:igImageButtonEx, libcimgui), Bool, (ImGuiID, ImTextureID, ImVec2, ImVec2, ImVec2, ImVec4, ImVec4, ImGuiButtonFlags), id, texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) +function igImageButtonEx(id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) + ccall((:igImageButtonEx, libcimgui), Bool, (ImGuiID, ImTextureID, ImVec2, ImVec2, ImVec2, ImVec4, ImVec4, ImGuiButtonFlags), id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) end function igSeparatorEx(flags, thickness) @@ -9956,8 +10064,8 @@ function igScrollbar(axis) ccall((:igScrollbar, libcimgui), Cvoid, (ImGuiAxis,), axis) end -function igScrollbarEx(bb, id, axis, p_scroll_v, avail_v, contents_v, flags) - ccall((:igScrollbarEx, libcimgui), Bool, (ImRect, ImGuiID, ImGuiAxis, Ptr{ImS64}, ImS64, ImS64, ImDrawFlags), bb, id, axis, p_scroll_v, avail_v, contents_v, flags) +function igScrollbarEx(bb, id, axis, p_scroll_v, avail_v, contents_v, draw_rounding_flags) + ccall((:igScrollbarEx, libcimgui), Bool, (ImRect, ImGuiID, ImGuiAxis, Ptr{ImS64}, ImS64, ImS64, ImDrawFlags), bb, id, axis, p_scroll_v, avail_v, contents_v, draw_rounding_flags) end function igGetWindowScrollbarRect(pOut, window, axis) @@ -10036,6 +10144,10 @@ function igDataTypeClamp(data_type, p_data, p_min, p_max) ccall((:igDataTypeClamp, libcimgui), Bool, (ImGuiDataType, Ptr{Cvoid}, Ptr{Cvoid}, Ptr{Cvoid}), data_type, p_data, p_min, p_max) end +function igDataTypeIsZero(data_type, p_data) + ccall((:igDataTypeIsZero, libcimgui), Bool, (ImGuiDataType, Ptr{Cvoid}), data_type, p_data) +end + function igInputTextEx(label, hint, buf, buf_size, size_arg, flags, callback, user_data) ccall((:igInputTextEx, libcimgui), Bool, (Ptr{Cchar}, Ptr{Cchar}, Ptr{Cchar}, Cint, ImVec2, ImGuiInputTextFlags, ImGuiInputTextCallback, Ptr{Cvoid}), label, hint, buf, buf_size, size_arg, flags, callback, user_data) end @@ -10104,22 +10216,42 @@ function igGcAwakeTransientWindowBuffers(window) ccall((:igGcAwakeTransientWindowBuffers, libcimgui), Cvoid, (Ptr{ImGuiWindow},), window) end -function igDebugAllocHook(info, frame_count, ptr, size) - ccall((:igDebugAllocHook, libcimgui), Cvoid, (Ptr{ImGuiDebugAllocInfo}, Cint, Ptr{Cvoid}, Csize_t), info, frame_count, ptr, size) +function igErrorLog(msg) + ccall((:igErrorLog, libcimgui), Bool, (Ptr{Cchar},), msg) +end + +function igErrorRecoveryStoreState(state_out) + ccall((:igErrorRecoveryStoreState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_out) end -function igErrorCheckEndFrameRecover(log_callback, user_data) - ccall((:igErrorCheckEndFrameRecover, libcimgui), Cvoid, (ImGuiErrorLogCallback, Ptr{Cvoid}), log_callback, user_data) +function igErrorRecoveryTryToRecoverState(state_in) + ccall((:igErrorRecoveryTryToRecoverState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_in) end -function igErrorCheckEndWindowRecover(log_callback, user_data) - ccall((:igErrorCheckEndWindowRecover, libcimgui), Cvoid, (ImGuiErrorLogCallback, Ptr{Cvoid}), log_callback, user_data) +function igErrorRecoveryTryToRecoverWindowState(state_in) + ccall((:igErrorRecoveryTryToRecoverWindowState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_in) end function igErrorCheckUsingSetCursorPosToExtendParentBoundaries() ccall((:igErrorCheckUsingSetCursorPosToExtendParentBoundaries, libcimgui), Cvoid, ()) end +function igErrorCheckEndFrameFinalizeErrorTooltip() + ccall((:igErrorCheckEndFrameFinalizeErrorTooltip, libcimgui), Cvoid, ()) +end + +function igBeginErrorTooltip() + ccall((:igBeginErrorTooltip, libcimgui), Bool, ()) +end + +function igEndErrorTooltip() + ccall((:igEndErrorTooltip, libcimgui), Cvoid, ()) +end + +function igDebugAllocHook(info, frame_count, ptr, size) + ccall((:igDebugAllocHook, libcimgui), Cvoid, (Ptr{ImGuiDebugAllocInfo}, Cint, Ptr{Cvoid}, Csize_t), info, frame_count, ptr, size) +end + function igDebugDrawCursorPos(col) ccall((:igDebugDrawCursorPos, libcimgui), Cvoid, (ImU32,), col) end @@ -10823,11 +10955,29 @@ struct ImVector_ImU64 Data::Ptr{ImU64} end -struct ImVector_ImU8 +struct var"##Ctag#235" Size::Cint Capacity::Cint Data::Ptr{ImU8} end +function Base.getproperty(x::Ptr{var"##Ctag#235"}, f::Symbol) + f === :Size && return Ptr{Cint}(x + 0) + f === :Capacity && return Ptr{Cint}(x + 0) + f === :Data && return Ptr{Ptr{ImU8}}(x + 0) + return getfield(x, f) +end + +function Base.getproperty(x::var"##Ctag#235", f::Symbol) + r = Ref{var"##Ctag#235"}(x) + ptr = Base.unsafe_convert(Ptr{var"##Ctag#235"}, r) + fptr = getproperty(ptr, f) + GC.@preserve r unsafe_load(fptr) +end + +function Base.setproperty!(x::Ptr{var"##Ctag#235"}, f::Symbol, v) + unsafe_store!(getproperty(x, f), v) +end + const ImPlotDragToolFlags = Cint @@ -14830,6 +14980,8 @@ function ImGui_ImplOpenGL3_DestroyDeviceObjects() ccall((:ImGui_ImplOpenGL3_DestroyDeviceObjects, libcimgui), Cvoid, ()) end +const IM_UNICODE_CODEPOINT_MAX = 65535 + const IMGUI_HAS_DOCK = 1 const ImDrawCallback_ResetRenderState = ImDrawCallback(-8) diff --git a/lib/i686-linux-musl.jl b/lib/i686-linux-musl.jl index 84a8b7b..fd59f85 100644 --- a/lib/i686-linux-musl.jl +++ b/lib/i686-linux-musl.jl @@ -43,7 +43,9 @@ function Base.setproperty!(x::Ptr{ImVec4}, f::Symbol, v) end -const ImTextureID = Ptr{Cvoid} +const ImU64 = Culonglong + +const ImTextureID = ImU64 struct ImDrawCmd ClipRect::ImVec4 @@ -53,15 +55,19 @@ struct ImDrawCmd ElemCount::Cuint UserCallback::ImDrawCallback UserCallbackData::Ptr{Cvoid} + UserCallbackDataSize::Cint + UserCallbackDataOffset::Cint end function Base.getproperty(x::Ptr{ImDrawCmd}, f::Symbol) f === :ClipRect && return Ptr{ImVec4}(x + 0) f === :TextureId && return Ptr{ImTextureID}(x + 16) - f === :VtxOffset && return Ptr{Cuint}(x + 20) - f === :IdxOffset && return Ptr{Cuint}(x + 24) - f === :ElemCount && return Ptr{Cuint}(x + 28) - f === :UserCallback && return Ptr{ImDrawCallback}(x + 32) - f === :UserCallbackData && return Ptr{Ptr{Cvoid}}(x + 36) + f === :VtxOffset && return Ptr{Cuint}(x + 24) + f === :IdxOffset && return Ptr{Cuint}(x + 28) + f === :ElemCount && return Ptr{Cuint}(x + 32) + f === :UserCallback && return Ptr{ImDrawCallback}(x + 36) + f === :UserCallbackData && return Ptr{Ptr{Cvoid}}(x + 40) + f === :UserCallbackDataSize && return Ptr{Cint}(x + 44) + f === :UserCallbackDataOffset && return Ptr{Cint}(x + 48) return getfield(x, f) end @@ -219,21 +225,65 @@ function Base.getproperty(x::ImVector_ImFontPtr, f::Symbol) end struct ImFontAtlasCustomRect - Width::Cushort - Height::Cushort - X::Cushort - Y::Cushort - GlyphID::Cuint - GlyphAdvanceX::Cfloat - GlyphOffset::ImVec2 - Font::Ptr{Cvoid} # Font::Ptr{ImFont} + data::NTuple{28, UInt8} end -function Base.getproperty(x::ImFontAtlasCustomRect, f::Symbol) - f === :Font && return Ptr{ImFont}(getfield(x, f)) +function Base.getproperty(x::Ptr{ImFontAtlasCustomRect}, f::Symbol) + f === :X && return Ptr{Cushort}(x + 0) + f === :Y && return Ptr{Cushort}(x + 2) + f === :Width && return Ptr{Cushort}(x + 4) + f === :Height && return Ptr{Cushort}(x + 6) + f === :GlyphID && return (Ptr{Cuint}(x + 8), 0, 31) + f === :GlyphColored && return (Ptr{Cuint}(x + 8), 31, 1) + f === :GlyphAdvanceX && return Ptr{Cfloat}(x + 12) + f === :GlyphOffset && return Ptr{ImVec2}(x + 16) + f === :Font && return Ptr{Ptr{ImFont}}(x + 24) return getfield(x, f) end +function Base.getproperty(x::ImFontAtlasCustomRect, f::Symbol) + r = Ref{ImFontAtlasCustomRect}(x) + ptr = Base.unsafe_convert(Ptr{ImFontAtlasCustomRect}, r) + fptr = getproperty(ptr, f) + begin + if fptr isa Ptr + return GC.@preserve(r, unsafe_load(fptr)) + else + (baseptr, offset, width) = fptr + ty = eltype(baseptr) + baseptr32 = convert(Ptr{UInt32}, baseptr) + u64 = GC.@preserve(r, unsafe_load(baseptr32)) + if offset + width > 32 + u64 |= GC.@preserve(r, unsafe_load(baseptr32 + 4)) << 32 + end + u64 = u64 >> offset & (1 << width - 1) + return u64 % ty + end + end +end + +function Base.setproperty!(x::Ptr{ImFontAtlasCustomRect}, f::Symbol, v) + fptr = getproperty(x, f) + if fptr isa Ptr + unsafe_store!(getproperty(x, f), v) + else + (baseptr, offset, width) = fptr + baseptr32 = convert(Ptr{UInt32}, baseptr) + u64 = unsafe_load(baseptr32) + straddle = offset + width > 32 + if straddle + u64 |= unsafe_load(baseptr32 + 4) << 32 + end + mask = 1 << width - 1 + u64 &= ~(mask << offset) + u64 |= (unsigned(v) & mask) << offset + unsafe_store!(baseptr32, u64 & typemax(UInt32)) + if straddle + unsafe_store!(baseptr32 + 4, u64 >> 32) + end + end +end + struct ImVector_ImFontAtlasCustomRect Size::Cint Capacity::Cint @@ -333,26 +383,26 @@ end function Base.getproperty(x::Ptr{ImFontAtlas}, f::Symbol) f === :Flags && return Ptr{ImFontAtlasFlags}(x + 0) f === :TexID && return Ptr{ImTextureID}(x + 4) - f === :TexDesiredWidth && return Ptr{Cint}(x + 8) - f === :TexGlyphPadding && return Ptr{Cint}(x + 12) - f === :Locked && return Ptr{Bool}(x + 16) - f === :UserData && return Ptr{Ptr{Cvoid}}(x + 20) - f === :TexReady && return Ptr{Bool}(x + 24) - f === :TexPixelsUseColors && return Ptr{Bool}(x + 25) - f === :TexPixelsAlpha8 && return Ptr{Ptr{Cuchar}}(x + 28) - f === :TexPixelsRGBA32 && return Ptr{Ptr{Cuint}}(x + 32) - f === :TexWidth && return Ptr{Cint}(x + 36) - f === :TexHeight && return Ptr{Cint}(x + 40) - f === :TexUvScale && return Ptr{ImVec2}(x + 44) - f === :TexUvWhitePixel && return Ptr{ImVec2}(x + 52) - f === :Fonts && return Ptr{ImVector_ImFontPtr}(x + 60) - f === :CustomRects && return Ptr{ImVector_ImFontAtlasCustomRect}(x + 72) - f === :ConfigData && return Ptr{ImVector_ImFontConfig}(x + 84) - f === :TexUvLines && return Ptr{NTuple{64, ImVec4}}(x + 96) - f === :FontBuilderIO && return Ptr{Ptr{ImFontBuilderIO}}(x + 1120) - f === :FontBuilderFlags && return Ptr{Cuint}(x + 1124) - f === :PackIdMouseCursors && return Ptr{Cint}(x + 1128) - f === :PackIdLines && return Ptr{Cint}(x + 1132) + f === :TexDesiredWidth && return Ptr{Cint}(x + 12) + f === :TexGlyphPadding && return Ptr{Cint}(x + 16) + f === :Locked && return Ptr{Bool}(x + 20) + f === :UserData && return Ptr{Ptr{Cvoid}}(x + 24) + f === :TexReady && return Ptr{Bool}(x + 28) + f === :TexPixelsUseColors && return Ptr{Bool}(x + 29) + f === :TexPixelsAlpha8 && return Ptr{Ptr{Cuchar}}(x + 32) + f === :TexPixelsRGBA32 && return Ptr{Ptr{Cuint}}(x + 36) + f === :TexWidth && return Ptr{Cint}(x + 40) + f === :TexHeight && return Ptr{Cint}(x + 44) + f === :TexUvScale && return Ptr{ImVec2}(x + 48) + f === :TexUvWhitePixel && return Ptr{ImVec2}(x + 56) + f === :Fonts && return Ptr{ImVector_ImFontPtr}(x + 64) + f === :CustomRects && return Ptr{ImVector_ImFontAtlasCustomRect}(x + 76) + f === :ConfigData && return Ptr{ImVector_ImFontConfig}(x + 88) + f === :TexUvLines && return Ptr{NTuple{64, ImVec4}}(x + 100) + f === :FontBuilderIO && return Ptr{Ptr{ImFontBuilderIO}}(x + 1124) + f === :FontBuilderFlags && return Ptr{Cuint}(x + 1128) + f === :PackIdMouseCursors && return Ptr{Cint}(x + 1132) + f === :PackIdLines && return Ptr{Cint}(x + 1136) return getfield(x, f) end @@ -373,9 +423,9 @@ struct ImFont ContainerAtlas::Ptr{ImFontAtlas} ConfigData::Ptr{ImFontConfig} ConfigDataCount::Cshort - FallbackChar::ImWchar - EllipsisChar::ImWchar EllipsisCharCount::Cshort + EllipsisChar::ImWchar + FallbackChar::ImWchar EllipsisWidth::Cfloat EllipsisCharStep::Cfloat DirtyLookupTables::Bool @@ -394,6 +444,7 @@ end struct ImDrawListSharedData TexUvWhitePixel::ImVec2 + TexUvLines::Ptr{ImVec4} Font::Ptr{ImFont} FontSize::Cfloat FontScale::Cfloat @@ -405,7 +456,6 @@ struct ImDrawListSharedData ArcFastVtx::NTuple{48, ImVec2} ArcFastRadiusCutoff::Cfloat CircleSegmentCounts::NTuple{64, ImU8} - TexUvLines::Ptr{ImVec4} end struct ImDrawCmdHeader @@ -438,6 +488,12 @@ struct ImVector_ImTextureID Data::Ptr{ImTextureID} end +struct ImVector_ImU8 + Size::Cint + Capacity::Cint + Data::Ptr{ImU8} +end + struct ImDrawList CmdBuffer::ImVector_ImDrawCmd IdxBuffer::ImVector_ImDrawIdx @@ -452,6 +508,7 @@ struct ImDrawList _Splitter::ImDrawListSplitter _ClipRectStack::ImVector_ImVec4 _TextureIdStack::ImVector_ImTextureID + _CallbacksDataBuf::ImVector_ImU8 _FringeScale::Cfloat _OwnerName::Ptr{Cchar} end @@ -466,11 +523,12 @@ function Base.getproperty(x::Ptr{ImDrawList}, f::Symbol) f === :_IdxWritePtr && return Ptr{Ptr{ImDrawIdx}}(x + 52) f === :_Path && return Ptr{ImVector_ImVec2}(x + 56) f === :_CmdHeader && return Ptr{ImDrawCmdHeader}(x + 68) - f === :_Splitter && return Ptr{ImDrawListSplitter}(x + 92) - f === :_ClipRectStack && return Ptr{ImVector_ImVec4}(x + 112) - f === :_TextureIdStack && return Ptr{ImVector_ImTextureID}(x + 124) - f === :_FringeScale && return Ptr{Cfloat}(x + 136) - f === :_OwnerName && return Ptr{Ptr{Cchar}}(x + 140) + f === :_Splitter && return Ptr{ImDrawListSplitter}(x + 96) + f === :_ClipRectStack && return Ptr{ImVector_ImVec4}(x + 116) + f === :_TextureIdStack && return Ptr{ImVector_ImTextureID}(x + 128) + f === :_CallbacksDataBuf && return Ptr{ImVector_ImU8}(x + 140) + f === :_FringeScale && return Ptr{Cfloat}(x + 152) + f === :_OwnerName && return Ptr{Ptr{Cchar}}(x + 156) return getfield(x, f) end @@ -604,8 +662,6 @@ end const ImU16 = Cushort -const ImS8 = Int8 - struct ImGuiIO ConfigFlags::ImGuiConfigFlags BackendFlags::ImGuiBackendFlags @@ -620,6 +676,13 @@ struct ImGuiIO FontAllowUserScaling::Bool FontDefault::Ptr{ImFont} DisplayFramebufferScale::ImVec2 + ConfigNavSwapGamepadButtons::Bool + ConfigNavMoveSetMousePos::Bool + ConfigNavCaptureKeyboard::Bool + ConfigNavEscapeClearFocusItem::Bool + ConfigNavEscapeClearFocusWindow::Bool + ConfigNavCursorVisibleAuto::Bool + ConfigNavCursorVisibleAlways::Bool ConfigDockingNoSplit::Bool ConfigDockingWithShift::Bool ConfigDockingAlwaysTabBar::Bool @@ -630,19 +693,24 @@ struct ImGuiIO ConfigViewportsNoDefaultParent::Bool MouseDrawCursor::Bool ConfigMacOSXBehaviors::Bool - ConfigNavSwapGamepadButtons::Bool ConfigInputTrickleEventQueue::Bool ConfigInputTextCursorBlink::Bool ConfigInputTextEnterKeepActive::Bool ConfigDragClickToInputText::Bool ConfigWindowsResizeFromEdges::Bool ConfigWindowsMoveFromTitleBarOnly::Bool + ConfigWindowsCopyContentsWithCtrlC::Bool + ConfigScrollbarScrollByPage::Bool ConfigMemoryCompactTimer::Cfloat MouseDoubleClickTime::Cfloat MouseDoubleClickMaxDist::Cfloat MouseDragThreshold::Cfloat KeyRepeatDelay::Cfloat KeyRepeatRate::Cfloat + ConfigErrorRecovery::Bool + ConfigErrorRecoveryEnableAssert::Bool + ConfigErrorRecoveryEnableDebugLog::Bool + ConfigErrorRecoveryEnableTooltip::Bool ConfigDebugIsDebuggerPresent::Bool ConfigDebugHighlightIdConflicts::Bool ConfigDebugBeginReturnValueOnce::Bool @@ -700,8 +768,6 @@ struct ImGuiIO PenPressure::Cfloat AppFocusLost::Bool AppAcceptingEvents::Bool - BackendUsingLegacyKeyArrays::ImS8 - BackendUsingLegacyNavInputArray::Bool InputQueueSurrogate::ImWchar16 InputQueueCharacters::ImVector_ImWchar end @@ -725,90 +791,100 @@ function Base.getproperty(x::Ptr{ImGuiIO}, f::Symbol) f === :FontAllowUserScaling && return Ptr{Bool}(x + 44) f === :FontDefault && return Ptr{Ptr{ImFont}}(x + 48) f === :DisplayFramebufferScale && return Ptr{ImVec2}(x + 52) - f === :ConfigDockingNoSplit && return Ptr{Bool}(x + 60) - f === :ConfigDockingWithShift && return Ptr{Bool}(x + 61) - f === :ConfigDockingAlwaysTabBar && return Ptr{Bool}(x + 62) - f === :ConfigDockingTransparentPayload && return Ptr{Bool}(x + 63) - f === :ConfigViewportsNoAutoMerge && return Ptr{Bool}(x + 64) - f === :ConfigViewportsNoTaskBarIcon && return Ptr{Bool}(x + 65) - f === :ConfigViewportsNoDecoration && return Ptr{Bool}(x + 66) - f === :ConfigViewportsNoDefaultParent && return Ptr{Bool}(x + 67) - f === :MouseDrawCursor && return Ptr{Bool}(x + 68) - f === :ConfigMacOSXBehaviors && return Ptr{Bool}(x + 69) - f === :ConfigNavSwapGamepadButtons && return Ptr{Bool}(x + 70) - f === :ConfigInputTrickleEventQueue && return Ptr{Bool}(x + 71) - f === :ConfigInputTextCursorBlink && return Ptr{Bool}(x + 72) - f === :ConfigInputTextEnterKeepActive && return Ptr{Bool}(x + 73) - f === :ConfigDragClickToInputText && return Ptr{Bool}(x + 74) - f === :ConfigWindowsResizeFromEdges && return Ptr{Bool}(x + 75) - f === :ConfigWindowsMoveFromTitleBarOnly && return Ptr{Bool}(x + 76) - f === :ConfigMemoryCompactTimer && return Ptr{Cfloat}(x + 80) - f === :MouseDoubleClickTime && return Ptr{Cfloat}(x + 84) - f === :MouseDoubleClickMaxDist && return Ptr{Cfloat}(x + 88) - f === :MouseDragThreshold && return Ptr{Cfloat}(x + 92) - f === :KeyRepeatDelay && return Ptr{Cfloat}(x + 96) - f === :KeyRepeatRate && return Ptr{Cfloat}(x + 100) - f === :ConfigDebugIsDebuggerPresent && return Ptr{Bool}(x + 104) - f === :ConfigDebugHighlightIdConflicts && return Ptr{Bool}(x + 105) - f === :ConfigDebugBeginReturnValueOnce && return Ptr{Bool}(x + 106) - f === :ConfigDebugBeginReturnValueLoop && return Ptr{Bool}(x + 107) - f === :ConfigDebugIgnoreFocusLoss && return Ptr{Bool}(x + 108) - f === :ConfigDebugIniSettings && return Ptr{Bool}(x + 109) - f === :BackendPlatformName && return Ptr{Ptr{Cchar}}(x + 112) - f === :BackendRendererName && return Ptr{Ptr{Cchar}}(x + 116) - f === :BackendPlatformUserData && return Ptr{Ptr{Cvoid}}(x + 120) - f === :BackendRendererUserData && return Ptr{Ptr{Cvoid}}(x + 124) - f === :BackendLanguageUserData && return Ptr{Ptr{Cvoid}}(x + 128) - f === :WantCaptureMouse && return Ptr{Bool}(x + 132) - f === :WantCaptureKeyboard && return Ptr{Bool}(x + 133) - f === :WantTextInput && return Ptr{Bool}(x + 134) - f === :WantSetMousePos && return Ptr{Bool}(x + 135) - f === :WantSaveIniSettings && return Ptr{Bool}(x + 136) - f === :NavActive && return Ptr{Bool}(x + 137) - f === :NavVisible && return Ptr{Bool}(x + 138) - f === :Framerate && return Ptr{Cfloat}(x + 140) - f === :MetricsRenderVertices && return Ptr{Cint}(x + 144) - f === :MetricsRenderIndices && return Ptr{Cint}(x + 148) - f === :MetricsRenderWindows && return Ptr{Cint}(x + 152) - f === :MetricsActiveWindows && return Ptr{Cint}(x + 156) - f === :MouseDelta && return Ptr{ImVec2}(x + 160) - f === :Ctx && return Ptr{Ptr{ImGuiContext}}(x + 168) - f === :MousePos && return Ptr{ImVec2}(x + 172) - f === :MouseDown && return Ptr{NTuple{5, Bool}}(x + 180) - f === :MouseWheel && return Ptr{Cfloat}(x + 188) - f === :MouseWheelH && return Ptr{Cfloat}(x + 192) - f === :MouseSource && return Ptr{ImGuiMouseSource}(x + 196) - f === :MouseHoveredViewport && return Ptr{ImGuiID}(x + 200) - f === :KeyCtrl && return Ptr{Bool}(x + 204) - f === :KeyShift && return Ptr{Bool}(x + 205) - f === :KeyAlt && return Ptr{Bool}(x + 206) - f === :KeySuper && return Ptr{Bool}(x + 207) - f === :KeyMods && return Ptr{ImGuiKeyChord}(x + 208) - f === :KeysData && return Ptr{NTuple{154, ImGuiKeyData}}(x + 212) - f === :WantCaptureMouseUnlessPopupClose && return Ptr{Bool}(x + 2676) - f === :MousePosPrev && return Ptr{ImVec2}(x + 2680) - f === :MouseClickedPos && return Ptr{NTuple{5, ImVec2}}(x + 2688) - f === :MouseClickedTime && return Ptr{NTuple{5, Cdouble}}(x + 2728) - f === :MouseClicked && return Ptr{NTuple{5, Bool}}(x + 2768) - f === :MouseDoubleClicked && return Ptr{NTuple{5, Bool}}(x + 2773) - f === :MouseClickedCount && return Ptr{NTuple{5, ImU16}}(x + 2778) - f === :MouseClickedLastCount && return Ptr{NTuple{5, ImU16}}(x + 2788) - f === :MouseReleased && return Ptr{NTuple{5, Bool}}(x + 2798) - f === :MouseDownOwned && return Ptr{NTuple{5, Bool}}(x + 2803) - f === :MouseDownOwnedUnlessPopupClose && return Ptr{NTuple{5, Bool}}(x + 2808) - f === :MouseWheelRequestAxisSwap && return Ptr{Bool}(x + 2813) - f === :MouseCtrlLeftAsRightClick && return Ptr{Bool}(x + 2814) - f === :MouseDownDuration && return Ptr{NTuple{5, Cfloat}}(x + 2816) - f === :MouseDownDurationPrev && return Ptr{NTuple{5, Cfloat}}(x + 2836) - f === :MouseDragMaxDistanceAbs && return Ptr{NTuple{5, ImVec2}}(x + 2856) - f === :MouseDragMaxDistanceSqr && return Ptr{NTuple{5, Cfloat}}(x + 2896) - f === :PenPressure && return Ptr{Cfloat}(x + 2916) - f === :AppFocusLost && return Ptr{Bool}(x + 2920) - f === :AppAcceptingEvents && return Ptr{Bool}(x + 2921) - f === :BackendUsingLegacyKeyArrays && return Ptr{ImS8}(x + 2922) - f === :BackendUsingLegacyNavInputArray && return Ptr{Bool}(x + 2923) - f === :InputQueueSurrogate && return Ptr{ImWchar16}(x + 2924) - f === :InputQueueCharacters && return Ptr{ImVector_ImWchar}(x + 2928) + f === :ConfigNavSwapGamepadButtons && return Ptr{Bool}(x + 60) + f === :ConfigNavMoveSetMousePos && return Ptr{Bool}(x + 61) + f === :ConfigNavCaptureKeyboard && return Ptr{Bool}(x + 62) + f === :ConfigNavEscapeClearFocusItem && return Ptr{Bool}(x + 63) + f === :ConfigNavEscapeClearFocusWindow && return Ptr{Bool}(x + 64) + f === :ConfigNavCursorVisibleAuto && return Ptr{Bool}(x + 65) + f === :ConfigNavCursorVisibleAlways && return Ptr{Bool}(x + 66) + f === :ConfigDockingNoSplit && return Ptr{Bool}(x + 67) + f === :ConfigDockingWithShift && return Ptr{Bool}(x + 68) + f === :ConfigDockingAlwaysTabBar && return Ptr{Bool}(x + 69) + f === :ConfigDockingTransparentPayload && return Ptr{Bool}(x + 70) + f === :ConfigViewportsNoAutoMerge && return Ptr{Bool}(x + 71) + f === :ConfigViewportsNoTaskBarIcon && return Ptr{Bool}(x + 72) + f === :ConfigViewportsNoDecoration && return Ptr{Bool}(x + 73) + f === :ConfigViewportsNoDefaultParent && return Ptr{Bool}(x + 74) + f === :MouseDrawCursor && return Ptr{Bool}(x + 75) + f === :ConfigMacOSXBehaviors && return Ptr{Bool}(x + 76) + f === :ConfigInputTrickleEventQueue && return Ptr{Bool}(x + 77) + f === :ConfigInputTextCursorBlink && return Ptr{Bool}(x + 78) + f === :ConfigInputTextEnterKeepActive && return Ptr{Bool}(x + 79) + f === :ConfigDragClickToInputText && return Ptr{Bool}(x + 80) + f === :ConfigWindowsResizeFromEdges && return Ptr{Bool}(x + 81) + f === :ConfigWindowsMoveFromTitleBarOnly && return Ptr{Bool}(x + 82) + f === :ConfigWindowsCopyContentsWithCtrlC && return Ptr{Bool}(x + 83) + f === :ConfigScrollbarScrollByPage && return Ptr{Bool}(x + 84) + f === :ConfigMemoryCompactTimer && return Ptr{Cfloat}(x + 88) + f === :MouseDoubleClickTime && return Ptr{Cfloat}(x + 92) + f === :MouseDoubleClickMaxDist && return Ptr{Cfloat}(x + 96) + f === :MouseDragThreshold && return Ptr{Cfloat}(x + 100) + f === :KeyRepeatDelay && return Ptr{Cfloat}(x + 104) + f === :KeyRepeatRate && return Ptr{Cfloat}(x + 108) + f === :ConfigErrorRecovery && return Ptr{Bool}(x + 112) + f === :ConfigErrorRecoveryEnableAssert && return Ptr{Bool}(x + 113) + f === :ConfigErrorRecoveryEnableDebugLog && return Ptr{Bool}(x + 114) + f === :ConfigErrorRecoveryEnableTooltip && return Ptr{Bool}(x + 115) + f === :ConfigDebugIsDebuggerPresent && return Ptr{Bool}(x + 116) + f === :ConfigDebugHighlightIdConflicts && return Ptr{Bool}(x + 117) + f === :ConfigDebugBeginReturnValueOnce && return Ptr{Bool}(x + 118) + f === :ConfigDebugBeginReturnValueLoop && return Ptr{Bool}(x + 119) + f === :ConfigDebugIgnoreFocusLoss && return Ptr{Bool}(x + 120) + f === :ConfigDebugIniSettings && return Ptr{Bool}(x + 121) + f === :BackendPlatformName && return Ptr{Ptr{Cchar}}(x + 124) + f === :BackendRendererName && return Ptr{Ptr{Cchar}}(x + 128) + f === :BackendPlatformUserData && return Ptr{Ptr{Cvoid}}(x + 132) + f === :BackendRendererUserData && return Ptr{Ptr{Cvoid}}(x + 136) + f === :BackendLanguageUserData && return Ptr{Ptr{Cvoid}}(x + 140) + f === :WantCaptureMouse && return Ptr{Bool}(x + 144) + f === :WantCaptureKeyboard && return Ptr{Bool}(x + 145) + f === :WantTextInput && return Ptr{Bool}(x + 146) + f === :WantSetMousePos && return Ptr{Bool}(x + 147) + f === :WantSaveIniSettings && return Ptr{Bool}(x + 148) + f === :NavActive && return Ptr{Bool}(x + 149) + f === :NavVisible && return Ptr{Bool}(x + 150) + f === :Framerate && return Ptr{Cfloat}(x + 152) + f === :MetricsRenderVertices && return Ptr{Cint}(x + 156) + f === :MetricsRenderIndices && return Ptr{Cint}(x + 160) + f === :MetricsRenderWindows && return Ptr{Cint}(x + 164) + f === :MetricsActiveWindows && return Ptr{Cint}(x + 168) + f === :MouseDelta && return Ptr{ImVec2}(x + 172) + f === :Ctx && return Ptr{Ptr{ImGuiContext}}(x + 180) + f === :MousePos && return Ptr{ImVec2}(x + 184) + f === :MouseDown && return Ptr{NTuple{5, Bool}}(x + 192) + f === :MouseWheel && return Ptr{Cfloat}(x + 200) + f === :MouseWheelH && return Ptr{Cfloat}(x + 204) + f === :MouseSource && return Ptr{ImGuiMouseSource}(x + 208) + f === :MouseHoveredViewport && return Ptr{ImGuiID}(x + 212) + f === :KeyCtrl && return Ptr{Bool}(x + 216) + f === :KeyShift && return Ptr{Bool}(x + 217) + f === :KeyAlt && return Ptr{Bool}(x + 218) + f === :KeySuper && return Ptr{Bool}(x + 219) + f === :KeyMods && return Ptr{ImGuiKeyChord}(x + 220) + f === :KeysData && return Ptr{NTuple{154, ImGuiKeyData}}(x + 224) + f === :WantCaptureMouseUnlessPopupClose && return Ptr{Bool}(x + 2688) + f === :MousePosPrev && return Ptr{ImVec2}(x + 2692) + f === :MouseClickedPos && return Ptr{NTuple{5, ImVec2}}(x + 2700) + f === :MouseClickedTime && return Ptr{NTuple{5, Cdouble}}(x + 2740) + f === :MouseClicked && return Ptr{NTuple{5, Bool}}(x + 2780) + f === :MouseDoubleClicked && return Ptr{NTuple{5, Bool}}(x + 2785) + f === :MouseClickedCount && return Ptr{NTuple{5, ImU16}}(x + 2790) + f === :MouseClickedLastCount && return Ptr{NTuple{5, ImU16}}(x + 2800) + f === :MouseReleased && return Ptr{NTuple{5, Bool}}(x + 2810) + f === :MouseDownOwned && return Ptr{NTuple{5, Bool}}(x + 2815) + f === :MouseDownOwnedUnlessPopupClose && return Ptr{NTuple{5, Bool}}(x + 2820) + f === :MouseWheelRequestAxisSwap && return Ptr{Bool}(x + 2825) + f === :MouseCtrlLeftAsRightClick && return Ptr{Bool}(x + 2826) + f === :MouseDownDuration && return Ptr{NTuple{5, Cfloat}}(x + 2828) + f === :MouseDownDurationPrev && return Ptr{NTuple{5, Cfloat}}(x + 2848) + f === :MouseDragMaxDistanceAbs && return Ptr{NTuple{5, ImVec2}}(x + 2868) + f === :MouseDragMaxDistanceSqr && return Ptr{NTuple{5, Cfloat}}(x + 2908) + f === :PenPressure && return Ptr{Cfloat}(x + 2928) + f === :AppFocusLost && return Ptr{Bool}(x + 2932) + f === :AppAcceptingEvents && return Ptr{Bool}(x + 2933) + f === :InputQueueSurrogate && return Ptr{ImWchar16}(x + 2934) + f === :InputQueueCharacters && return Ptr{ImVector_ImWchar}(x + 2936) return getfield(x, f) end @@ -860,6 +936,7 @@ struct ImGuiPlatformIO Platform_SetImeDataFn::Ptr{Cvoid} Platform_ImeUserData::Ptr{Cvoid} Platform_LocaleDecimalPoint::ImWchar + Renderer_RenderState::Ptr{Cvoid} Platform_CreateWindow::Ptr{Cvoid} Platform_DestroyWindow::Ptr{Cvoid} Platform_ShowWindow::Ptr{Cvoid} @@ -896,32 +973,33 @@ function Base.getproperty(x::Ptr{ImGuiPlatformIO}, f::Symbol) f === :Platform_SetImeDataFn && return Ptr{Ptr{Cvoid}}(x + 20) f === :Platform_ImeUserData && return Ptr{Ptr{Cvoid}}(x + 24) f === :Platform_LocaleDecimalPoint && return Ptr{ImWchar}(x + 28) - f === :Platform_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 32) - f === :Platform_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 36) - f === :Platform_ShowWindow && return Ptr{Ptr{Cvoid}}(x + 40) - f === :Platform_SetWindowPos && return Ptr{Ptr{Cvoid}}(x + 44) - f === :Platform_GetWindowPos && return Ptr{Ptr{Cvoid}}(x + 48) - f === :Platform_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 52) - f === :Platform_GetWindowSize && return Ptr{Ptr{Cvoid}}(x + 56) - f === :Platform_SetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 60) - f === :Platform_GetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 64) - f === :Platform_GetWindowMinimized && return Ptr{Ptr{Cvoid}}(x + 68) - f === :Platform_SetWindowTitle && return Ptr{Ptr{Cvoid}}(x + 72) - f === :Platform_SetWindowAlpha && return Ptr{Ptr{Cvoid}}(x + 76) - f === :Platform_UpdateWindow && return Ptr{Ptr{Cvoid}}(x + 80) - f === :Platform_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 84) - f === :Platform_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 88) - f === :Platform_GetWindowDpiScale && return Ptr{Ptr{Cvoid}}(x + 92) - f === :Platform_OnChangedViewport && return Ptr{Ptr{Cvoid}}(x + 96) - f === :Platform_GetWindowWorkAreaInsets && return Ptr{Ptr{Cvoid}}(x + 100) - f === :Platform_CreateVkSurface && return Ptr{Ptr{Cvoid}}(x + 104) - f === :Renderer_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 108) - f === :Renderer_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 112) - f === :Renderer_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 116) - f === :Renderer_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 120) - f === :Renderer_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 124) - f === :Monitors && return Ptr{ImVector_ImGuiPlatformMonitor}(x + 128) - f === :Viewports && return Ptr{ImVector_ImGuiViewportPtr}(x + 140) + f === :Renderer_RenderState && return Ptr{Ptr{Cvoid}}(x + 32) + f === :Platform_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 36) + f === :Platform_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 40) + f === :Platform_ShowWindow && return Ptr{Ptr{Cvoid}}(x + 44) + f === :Platform_SetWindowPos && return Ptr{Ptr{Cvoid}}(x + 48) + f === :Platform_GetWindowPos && return Ptr{Ptr{Cvoid}}(x + 52) + f === :Platform_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 56) + f === :Platform_GetWindowSize && return Ptr{Ptr{Cvoid}}(x + 60) + f === :Platform_SetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 64) + f === :Platform_GetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 68) + f === :Platform_GetWindowMinimized && return Ptr{Ptr{Cvoid}}(x + 72) + f === :Platform_SetWindowTitle && return Ptr{Ptr{Cvoid}}(x + 76) + f === :Platform_SetWindowAlpha && return Ptr{Ptr{Cvoid}}(x + 80) + f === :Platform_UpdateWindow && return Ptr{Ptr{Cvoid}}(x + 84) + f === :Platform_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 88) + f === :Platform_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 92) + f === :Platform_GetWindowDpiScale && return Ptr{Ptr{Cvoid}}(x + 96) + f === :Platform_OnChangedViewport && return Ptr{Ptr{Cvoid}}(x + 100) + f === :Platform_GetWindowWorkAreaInsets && return Ptr{Ptr{Cvoid}}(x + 104) + f === :Platform_CreateVkSurface && return Ptr{Ptr{Cvoid}}(x + 108) + f === :Renderer_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 112) + f === :Renderer_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 116) + f === :Renderer_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 120) + f === :Renderer_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 124) + f === :Renderer_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 128) + f === :Monitors && return Ptr{ImVector_ImGuiPlatformMonitor}(x + 132) + f === :Viewports && return Ptr{ImVector_ImGuiViewportPtr}(x + 144) return getfield(x, f) end @@ -1183,6 +1261,8 @@ function Base.getproperty(x::ImGuiViewportP, f::Symbol) return getfield(x, f) end +const ImS8 = Int8 + const ImGuiCond = Cint struct ImVector_ImGuiID @@ -1393,6 +1473,7 @@ struct ImGuiTextBuffer end struct ImGuiTabBar + Window::Ptr{Cvoid} # Window::Ptr{ImGuiWindow} Tabs::ImVector_ImGuiTabItem Flags::ImGuiTabBarFlags ID::ImGuiID @@ -1428,6 +1509,11 @@ struct ImGuiTabBar TabsNames::ImGuiTextBuffer end +function Base.getproperty(x::ImGuiTabBar, f::Symbol) + f === :Window && return Ptr{ImGuiWindow}(getfield(x, f)) + return getfield(x, f) +end + @cenum ImGuiAxis::Int32 begin ImGuiAxis_None = -1 ImGuiAxis_X = 0 @@ -1532,7 +1618,7 @@ end const ImGuiItemStatusFlags = Cint struct ImGuiWindow - data::NTuple{1016, UInt8} + data::NTuple{1032, UInt8} end function Base.getproperty(x::Ptr{ImGuiWindow}, f::Symbol) @@ -1633,33 +1719,33 @@ function Base.getproperty(x::Ptr{ImGuiWindow}, f::Symbol) f === :SettingsOffset && return Ptr{Cint}(x + 692) f === :DrawList && return Ptr{Ptr{ImDrawList}}(x + 696) f === :DrawListInst && return Ptr{ImDrawList}(x + 700) - f === :ParentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 844) - f === :ParentWindowInBeginStack && return Ptr{Ptr{ImGuiWindow}}(x + 848) - f === :RootWindow && return Ptr{Ptr{ImGuiWindow}}(x + 852) - f === :RootWindowPopupTree && return Ptr{Ptr{ImGuiWindow}}(x + 856) - f === :RootWindowDockTree && return Ptr{Ptr{ImGuiWindow}}(x + 860) - f === :RootWindowForTitleBarHighlight && return Ptr{Ptr{ImGuiWindow}}(x + 864) - f === :RootWindowForNav && return Ptr{Ptr{ImGuiWindow}}(x + 868) - f === :ParentWindowForFocusRoute && return Ptr{Ptr{ImGuiWindow}}(x + 872) - f === :NavLastChildNavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 876) - f === :NavLastIds && return Ptr{NTuple{2, ImGuiID}}(x + 880) - f === :NavRectRel && return Ptr{NTuple{2, ImRect}}(x + 888) - f === :NavPreferredScoringPosRel && return Ptr{NTuple{2, ImVec2}}(x + 920) - f === :NavRootFocusScopeId && return Ptr{ImGuiID}(x + 936) - f === :MemoryDrawListIdxCapacity && return Ptr{Cint}(x + 940) - f === :MemoryDrawListVtxCapacity && return Ptr{Cint}(x + 944) - f === :MemoryCompacted && return Ptr{Bool}(x + 948) - f === :DockIsActive && return (Ptr{Bool}(x + 948), 8, 1) - f === :DockNodeIsVisible && return (Ptr{Bool}(x + 948), 9, 1) - f === :DockTabIsVisible && return (Ptr{Bool}(x + 948), 10, 1) - f === :DockTabWantClose && return (Ptr{Bool}(x + 948), 11, 1) - f === :DockOrder && return Ptr{Cshort}(x + 950) - f === :DockStyle && return Ptr{ImGuiWindowDockStyle}(x + 952) - f === :DockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 984) - f === :DockNodeAsHost && return Ptr{Ptr{ImGuiDockNode}}(x + 988) - f === :DockId && return Ptr{ImGuiID}(x + 992) - f === :DockTabItemStatusFlags && return Ptr{ImGuiItemStatusFlags}(x + 996) - f === :DockTabItemRect && return Ptr{ImRect}(x + 1000) + f === :ParentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 860) + f === :ParentWindowInBeginStack && return Ptr{Ptr{ImGuiWindow}}(x + 864) + f === :RootWindow && return Ptr{Ptr{ImGuiWindow}}(x + 868) + f === :RootWindowPopupTree && return Ptr{Ptr{ImGuiWindow}}(x + 872) + f === :RootWindowDockTree && return Ptr{Ptr{ImGuiWindow}}(x + 876) + f === :RootWindowForTitleBarHighlight && return Ptr{Ptr{ImGuiWindow}}(x + 880) + f === :RootWindowForNav && return Ptr{Ptr{ImGuiWindow}}(x + 884) + f === :ParentWindowForFocusRoute && return Ptr{Ptr{ImGuiWindow}}(x + 888) + f === :NavLastChildNavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 892) + f === :NavLastIds && return Ptr{NTuple{2, ImGuiID}}(x + 896) + f === :NavRectRel && return Ptr{NTuple{2, ImRect}}(x + 904) + f === :NavPreferredScoringPosRel && return Ptr{NTuple{2, ImVec2}}(x + 936) + f === :NavRootFocusScopeId && return Ptr{ImGuiID}(x + 952) + f === :MemoryDrawListIdxCapacity && return Ptr{Cint}(x + 956) + f === :MemoryDrawListVtxCapacity && return Ptr{Cint}(x + 960) + f === :MemoryCompacted && return Ptr{Bool}(x + 964) + f === :DockIsActive && return (Ptr{Bool}(x + 964), 8, 1) + f === :DockNodeIsVisible && return (Ptr{Bool}(x + 964), 9, 1) + f === :DockTabIsVisible && return (Ptr{Bool}(x + 964), 10, 1) + f === :DockTabWantClose && return (Ptr{Bool}(x + 964), 11, 1) + f === :DockOrder && return Ptr{Cshort}(x + 966) + f === :DockStyle && return Ptr{ImGuiWindowDockStyle}(x + 968) + f === :DockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 1000) + f === :DockNodeAsHost && return Ptr{Ptr{ImGuiDockNode}}(x + 1004) + f === :DockId && return Ptr{ImGuiID}(x + 1008) + f === :DockTabItemStatusFlags && return Ptr{ImGuiItemStatusFlags}(x + 1012) + f === :DockTabItemRect && return Ptr{ImRect}(x + 1016) return getfield(x, f) end @@ -1710,7 +1796,7 @@ const ImGuiItemFlags = Cint struct ImGuiLastItemData ID::ImGuiID - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags StatusFlags::ImGuiItemStatusFlags Rect::ImRect NavRect::ImRect @@ -1719,8 +1805,10 @@ struct ImGuiLastItemData Shortcut::ImGuiKeyChord end -struct ImGuiStackSizes +struct ImGuiErrorRecoveryState + SizeOfWindowStack::Cshort SizeOfIDStack::Cshort + SizeOfTreeStack::Cshort SizeOfColorStack::Cshort SizeOfStyleVarStack::Cshort SizeOfFontStack::Cshort @@ -1734,7 +1822,7 @@ end struct ImGuiWindowStackData Window::Ptr{ImGuiWindow} ParentLastItemDataBackup::ImGuiLastItemData - StackSizesOnBegin::ImGuiStackSizes + StackSizesInBegin::ImGuiErrorRecoveryState DisabledOverrideReenable::Bool end @@ -1793,7 +1881,7 @@ struct ImGuiDataTypeStorage end struct ImGuiNextItemData - Flags::ImGuiNextItemDataFlags + HasFlags::ImGuiNextItemDataFlags ItemFlags::ImGuiItemFlags FocusScopeId::ImGuiID SelectionUserData::ImGuiSelectionUserData @@ -1942,7 +2030,7 @@ const ImGuiTreeNodeFlags = Cint struct ImGuiTreeNodeStackData ID::ImGuiID TreeFlags::ImGuiTreeNodeFlags - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags NavRect::ImRect end @@ -1965,7 +2053,7 @@ struct ImGuiNavItemData ID::ImGuiID FocusScopeId::ImGuiID RectRel::ImRect - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags DistBox::Cfloat DistCenter::Cfloat DistAxial::Cfloat @@ -1978,6 +2066,7 @@ const ImGuiScrollFlags = Cint @cenum ImGuiKey::UInt32 begin ImGuiKey_None = 0 + ImGuiKey_NamedKey_BEGIN = 512 ImGuiKey_Tab = 512 ImGuiKey_LeftArrow = 513 ImGuiKey_RightArrow = 514 @@ -2132,18 +2221,14 @@ const ImGuiScrollFlags = Cint ImGuiKey_ReservedForModShift = 663 ImGuiKey_ReservedForModAlt = 664 ImGuiKey_ReservedForModSuper = 665 - ImGuiKey_COUNT = 666 + ImGuiKey_NamedKey_END = 666 ImGuiMod_None = 0 ImGuiMod_Ctrl = 4096 ImGuiMod_Shift = 8192 ImGuiMod_Alt = 16384 ImGuiMod_Super = 32768 ImGuiMod_Mask_ = 61440 - ImGuiKey_NamedKey_BEGIN = 512 - ImGuiKey_NamedKey_END = 666 ImGuiKey_NamedKey_COUNT = 154 - ImGuiKey_KeysData_SIZE = 154 - ImGuiKey_KeysData_OFFSET = 512 end const ImGuiDragDropFlags = Cint @@ -2798,11 +2883,11 @@ struct ImGuiInputTextState Ctx::Ptr{Cvoid} # Ctx::Ptr{ImGuiContext} Stb::Ptr{ImStbTexteditState} ID::ImGuiID - CurLenA::Cint + TextLen::Cint TextA::ImVector_char - InitialTextA::ImVector_char + TextToRevertTo::ImVector_char CallbackTextBackup::ImVector_char - BufCapacityA::Cint + BufCapacity::Cint Scroll::ImVec2 CursorAnim::Cfloat CursorFollow::Bool @@ -2938,16 +3023,13 @@ struct ImVector_ImGuiContextHook Data::Ptr{ImGuiContextHook} end -@cenum ImGuiLogType::UInt32 begin - ImGuiLogType_None = 0 - ImGuiLogType_TTY = 1 - ImGuiLogType_File = 2 - ImGuiLogType_Buffer = 3 - ImGuiLogType_Clipboard = 4 -end +const ImGuiLogFlags = Cint const ImFileHandle = Ptr{Libc.FILE} +# typedef void ( * ImGuiErrorCallback ) ( ImGuiContext * ctx , void * user_data , const char * msg ) +const ImGuiErrorCallback = Ptr{Cvoid} + const ImGuiDebugLogFlags = Cint struct ImVector_int @@ -3065,313 +3147,324 @@ struct ImGuiDebugAllocInfo end struct ImGuiContext - data::NTuple{10140, UInt8} + data::NTuple{10216, UInt8} end function Base.getproperty(x::Ptr{ImGuiContext}, f::Symbol) f === :Initialized && return Ptr{Bool}(x + 0) f === :FontAtlasOwnedByContext && return Ptr{Bool}(x + 1) f === :IO && return Ptr{ImGuiIO}(x + 4) - f === :PlatformIO && return Ptr{ImGuiPlatformIO}(x + 2944) - f === :Style && return Ptr{ImGuiStyle}(x + 3096) - f === :ConfigFlagsCurrFrame && return Ptr{ImGuiConfigFlags}(x + 4288) - f === :ConfigFlagsLastFrame && return Ptr{ImGuiConfigFlags}(x + 4292) - f === :Font && return Ptr{Ptr{ImFont}}(x + 4296) - f === :FontSize && return Ptr{Cfloat}(x + 4300) - f === :FontBaseSize && return Ptr{Cfloat}(x + 4304) - f === :FontScale && return Ptr{Cfloat}(x + 4308) - f === :CurrentDpiScale && return Ptr{Cfloat}(x + 4312) - f === :DrawListSharedData && return Ptr{ImDrawListSharedData}(x + 4316) - f === :Time && return Ptr{Cdouble}(x + 4832) - f === :FrameCount && return Ptr{Cint}(x + 4840) - f === :FrameCountEnded && return Ptr{Cint}(x + 4844) - f === :FrameCountPlatformEnded && return Ptr{Cint}(x + 4848) - f === :FrameCountRendered && return Ptr{Cint}(x + 4852) - f === :WithinFrameScope && return Ptr{Bool}(x + 4856) - f === :WithinFrameScopeWithImplicitWindow && return Ptr{Bool}(x + 4857) - f === :WithinEndChild && return Ptr{Bool}(x + 4858) - f === :GcCompactAll && return Ptr{Bool}(x + 4859) - f === :TestEngineHookItems && return Ptr{Bool}(x + 4860) - f === :TestEngine && return Ptr{Ptr{Cvoid}}(x + 4864) - f === :ContextName && return Ptr{NTuple{16, Cchar}}(x + 4868) - f === :InputEventsQueue && return Ptr{ImVector_ImGuiInputEvent}(x + 4884) - f === :InputEventsTrail && return Ptr{ImVector_ImGuiInputEvent}(x + 4896) - f === :InputEventsNextMouseSource && return Ptr{ImGuiMouseSource}(x + 4908) - f === :InputEventsNextEventId && return Ptr{ImU32}(x + 4912) - f === :Windows && return Ptr{ImVector_ImGuiWindowPtr}(x + 4916) - f === :WindowsFocusOrder && return Ptr{ImVector_ImGuiWindowPtr}(x + 4928) - f === :WindowsTempSortBuffer && return Ptr{ImVector_ImGuiWindowPtr}(x + 4940) - f === :CurrentWindowStack && return Ptr{ImVector_ImGuiWindowStackData}(x + 4952) - f === :WindowsById && return Ptr{ImGuiStorage}(x + 4964) - f === :WindowsActiveCount && return Ptr{Cint}(x + 4976) - f === :WindowsHoverPadding && return Ptr{ImVec2}(x + 4980) - f === :DebugBreakInWindow && return Ptr{ImGuiID}(x + 4988) - f === :CurrentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 4992) - f === :HoveredWindow && return Ptr{Ptr{ImGuiWindow}}(x + 4996) - f === :HoveredWindowUnderMovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5000) - f === :HoveredWindowBeforeClear && return Ptr{Ptr{ImGuiWindow}}(x + 5004) - f === :MovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5008) - f === :WheelingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5012) - f === :WheelingWindowRefMousePos && return Ptr{ImVec2}(x + 5016) - f === :WheelingWindowStartFrame && return Ptr{Cint}(x + 5024) - f === :WheelingWindowScrolledFrame && return Ptr{Cint}(x + 5028) - f === :WheelingWindowReleaseTimer && return Ptr{Cfloat}(x + 5032) - f === :WheelingWindowWheelRemainder && return Ptr{ImVec2}(x + 5036) - f === :WheelingAxisAvg && return Ptr{ImVec2}(x + 5044) - f === :DebugDrawIdConflicts && return Ptr{ImGuiID}(x + 5052) - f === :DebugHookIdInfo && return Ptr{ImGuiID}(x + 5056) - f === :HoveredId && return Ptr{ImGuiID}(x + 5060) - f === :HoveredIdPreviousFrame && return Ptr{ImGuiID}(x + 5064) - f === :HoveredIdPreviousFrameItemCount && return Ptr{Cint}(x + 5068) - f === :HoveredIdTimer && return Ptr{Cfloat}(x + 5072) - f === :HoveredIdNotActiveTimer && return Ptr{Cfloat}(x + 5076) - f === :HoveredIdAllowOverlap && return Ptr{Bool}(x + 5080) - f === :HoveredIdIsDisabled && return Ptr{Bool}(x + 5081) - f === :ItemUnclipByLog && return Ptr{Bool}(x + 5082) - f === :ActiveId && return Ptr{ImGuiID}(x + 5084) - f === :ActiveIdIsAlive && return Ptr{ImGuiID}(x + 5088) - f === :ActiveIdTimer && return Ptr{Cfloat}(x + 5092) - f === :ActiveIdIsJustActivated && return Ptr{Bool}(x + 5096) - f === :ActiveIdAllowOverlap && return Ptr{Bool}(x + 5097) - f === :ActiveIdNoClearOnFocusLoss && return Ptr{Bool}(x + 5098) - f === :ActiveIdHasBeenPressedBefore && return Ptr{Bool}(x + 5099) - f === :ActiveIdHasBeenEditedBefore && return Ptr{Bool}(x + 5100) - f === :ActiveIdHasBeenEditedThisFrame && return Ptr{Bool}(x + 5101) - f === :ActiveIdFromShortcut && return Ptr{Bool}(x + 5102) - f === :ActiveIdMouseButton && return (Ptr{Cint}(x + 5100), 24, 8) - f === :ActiveIdClickOffset && return Ptr{ImVec2}(x + 5104) - f === :ActiveIdWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5112) - f === :ActiveIdSource && return Ptr{ImGuiInputSource}(x + 5116) - f === :ActiveIdPreviousFrame && return Ptr{ImGuiID}(x + 5120) - f === :ActiveIdPreviousFrameIsAlive && return Ptr{Bool}(x + 5124) - f === :ActiveIdPreviousFrameHasBeenEditedBefore && return Ptr{Bool}(x + 5125) - f === :ActiveIdPreviousFrameWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5128) - f === :LastActiveId && return Ptr{ImGuiID}(x + 5132) - f === :LastActiveIdTimer && return Ptr{Cfloat}(x + 5136) - f === :LastKeyModsChangeTime && return Ptr{Cdouble}(x + 5140) - f === :LastKeyModsChangeFromNoneTime && return Ptr{Cdouble}(x + 5148) - f === :LastKeyboardKeyPressTime && return Ptr{Cdouble}(x + 5156) - f === :KeysMayBeCharInput && return Ptr{ImBitArrayForNamedKeys}(x + 5164) - f === :KeysOwnerData && return Ptr{NTuple{154, ImGuiKeyOwnerData}}(x + 5184) - f === :KeysRoutingTable && return Ptr{ImGuiKeyRoutingTable}(x + 7032) - f === :ActiveIdUsingNavDirMask && return Ptr{ImU32}(x + 7364) - f === :ActiveIdUsingAllKeyboardKeys && return Ptr{Bool}(x + 7368) - f === :DebugBreakInShortcutRouting && return Ptr{ImGuiKeyChord}(x + 7372) - f === :CurrentFocusScopeId && return Ptr{ImGuiID}(x + 7376) - f === :CurrentItemFlags && return Ptr{ImGuiItemFlags}(x + 7380) - f === :DebugLocateId && return Ptr{ImGuiID}(x + 7384) - f === :NextItemData && return Ptr{ImGuiNextItemData}(x + 7388) - f === :LastItemData && return Ptr{ImGuiLastItemData}(x + 7436) - f === :NextWindowData && return Ptr{ImGuiNextWindowData}(x + 7516) - f === :DebugShowGroupRects && return Ptr{Bool}(x + 7664) - f === :DebugFlashStyleColorIdx && return Ptr{ImGuiCol}(x + 7668) - f === :ColorStack && return Ptr{ImVector_ImGuiColorMod}(x + 7672) - f === :StyleVarStack && return Ptr{ImVector_ImGuiStyleMod}(x + 7684) - f === :FontStack && return Ptr{ImVector_ImFontPtr}(x + 7696) - f === :FocusScopeStack && return Ptr{ImVector_ImGuiFocusScopeData}(x + 7708) - f === :ItemFlagsStack && return Ptr{ImVector_ImGuiItemFlags}(x + 7720) - f === :GroupStack && return Ptr{ImVector_ImGuiGroupData}(x + 7732) - f === :OpenPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 7744) - f === :BeginPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 7756) - f === :TreeNodeStack && return Ptr{ImVector_ImGuiTreeNodeStackData}(x + 7768) - f === :Viewports && return Ptr{ImVector_ImGuiViewportPPtr}(x + 7780) - f === :CurrentViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 7792) - f === :MouseViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 7796) - f === :MouseLastHoveredViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 7800) - f === :PlatformLastFocusedViewportId && return Ptr{ImGuiID}(x + 7804) - f === :FallbackMonitor && return Ptr{ImGuiPlatformMonitor}(x + 7808) - f === :PlatformMonitorsFullWorkRect && return Ptr{ImRect}(x + 7848) - f === :ViewportCreatedCount && return Ptr{Cint}(x + 7864) - f === :PlatformWindowsCreatedCount && return Ptr{Cint}(x + 7868) - f === :ViewportFocusedStampCount && return Ptr{Cint}(x + 7872) - f === :NavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 7876) - f === :NavId && return Ptr{ImGuiID}(x + 7880) - f === :NavFocusScopeId && return Ptr{ImGuiID}(x + 7884) - f === :NavLayer && return Ptr{ImGuiNavLayer}(x + 7888) - f === :NavActivateId && return Ptr{ImGuiID}(x + 7892) - f === :NavActivateDownId && return Ptr{ImGuiID}(x + 7896) - f === :NavActivatePressedId && return Ptr{ImGuiID}(x + 7900) - f === :NavActivateFlags && return Ptr{ImGuiActivateFlags}(x + 7904) - f === :NavFocusRoute && return Ptr{ImVector_ImGuiFocusScopeData}(x + 7908) - f === :NavHighlightActivatedId && return Ptr{ImGuiID}(x + 7920) - f === :NavHighlightActivatedTimer && return Ptr{Cfloat}(x + 7924) - f === :NavNextActivateId && return Ptr{ImGuiID}(x + 7928) - f === :NavNextActivateFlags && return Ptr{ImGuiActivateFlags}(x + 7932) - f === :NavInputSource && return Ptr{ImGuiInputSource}(x + 7936) - f === :NavLastValidSelectionUserData && return Ptr{ImGuiSelectionUserData}(x + 7940) - f === :NavIdIsAlive && return Ptr{Bool}(x + 7948) - f === :NavMousePosDirty && return Ptr{Bool}(x + 7949) - f === :NavDisableHighlight && return Ptr{Bool}(x + 7950) - f === :NavDisableMouseHover && return Ptr{Bool}(x + 7951) - f === :NavAnyRequest && return Ptr{Bool}(x + 7952) - f === :NavInitRequest && return Ptr{Bool}(x + 7953) - f === :NavInitRequestFromMove && return Ptr{Bool}(x + 7954) - f === :NavInitResult && return Ptr{ImGuiNavItemData}(x + 7956) - f === :NavMoveSubmitted && return Ptr{Bool}(x + 8008) - f === :NavMoveScoringItems && return Ptr{Bool}(x + 8009) - f === :NavMoveForwardToNextFrame && return Ptr{Bool}(x + 8010) - f === :NavMoveFlags && return Ptr{ImGuiNavMoveFlags}(x + 8012) - f === :NavMoveScrollFlags && return Ptr{ImGuiScrollFlags}(x + 8016) - f === :NavMoveKeyMods && return Ptr{ImGuiKeyChord}(x + 8020) - f === :NavMoveDir && return Ptr{ImGuiDir}(x + 8024) - f === :NavMoveDirForDebug && return Ptr{ImGuiDir}(x + 8028) - f === :NavMoveClipDir && return Ptr{ImGuiDir}(x + 8032) - f === :NavScoringRect && return Ptr{ImRect}(x + 8036) - f === :NavScoringNoClipRect && return Ptr{ImRect}(x + 8052) - f === :NavScoringDebugCount && return Ptr{Cint}(x + 8068) - f === :NavTabbingDir && return Ptr{Cint}(x + 8072) - f === :NavTabbingCounter && return Ptr{Cint}(x + 8076) - f === :NavMoveResultLocal && return Ptr{ImGuiNavItemData}(x + 8080) - f === :NavMoveResultLocalVisible && return Ptr{ImGuiNavItemData}(x + 8132) - f === :NavMoveResultOther && return Ptr{ImGuiNavItemData}(x + 8184) - f === :NavTabbingResultFirst && return Ptr{ImGuiNavItemData}(x + 8236) - f === :NavJustMovedFromFocusScopeId && return Ptr{ImGuiID}(x + 8288) - f === :NavJustMovedToId && return Ptr{ImGuiID}(x + 8292) - f === :NavJustMovedToFocusScopeId && return Ptr{ImGuiID}(x + 8296) - f === :NavJustMovedToKeyMods && return Ptr{ImGuiKeyChord}(x + 8300) - f === :NavJustMovedToIsTabbing && return Ptr{Bool}(x + 8304) - f === :NavJustMovedToHasSelectionData && return Ptr{Bool}(x + 8305) - f === :ConfigNavWindowingKeyNext && return Ptr{ImGuiKeyChord}(x + 8308) - f === :ConfigNavWindowingKeyPrev && return Ptr{ImGuiKeyChord}(x + 8312) - f === :NavWindowingTarget && return Ptr{Ptr{ImGuiWindow}}(x + 8316) - f === :NavWindowingTargetAnim && return Ptr{Ptr{ImGuiWindow}}(x + 8320) - f === :NavWindowingListWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8324) - f === :NavWindowingTimer && return Ptr{Cfloat}(x + 8328) - f === :NavWindowingHighlightAlpha && return Ptr{Cfloat}(x + 8332) - f === :NavWindowingToggleLayer && return Ptr{Bool}(x + 8336) - f === :NavWindowingToggleKey && return Ptr{ImGuiKey}(x + 8340) - f === :NavWindowingAccumDeltaPos && return Ptr{ImVec2}(x + 8344) - f === :NavWindowingAccumDeltaSize && return Ptr{ImVec2}(x + 8352) - f === :DimBgRatio && return Ptr{Cfloat}(x + 8360) - f === :DragDropActive && return Ptr{Bool}(x + 8364) - f === :DragDropWithinSource && return Ptr{Bool}(x + 8365) - f === :DragDropWithinTarget && return Ptr{Bool}(x + 8366) - f === :DragDropSourceFlags && return Ptr{ImGuiDragDropFlags}(x + 8368) - f === :DragDropSourceFrameCount && return Ptr{Cint}(x + 8372) - f === :DragDropMouseButton && return Ptr{Cint}(x + 8376) - f === :DragDropPayload && return Ptr{ImGuiPayload}(x + 8380) - f === :DragDropTargetRect && return Ptr{ImRect}(x + 8436) - f === :DragDropTargetClipRect && return Ptr{ImRect}(x + 8452) - f === :DragDropTargetId && return Ptr{ImGuiID}(x + 8468) - f === :DragDropAcceptFlags && return Ptr{ImGuiDragDropFlags}(x + 8472) - f === :DragDropAcceptIdCurrRectSurface && return Ptr{Cfloat}(x + 8476) - f === :DragDropAcceptIdCurr && return Ptr{ImGuiID}(x + 8480) - f === :DragDropAcceptIdPrev && return Ptr{ImGuiID}(x + 8484) - f === :DragDropAcceptFrameCount && return Ptr{Cint}(x + 8488) - f === :DragDropHoldJustPressedId && return Ptr{ImGuiID}(x + 8492) - f === :DragDropPayloadBufHeap && return Ptr{ImVector_unsigned_char}(x + 8496) - f === :DragDropPayloadBufLocal && return Ptr{NTuple{16, Cuchar}}(x + 8508) - f === :ClipperTempDataStacked && return Ptr{Cint}(x + 8524) - f === :ClipperTempData && return Ptr{ImVector_ImGuiListClipperData}(x + 8528) - f === :CurrentTable && return Ptr{Ptr{ImGuiTable}}(x + 8540) - f === :DebugBreakInTable && return Ptr{ImGuiID}(x + 8544) - f === :TablesTempDataStacked && return Ptr{Cint}(x + 8548) - f === :TablesTempData && return Ptr{ImVector_ImGuiTableTempData}(x + 8552) - f === :Tables && return Ptr{ImPool_ImGuiTable}(x + 8564) - f === :TablesLastTimeActive && return Ptr{ImVector_float}(x + 8596) - f === :DrawChannelsTempMergeBuffer && return Ptr{ImVector_ImDrawChannel}(x + 8608) - f === :CurrentTabBar && return Ptr{Ptr{ImGuiTabBar}}(x + 8620) - f === :TabBars && return Ptr{ImPool_ImGuiTabBar}(x + 8624) - f === :CurrentTabBarStack && return Ptr{ImVector_ImGuiPtrOrIndex}(x + 8656) - f === :ShrinkWidthBuffer && return Ptr{ImVector_ImGuiShrinkWidthItem}(x + 8668) - f === :BoxSelectState && return Ptr{ImGuiBoxSelectState}(x + 8680) - f === :CurrentMultiSelect && return Ptr{Ptr{ImGuiMultiSelectTempData}}(x + 8772) - f === :MultiSelectTempDataStacked && return Ptr{Cint}(x + 8776) - f === :MultiSelectTempData && return Ptr{ImVector_ImGuiMultiSelectTempData}(x + 8780) - f === :MultiSelectStorage && return Ptr{ImPool_ImGuiMultiSelectState}(x + 8792) - f === :HoverItemDelayId && return Ptr{ImGuiID}(x + 8824) - f === :HoverItemDelayIdPreviousFrame && return Ptr{ImGuiID}(x + 8828) - f === :HoverItemDelayTimer && return Ptr{Cfloat}(x + 8832) - f === :HoverItemDelayClearTimer && return Ptr{Cfloat}(x + 8836) - f === :HoverItemUnlockedStationaryId && return Ptr{ImGuiID}(x + 8840) - f === :HoverWindowUnlockedStationaryId && return Ptr{ImGuiID}(x + 8844) - f === :MouseCursor && return Ptr{ImGuiMouseCursor}(x + 8848) - f === :MouseStationaryTimer && return Ptr{Cfloat}(x + 8852) - f === :MouseLastValidPos && return Ptr{ImVec2}(x + 8856) - f === :InputTextState && return Ptr{ImGuiInputTextState}(x + 8864) - f === :InputTextDeactivatedState && return Ptr{ImGuiInputTextDeactivatedState}(x + 8952) - f === :InputTextPasswordFont && return Ptr{ImFont}(x + 8968) - f === :TempInputId && return Ptr{ImGuiID}(x + 9064) - f === :DataTypeZeroValue && return Ptr{ImGuiDataTypeStorage}(x + 9068) - f === :BeginMenuDepth && return Ptr{Cint}(x + 9076) - f === :BeginComboDepth && return Ptr{Cint}(x + 9080) - f === :ColorEditOptions && return Ptr{ImGuiColorEditFlags}(x + 9084) - f === :ColorEditCurrentID && return Ptr{ImGuiID}(x + 9088) - f === :ColorEditSavedID && return Ptr{ImGuiID}(x + 9092) - f === :ColorEditSavedHue && return Ptr{Cfloat}(x + 9096) - f === :ColorEditSavedSat && return Ptr{Cfloat}(x + 9100) - f === :ColorEditSavedColor && return Ptr{ImU32}(x + 9104) - f === :ColorPickerRef && return Ptr{ImVec4}(x + 9108) - f === :ComboPreviewData && return Ptr{ImGuiComboPreviewData}(x + 9124) - f === :WindowResizeBorderExpectedRect && return Ptr{ImRect}(x + 9172) - f === :WindowResizeRelativeMode && return Ptr{Bool}(x + 9188) - f === :ScrollbarSeekMode && return Ptr{Cshort}(x + 9190) - f === :ScrollbarClickDeltaToGrabCenter && return Ptr{Cfloat}(x + 9192) - f === :SliderGrabClickOffset && return Ptr{Cfloat}(x + 9196) - f === :SliderCurrentAccum && return Ptr{Cfloat}(x + 9200) - f === :SliderCurrentAccumDirty && return Ptr{Bool}(x + 9204) - f === :DragCurrentAccumDirty && return Ptr{Bool}(x + 9205) - f === :DragCurrentAccum && return Ptr{Cfloat}(x + 9208) - f === :DragSpeedDefaultRatio && return Ptr{Cfloat}(x + 9212) - f === :DisabledAlphaBackup && return Ptr{Cfloat}(x + 9216) - f === :DisabledStackSize && return Ptr{Cshort}(x + 9220) - f === :LockMarkEdited && return Ptr{Cshort}(x + 9222) - f === :TooltipOverrideCount && return Ptr{Cshort}(x + 9224) - f === :ClipboardHandlerData && return Ptr{ImVector_char}(x + 9228) - f === :MenusIdSubmittedThisFrame && return Ptr{ImVector_ImGuiID}(x + 9240) - f === :TypingSelectState && return Ptr{ImGuiTypingSelectState}(x + 9252) - f === :PlatformImeData && return Ptr{ImGuiPlatformImeData}(x + 9348) - f === :PlatformImeDataPrev && return Ptr{ImGuiPlatformImeData}(x + 9364) - f === :PlatformImeViewport && return Ptr{ImGuiID}(x + 9380) - f === :DockContext && return Ptr{ImGuiDockContext}(x + 9384) - f === :DockNodeWindowMenuHandler && return Ptr{Ptr{Cvoid}}(x + 9424) - f === :SettingsLoaded && return Ptr{Bool}(x + 9428) - f === :SettingsDirtyTimer && return Ptr{Cfloat}(x + 9432) - f === :SettingsIniData && return Ptr{ImGuiTextBuffer}(x + 9436) - f === :SettingsHandlers && return Ptr{ImVector_ImGuiSettingsHandler}(x + 9448) - f === :SettingsWindows && return Ptr{ImChunkStream_ImGuiWindowSettings}(x + 9460) - f === :SettingsTables && return Ptr{ImChunkStream_ImGuiTableSettings}(x + 9472) - f === :Hooks && return Ptr{ImVector_ImGuiContextHook}(x + 9484) - f === :HookIdNext && return Ptr{ImGuiID}(x + 9496) - f === :LocalizationTable && return Ptr{NTuple{13, Ptr{Cchar}}}(x + 9500) - f === :LogEnabled && return Ptr{Bool}(x + 9552) - f === :LogType && return Ptr{ImGuiLogType}(x + 9556) - f === :LogFile && return Ptr{ImFileHandle}(x + 9560) - f === :LogBuffer && return Ptr{ImGuiTextBuffer}(x + 9564) - f === :LogNextPrefix && return Ptr{Ptr{Cchar}}(x + 9576) - f === :LogNextSuffix && return Ptr{Ptr{Cchar}}(x + 9580) - f === :LogLinePosY && return Ptr{Cfloat}(x + 9584) - f === :LogLineFirstItem && return Ptr{Bool}(x + 9588) - f === :LogDepthRef && return Ptr{Cint}(x + 9592) - f === :LogDepthToExpand && return Ptr{Cint}(x + 9596) - f === :LogDepthToExpandDefault && return Ptr{Cint}(x + 9600) - f === :DebugLogFlags && return Ptr{ImGuiDebugLogFlags}(x + 9604) - f === :DebugLogBuf && return Ptr{ImGuiTextBuffer}(x + 9608) - f === :DebugLogIndex && return Ptr{ImGuiTextIndex}(x + 9620) - f === :DebugLogAutoDisableFlags && return Ptr{ImGuiDebugLogFlags}(x + 9636) - f === :DebugLogAutoDisableFrames && return Ptr{ImU8}(x + 9640) - f === :DebugLocateFrames && return Ptr{ImU8}(x + 9641) - f === :DebugBreakInLocateId && return Ptr{Bool}(x + 9642) - f === :DebugBreakKeyChord && return Ptr{ImGuiKeyChord}(x + 9644) - f === :DebugBeginReturnValueCullDepth && return Ptr{ImS8}(x + 9648) - f === :DebugItemPickerActive && return Ptr{Bool}(x + 9649) - f === :DebugItemPickerMouseButton && return Ptr{ImU8}(x + 9650) - f === :DebugItemPickerBreakId && return Ptr{ImGuiID}(x + 9652) - f === :DebugFlashStyleColorTime && return Ptr{Cfloat}(x + 9656) - f === :DebugFlashStyleColorBackup && return Ptr{ImVec4}(x + 9660) - f === :DebugMetricsConfig && return Ptr{ImGuiMetricsConfig}(x + 9676) - f === :DebugIDStackTool && return Ptr{ImGuiIDStackTool}(x + 9704) - f === :DebugAllocInfo && return Ptr{ImGuiDebugAllocInfo}(x + 9736) - f === :DebugHoveredDockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 9796) - f === :FramerateSecPerFrame && return Ptr{NTuple{60, Cfloat}}(x + 9800) - f === :FramerateSecPerFrameIdx && return Ptr{Cint}(x + 10040) - f === :FramerateSecPerFrameCount && return Ptr{Cint}(x + 10044) - f === :FramerateSecPerFrameAccum && return Ptr{Cfloat}(x + 10048) - f === :WantCaptureMouseNextFrame && return Ptr{Cint}(x + 10052) - f === :WantCaptureKeyboardNextFrame && return Ptr{Cint}(x + 10056) - f === :WantTextInputNextFrame && return Ptr{Cint}(x + 10060) - f === :TempBuffer && return Ptr{ImVector_char}(x + 10064) - f === :TempKeychordName && return Ptr{NTuple{64, Cchar}}(x + 10076) + f === :PlatformIO && return Ptr{ImGuiPlatformIO}(x + 2952) + f === :Style && return Ptr{ImGuiStyle}(x + 3108) + f === :ConfigFlagsCurrFrame && return Ptr{ImGuiConfigFlags}(x + 4300) + f === :ConfigFlagsLastFrame && return Ptr{ImGuiConfigFlags}(x + 4304) + f === :Font && return Ptr{Ptr{ImFont}}(x + 4308) + f === :FontSize && return Ptr{Cfloat}(x + 4312) + f === :FontBaseSize && return Ptr{Cfloat}(x + 4316) + f === :FontScale && return Ptr{Cfloat}(x + 4320) + f === :CurrentDpiScale && return Ptr{Cfloat}(x + 4324) + f === :DrawListSharedData && return Ptr{ImDrawListSharedData}(x + 4328) + f === :Time && return Ptr{Cdouble}(x + 4844) + f === :FrameCount && return Ptr{Cint}(x + 4852) + f === :FrameCountEnded && return Ptr{Cint}(x + 4856) + f === :FrameCountPlatformEnded && return Ptr{Cint}(x + 4860) + f === :FrameCountRendered && return Ptr{Cint}(x + 4864) + f === :WithinFrameScope && return Ptr{Bool}(x + 4868) + f === :WithinFrameScopeWithImplicitWindow && return Ptr{Bool}(x + 4869) + f === :WithinEndChild && return Ptr{Bool}(x + 4870) + f === :GcCompactAll && return Ptr{Bool}(x + 4871) + f === :TestEngineHookItems && return Ptr{Bool}(x + 4872) + f === :TestEngine && return Ptr{Ptr{Cvoid}}(x + 4876) + f === :ContextName && return Ptr{NTuple{16, Cchar}}(x + 4880) + f === :InputEventsQueue && return Ptr{ImVector_ImGuiInputEvent}(x + 4896) + f === :InputEventsTrail && return Ptr{ImVector_ImGuiInputEvent}(x + 4908) + f === :InputEventsNextMouseSource && return Ptr{ImGuiMouseSource}(x + 4920) + f === :InputEventsNextEventId && return Ptr{ImU32}(x + 4924) + f === :Windows && return Ptr{ImVector_ImGuiWindowPtr}(x + 4928) + f === :WindowsFocusOrder && return Ptr{ImVector_ImGuiWindowPtr}(x + 4940) + f === :WindowsTempSortBuffer && return Ptr{ImVector_ImGuiWindowPtr}(x + 4952) + f === :CurrentWindowStack && return Ptr{ImVector_ImGuiWindowStackData}(x + 4964) + f === :WindowsById && return Ptr{ImGuiStorage}(x + 4976) + f === :WindowsActiveCount && return Ptr{Cint}(x + 4988) + f === :WindowsHoverPadding && return Ptr{ImVec2}(x + 4992) + f === :DebugBreakInWindow && return Ptr{ImGuiID}(x + 5000) + f === :CurrentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5004) + f === :HoveredWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5008) + f === :HoveredWindowUnderMovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5012) + f === :HoveredWindowBeforeClear && return Ptr{Ptr{ImGuiWindow}}(x + 5016) + f === :MovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5020) + f === :WheelingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5024) + f === :WheelingWindowRefMousePos && return Ptr{ImVec2}(x + 5028) + f === :WheelingWindowStartFrame && return Ptr{Cint}(x + 5036) + f === :WheelingWindowScrolledFrame && return Ptr{Cint}(x + 5040) + f === :WheelingWindowReleaseTimer && return Ptr{Cfloat}(x + 5044) + f === :WheelingWindowWheelRemainder && return Ptr{ImVec2}(x + 5048) + f === :WheelingAxisAvg && return Ptr{ImVec2}(x + 5056) + f === :DebugDrawIdConflicts && return Ptr{ImGuiID}(x + 5064) + f === :DebugHookIdInfo && return Ptr{ImGuiID}(x + 5068) + f === :HoveredId && return Ptr{ImGuiID}(x + 5072) + f === :HoveredIdPreviousFrame && return Ptr{ImGuiID}(x + 5076) + f === :HoveredIdPreviousFrameItemCount && return Ptr{Cint}(x + 5080) + f === :HoveredIdTimer && return Ptr{Cfloat}(x + 5084) + f === :HoveredIdNotActiveTimer && return Ptr{Cfloat}(x + 5088) + f === :HoveredIdAllowOverlap && return Ptr{Bool}(x + 5092) + f === :HoveredIdIsDisabled && return Ptr{Bool}(x + 5093) + f === :ItemUnclipByLog && return Ptr{Bool}(x + 5094) + f === :ActiveId && return Ptr{ImGuiID}(x + 5096) + f === :ActiveIdIsAlive && return Ptr{ImGuiID}(x + 5100) + f === :ActiveIdTimer && return Ptr{Cfloat}(x + 5104) + f === :ActiveIdIsJustActivated && return Ptr{Bool}(x + 5108) + f === :ActiveIdAllowOverlap && return Ptr{Bool}(x + 5109) + f === :ActiveIdNoClearOnFocusLoss && return Ptr{Bool}(x + 5110) + f === :ActiveIdHasBeenPressedBefore && return Ptr{Bool}(x + 5111) + f === :ActiveIdHasBeenEditedBefore && return Ptr{Bool}(x + 5112) + f === :ActiveIdHasBeenEditedThisFrame && return Ptr{Bool}(x + 5113) + f === :ActiveIdFromShortcut && return Ptr{Bool}(x + 5114) + f === :ActiveIdMouseButton && return (Ptr{Cint}(x + 5112), 24, 8) + f === :ActiveIdClickOffset && return Ptr{ImVec2}(x + 5116) + f === :ActiveIdWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5124) + f === :ActiveIdSource && return Ptr{ImGuiInputSource}(x + 5128) + f === :ActiveIdPreviousFrame && return Ptr{ImGuiID}(x + 5132) + f === :ActiveIdPreviousFrameIsAlive && return Ptr{Bool}(x + 5136) + f === :ActiveIdPreviousFrameHasBeenEditedBefore && return Ptr{Bool}(x + 5137) + f === :ActiveIdPreviousFrameWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5140) + f === :LastActiveId && return Ptr{ImGuiID}(x + 5144) + f === :LastActiveIdTimer && return Ptr{Cfloat}(x + 5148) + f === :LastKeyModsChangeTime && return Ptr{Cdouble}(x + 5152) + f === :LastKeyModsChangeFromNoneTime && return Ptr{Cdouble}(x + 5160) + f === :LastKeyboardKeyPressTime && return Ptr{Cdouble}(x + 5168) + f === :KeysMayBeCharInput && return Ptr{ImBitArrayForNamedKeys}(x + 5176) + f === :KeysOwnerData && return Ptr{NTuple{154, ImGuiKeyOwnerData}}(x + 5196) + f === :KeysRoutingTable && return Ptr{ImGuiKeyRoutingTable}(x + 7044) + f === :ActiveIdUsingNavDirMask && return Ptr{ImU32}(x + 7376) + f === :ActiveIdUsingAllKeyboardKeys && return Ptr{Bool}(x + 7380) + f === :DebugBreakInShortcutRouting && return Ptr{ImGuiKeyChord}(x + 7384) + f === :CurrentFocusScopeId && return Ptr{ImGuiID}(x + 7388) + f === :CurrentItemFlags && return Ptr{ImGuiItemFlags}(x + 7392) + f === :DebugLocateId && return Ptr{ImGuiID}(x + 7396) + f === :NextItemData && return Ptr{ImGuiNextItemData}(x + 7400) + f === :LastItemData && return Ptr{ImGuiLastItemData}(x + 7448) + f === :NextWindowData && return Ptr{ImGuiNextWindowData}(x + 7528) + f === :DebugShowGroupRects && return Ptr{Bool}(x + 7676) + f === :DebugFlashStyleColorIdx && return Ptr{ImGuiCol}(x + 7680) + f === :ColorStack && return Ptr{ImVector_ImGuiColorMod}(x + 7684) + f === :StyleVarStack && return Ptr{ImVector_ImGuiStyleMod}(x + 7696) + f === :FontStack && return Ptr{ImVector_ImFontPtr}(x + 7708) + f === :FocusScopeStack && return Ptr{ImVector_ImGuiFocusScopeData}(x + 7720) + f === :ItemFlagsStack && return Ptr{ImVector_ImGuiItemFlags}(x + 7732) + f === :GroupStack && return Ptr{ImVector_ImGuiGroupData}(x + 7744) + f === :OpenPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 7756) + f === :BeginPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 7768) + f === :TreeNodeStack && return Ptr{ImVector_ImGuiTreeNodeStackData}(x + 7780) + f === :Viewports && return Ptr{ImVector_ImGuiViewportPPtr}(x + 7792) + f === :CurrentViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 7804) + f === :MouseViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 7808) + f === :MouseLastHoveredViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 7812) + f === :PlatformLastFocusedViewportId && return Ptr{ImGuiID}(x + 7816) + f === :FallbackMonitor && return Ptr{ImGuiPlatformMonitor}(x + 7820) + f === :PlatformMonitorsFullWorkRect && return Ptr{ImRect}(x + 7860) + f === :ViewportCreatedCount && return Ptr{Cint}(x + 7876) + f === :PlatformWindowsCreatedCount && return Ptr{Cint}(x + 7880) + f === :ViewportFocusedStampCount && return Ptr{Cint}(x + 7884) + f === :NavCursorVisible && return Ptr{Bool}(x + 7888) + f === :NavHighlightItemUnderNav && return Ptr{Bool}(x + 7889) + f === :NavMousePosDirty && return Ptr{Bool}(x + 7890) + f === :NavIdIsAlive && return Ptr{Bool}(x + 7891) + f === :NavId && return Ptr{ImGuiID}(x + 7892) + f === :NavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 7896) + f === :NavFocusScopeId && return Ptr{ImGuiID}(x + 7900) + f === :NavLayer && return Ptr{ImGuiNavLayer}(x + 7904) + f === :NavActivateId && return Ptr{ImGuiID}(x + 7908) + f === :NavActivateDownId && return Ptr{ImGuiID}(x + 7912) + f === :NavActivatePressedId && return Ptr{ImGuiID}(x + 7916) + f === :NavActivateFlags && return Ptr{ImGuiActivateFlags}(x + 7920) + f === :NavFocusRoute && return Ptr{ImVector_ImGuiFocusScopeData}(x + 7924) + f === :NavHighlightActivatedId && return Ptr{ImGuiID}(x + 7936) + f === :NavHighlightActivatedTimer && return Ptr{Cfloat}(x + 7940) + f === :NavNextActivateId && return Ptr{ImGuiID}(x + 7944) + f === :NavNextActivateFlags && return Ptr{ImGuiActivateFlags}(x + 7948) + f === :NavInputSource && return Ptr{ImGuiInputSource}(x + 7952) + f === :NavLastValidSelectionUserData && return Ptr{ImGuiSelectionUserData}(x + 7956) + f === :NavCursorHideFrames && return Ptr{ImS8}(x + 7964) + f === :NavAnyRequest && return Ptr{Bool}(x + 7965) + f === :NavInitRequest && return Ptr{Bool}(x + 7966) + f === :NavInitRequestFromMove && return Ptr{Bool}(x + 7967) + f === :NavInitResult && return Ptr{ImGuiNavItemData}(x + 7968) + f === :NavMoveSubmitted && return Ptr{Bool}(x + 8020) + f === :NavMoveScoringItems && return Ptr{Bool}(x + 8021) + f === :NavMoveForwardToNextFrame && return Ptr{Bool}(x + 8022) + f === :NavMoveFlags && return Ptr{ImGuiNavMoveFlags}(x + 8024) + f === :NavMoveScrollFlags && return Ptr{ImGuiScrollFlags}(x + 8028) + f === :NavMoveKeyMods && return Ptr{ImGuiKeyChord}(x + 8032) + f === :NavMoveDir && return Ptr{ImGuiDir}(x + 8036) + f === :NavMoveDirForDebug && return Ptr{ImGuiDir}(x + 8040) + f === :NavMoveClipDir && return Ptr{ImGuiDir}(x + 8044) + f === :NavScoringRect && return Ptr{ImRect}(x + 8048) + f === :NavScoringNoClipRect && return Ptr{ImRect}(x + 8064) + f === :NavScoringDebugCount && return Ptr{Cint}(x + 8080) + f === :NavTabbingDir && return Ptr{Cint}(x + 8084) + f === :NavTabbingCounter && return Ptr{Cint}(x + 8088) + f === :NavMoveResultLocal && return Ptr{ImGuiNavItemData}(x + 8092) + f === :NavMoveResultLocalVisible && return Ptr{ImGuiNavItemData}(x + 8144) + f === :NavMoveResultOther && return Ptr{ImGuiNavItemData}(x + 8196) + f === :NavTabbingResultFirst && return Ptr{ImGuiNavItemData}(x + 8248) + f === :NavJustMovedFromFocusScopeId && return Ptr{ImGuiID}(x + 8300) + f === :NavJustMovedToId && return Ptr{ImGuiID}(x + 8304) + f === :NavJustMovedToFocusScopeId && return Ptr{ImGuiID}(x + 8308) + f === :NavJustMovedToKeyMods && return Ptr{ImGuiKeyChord}(x + 8312) + f === :NavJustMovedToIsTabbing && return Ptr{Bool}(x + 8316) + f === :NavJustMovedToHasSelectionData && return Ptr{Bool}(x + 8317) + f === :ConfigNavWindowingKeyNext && return Ptr{ImGuiKeyChord}(x + 8320) + f === :ConfigNavWindowingKeyPrev && return Ptr{ImGuiKeyChord}(x + 8324) + f === :NavWindowingTarget && return Ptr{Ptr{ImGuiWindow}}(x + 8328) + f === :NavWindowingTargetAnim && return Ptr{Ptr{ImGuiWindow}}(x + 8332) + f === :NavWindowingListWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8336) + f === :NavWindowingTimer && return Ptr{Cfloat}(x + 8340) + f === :NavWindowingHighlightAlpha && return Ptr{Cfloat}(x + 8344) + f === :NavWindowingToggleLayer && return Ptr{Bool}(x + 8348) + f === :NavWindowingToggleKey && return Ptr{ImGuiKey}(x + 8352) + f === :NavWindowingAccumDeltaPos && return Ptr{ImVec2}(x + 8356) + f === :NavWindowingAccumDeltaSize && return Ptr{ImVec2}(x + 8364) + f === :DimBgRatio && return Ptr{Cfloat}(x + 8372) + f === :DragDropActive && return Ptr{Bool}(x + 8376) + f === :DragDropWithinSource && return Ptr{Bool}(x + 8377) + f === :DragDropWithinTarget && return Ptr{Bool}(x + 8378) + f === :DragDropSourceFlags && return Ptr{ImGuiDragDropFlags}(x + 8380) + f === :DragDropSourceFrameCount && return Ptr{Cint}(x + 8384) + f === :DragDropMouseButton && return Ptr{Cint}(x + 8388) + f === :DragDropPayload && return Ptr{ImGuiPayload}(x + 8392) + f === :DragDropTargetRect && return Ptr{ImRect}(x + 8448) + f === :DragDropTargetClipRect && return Ptr{ImRect}(x + 8464) + f === :DragDropTargetId && return Ptr{ImGuiID}(x + 8480) + f === :DragDropAcceptFlags && return Ptr{ImGuiDragDropFlags}(x + 8484) + f === :DragDropAcceptIdCurrRectSurface && return Ptr{Cfloat}(x + 8488) + f === :DragDropAcceptIdCurr && return Ptr{ImGuiID}(x + 8492) + f === :DragDropAcceptIdPrev && return Ptr{ImGuiID}(x + 8496) + f === :DragDropAcceptFrameCount && return Ptr{Cint}(x + 8500) + f === :DragDropHoldJustPressedId && return Ptr{ImGuiID}(x + 8504) + f === :DragDropPayloadBufHeap && return Ptr{ImVector_unsigned_char}(x + 8508) + f === :DragDropPayloadBufLocal && return Ptr{NTuple{16, Cuchar}}(x + 8520) + f === :ClipperTempDataStacked && return Ptr{Cint}(x + 8536) + f === :ClipperTempData && return Ptr{ImVector_ImGuiListClipperData}(x + 8540) + f === :CurrentTable && return Ptr{Ptr{ImGuiTable}}(x + 8552) + f === :DebugBreakInTable && return Ptr{ImGuiID}(x + 8556) + f === :TablesTempDataStacked && return Ptr{Cint}(x + 8560) + f === :TablesTempData && return Ptr{ImVector_ImGuiTableTempData}(x + 8564) + f === :Tables && return Ptr{ImPool_ImGuiTable}(x + 8576) + f === :TablesLastTimeActive && return Ptr{ImVector_float}(x + 8608) + f === :DrawChannelsTempMergeBuffer && return Ptr{ImVector_ImDrawChannel}(x + 8620) + f === :CurrentTabBar && return Ptr{Ptr{ImGuiTabBar}}(x + 8632) + f === :TabBars && return Ptr{ImPool_ImGuiTabBar}(x + 8636) + f === :CurrentTabBarStack && return Ptr{ImVector_ImGuiPtrOrIndex}(x + 8668) + f === :ShrinkWidthBuffer && return Ptr{ImVector_ImGuiShrinkWidthItem}(x + 8680) + f === :BoxSelectState && return Ptr{ImGuiBoxSelectState}(x + 8692) + f === :CurrentMultiSelect && return Ptr{Ptr{ImGuiMultiSelectTempData}}(x + 8784) + f === :MultiSelectTempDataStacked && return Ptr{Cint}(x + 8788) + f === :MultiSelectTempData && return Ptr{ImVector_ImGuiMultiSelectTempData}(x + 8792) + f === :MultiSelectStorage && return Ptr{ImPool_ImGuiMultiSelectState}(x + 8804) + f === :HoverItemDelayId && return Ptr{ImGuiID}(x + 8836) + f === :HoverItemDelayIdPreviousFrame && return Ptr{ImGuiID}(x + 8840) + f === :HoverItemDelayTimer && return Ptr{Cfloat}(x + 8844) + f === :HoverItemDelayClearTimer && return Ptr{Cfloat}(x + 8848) + f === :HoverItemUnlockedStationaryId && return Ptr{ImGuiID}(x + 8852) + f === :HoverWindowUnlockedStationaryId && return Ptr{ImGuiID}(x + 8856) + f === :MouseCursor && return Ptr{ImGuiMouseCursor}(x + 8860) + f === :MouseStationaryTimer && return Ptr{Cfloat}(x + 8864) + f === :MouseLastValidPos && return Ptr{ImVec2}(x + 8868) + f === :InputTextState && return Ptr{ImGuiInputTextState}(x + 8876) + f === :InputTextDeactivatedState && return Ptr{ImGuiInputTextDeactivatedState}(x + 8964) + f === :InputTextPasswordFont && return Ptr{ImFont}(x + 8980) + f === :TempInputId && return Ptr{ImGuiID}(x + 9076) + f === :DataTypeZeroValue && return Ptr{ImGuiDataTypeStorage}(x + 9080) + f === :BeginMenuDepth && return Ptr{Cint}(x + 9088) + f === :BeginComboDepth && return Ptr{Cint}(x + 9092) + f === :ColorEditOptions && return Ptr{ImGuiColorEditFlags}(x + 9096) + f === :ColorEditCurrentID && return Ptr{ImGuiID}(x + 9100) + f === :ColorEditSavedID && return Ptr{ImGuiID}(x + 9104) + f === :ColorEditSavedHue && return Ptr{Cfloat}(x + 9108) + f === :ColorEditSavedSat && return Ptr{Cfloat}(x + 9112) + f === :ColorEditSavedColor && return Ptr{ImU32}(x + 9116) + f === :ColorPickerRef && return Ptr{ImVec4}(x + 9120) + f === :ComboPreviewData && return Ptr{ImGuiComboPreviewData}(x + 9136) + f === :WindowResizeBorderExpectedRect && return Ptr{ImRect}(x + 9184) + f === :WindowResizeRelativeMode && return Ptr{Bool}(x + 9200) + f === :ScrollbarSeekMode && return Ptr{Cshort}(x + 9202) + f === :ScrollbarClickDeltaToGrabCenter && return Ptr{Cfloat}(x + 9204) + f === :SliderGrabClickOffset && return Ptr{Cfloat}(x + 9208) + f === :SliderCurrentAccum && return Ptr{Cfloat}(x + 9212) + f === :SliderCurrentAccumDirty && return Ptr{Bool}(x + 9216) + f === :DragCurrentAccumDirty && return Ptr{Bool}(x + 9217) + f === :DragCurrentAccum && return Ptr{Cfloat}(x + 9220) + f === :DragSpeedDefaultRatio && return Ptr{Cfloat}(x + 9224) + f === :DisabledAlphaBackup && return Ptr{Cfloat}(x + 9228) + f === :DisabledStackSize && return Ptr{Cshort}(x + 9232) + f === :TooltipOverrideCount && return Ptr{Cshort}(x + 9234) + f === :TooltipPreviousWindow && return Ptr{Ptr{ImGuiWindow}}(x + 9236) + f === :ClipboardHandlerData && return Ptr{ImVector_char}(x + 9240) + f === :MenusIdSubmittedThisFrame && return Ptr{ImVector_ImGuiID}(x + 9252) + f === :TypingSelectState && return Ptr{ImGuiTypingSelectState}(x + 9264) + f === :PlatformImeData && return Ptr{ImGuiPlatformImeData}(x + 9360) + f === :PlatformImeDataPrev && return Ptr{ImGuiPlatformImeData}(x + 9376) + f === :PlatformImeViewport && return Ptr{ImGuiID}(x + 9392) + f === :DockContext && return Ptr{ImGuiDockContext}(x + 9396) + f === :DockNodeWindowMenuHandler && return Ptr{Ptr{Cvoid}}(x + 9436) + f === :SettingsLoaded && return Ptr{Bool}(x + 9440) + f === :SettingsDirtyTimer && return Ptr{Cfloat}(x + 9444) + f === :SettingsIniData && return Ptr{ImGuiTextBuffer}(x + 9448) + f === :SettingsHandlers && return Ptr{ImVector_ImGuiSettingsHandler}(x + 9460) + f === :SettingsWindows && return Ptr{ImChunkStream_ImGuiWindowSettings}(x + 9472) + f === :SettingsTables && return Ptr{ImChunkStream_ImGuiTableSettings}(x + 9484) + f === :Hooks && return Ptr{ImVector_ImGuiContextHook}(x + 9496) + f === :HookIdNext && return Ptr{ImGuiID}(x + 9508) + f === :LocalizationTable && return Ptr{NTuple{13, Ptr{Cchar}}}(x + 9512) + f === :LogEnabled && return Ptr{Bool}(x + 9564) + f === :LogFlags && return Ptr{ImGuiLogFlags}(x + 9568) + f === :LogWindow && return Ptr{Ptr{ImGuiWindow}}(x + 9572) + f === :LogFile && return Ptr{ImFileHandle}(x + 9576) + f === :LogBuffer && return Ptr{ImGuiTextBuffer}(x + 9580) + f === :LogNextPrefix && return Ptr{Ptr{Cchar}}(x + 9592) + f === :LogNextSuffix && return Ptr{Ptr{Cchar}}(x + 9596) + f === :LogLinePosY && return Ptr{Cfloat}(x + 9600) + f === :LogLineFirstItem && return Ptr{Bool}(x + 9604) + f === :LogDepthRef && return Ptr{Cint}(x + 9608) + f === :LogDepthToExpand && return Ptr{Cint}(x + 9612) + f === :LogDepthToExpandDefault && return Ptr{Cint}(x + 9616) + f === :ErrorCallback && return Ptr{ImGuiErrorCallback}(x + 9620) + f === :ErrorCallbackUserData && return Ptr{Ptr{Cvoid}}(x + 9624) + f === :ErrorTooltipLockedPos && return Ptr{ImVec2}(x + 9628) + f === :ErrorFirst && return Ptr{Bool}(x + 9636) + f === :ErrorCountCurrentFrame && return Ptr{Cint}(x + 9640) + f === :StackSizesInNewFrame && return Ptr{ImGuiErrorRecoveryState}(x + 9644) + f === :StackSizesInBeginForCurrentWindow && return Ptr{Ptr{ImGuiErrorRecoveryState}}(x + 9668) + f === :DebugDrawIdConflictsCount && return Ptr{Cint}(x + 9672) + f === :DebugLogFlags && return Ptr{ImGuiDebugLogFlags}(x + 9676) + f === :DebugLogBuf && return Ptr{ImGuiTextBuffer}(x + 9680) + f === :DebugLogIndex && return Ptr{ImGuiTextIndex}(x + 9692) + f === :DebugLogSkippedErrors && return Ptr{Cint}(x + 9708) + f === :DebugLogAutoDisableFlags && return Ptr{ImGuiDebugLogFlags}(x + 9712) + f === :DebugLogAutoDisableFrames && return Ptr{ImU8}(x + 9716) + f === :DebugLocateFrames && return Ptr{ImU8}(x + 9717) + f === :DebugBreakInLocateId && return Ptr{Bool}(x + 9718) + f === :DebugBreakKeyChord && return Ptr{ImGuiKeyChord}(x + 9720) + f === :DebugBeginReturnValueCullDepth && return Ptr{ImS8}(x + 9724) + f === :DebugItemPickerActive && return Ptr{Bool}(x + 9725) + f === :DebugItemPickerMouseButton && return Ptr{ImU8}(x + 9726) + f === :DebugItemPickerBreakId && return Ptr{ImGuiID}(x + 9728) + f === :DebugFlashStyleColorTime && return Ptr{Cfloat}(x + 9732) + f === :DebugFlashStyleColorBackup && return Ptr{ImVec4}(x + 9736) + f === :DebugMetricsConfig && return Ptr{ImGuiMetricsConfig}(x + 9752) + f === :DebugIDStackTool && return Ptr{ImGuiIDStackTool}(x + 9780) + f === :DebugAllocInfo && return Ptr{ImGuiDebugAllocInfo}(x + 9812) + f === :DebugHoveredDockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 9872) + f === :FramerateSecPerFrame && return Ptr{NTuple{60, Cfloat}}(x + 9876) + f === :FramerateSecPerFrameIdx && return Ptr{Cint}(x + 10116) + f === :FramerateSecPerFrameCount && return Ptr{Cint}(x + 10120) + f === :FramerateSecPerFrameAccum && return Ptr{Cfloat}(x + 10124) + f === :WantCaptureMouseNextFrame && return Ptr{Cint}(x + 10128) + f === :WantCaptureKeyboardNextFrame && return Ptr{Cint}(x + 10132) + f === :WantTextInputNextFrame && return Ptr{Cint}(x + 10136) + f === :TempBuffer && return Ptr{ImVector_char}(x + 10140) + f === :TempKeychordName && return Ptr{NTuple{64, Cchar}}(x + 10152) return getfield(x, f) end @@ -3561,8 +3654,6 @@ struct ImVector_const_charPtr Data::Ptr{Ptr{Cchar}} end -const ImU64 = Culonglong - const ImGuiMouseButton = Cint const ImGuiTableBgTarget = Cint @@ -3667,12 +3758,13 @@ end ImGuiInputTextFlags_DisplayEmptyRefVal = 16384 ImGuiInputTextFlags_NoHorizontalScroll = 32768 ImGuiInputTextFlags_NoUndoRedo = 65536 - ImGuiInputTextFlags_CallbackCompletion = 131072 - ImGuiInputTextFlags_CallbackHistory = 262144 - ImGuiInputTextFlags_CallbackAlways = 524288 - ImGuiInputTextFlags_CallbackCharFilter = 1048576 - ImGuiInputTextFlags_CallbackResize = 2097152 - ImGuiInputTextFlags_CallbackEdit = 4194304 + ImGuiInputTextFlags_ElideLeft = 131072 + ImGuiInputTextFlags_CallbackCompletion = 262144 + ImGuiInputTextFlags_CallbackHistory = 524288 + ImGuiInputTextFlags_CallbackAlways = 1048576 + ImGuiInputTextFlags_CallbackCharFilter = 2097152 + ImGuiInputTextFlags_CallbackResize = 4194304 + ImGuiInputTextFlags_CallbackEdit = 8388608 end @cenum ImGuiTreeNodeFlags_::UInt32 begin @@ -3856,8 +3948,6 @@ end ImGuiConfigFlags_None = 0 ImGuiConfigFlags_NavEnableKeyboard = 1 ImGuiConfigFlags_NavEnableGamepad = 2 - ImGuiConfigFlags_NavEnableSetMousePos = 4 - ImGuiConfigFlags_NavNoCaptureKeyboard = 8 ImGuiConfigFlags_NoMouse = 16 ImGuiConfigFlags_NoMouseCursorChange = 32 ImGuiConfigFlags_NoKeyboard = 64 @@ -3935,7 +4025,7 @@ end ImGuiCol_TextLink = 51 ImGuiCol_TextSelectedBg = 52 ImGuiCol_DragDropTarget = 53 - ImGuiCol_NavHighlight = 54 + ImGuiCol_NavCursor = 54 ImGuiCol_NavWindowingHighlight = 55 ImGuiCol_NavWindowingDimBg = 56 ImGuiCol_ModalWindowDimBg = 57 @@ -3986,6 +4076,7 @@ end ImGuiButtonFlags_MouseButtonRight = 2 ImGuiButtonFlags_MouseButtonMiddle = 4 ImGuiButtonFlags_MouseButtonMask_ = 7 + ImGuiButtonFlags_EnableNav = 8 end @cenum ImGuiColorEditFlags_::UInt32 begin @@ -4022,11 +4113,13 @@ end @cenum ImGuiSliderFlags_::UInt32 begin ImGuiSliderFlags_None = 0 - ImGuiSliderFlags_AlwaysClamp = 16 ImGuiSliderFlags_Logarithmic = 32 ImGuiSliderFlags_NoRoundToFormat = 64 ImGuiSliderFlags_NoInput = 128 ImGuiSliderFlags_WrapAround = 256 + ImGuiSliderFlags_ClampOnInput = 512 + ImGuiSliderFlags_ClampZeroRange = 1024 + ImGuiSliderFlags_AlwaysClamp = 1536 ImGuiSliderFlags_InvalidMask_ = 1879048207 end @@ -4214,7 +4307,7 @@ end const ImGuiFocusRequestFlags = Cint -const ImGuiNavHighlightFlags = Cint +const ImGuiNavRenderCursorFlags = Cint const ImGuiSeparatorFlags = Cint @@ -4222,9 +4315,6 @@ const ImGuiTextFlags = Cint const ImGuiTooltipFlags = Cint -# typedef void ( * ImGuiErrorLogCallback ) ( void * user_data , const char * fmt , ... ) -const ImGuiErrorLogCallback = Ptr{Cvoid} - @cenum ImGuiDataTypePrivate_::UInt32 begin ImGuiDataType_String = 12 ImGuiDataType_Pointer = 13 @@ -4237,6 +4327,8 @@ end ImGuiItemFlags_MixedValue = 4096 ImGuiItemFlags_NoWindowHoverableCheck = 8192 ImGuiItemFlags_AllowOverlap = 16384 + ImGuiItemFlags_NoNavDisableMouseHover = 32768 + ImGuiItemFlags_NoMarkEdited = 65536 ImGuiItemFlags_Inputable = 1048576 ImGuiItemFlags_HasSelectionUserData = 2097152 ImGuiItemFlags_IsMultiSelect = 4194304 @@ -4266,9 +4358,8 @@ end @cenum ImGuiInputTextFlagsPrivate_::UInt32 begin ImGuiInputTextFlags_Multiline = 67108864 - ImGuiInputTextFlags_NoMarkEdited = 134217728 - ImGuiInputTextFlags_MergedItem = 268435456 - ImGuiInputTextFlags_LocalizeDecimalPoint = 536870912 + ImGuiInputTextFlags_MergedItem = 134217728 + ImGuiInputTextFlags_LocalizeDecimalPoint = 268435456 end @cenum ImGuiButtonFlagsPrivate_::UInt32 begin @@ -4278,12 +4369,10 @@ end ImGuiButtonFlags_PressedOnRelease = 128 ImGuiButtonFlags_PressedOnDoubleClick = 256 ImGuiButtonFlags_PressedOnDragDropHold = 512 - ImGuiButtonFlags_Repeat = 1024 ImGuiButtonFlags_FlattenChildren = 2048 ImGuiButtonFlags_AllowOverlap = 4096 - ImGuiButtonFlags_DontClosePopups = 8192 ImGuiButtonFlags_AlignTextBaseLine = 32768 - ImGuiButtonFlags_NoKeyModifiers = 65536 + ImGuiButtonFlags_NoKeyModsAllowed = 65536 ImGuiButtonFlags_NoHoldingActiveId = 131072 ImGuiButtonFlags_NoNavFocus = 262144 ImGuiButtonFlags_NoHoveredOnFocus = 524288 @@ -4347,6 +4436,15 @@ end ImGuiLayoutType_Vertical = 1 end +@cenum ImGuiLogFlags_::UInt32 begin + ImGuiLogFlags_None = 0 + ImGuiLogFlags_OutputTTY = 1 + ImGuiLogFlags_OutputFile = 2 + ImGuiLogFlags_OutputBuffer = 4 + ImGuiLogFlags_OutputClipboard = 8 + ImGuiLogFlags_OutputMask_ = 15 +end + @cenum ImGuiPlotType::UInt32 begin ImGuiPlotType_Lines = 0 ImGuiPlotType_Histogram = 1 @@ -4476,11 +4574,11 @@ end ImGuiScrollFlags_MaskY_ = 42 end -@cenum ImGuiNavHighlightFlags_::UInt32 begin - ImGuiNavHighlightFlags_None = 0 - ImGuiNavHighlightFlags_Compact = 2 - ImGuiNavHighlightFlags_AlwaysDraw = 4 - ImGuiNavHighlightFlags_NoRounding = 8 +@cenum ImGuiNavRenderCursorFlags_::UInt32 begin + ImGuiNavRenderCursorFlags_None = 0 + ImGuiNavRenderCursorFlags_Compact = 2 + ImGuiNavRenderCursorFlags_AlwaysDraw = 4 + ImGuiNavRenderCursorFlags_NoRounding = 8 end @cenum ImGuiNavMoveFlags_::UInt32 begin @@ -4500,7 +4598,7 @@ end ImGuiNavMoveFlags_IsPageMove = 2048 ImGuiNavMoveFlags_Activate = 4096 ImGuiNavMoveFlags_NoSelect = 8192 - ImGuiNavMoveFlags_NoSetNavHighlight = 16384 + ImGuiNavMoveFlags_NoSetNavCursorVisible = 16384 ImGuiNavMoveFlags_NoClearActiveId = 32768 end @@ -4560,17 +4658,19 @@ end @cenum ImGuiDebugLogFlags_::UInt32 begin ImGuiDebugLogFlags_None = 0 - ImGuiDebugLogFlags_EventActiveId = 1 - ImGuiDebugLogFlags_EventFocus = 2 - ImGuiDebugLogFlags_EventPopup = 4 - ImGuiDebugLogFlags_EventNav = 8 - ImGuiDebugLogFlags_EventClipper = 16 - ImGuiDebugLogFlags_EventSelection = 32 - ImGuiDebugLogFlags_EventIO = 64 - ImGuiDebugLogFlags_EventInputRouting = 128 - ImGuiDebugLogFlags_EventDocking = 256 - ImGuiDebugLogFlags_EventViewport = 512 - ImGuiDebugLogFlags_EventMask_ = 1023 + ImGuiDebugLogFlags_EventError = 1 + ImGuiDebugLogFlags_EventActiveId = 2 + ImGuiDebugLogFlags_EventFocus = 4 + ImGuiDebugLogFlags_EventPopup = 8 + ImGuiDebugLogFlags_EventNav = 16 + ImGuiDebugLogFlags_EventClipper = 32 + ImGuiDebugLogFlags_EventSelection = 64 + ImGuiDebugLogFlags_EventIO = 128 + ImGuiDebugLogFlags_EventFont = 256 + ImGuiDebugLogFlags_EventInputRouting = 512 + ImGuiDebugLogFlags_EventDocking = 1024 + ImGuiDebugLogFlags_EventViewport = 2048 + ImGuiDebugLogFlags_EventMask_ = 4095 ImGuiDebugLogFlags_OutputToTTY = 1048576 ImGuiDebugLogFlags_OutputToTestEngine = 2097152 end @@ -5935,6 +6035,10 @@ function igSetKeyboardFocusHere(offset) ccall((:igSetKeyboardFocusHere, libcimgui), Cvoid, (Cint,), offset) end +function igSetNavCursorVisible(visible) + ccall((:igSetNavCursorVisible, libcimgui), Cvoid, (Bool,), visible) +end + function igSetNextItemAllowOverlap() ccall((:igSetNextItemAllowOverlap, libcimgui), Cvoid, ()) end @@ -6920,8 +7024,8 @@ function ImDrawList_PathRect(self, rect_min, rect_max, rounding, flags) ccall((:ImDrawList_PathRect, libcimgui), Cvoid, (Ptr{ImDrawList}, ImVec2, ImVec2, Cfloat, ImDrawFlags), self, rect_min, rect_max, rounding, flags) end -function ImDrawList_AddCallback(self, callback, callback_data) - ccall((:ImDrawList_AddCallback, libcimgui), Cvoid, (Ptr{ImDrawList}, ImDrawCallback, Ptr{Cvoid}), self, callback, callback_data) +function ImDrawList_AddCallback(self, callback, userdata, userdata_size) + ccall((:ImDrawList_AddCallback, libcimgui), Cvoid, (Ptr{ImDrawList}, ImDrawCallback, Ptr{Cvoid}, Csize_t), self, callback, userdata, userdata_size) end function ImDrawList_AddDrawCmd(self) @@ -8090,20 +8194,12 @@ function ImGuiLastItemData_destroy(self) ccall((:ImGuiLastItemData_destroy, libcimgui), Cvoid, (Ptr{ImGuiLastItemData},), self) end -function ImGuiStackSizes_ImGuiStackSizes() - ccall((:ImGuiStackSizes_ImGuiStackSizes, libcimgui), Ptr{ImGuiStackSizes}, ()) +function ImGuiErrorRecoveryState_ImGuiErrorRecoveryState() + ccall((:ImGuiErrorRecoveryState_ImGuiErrorRecoveryState, libcimgui), Ptr{ImGuiErrorRecoveryState}, ()) end -function ImGuiStackSizes_destroy(self) - ccall((:ImGuiStackSizes_destroy, libcimgui), Cvoid, (Ptr{ImGuiStackSizes},), self) -end - -function ImGuiStackSizes_SetToContextState(self, ctx) - ccall((:ImGuiStackSizes_SetToContextState, libcimgui), Cvoid, (Ptr{ImGuiStackSizes}, Ptr{ImGuiContext}), self, ctx) -end - -function ImGuiStackSizes_CompareWithContextState(self, ctx) - ccall((:ImGuiStackSizes_CompareWithContextState, libcimgui), Cvoid, (Ptr{ImGuiStackSizes}, Ptr{ImGuiContext}), self, ctx) +function ImGuiErrorRecoveryState_destroy(self) + ccall((:ImGuiErrorRecoveryState_destroy, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), self) end function ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr(ptr) @@ -8526,6 +8622,14 @@ function ImGuiTableSettings_GetColumnSettings(self) ccall((:ImGuiTableSettings_GetColumnSettings, libcimgui), Ptr{ImGuiTableColumnSettings}, (Ptr{ImGuiTableSettings},), self) end +function igGetIOEx(ctx) + ccall((:igGetIOEx, libcimgui), Ptr{ImGuiIO}, (Ptr{ImGuiContext},), ctx) +end + +function igGetPlatformIOEx(ctx) + ccall((:igGetPlatformIOEx, libcimgui), Ptr{ImGuiPlatformIO}, (Ptr{ImGuiContext},), ctx) +end + function igGetCurrentWindowRead() ccall((:igGetCurrentWindowRead, libcimgui), Ptr{ImGuiWindow}, ()) end @@ -8930,8 +9034,8 @@ function igEndDisabledOverrideReenable() ccall((:igEndDisabledOverrideReenable, libcimgui), Cvoid, ()) end -function igLogBegin(type, auto_open_depth) - ccall((:igLogBegin, libcimgui), Cvoid, (ImGuiLogType, Cint), type, auto_open_depth) +function igLogBegin(flags, auto_open_depth) + ccall((:igLogBegin, libcimgui), Cvoid, (ImGuiLogFlags, Cint), flags, auto_open_depth) end function igLogToBuffer(auto_open_depth) @@ -9078,8 +9182,8 @@ function igNavClearPreferredPosForAxis(axis) ccall((:igNavClearPreferredPosForAxis, libcimgui), Cvoid, (ImGuiAxis,), axis) end -function igNavRestoreHighlightAfterMove() - ccall((:igNavRestoreHighlightAfterMove, libcimgui), Cvoid, ()) +function igSetNavCursorVisibleAfterMove() + ccall((:igSetNavCursorVisibleAfterMove, libcimgui), Cvoid, ()) end function igNavUpdateCurrentWindowIsScrollPushableX() @@ -9798,8 +9902,12 @@ function igTabBarCloseTab(tab_bar, tab) ccall((:igTabBarCloseTab, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) end -function igTabBarQueueFocus(tab_bar, tab) - ccall((:igTabBarQueueFocus, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) +function igTabBarQueueFocus_TabItemPtr(tab_bar, tab) + ccall((:igTabBarQueueFocus_TabItemPtr, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) +end + +function igTabBarQueueFocus_Str(tab_bar, tab_name) + ccall((:igTabBarQueueFocus_Str, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{Cchar}), tab_bar, tab_name) end function igTabBarQueueReorder(tab_bar, tab, offset) @@ -9866,8 +9974,8 @@ function igRenderColorRectWithAlphaCheckerboard(draw_list, p_min, p_max, fill_co ccall((:igRenderColorRectWithAlphaCheckerboard, libcimgui), Cvoid, (Ptr{ImDrawList}, ImVec2, ImVec2, ImU32, Cfloat, ImVec2, Cfloat, ImDrawFlags), draw_list, p_min, p_max, fill_col, grid_step, grid_off, rounding, flags) end -function igRenderNavHighlight(bb, id, flags) - ccall((:igRenderNavHighlight, libcimgui), Cvoid, (ImRect, ImGuiID, ImGuiNavHighlightFlags), bb, id, flags) +function igRenderNavCursor(bb, id, flags) + ccall((:igRenderNavCursor, libcimgui), Cvoid, (ImRect, ImGuiID, ImGuiNavRenderCursorFlags), bb, id, flags) end function igFindRenderedTextEnd(text, text_end) @@ -9922,8 +10030,8 @@ function igArrowButtonEx(str_id, dir, size_arg, flags) ccall((:igArrowButtonEx, libcimgui), Bool, (Ptr{Cchar}, ImGuiDir, ImVec2, ImGuiButtonFlags), str_id, dir, size_arg, flags) end -function igImageButtonEx(id, texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) - ccall((:igImageButtonEx, libcimgui), Bool, (ImGuiID, ImTextureID, ImVec2, ImVec2, ImVec2, ImVec4, ImVec4, ImGuiButtonFlags), id, texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) +function igImageButtonEx(id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) + ccall((:igImageButtonEx, libcimgui), Bool, (ImGuiID, ImTextureID, ImVec2, ImVec2, ImVec2, ImVec4, ImVec4, ImGuiButtonFlags), id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) end function igSeparatorEx(flags, thickness) @@ -9954,8 +10062,8 @@ function igScrollbar(axis) ccall((:igScrollbar, libcimgui), Cvoid, (ImGuiAxis,), axis) end -function igScrollbarEx(bb, id, axis, p_scroll_v, avail_v, contents_v, flags) - ccall((:igScrollbarEx, libcimgui), Bool, (ImRect, ImGuiID, ImGuiAxis, Ptr{ImS64}, ImS64, ImS64, ImDrawFlags), bb, id, axis, p_scroll_v, avail_v, contents_v, flags) +function igScrollbarEx(bb, id, axis, p_scroll_v, avail_v, contents_v, draw_rounding_flags) + ccall((:igScrollbarEx, libcimgui), Bool, (ImRect, ImGuiID, ImGuiAxis, Ptr{ImS64}, ImS64, ImS64, ImDrawFlags), bb, id, axis, p_scroll_v, avail_v, contents_v, draw_rounding_flags) end function igGetWindowScrollbarRect(pOut, window, axis) @@ -10034,6 +10142,10 @@ function igDataTypeClamp(data_type, p_data, p_min, p_max) ccall((:igDataTypeClamp, libcimgui), Bool, (ImGuiDataType, Ptr{Cvoid}, Ptr{Cvoid}, Ptr{Cvoid}), data_type, p_data, p_min, p_max) end +function igDataTypeIsZero(data_type, p_data) + ccall((:igDataTypeIsZero, libcimgui), Bool, (ImGuiDataType, Ptr{Cvoid}), data_type, p_data) +end + function igInputTextEx(label, hint, buf, buf_size, size_arg, flags, callback, user_data) ccall((:igInputTextEx, libcimgui), Bool, (Ptr{Cchar}, Ptr{Cchar}, Ptr{Cchar}, Cint, ImVec2, ImGuiInputTextFlags, ImGuiInputTextCallback, Ptr{Cvoid}), label, hint, buf, buf_size, size_arg, flags, callback, user_data) end @@ -10102,22 +10214,42 @@ function igGcAwakeTransientWindowBuffers(window) ccall((:igGcAwakeTransientWindowBuffers, libcimgui), Cvoid, (Ptr{ImGuiWindow},), window) end -function igDebugAllocHook(info, frame_count, ptr, size) - ccall((:igDebugAllocHook, libcimgui), Cvoid, (Ptr{ImGuiDebugAllocInfo}, Cint, Ptr{Cvoid}, Csize_t), info, frame_count, ptr, size) +function igErrorLog(msg) + ccall((:igErrorLog, libcimgui), Bool, (Ptr{Cchar},), msg) +end + +function igErrorRecoveryStoreState(state_out) + ccall((:igErrorRecoveryStoreState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_out) end -function igErrorCheckEndFrameRecover(log_callback, user_data) - ccall((:igErrorCheckEndFrameRecover, libcimgui), Cvoid, (ImGuiErrorLogCallback, Ptr{Cvoid}), log_callback, user_data) +function igErrorRecoveryTryToRecoverState(state_in) + ccall((:igErrorRecoveryTryToRecoverState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_in) end -function igErrorCheckEndWindowRecover(log_callback, user_data) - ccall((:igErrorCheckEndWindowRecover, libcimgui), Cvoid, (ImGuiErrorLogCallback, Ptr{Cvoid}), log_callback, user_data) +function igErrorRecoveryTryToRecoverWindowState(state_in) + ccall((:igErrorRecoveryTryToRecoverWindowState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_in) end function igErrorCheckUsingSetCursorPosToExtendParentBoundaries() ccall((:igErrorCheckUsingSetCursorPosToExtendParentBoundaries, libcimgui), Cvoid, ()) end +function igErrorCheckEndFrameFinalizeErrorTooltip() + ccall((:igErrorCheckEndFrameFinalizeErrorTooltip, libcimgui), Cvoid, ()) +end + +function igBeginErrorTooltip() + ccall((:igBeginErrorTooltip, libcimgui), Bool, ()) +end + +function igEndErrorTooltip() + ccall((:igEndErrorTooltip, libcimgui), Cvoid, ()) +end + +function igDebugAllocHook(info, frame_count, ptr, size) + ccall((:igDebugAllocHook, libcimgui), Cvoid, (Ptr{ImGuiDebugAllocInfo}, Cint, Ptr{Cvoid}, Csize_t), info, frame_count, ptr, size) +end + function igDebugDrawCursorPos(col) ccall((:igDebugDrawCursorPos, libcimgui), Cvoid, (ImU32,), col) end @@ -10821,11 +10953,29 @@ struct ImVector_ImU64 Data::Ptr{ImU64} end -struct ImVector_ImU8 +struct var"##Ctag#236" Size::Cint Capacity::Cint Data::Ptr{ImU8} end +function Base.getproperty(x::Ptr{var"##Ctag#236"}, f::Symbol) + f === :Size && return Ptr{Cint}(x + 0) + f === :Capacity && return Ptr{Cint}(x + 0) + f === :Data && return Ptr{Ptr{ImU8}}(x + 0) + return getfield(x, f) +end + +function Base.getproperty(x::var"##Ctag#236", f::Symbol) + r = Ref{var"##Ctag#236"}(x) + ptr = Base.unsafe_convert(Ptr{var"##Ctag#236"}, r) + fptr = getproperty(ptr, f) + GC.@preserve r unsafe_load(fptr) +end + +function Base.setproperty!(x::Ptr{var"##Ctag#236"}, f::Symbol, v) + unsafe_store!(getproperty(x, f), v) +end + const ImPlotDragToolFlags = Cint @@ -14828,6 +14978,8 @@ function ImGui_ImplOpenGL3_DestroyDeviceObjects() ccall((:ImGui_ImplOpenGL3_DestroyDeviceObjects, libcimgui), Cvoid, ()) end +const IM_UNICODE_CODEPOINT_MAX = 65535 + const IMGUI_HAS_DOCK = 1 const ImDrawCallback_ResetRenderState = ImDrawCallback(-8) diff --git a/lib/i686-w64-mingw32.jl b/lib/i686-w64-mingw32.jl index db3431a..0c07b12 100644 --- a/lib/i686-w64-mingw32.jl +++ b/lib/i686-w64-mingw32.jl @@ -59,7 +59,9 @@ function Base.setproperty!(x::Ptr{ImVec4}, f::Symbol, v) end -const ImTextureID = Ptr{Cvoid} +const ImU64 = Culonglong + +const ImTextureID = ImU64 struct ImDrawCmd ClipRect::ImVec4 @@ -69,15 +71,19 @@ struct ImDrawCmd ElemCount::Cuint UserCallback::ImDrawCallback UserCallbackData::Ptr{Cvoid} + UserCallbackDataSize::Cint + UserCallbackDataOffset::Cint end function Base.getproperty(x::Ptr{ImDrawCmd}, f::Symbol) f === :ClipRect && return Ptr{ImVec4}(x + 0) f === :TextureId && return Ptr{ImTextureID}(x + 16) - f === :VtxOffset && return Ptr{Cuint}(x + 20) - f === :IdxOffset && return Ptr{Cuint}(x + 24) - f === :ElemCount && return Ptr{Cuint}(x + 28) - f === :UserCallback && return Ptr{ImDrawCallback}(x + 32) - f === :UserCallbackData && return Ptr{Ptr{Cvoid}}(x + 36) + f === :VtxOffset && return Ptr{Cuint}(x + 24) + f === :IdxOffset && return Ptr{Cuint}(x + 28) + f === :ElemCount && return Ptr{Cuint}(x + 32) + f === :UserCallback && return Ptr{ImDrawCallback}(x + 36) + f === :UserCallbackData && return Ptr{Ptr{Cvoid}}(x + 40) + f === :UserCallbackDataSize && return Ptr{Cint}(x + 44) + f === :UserCallbackDataOffset && return Ptr{Cint}(x + 48) return getfield(x, f) end @@ -235,21 +241,65 @@ function Base.getproperty(x::ImVector_ImFontPtr, f::Symbol) end struct ImFontAtlasCustomRect - Width::Cushort - Height::Cushort - X::Cushort - Y::Cushort - GlyphID::Cuint - GlyphAdvanceX::Cfloat - GlyphOffset::ImVec2 - Font::Ptr{Cvoid} # Font::Ptr{ImFont} + data::NTuple{28, UInt8} end -function Base.getproperty(x::ImFontAtlasCustomRect, f::Symbol) - f === :Font && return Ptr{ImFont}(getfield(x, f)) +function Base.getproperty(x::Ptr{ImFontAtlasCustomRect}, f::Symbol) + f === :X && return Ptr{Cushort}(x + 0) + f === :Y && return Ptr{Cushort}(x + 2) + f === :Width && return Ptr{Cushort}(x + 4) + f === :Height && return Ptr{Cushort}(x + 6) + f === :GlyphID && return (Ptr{Cuint}(x + 8), 0, 31) + f === :GlyphColored && return (Ptr{Cuint}(x + 8), 31, 1) + f === :GlyphAdvanceX && return Ptr{Cfloat}(x + 12) + f === :GlyphOffset && return Ptr{ImVec2}(x + 16) + f === :Font && return Ptr{Ptr{ImFont}}(x + 24) return getfield(x, f) end +function Base.getproperty(x::ImFontAtlasCustomRect, f::Symbol) + r = Ref{ImFontAtlasCustomRect}(x) + ptr = Base.unsafe_convert(Ptr{ImFontAtlasCustomRect}, r) + fptr = getproperty(ptr, f) + begin + if fptr isa Ptr + return GC.@preserve(r, unsafe_load(fptr)) + else + (baseptr, offset, width) = fptr + ty = eltype(baseptr) + baseptr32 = convert(Ptr{UInt32}, baseptr) + u64 = GC.@preserve(r, unsafe_load(baseptr32)) + if offset + width > 32 + u64 |= GC.@preserve(r, unsafe_load(baseptr32 + 4)) << 32 + end + u64 = u64 >> offset & (1 << width - 1) + return u64 % ty + end + end +end + +function Base.setproperty!(x::Ptr{ImFontAtlasCustomRect}, f::Symbol, v) + fptr = getproperty(x, f) + if fptr isa Ptr + unsafe_store!(getproperty(x, f), v) + else + (baseptr, offset, width) = fptr + baseptr32 = convert(Ptr{UInt32}, baseptr) + u64 = unsafe_load(baseptr32) + straddle = offset + width > 32 + if straddle + u64 |= unsafe_load(baseptr32 + 4) << 32 + end + mask = 1 << width - 1 + u64 &= ~(mask << offset) + u64 |= (unsigned(v) & mask) << offset + unsafe_store!(baseptr32, u64 & typemax(UInt32)) + if straddle + unsafe_store!(baseptr32 + 4, u64 >> 32) + end + end +end + struct ImVector_ImFontAtlasCustomRect Size::Cint Capacity::Cint @@ -348,27 +398,27 @@ struct ImFontAtlas end function Base.getproperty(x::Ptr{ImFontAtlas}, f::Symbol) f === :Flags && return Ptr{ImFontAtlasFlags}(x + 0) - f === :TexID && return Ptr{ImTextureID}(x + 4) - f === :TexDesiredWidth && return Ptr{Cint}(x + 8) - f === :TexGlyphPadding && return Ptr{Cint}(x + 12) - f === :Locked && return Ptr{Bool}(x + 16) - f === :UserData && return Ptr{Ptr{Cvoid}}(x + 20) - f === :TexReady && return Ptr{Bool}(x + 24) - f === :TexPixelsUseColors && return Ptr{Bool}(x + 25) - f === :TexPixelsAlpha8 && return Ptr{Ptr{Cuchar}}(x + 28) - f === :TexPixelsRGBA32 && return Ptr{Ptr{Cuint}}(x + 32) - f === :TexWidth && return Ptr{Cint}(x + 36) - f === :TexHeight && return Ptr{Cint}(x + 40) - f === :TexUvScale && return Ptr{ImVec2}(x + 44) - f === :TexUvWhitePixel && return Ptr{ImVec2}(x + 52) - f === :Fonts && return Ptr{ImVector_ImFontPtr}(x + 60) - f === :CustomRects && return Ptr{ImVector_ImFontAtlasCustomRect}(x + 72) - f === :ConfigData && return Ptr{ImVector_ImFontConfig}(x + 84) - f === :TexUvLines && return Ptr{NTuple{64, ImVec4}}(x + 96) - f === :FontBuilderIO && return Ptr{Ptr{ImFontBuilderIO}}(x + 1120) - f === :FontBuilderFlags && return Ptr{Cuint}(x + 1124) - f === :PackIdMouseCursors && return Ptr{Cint}(x + 1128) - f === :PackIdLines && return Ptr{Cint}(x + 1132) + f === :TexID && return Ptr{ImTextureID}(x + 8) + f === :TexDesiredWidth && return Ptr{Cint}(x + 16) + f === :TexGlyphPadding && return Ptr{Cint}(x + 20) + f === :Locked && return Ptr{Bool}(x + 24) + f === :UserData && return Ptr{Ptr{Cvoid}}(x + 28) + f === :TexReady && return Ptr{Bool}(x + 32) + f === :TexPixelsUseColors && return Ptr{Bool}(x + 33) + f === :TexPixelsAlpha8 && return Ptr{Ptr{Cuchar}}(x + 36) + f === :TexPixelsRGBA32 && return Ptr{Ptr{Cuint}}(x + 40) + f === :TexWidth && return Ptr{Cint}(x + 44) + f === :TexHeight && return Ptr{Cint}(x + 48) + f === :TexUvScale && return Ptr{ImVec2}(x + 52) + f === :TexUvWhitePixel && return Ptr{ImVec2}(x + 60) + f === :Fonts && return Ptr{ImVector_ImFontPtr}(x + 68) + f === :CustomRects && return Ptr{ImVector_ImFontAtlasCustomRect}(x + 80) + f === :ConfigData && return Ptr{ImVector_ImFontConfig}(x + 92) + f === :TexUvLines && return Ptr{NTuple{64, ImVec4}}(x + 104) + f === :FontBuilderIO && return Ptr{Ptr{ImFontBuilderIO}}(x + 1128) + f === :FontBuilderFlags && return Ptr{Cuint}(x + 1132) + f === :PackIdMouseCursors && return Ptr{Cint}(x + 1136) + f === :PackIdLines && return Ptr{Cint}(x + 1140) return getfield(x, f) end @@ -389,9 +439,9 @@ struct ImFont ContainerAtlas::Ptr{ImFontAtlas} ConfigData::Ptr{ImFontConfig} ConfigDataCount::Cshort - FallbackChar::ImWchar - EllipsisChar::ImWchar EllipsisCharCount::Cshort + EllipsisChar::ImWchar + FallbackChar::ImWchar EllipsisWidth::Cfloat EllipsisCharStep::Cfloat DirtyLookupTables::Bool @@ -410,6 +460,7 @@ end struct ImDrawListSharedData TexUvWhitePixel::ImVec2 + TexUvLines::Ptr{ImVec4} Font::Ptr{ImFont} FontSize::Cfloat FontScale::Cfloat @@ -421,7 +472,6 @@ struct ImDrawListSharedData ArcFastVtx::NTuple{48, ImVec2} ArcFastRadiusCutoff::Cfloat CircleSegmentCounts::NTuple{64, ImU8} - TexUvLines::Ptr{ImVec4} end struct ImDrawCmdHeader @@ -454,6 +504,12 @@ struct ImVector_ImTextureID Data::Ptr{ImTextureID} end +struct ImVector_ImU8 + Size::Cint + Capacity::Cint + Data::Ptr{ImU8} +end + struct ImDrawList CmdBuffer::ImVector_ImDrawCmd IdxBuffer::ImVector_ImDrawIdx @@ -468,6 +524,7 @@ struct ImDrawList _Splitter::ImDrawListSplitter _ClipRectStack::ImVector_ImVec4 _TextureIdStack::ImVector_ImTextureID + _CallbacksDataBuf::ImVector_ImU8 _FringeScale::Cfloat _OwnerName::Ptr{Cchar} end @@ -481,12 +538,13 @@ function Base.getproperty(x::Ptr{ImDrawList}, f::Symbol) f === :_VtxWritePtr && return Ptr{Ptr{ImDrawVert}}(x + 48) f === :_IdxWritePtr && return Ptr{Ptr{ImDrawIdx}}(x + 52) f === :_Path && return Ptr{ImVector_ImVec2}(x + 56) - f === :_CmdHeader && return Ptr{ImDrawCmdHeader}(x + 68) - f === :_Splitter && return Ptr{ImDrawListSplitter}(x + 92) - f === :_ClipRectStack && return Ptr{ImVector_ImVec4}(x + 112) - f === :_TextureIdStack && return Ptr{ImVector_ImTextureID}(x + 124) - f === :_FringeScale && return Ptr{Cfloat}(x + 136) - f === :_OwnerName && return Ptr{Ptr{Cchar}}(x + 140) + f === :_CmdHeader && return Ptr{ImDrawCmdHeader}(x + 72) + f === :_Splitter && return Ptr{ImDrawListSplitter}(x + 104) + f === :_ClipRectStack && return Ptr{ImVector_ImVec4}(x + 124) + f === :_TextureIdStack && return Ptr{ImVector_ImTextureID}(x + 136) + f === :_CallbacksDataBuf && return Ptr{ImVector_ImU8}(x + 148) + f === :_FringeScale && return Ptr{Cfloat}(x + 160) + f === :_OwnerName && return Ptr{Ptr{Cchar}}(x + 164) return getfield(x, f) end @@ -620,8 +678,6 @@ end const ImU16 = Cushort -const ImS8 = Int8 - struct ImGuiIO ConfigFlags::ImGuiConfigFlags BackendFlags::ImGuiBackendFlags @@ -636,6 +692,13 @@ struct ImGuiIO FontAllowUserScaling::Bool FontDefault::Ptr{ImFont} DisplayFramebufferScale::ImVec2 + ConfigNavSwapGamepadButtons::Bool + ConfigNavMoveSetMousePos::Bool + ConfigNavCaptureKeyboard::Bool + ConfigNavEscapeClearFocusItem::Bool + ConfigNavEscapeClearFocusWindow::Bool + ConfigNavCursorVisibleAuto::Bool + ConfigNavCursorVisibleAlways::Bool ConfigDockingNoSplit::Bool ConfigDockingWithShift::Bool ConfigDockingAlwaysTabBar::Bool @@ -646,19 +709,24 @@ struct ImGuiIO ConfigViewportsNoDefaultParent::Bool MouseDrawCursor::Bool ConfigMacOSXBehaviors::Bool - ConfigNavSwapGamepadButtons::Bool ConfigInputTrickleEventQueue::Bool ConfigInputTextCursorBlink::Bool ConfigInputTextEnterKeepActive::Bool ConfigDragClickToInputText::Bool ConfigWindowsResizeFromEdges::Bool ConfigWindowsMoveFromTitleBarOnly::Bool + ConfigWindowsCopyContentsWithCtrlC::Bool + ConfigScrollbarScrollByPage::Bool ConfigMemoryCompactTimer::Cfloat MouseDoubleClickTime::Cfloat MouseDoubleClickMaxDist::Cfloat MouseDragThreshold::Cfloat KeyRepeatDelay::Cfloat KeyRepeatRate::Cfloat + ConfigErrorRecovery::Bool + ConfigErrorRecoveryEnableAssert::Bool + ConfigErrorRecoveryEnableDebugLog::Bool + ConfigErrorRecoveryEnableTooltip::Bool ConfigDebugIsDebuggerPresent::Bool ConfigDebugHighlightIdConflicts::Bool ConfigDebugBeginReturnValueOnce::Bool @@ -716,8 +784,6 @@ struct ImGuiIO PenPressure::Cfloat AppFocusLost::Bool AppAcceptingEvents::Bool - BackendUsingLegacyKeyArrays::ImS8 - BackendUsingLegacyNavInputArray::Bool InputQueueSurrogate::ImWchar16 InputQueueCharacters::ImVector_ImWchar end @@ -741,90 +807,100 @@ function Base.getproperty(x::Ptr{ImGuiIO}, f::Symbol) f === :FontAllowUserScaling && return Ptr{Bool}(x + 44) f === :FontDefault && return Ptr{Ptr{ImFont}}(x + 48) f === :DisplayFramebufferScale && return Ptr{ImVec2}(x + 52) - f === :ConfigDockingNoSplit && return Ptr{Bool}(x + 60) - f === :ConfigDockingWithShift && return Ptr{Bool}(x + 61) - f === :ConfigDockingAlwaysTabBar && return Ptr{Bool}(x + 62) - f === :ConfigDockingTransparentPayload && return Ptr{Bool}(x + 63) - f === :ConfigViewportsNoAutoMerge && return Ptr{Bool}(x + 64) - f === :ConfigViewportsNoTaskBarIcon && return Ptr{Bool}(x + 65) - f === :ConfigViewportsNoDecoration && return Ptr{Bool}(x + 66) - f === :ConfigViewportsNoDefaultParent && return Ptr{Bool}(x + 67) - f === :MouseDrawCursor && return Ptr{Bool}(x + 68) - f === :ConfigMacOSXBehaviors && return Ptr{Bool}(x + 69) - f === :ConfigNavSwapGamepadButtons && return Ptr{Bool}(x + 70) - f === :ConfigInputTrickleEventQueue && return Ptr{Bool}(x + 71) - f === :ConfigInputTextCursorBlink && return Ptr{Bool}(x + 72) - f === :ConfigInputTextEnterKeepActive && return Ptr{Bool}(x + 73) - f === :ConfigDragClickToInputText && return Ptr{Bool}(x + 74) - f === :ConfigWindowsResizeFromEdges && return Ptr{Bool}(x + 75) - f === :ConfigWindowsMoveFromTitleBarOnly && return Ptr{Bool}(x + 76) - f === :ConfigMemoryCompactTimer && return Ptr{Cfloat}(x + 80) - f === :MouseDoubleClickTime && return Ptr{Cfloat}(x + 84) - f === :MouseDoubleClickMaxDist && return Ptr{Cfloat}(x + 88) - f === :MouseDragThreshold && return Ptr{Cfloat}(x + 92) - f === :KeyRepeatDelay && return Ptr{Cfloat}(x + 96) - f === :KeyRepeatRate && return Ptr{Cfloat}(x + 100) - f === :ConfigDebugIsDebuggerPresent && return Ptr{Bool}(x + 104) - f === :ConfigDebugHighlightIdConflicts && return Ptr{Bool}(x + 105) - f === :ConfigDebugBeginReturnValueOnce && return Ptr{Bool}(x + 106) - f === :ConfigDebugBeginReturnValueLoop && return Ptr{Bool}(x + 107) - f === :ConfigDebugIgnoreFocusLoss && return Ptr{Bool}(x + 108) - f === :ConfigDebugIniSettings && return Ptr{Bool}(x + 109) - f === :BackendPlatformName && return Ptr{Ptr{Cchar}}(x + 112) - f === :BackendRendererName && return Ptr{Ptr{Cchar}}(x + 116) - f === :BackendPlatformUserData && return Ptr{Ptr{Cvoid}}(x + 120) - f === :BackendRendererUserData && return Ptr{Ptr{Cvoid}}(x + 124) - f === :BackendLanguageUserData && return Ptr{Ptr{Cvoid}}(x + 128) - f === :WantCaptureMouse && return Ptr{Bool}(x + 132) - f === :WantCaptureKeyboard && return Ptr{Bool}(x + 133) - f === :WantTextInput && return Ptr{Bool}(x + 134) - f === :WantSetMousePos && return Ptr{Bool}(x + 135) - f === :WantSaveIniSettings && return Ptr{Bool}(x + 136) - f === :NavActive && return Ptr{Bool}(x + 137) - f === :NavVisible && return Ptr{Bool}(x + 138) - f === :Framerate && return Ptr{Cfloat}(x + 140) - f === :MetricsRenderVertices && return Ptr{Cint}(x + 144) - f === :MetricsRenderIndices && return Ptr{Cint}(x + 148) - f === :MetricsRenderWindows && return Ptr{Cint}(x + 152) - f === :MetricsActiveWindows && return Ptr{Cint}(x + 156) - f === :MouseDelta && return Ptr{ImVec2}(x + 160) - f === :Ctx && return Ptr{Ptr{ImGuiContext}}(x + 168) - f === :MousePos && return Ptr{ImVec2}(x + 172) - f === :MouseDown && return Ptr{NTuple{5, Bool}}(x + 180) - f === :MouseWheel && return Ptr{Cfloat}(x + 188) - f === :MouseWheelH && return Ptr{Cfloat}(x + 192) - f === :MouseSource && return Ptr{ImGuiMouseSource}(x + 196) - f === :MouseHoveredViewport && return Ptr{ImGuiID}(x + 200) - f === :KeyCtrl && return Ptr{Bool}(x + 204) - f === :KeyShift && return Ptr{Bool}(x + 205) - f === :KeyAlt && return Ptr{Bool}(x + 206) - f === :KeySuper && return Ptr{Bool}(x + 207) - f === :KeyMods && return Ptr{ImGuiKeyChord}(x + 208) - f === :KeysData && return Ptr{NTuple{154, ImGuiKeyData}}(x + 212) - f === :WantCaptureMouseUnlessPopupClose && return Ptr{Bool}(x + 2676) - f === :MousePosPrev && return Ptr{ImVec2}(x + 2680) - f === :MouseClickedPos && return Ptr{NTuple{5, ImVec2}}(x + 2688) - f === :MouseClickedTime && return Ptr{NTuple{5, Cdouble}}(x + 2728) - f === :MouseClicked && return Ptr{NTuple{5, Bool}}(x + 2768) - f === :MouseDoubleClicked && return Ptr{NTuple{5, Bool}}(x + 2773) - f === :MouseClickedCount && return Ptr{NTuple{5, ImU16}}(x + 2778) - f === :MouseClickedLastCount && return Ptr{NTuple{5, ImU16}}(x + 2788) - f === :MouseReleased && return Ptr{NTuple{5, Bool}}(x + 2798) - f === :MouseDownOwned && return Ptr{NTuple{5, Bool}}(x + 2803) - f === :MouseDownOwnedUnlessPopupClose && return Ptr{NTuple{5, Bool}}(x + 2808) - f === :MouseWheelRequestAxisSwap && return Ptr{Bool}(x + 2813) - f === :MouseCtrlLeftAsRightClick && return Ptr{Bool}(x + 2814) - f === :MouseDownDuration && return Ptr{NTuple{5, Cfloat}}(x + 2816) - f === :MouseDownDurationPrev && return Ptr{NTuple{5, Cfloat}}(x + 2836) - f === :MouseDragMaxDistanceAbs && return Ptr{NTuple{5, ImVec2}}(x + 2856) - f === :MouseDragMaxDistanceSqr && return Ptr{NTuple{5, Cfloat}}(x + 2896) - f === :PenPressure && return Ptr{Cfloat}(x + 2916) - f === :AppFocusLost && return Ptr{Bool}(x + 2920) - f === :AppAcceptingEvents && return Ptr{Bool}(x + 2921) - f === :BackendUsingLegacyKeyArrays && return Ptr{ImS8}(x + 2922) - f === :BackendUsingLegacyNavInputArray && return Ptr{Bool}(x + 2923) - f === :InputQueueSurrogate && return Ptr{ImWchar16}(x + 2924) - f === :InputQueueCharacters && return Ptr{ImVector_ImWchar}(x + 2928) + f === :ConfigNavSwapGamepadButtons && return Ptr{Bool}(x + 60) + f === :ConfigNavMoveSetMousePos && return Ptr{Bool}(x + 61) + f === :ConfigNavCaptureKeyboard && return Ptr{Bool}(x + 62) + f === :ConfigNavEscapeClearFocusItem && return Ptr{Bool}(x + 63) + f === :ConfigNavEscapeClearFocusWindow && return Ptr{Bool}(x + 64) + f === :ConfigNavCursorVisibleAuto && return Ptr{Bool}(x + 65) + f === :ConfigNavCursorVisibleAlways && return Ptr{Bool}(x + 66) + f === :ConfigDockingNoSplit && return Ptr{Bool}(x + 67) + f === :ConfigDockingWithShift && return Ptr{Bool}(x + 68) + f === :ConfigDockingAlwaysTabBar && return Ptr{Bool}(x + 69) + f === :ConfigDockingTransparentPayload && return Ptr{Bool}(x + 70) + f === :ConfigViewportsNoAutoMerge && return Ptr{Bool}(x + 71) + f === :ConfigViewportsNoTaskBarIcon && return Ptr{Bool}(x + 72) + f === :ConfigViewportsNoDecoration && return Ptr{Bool}(x + 73) + f === :ConfigViewportsNoDefaultParent && return Ptr{Bool}(x + 74) + f === :MouseDrawCursor && return Ptr{Bool}(x + 75) + f === :ConfigMacOSXBehaviors && return Ptr{Bool}(x + 76) + f === :ConfigInputTrickleEventQueue && return Ptr{Bool}(x + 77) + f === :ConfigInputTextCursorBlink && return Ptr{Bool}(x + 78) + f === :ConfigInputTextEnterKeepActive && return Ptr{Bool}(x + 79) + f === :ConfigDragClickToInputText && return Ptr{Bool}(x + 80) + f === :ConfigWindowsResizeFromEdges && return Ptr{Bool}(x + 81) + f === :ConfigWindowsMoveFromTitleBarOnly && return Ptr{Bool}(x + 82) + f === :ConfigWindowsCopyContentsWithCtrlC && return Ptr{Bool}(x + 83) + f === :ConfigScrollbarScrollByPage && return Ptr{Bool}(x + 84) + f === :ConfigMemoryCompactTimer && return Ptr{Cfloat}(x + 88) + f === :MouseDoubleClickTime && return Ptr{Cfloat}(x + 92) + f === :MouseDoubleClickMaxDist && return Ptr{Cfloat}(x + 96) + f === :MouseDragThreshold && return Ptr{Cfloat}(x + 100) + f === :KeyRepeatDelay && return Ptr{Cfloat}(x + 104) + f === :KeyRepeatRate && return Ptr{Cfloat}(x + 108) + f === :ConfigErrorRecovery && return Ptr{Bool}(x + 112) + f === :ConfigErrorRecoveryEnableAssert && return Ptr{Bool}(x + 113) + f === :ConfigErrorRecoveryEnableDebugLog && return Ptr{Bool}(x + 114) + f === :ConfigErrorRecoveryEnableTooltip && return Ptr{Bool}(x + 115) + f === :ConfigDebugIsDebuggerPresent && return Ptr{Bool}(x + 116) + f === :ConfigDebugHighlightIdConflicts && return Ptr{Bool}(x + 117) + f === :ConfigDebugBeginReturnValueOnce && return Ptr{Bool}(x + 118) + f === :ConfigDebugBeginReturnValueLoop && return Ptr{Bool}(x + 119) + f === :ConfigDebugIgnoreFocusLoss && return Ptr{Bool}(x + 120) + f === :ConfigDebugIniSettings && return Ptr{Bool}(x + 121) + f === :BackendPlatformName && return Ptr{Ptr{Cchar}}(x + 124) + f === :BackendRendererName && return Ptr{Ptr{Cchar}}(x + 128) + f === :BackendPlatformUserData && return Ptr{Ptr{Cvoid}}(x + 132) + f === :BackendRendererUserData && return Ptr{Ptr{Cvoid}}(x + 136) + f === :BackendLanguageUserData && return Ptr{Ptr{Cvoid}}(x + 140) + f === :WantCaptureMouse && return Ptr{Bool}(x + 144) + f === :WantCaptureKeyboard && return Ptr{Bool}(x + 145) + f === :WantTextInput && return Ptr{Bool}(x + 146) + f === :WantSetMousePos && return Ptr{Bool}(x + 147) + f === :WantSaveIniSettings && return Ptr{Bool}(x + 148) + f === :NavActive && return Ptr{Bool}(x + 149) + f === :NavVisible && return Ptr{Bool}(x + 150) + f === :Framerate && return Ptr{Cfloat}(x + 152) + f === :MetricsRenderVertices && return Ptr{Cint}(x + 156) + f === :MetricsRenderIndices && return Ptr{Cint}(x + 160) + f === :MetricsRenderWindows && return Ptr{Cint}(x + 164) + f === :MetricsActiveWindows && return Ptr{Cint}(x + 168) + f === :MouseDelta && return Ptr{ImVec2}(x + 172) + f === :Ctx && return Ptr{Ptr{ImGuiContext}}(x + 180) + f === :MousePos && return Ptr{ImVec2}(x + 184) + f === :MouseDown && return Ptr{NTuple{5, Bool}}(x + 192) + f === :MouseWheel && return Ptr{Cfloat}(x + 200) + f === :MouseWheelH && return Ptr{Cfloat}(x + 204) + f === :MouseSource && return Ptr{ImGuiMouseSource}(x + 208) + f === :MouseHoveredViewport && return Ptr{ImGuiID}(x + 212) + f === :KeyCtrl && return Ptr{Bool}(x + 216) + f === :KeyShift && return Ptr{Bool}(x + 217) + f === :KeyAlt && return Ptr{Bool}(x + 218) + f === :KeySuper && return Ptr{Bool}(x + 219) + f === :KeyMods && return Ptr{ImGuiKeyChord}(x + 220) + f === :KeysData && return Ptr{NTuple{154, ImGuiKeyData}}(x + 224) + f === :WantCaptureMouseUnlessPopupClose && return Ptr{Bool}(x + 2688) + f === :MousePosPrev && return Ptr{ImVec2}(x + 2692) + f === :MouseClickedPos && return Ptr{NTuple{5, ImVec2}}(x + 2700) + f === :MouseClickedTime && return Ptr{NTuple{5, Cdouble}}(x + 2744) + f === :MouseClicked && return Ptr{NTuple{5, Bool}}(x + 2784) + f === :MouseDoubleClicked && return Ptr{NTuple{5, Bool}}(x + 2789) + f === :MouseClickedCount && return Ptr{NTuple{5, ImU16}}(x + 2794) + f === :MouseClickedLastCount && return Ptr{NTuple{5, ImU16}}(x + 2804) + f === :MouseReleased && return Ptr{NTuple{5, Bool}}(x + 2814) + f === :MouseDownOwned && return Ptr{NTuple{5, Bool}}(x + 2819) + f === :MouseDownOwnedUnlessPopupClose && return Ptr{NTuple{5, Bool}}(x + 2824) + f === :MouseWheelRequestAxisSwap && return Ptr{Bool}(x + 2829) + f === :MouseCtrlLeftAsRightClick && return Ptr{Bool}(x + 2830) + f === :MouseDownDuration && return Ptr{NTuple{5, Cfloat}}(x + 2832) + f === :MouseDownDurationPrev && return Ptr{NTuple{5, Cfloat}}(x + 2852) + f === :MouseDragMaxDistanceAbs && return Ptr{NTuple{5, ImVec2}}(x + 2872) + f === :MouseDragMaxDistanceSqr && return Ptr{NTuple{5, Cfloat}}(x + 2912) + f === :PenPressure && return Ptr{Cfloat}(x + 2932) + f === :AppFocusLost && return Ptr{Bool}(x + 2936) + f === :AppAcceptingEvents && return Ptr{Bool}(x + 2937) + f === :InputQueueSurrogate && return Ptr{ImWchar16}(x + 2938) + f === :InputQueueCharacters && return Ptr{ImVector_ImWchar}(x + 2940) return getfield(x, f) end @@ -876,6 +952,7 @@ struct ImGuiPlatformIO Platform_SetImeDataFn::Ptr{Cvoid} Platform_ImeUserData::Ptr{Cvoid} Platform_LocaleDecimalPoint::ImWchar + Renderer_RenderState::Ptr{Cvoid} Platform_CreateWindow::Ptr{Cvoid} Platform_DestroyWindow::Ptr{Cvoid} Platform_ShowWindow::Ptr{Cvoid} @@ -912,32 +989,33 @@ function Base.getproperty(x::Ptr{ImGuiPlatformIO}, f::Symbol) f === :Platform_SetImeDataFn && return Ptr{Ptr{Cvoid}}(x + 20) f === :Platform_ImeUserData && return Ptr{Ptr{Cvoid}}(x + 24) f === :Platform_LocaleDecimalPoint && return Ptr{ImWchar}(x + 28) - f === :Platform_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 32) - f === :Platform_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 36) - f === :Platform_ShowWindow && return Ptr{Ptr{Cvoid}}(x + 40) - f === :Platform_SetWindowPos && return Ptr{Ptr{Cvoid}}(x + 44) - f === :Platform_GetWindowPos && return Ptr{Ptr{Cvoid}}(x + 48) - f === :Platform_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 52) - f === :Platform_GetWindowSize && return Ptr{Ptr{Cvoid}}(x + 56) - f === :Platform_SetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 60) - f === :Platform_GetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 64) - f === :Platform_GetWindowMinimized && return Ptr{Ptr{Cvoid}}(x + 68) - f === :Platform_SetWindowTitle && return Ptr{Ptr{Cvoid}}(x + 72) - f === :Platform_SetWindowAlpha && return Ptr{Ptr{Cvoid}}(x + 76) - f === :Platform_UpdateWindow && return Ptr{Ptr{Cvoid}}(x + 80) - f === :Platform_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 84) - f === :Platform_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 88) - f === :Platform_GetWindowDpiScale && return Ptr{Ptr{Cvoid}}(x + 92) - f === :Platform_OnChangedViewport && return Ptr{Ptr{Cvoid}}(x + 96) - f === :Platform_GetWindowWorkAreaInsets && return Ptr{Ptr{Cvoid}}(x + 100) - f === :Platform_CreateVkSurface && return Ptr{Ptr{Cvoid}}(x + 104) - f === :Renderer_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 108) - f === :Renderer_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 112) - f === :Renderer_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 116) - f === :Renderer_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 120) - f === :Renderer_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 124) - f === :Monitors && return Ptr{ImVector_ImGuiPlatformMonitor}(x + 128) - f === :Viewports && return Ptr{ImVector_ImGuiViewportPtr}(x + 140) + f === :Renderer_RenderState && return Ptr{Ptr{Cvoid}}(x + 32) + f === :Platform_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 36) + f === :Platform_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 40) + f === :Platform_ShowWindow && return Ptr{Ptr{Cvoid}}(x + 44) + f === :Platform_SetWindowPos && return Ptr{Ptr{Cvoid}}(x + 48) + f === :Platform_GetWindowPos && return Ptr{Ptr{Cvoid}}(x + 52) + f === :Platform_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 56) + f === :Platform_GetWindowSize && return Ptr{Ptr{Cvoid}}(x + 60) + f === :Platform_SetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 64) + f === :Platform_GetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 68) + f === :Platform_GetWindowMinimized && return Ptr{Ptr{Cvoid}}(x + 72) + f === :Platform_SetWindowTitle && return Ptr{Ptr{Cvoid}}(x + 76) + f === :Platform_SetWindowAlpha && return Ptr{Ptr{Cvoid}}(x + 80) + f === :Platform_UpdateWindow && return Ptr{Ptr{Cvoid}}(x + 84) + f === :Platform_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 88) + f === :Platform_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 92) + f === :Platform_GetWindowDpiScale && return Ptr{Ptr{Cvoid}}(x + 96) + f === :Platform_OnChangedViewport && return Ptr{Ptr{Cvoid}}(x + 100) + f === :Platform_GetWindowWorkAreaInsets && return Ptr{Ptr{Cvoid}}(x + 104) + f === :Platform_CreateVkSurface && return Ptr{Ptr{Cvoid}}(x + 108) + f === :Renderer_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 112) + f === :Renderer_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 116) + f === :Renderer_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 120) + f === :Renderer_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 124) + f === :Renderer_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 128) + f === :Monitors && return Ptr{ImVector_ImGuiPlatformMonitor}(x + 132) + f === :Viewports && return Ptr{ImVector_ImGuiViewportPtr}(x + 144) return getfield(x, f) end @@ -1199,6 +1277,8 @@ function Base.getproperty(x::ImGuiViewportP, f::Symbol) return getfield(x, f) end +const ImS8 = Int8 + const ImGuiCond = Cint struct ImVector_ImGuiID @@ -1409,6 +1489,7 @@ struct ImGuiTextBuffer end struct ImGuiTabBar + Window::Ptr{Cvoid} # Window::Ptr{ImGuiWindow} Tabs::ImVector_ImGuiTabItem Flags::ImGuiTabBarFlags ID::ImGuiID @@ -1444,6 +1525,11 @@ struct ImGuiTabBar TabsNames::ImGuiTextBuffer end +function Base.getproperty(x::ImGuiTabBar, f::Symbol) + f === :Window && return Ptr{ImGuiWindow}(getfield(x, f)) + return getfield(x, f) +end + @cenum ImGuiAxis::Int32 begin ImGuiAxis_None = -1 ImGuiAxis_X = 0 @@ -1548,7 +1634,7 @@ end const ImGuiItemStatusFlags = Cint struct ImGuiWindow - data::NTuple{1016, UInt8} + data::NTuple{1048, UInt8} end function Base.getproperty(x::Ptr{ImGuiWindow}, f::Symbol) @@ -1648,34 +1734,34 @@ function Base.getproperty(x::Ptr{ImGuiWindow}, f::Symbol) f === :FontDpiScale && return Ptr{Cfloat}(x + 688) f === :SettingsOffset && return Ptr{Cint}(x + 692) f === :DrawList && return Ptr{Ptr{ImDrawList}}(x + 696) - f === :DrawListInst && return Ptr{ImDrawList}(x + 700) - f === :ParentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 844) - f === :ParentWindowInBeginStack && return Ptr{Ptr{ImGuiWindow}}(x + 848) - f === :RootWindow && return Ptr{Ptr{ImGuiWindow}}(x + 852) - f === :RootWindowPopupTree && return Ptr{Ptr{ImGuiWindow}}(x + 856) - f === :RootWindowDockTree && return Ptr{Ptr{ImGuiWindow}}(x + 860) - f === :RootWindowForTitleBarHighlight && return Ptr{Ptr{ImGuiWindow}}(x + 864) - f === :RootWindowForNav && return Ptr{Ptr{ImGuiWindow}}(x + 868) - f === :ParentWindowForFocusRoute && return Ptr{Ptr{ImGuiWindow}}(x + 872) - f === :NavLastChildNavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 876) - f === :NavLastIds && return Ptr{NTuple{2, ImGuiID}}(x + 880) - f === :NavRectRel && return Ptr{NTuple{2, ImRect}}(x + 888) - f === :NavPreferredScoringPosRel && return Ptr{NTuple{2, ImVec2}}(x + 920) - f === :NavRootFocusScopeId && return Ptr{ImGuiID}(x + 936) - f === :MemoryDrawListIdxCapacity && return Ptr{Cint}(x + 940) - f === :MemoryDrawListVtxCapacity && return Ptr{Cint}(x + 944) - f === :MemoryCompacted && return Ptr{Bool}(x + 948) - f === :DockIsActive && return (Ptr{Bool}(x + 948), 8, 1) - f === :DockNodeIsVisible && return (Ptr{Bool}(x + 948), 9, 1) - f === :DockTabIsVisible && return (Ptr{Bool}(x + 948), 10, 1) - f === :DockTabWantClose && return (Ptr{Bool}(x + 948), 11, 1) - f === :DockOrder && return Ptr{Cshort}(x + 950) - f === :DockStyle && return Ptr{ImGuiWindowDockStyle}(x + 952) - f === :DockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 984) - f === :DockNodeAsHost && return Ptr{Ptr{ImGuiDockNode}}(x + 988) - f === :DockId && return Ptr{ImGuiID}(x + 992) - f === :DockTabItemStatusFlags && return Ptr{ImGuiItemStatusFlags}(x + 996) - f === :DockTabItemRect && return Ptr{ImRect}(x + 1000) + f === :DrawListInst && return Ptr{ImDrawList}(x + 704) + f === :ParentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 872) + f === :ParentWindowInBeginStack && return Ptr{Ptr{ImGuiWindow}}(x + 876) + f === :RootWindow && return Ptr{Ptr{ImGuiWindow}}(x + 880) + f === :RootWindowPopupTree && return Ptr{Ptr{ImGuiWindow}}(x + 884) + f === :RootWindowDockTree && return Ptr{Ptr{ImGuiWindow}}(x + 888) + f === :RootWindowForTitleBarHighlight && return Ptr{Ptr{ImGuiWindow}}(x + 892) + f === :RootWindowForNav && return Ptr{Ptr{ImGuiWindow}}(x + 896) + f === :ParentWindowForFocusRoute && return Ptr{Ptr{ImGuiWindow}}(x + 900) + f === :NavLastChildNavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 904) + f === :NavLastIds && return Ptr{NTuple{2, ImGuiID}}(x + 908) + f === :NavRectRel && return Ptr{NTuple{2, ImRect}}(x + 916) + f === :NavPreferredScoringPosRel && return Ptr{NTuple{2, ImVec2}}(x + 948) + f === :NavRootFocusScopeId && return Ptr{ImGuiID}(x + 964) + f === :MemoryDrawListIdxCapacity && return Ptr{Cint}(x + 968) + f === :MemoryDrawListVtxCapacity && return Ptr{Cint}(x + 972) + f === :MemoryCompacted && return Ptr{Bool}(x + 976) + f === :DockIsActive && return (Ptr{Bool}(x + 976), 8, 1) + f === :DockNodeIsVisible && return (Ptr{Bool}(x + 976), 9, 1) + f === :DockTabIsVisible && return (Ptr{Bool}(x + 976), 10, 1) + f === :DockTabWantClose && return (Ptr{Bool}(x + 976), 11, 1) + f === :DockOrder && return Ptr{Cshort}(x + 978) + f === :DockStyle && return Ptr{ImGuiWindowDockStyle}(x + 980) + f === :DockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 1012) + f === :DockNodeAsHost && return Ptr{Ptr{ImGuiDockNode}}(x + 1016) + f === :DockId && return Ptr{ImGuiID}(x + 1020) + f === :DockTabItemStatusFlags && return Ptr{ImGuiItemStatusFlags}(x + 1024) + f === :DockTabItemRect && return Ptr{ImRect}(x + 1028) return getfield(x, f) end @@ -1726,7 +1812,7 @@ const ImGuiItemFlags = Cint struct ImGuiLastItemData ID::ImGuiID - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags StatusFlags::ImGuiItemStatusFlags Rect::ImRect NavRect::ImRect @@ -1735,8 +1821,10 @@ struct ImGuiLastItemData Shortcut::ImGuiKeyChord end -struct ImGuiStackSizes +struct ImGuiErrorRecoveryState + SizeOfWindowStack::Cshort SizeOfIDStack::Cshort + SizeOfTreeStack::Cshort SizeOfColorStack::Cshort SizeOfStyleVarStack::Cshort SizeOfFontStack::Cshort @@ -1750,7 +1838,7 @@ end struct ImGuiWindowStackData Window::Ptr{ImGuiWindow} ParentLastItemDataBackup::ImGuiLastItemData - StackSizesOnBegin::ImGuiStackSizes + StackSizesInBegin::ImGuiErrorRecoveryState DisabledOverrideReenable::Bool end @@ -1809,7 +1897,7 @@ struct ImGuiDataTypeStorage end struct ImGuiNextItemData - Flags::ImGuiNextItemDataFlags + HasFlags::ImGuiNextItemDataFlags ItemFlags::ImGuiItemFlags FocusScopeId::ImGuiID SelectionUserData::ImGuiSelectionUserData @@ -1958,7 +2046,7 @@ const ImGuiTreeNodeFlags = Cint struct ImGuiTreeNodeStackData ID::ImGuiID TreeFlags::ImGuiTreeNodeFlags - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags NavRect::ImRect end @@ -1981,7 +2069,7 @@ struct ImGuiNavItemData ID::ImGuiID FocusScopeId::ImGuiID RectRel::ImRect - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags DistBox::Cfloat DistCenter::Cfloat DistAxial::Cfloat @@ -1994,6 +2082,7 @@ const ImGuiScrollFlags = Cint @cenum ImGuiKey::UInt32 begin ImGuiKey_None = 0 + ImGuiKey_NamedKey_BEGIN = 512 ImGuiKey_Tab = 512 ImGuiKey_LeftArrow = 513 ImGuiKey_RightArrow = 514 @@ -2148,18 +2237,14 @@ const ImGuiScrollFlags = Cint ImGuiKey_ReservedForModShift = 663 ImGuiKey_ReservedForModAlt = 664 ImGuiKey_ReservedForModSuper = 665 - ImGuiKey_COUNT = 666 + ImGuiKey_NamedKey_END = 666 ImGuiMod_None = 0 ImGuiMod_Ctrl = 4096 ImGuiMod_Shift = 8192 ImGuiMod_Alt = 16384 ImGuiMod_Super = 32768 ImGuiMod_Mask_ = 61440 - ImGuiKey_NamedKey_BEGIN = 512 - ImGuiKey_NamedKey_END = 666 ImGuiKey_NamedKey_COUNT = 154 - ImGuiKey_KeysData_SIZE = 154 - ImGuiKey_KeysData_OFFSET = 512 end const ImGuiDragDropFlags = Cint @@ -2814,11 +2899,11 @@ struct ImGuiInputTextState Ctx::Ptr{Cvoid} # Ctx::Ptr{ImGuiContext} Stb::Ptr{ImStbTexteditState} ID::ImGuiID - CurLenA::Cint + TextLen::Cint TextA::ImVector_char - InitialTextA::ImVector_char + TextToRevertTo::ImVector_char CallbackTextBackup::ImVector_char - BufCapacityA::Cint + BufCapacity::Cint Scroll::ImVec2 CursorAnim::Cfloat CursorFollow::Bool @@ -2954,16 +3039,13 @@ struct ImVector_ImGuiContextHook Data::Ptr{ImGuiContextHook} end -@cenum ImGuiLogType::UInt32 begin - ImGuiLogType_None = 0 - ImGuiLogType_TTY = 1 - ImGuiLogType_File = 2 - ImGuiLogType_Buffer = 3 - ImGuiLogType_Clipboard = 4 -end +const ImGuiLogFlags = Cint const ImFileHandle = Ptr{Libc.FILE} +# typedef void ( * ImGuiErrorCallback ) ( ImGuiContext * ctx , void * user_data , const char * msg ) +const ImGuiErrorCallback = Ptr{Cvoid} + const ImGuiDebugLogFlags = Cint struct ImVector_int @@ -3081,313 +3163,324 @@ struct ImGuiDebugAllocInfo end struct ImGuiContext - data::NTuple{10184, UInt8} + data::NTuple{10272, UInt8} end function Base.getproperty(x::Ptr{ImGuiContext}, f::Symbol) f === :Initialized && return Ptr{Bool}(x + 0) f === :FontAtlasOwnedByContext && return Ptr{Bool}(x + 1) f === :IO && return Ptr{ImGuiIO}(x + 8) - f === :PlatformIO && return Ptr{ImGuiPlatformIO}(x + 2952) - f === :Style && return Ptr{ImGuiStyle}(x + 3104) - f === :ConfigFlagsCurrFrame && return Ptr{ImGuiConfigFlags}(x + 4296) - f === :ConfigFlagsLastFrame && return Ptr{ImGuiConfigFlags}(x + 4300) - f === :Font && return Ptr{Ptr{ImFont}}(x + 4304) - f === :FontSize && return Ptr{Cfloat}(x + 4308) - f === :FontBaseSize && return Ptr{Cfloat}(x + 4312) - f === :FontScale && return Ptr{Cfloat}(x + 4316) - f === :CurrentDpiScale && return Ptr{Cfloat}(x + 4320) - f === :DrawListSharedData && return Ptr{ImDrawListSharedData}(x + 4324) - f === :Time && return Ptr{Cdouble}(x + 4840) - f === :FrameCount && return Ptr{Cint}(x + 4848) - f === :FrameCountEnded && return Ptr{Cint}(x + 4852) - f === :FrameCountPlatformEnded && return Ptr{Cint}(x + 4856) - f === :FrameCountRendered && return Ptr{Cint}(x + 4860) - f === :WithinFrameScope && return Ptr{Bool}(x + 4864) - f === :WithinFrameScopeWithImplicitWindow && return Ptr{Bool}(x + 4865) - f === :WithinEndChild && return Ptr{Bool}(x + 4866) - f === :GcCompactAll && return Ptr{Bool}(x + 4867) - f === :TestEngineHookItems && return Ptr{Bool}(x + 4868) - f === :TestEngine && return Ptr{Ptr{Cvoid}}(x + 4872) - f === :ContextName && return Ptr{NTuple{16, Cchar}}(x + 4876) - f === :InputEventsQueue && return Ptr{ImVector_ImGuiInputEvent}(x + 4892) - f === :InputEventsTrail && return Ptr{ImVector_ImGuiInputEvent}(x + 4904) - f === :InputEventsNextMouseSource && return Ptr{ImGuiMouseSource}(x + 4916) - f === :InputEventsNextEventId && return Ptr{ImU32}(x + 4920) - f === :Windows && return Ptr{ImVector_ImGuiWindowPtr}(x + 4924) - f === :WindowsFocusOrder && return Ptr{ImVector_ImGuiWindowPtr}(x + 4936) - f === :WindowsTempSortBuffer && return Ptr{ImVector_ImGuiWindowPtr}(x + 4948) - f === :CurrentWindowStack && return Ptr{ImVector_ImGuiWindowStackData}(x + 4960) - f === :WindowsById && return Ptr{ImGuiStorage}(x + 4972) - f === :WindowsActiveCount && return Ptr{Cint}(x + 4984) - f === :WindowsHoverPadding && return Ptr{ImVec2}(x + 4988) - f === :DebugBreakInWindow && return Ptr{ImGuiID}(x + 4996) - f === :CurrentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5000) - f === :HoveredWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5004) - f === :HoveredWindowUnderMovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5008) - f === :HoveredWindowBeforeClear && return Ptr{Ptr{ImGuiWindow}}(x + 5012) - f === :MovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5016) - f === :WheelingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5020) - f === :WheelingWindowRefMousePos && return Ptr{ImVec2}(x + 5024) - f === :WheelingWindowStartFrame && return Ptr{Cint}(x + 5032) - f === :WheelingWindowScrolledFrame && return Ptr{Cint}(x + 5036) - f === :WheelingWindowReleaseTimer && return Ptr{Cfloat}(x + 5040) - f === :WheelingWindowWheelRemainder && return Ptr{ImVec2}(x + 5044) - f === :WheelingAxisAvg && return Ptr{ImVec2}(x + 5052) - f === :DebugDrawIdConflicts && return Ptr{ImGuiID}(x + 5060) - f === :DebugHookIdInfo && return Ptr{ImGuiID}(x + 5064) - f === :HoveredId && return Ptr{ImGuiID}(x + 5068) - f === :HoveredIdPreviousFrame && return Ptr{ImGuiID}(x + 5072) - f === :HoveredIdPreviousFrameItemCount && return Ptr{Cint}(x + 5076) - f === :HoveredIdTimer && return Ptr{Cfloat}(x + 5080) - f === :HoveredIdNotActiveTimer && return Ptr{Cfloat}(x + 5084) - f === :HoveredIdAllowOverlap && return Ptr{Bool}(x + 5088) - f === :HoveredIdIsDisabled && return Ptr{Bool}(x + 5089) - f === :ItemUnclipByLog && return Ptr{Bool}(x + 5090) - f === :ActiveId && return Ptr{ImGuiID}(x + 5092) - f === :ActiveIdIsAlive && return Ptr{ImGuiID}(x + 5096) - f === :ActiveIdTimer && return Ptr{Cfloat}(x + 5100) - f === :ActiveIdIsJustActivated && return Ptr{Bool}(x + 5104) - f === :ActiveIdAllowOverlap && return Ptr{Bool}(x + 5105) - f === :ActiveIdNoClearOnFocusLoss && return Ptr{Bool}(x + 5106) - f === :ActiveIdHasBeenPressedBefore && return Ptr{Bool}(x + 5107) - f === :ActiveIdHasBeenEditedBefore && return Ptr{Bool}(x + 5108) - f === :ActiveIdHasBeenEditedThisFrame && return Ptr{Bool}(x + 5109) - f === :ActiveIdFromShortcut && return Ptr{Bool}(x + 5110) - f === :ActiveIdMouseButton && return (Ptr{Cint}(x + 5112), 0, 8) - f === :ActiveIdClickOffset && return Ptr{ImVec2}(x + 5116) - f === :ActiveIdWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5124) - f === :ActiveIdSource && return Ptr{ImGuiInputSource}(x + 5128) - f === :ActiveIdPreviousFrame && return Ptr{ImGuiID}(x + 5132) - f === :ActiveIdPreviousFrameIsAlive && return Ptr{Bool}(x + 5136) - f === :ActiveIdPreviousFrameHasBeenEditedBefore && return Ptr{Bool}(x + 5137) - f === :ActiveIdPreviousFrameWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5140) - f === :LastActiveId && return Ptr{ImGuiID}(x + 5144) - f === :LastActiveIdTimer && return Ptr{Cfloat}(x + 5148) - f === :LastKeyModsChangeTime && return Ptr{Cdouble}(x + 5152) - f === :LastKeyModsChangeFromNoneTime && return Ptr{Cdouble}(x + 5160) - f === :LastKeyboardKeyPressTime && return Ptr{Cdouble}(x + 5168) - f === :KeysMayBeCharInput && return Ptr{ImBitArrayForNamedKeys}(x + 5176) - f === :KeysOwnerData && return Ptr{NTuple{154, ImGuiKeyOwnerData}}(x + 5196) - f === :KeysRoutingTable && return Ptr{ImGuiKeyRoutingTable}(x + 7044) - f === :ActiveIdUsingNavDirMask && return Ptr{ImU32}(x + 7376) - f === :ActiveIdUsingAllKeyboardKeys && return Ptr{Bool}(x + 7380) - f === :DebugBreakInShortcutRouting && return Ptr{ImGuiKeyChord}(x + 7384) - f === :CurrentFocusScopeId && return Ptr{ImGuiID}(x + 7388) - f === :CurrentItemFlags && return Ptr{ImGuiItemFlags}(x + 7392) - f === :DebugLocateId && return Ptr{ImGuiID}(x + 7396) - f === :NextItemData && return Ptr{ImGuiNextItemData}(x + 7400) - f === :LastItemData && return Ptr{ImGuiLastItemData}(x + 7456) - f === :NextWindowData && return Ptr{ImGuiNextWindowData}(x + 7536) - f === :DebugShowGroupRects && return Ptr{Bool}(x + 7684) - f === :DebugFlashStyleColorIdx && return Ptr{ImGuiCol}(x + 7688) - f === :ColorStack && return Ptr{ImVector_ImGuiColorMod}(x + 7692) - f === :StyleVarStack && return Ptr{ImVector_ImGuiStyleMod}(x + 7704) - f === :FontStack && return Ptr{ImVector_ImFontPtr}(x + 7716) - f === :FocusScopeStack && return Ptr{ImVector_ImGuiFocusScopeData}(x + 7728) - f === :ItemFlagsStack && return Ptr{ImVector_ImGuiItemFlags}(x + 7740) - f === :GroupStack && return Ptr{ImVector_ImGuiGroupData}(x + 7752) - f === :OpenPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 7764) - f === :BeginPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 7776) - f === :TreeNodeStack && return Ptr{ImVector_ImGuiTreeNodeStackData}(x + 7788) - f === :Viewports && return Ptr{ImVector_ImGuiViewportPPtr}(x + 7800) - f === :CurrentViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 7812) - f === :MouseViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 7816) - f === :MouseLastHoveredViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 7820) - f === :PlatformLastFocusedViewportId && return Ptr{ImGuiID}(x + 7824) - f === :FallbackMonitor && return Ptr{ImGuiPlatformMonitor}(x + 7828) - f === :PlatformMonitorsFullWorkRect && return Ptr{ImRect}(x + 7868) - f === :ViewportCreatedCount && return Ptr{Cint}(x + 7884) - f === :PlatformWindowsCreatedCount && return Ptr{Cint}(x + 7888) - f === :ViewportFocusedStampCount && return Ptr{Cint}(x + 7892) - f === :NavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 7896) - f === :NavId && return Ptr{ImGuiID}(x + 7900) - f === :NavFocusScopeId && return Ptr{ImGuiID}(x + 7904) - f === :NavLayer && return Ptr{ImGuiNavLayer}(x + 7908) - f === :NavActivateId && return Ptr{ImGuiID}(x + 7912) - f === :NavActivateDownId && return Ptr{ImGuiID}(x + 7916) - f === :NavActivatePressedId && return Ptr{ImGuiID}(x + 7920) - f === :NavActivateFlags && return Ptr{ImGuiActivateFlags}(x + 7924) - f === :NavFocusRoute && return Ptr{ImVector_ImGuiFocusScopeData}(x + 7928) - f === :NavHighlightActivatedId && return Ptr{ImGuiID}(x + 7940) - f === :NavHighlightActivatedTimer && return Ptr{Cfloat}(x + 7944) - f === :NavNextActivateId && return Ptr{ImGuiID}(x + 7948) - f === :NavNextActivateFlags && return Ptr{ImGuiActivateFlags}(x + 7952) - f === :NavInputSource && return Ptr{ImGuiInputSource}(x + 7956) - f === :NavLastValidSelectionUserData && return Ptr{ImGuiSelectionUserData}(x + 7960) - f === :NavIdIsAlive && return Ptr{Bool}(x + 7968) - f === :NavMousePosDirty && return Ptr{Bool}(x + 7969) - f === :NavDisableHighlight && return Ptr{Bool}(x + 7970) - f === :NavDisableMouseHover && return Ptr{Bool}(x + 7971) - f === :NavAnyRequest && return Ptr{Bool}(x + 7972) - f === :NavInitRequest && return Ptr{Bool}(x + 7973) - f === :NavInitRequestFromMove && return Ptr{Bool}(x + 7974) - f === :NavInitResult && return Ptr{ImGuiNavItemData}(x + 7976) - f === :NavMoveSubmitted && return Ptr{Bool}(x + 8032) - f === :NavMoveScoringItems && return Ptr{Bool}(x + 8033) - f === :NavMoveForwardToNextFrame && return Ptr{Bool}(x + 8034) - f === :NavMoveFlags && return Ptr{ImGuiNavMoveFlags}(x + 8036) - f === :NavMoveScrollFlags && return Ptr{ImGuiScrollFlags}(x + 8040) - f === :NavMoveKeyMods && return Ptr{ImGuiKeyChord}(x + 8044) - f === :NavMoveDir && return Ptr{ImGuiDir}(x + 8048) - f === :NavMoveDirForDebug && return Ptr{ImGuiDir}(x + 8052) - f === :NavMoveClipDir && return Ptr{ImGuiDir}(x + 8056) - f === :NavScoringRect && return Ptr{ImRect}(x + 8060) - f === :NavScoringNoClipRect && return Ptr{ImRect}(x + 8076) - f === :NavScoringDebugCount && return Ptr{Cint}(x + 8092) - f === :NavTabbingDir && return Ptr{Cint}(x + 8096) - f === :NavTabbingCounter && return Ptr{Cint}(x + 8100) - f === :NavMoveResultLocal && return Ptr{ImGuiNavItemData}(x + 8104) - f === :NavMoveResultLocalVisible && return Ptr{ImGuiNavItemData}(x + 8160) - f === :NavMoveResultOther && return Ptr{ImGuiNavItemData}(x + 8216) - f === :NavTabbingResultFirst && return Ptr{ImGuiNavItemData}(x + 8272) - f === :NavJustMovedFromFocusScopeId && return Ptr{ImGuiID}(x + 8328) - f === :NavJustMovedToId && return Ptr{ImGuiID}(x + 8332) - f === :NavJustMovedToFocusScopeId && return Ptr{ImGuiID}(x + 8336) - f === :NavJustMovedToKeyMods && return Ptr{ImGuiKeyChord}(x + 8340) - f === :NavJustMovedToIsTabbing && return Ptr{Bool}(x + 8344) - f === :NavJustMovedToHasSelectionData && return Ptr{Bool}(x + 8345) - f === :ConfigNavWindowingKeyNext && return Ptr{ImGuiKeyChord}(x + 8348) - f === :ConfigNavWindowingKeyPrev && return Ptr{ImGuiKeyChord}(x + 8352) - f === :NavWindowingTarget && return Ptr{Ptr{ImGuiWindow}}(x + 8356) - f === :NavWindowingTargetAnim && return Ptr{Ptr{ImGuiWindow}}(x + 8360) - f === :NavWindowingListWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8364) - f === :NavWindowingTimer && return Ptr{Cfloat}(x + 8368) - f === :NavWindowingHighlightAlpha && return Ptr{Cfloat}(x + 8372) - f === :NavWindowingToggleLayer && return Ptr{Bool}(x + 8376) - f === :NavWindowingToggleKey && return Ptr{ImGuiKey}(x + 8380) - f === :NavWindowingAccumDeltaPos && return Ptr{ImVec2}(x + 8384) - f === :NavWindowingAccumDeltaSize && return Ptr{ImVec2}(x + 8392) - f === :DimBgRatio && return Ptr{Cfloat}(x + 8400) - f === :DragDropActive && return Ptr{Bool}(x + 8404) - f === :DragDropWithinSource && return Ptr{Bool}(x + 8405) - f === :DragDropWithinTarget && return Ptr{Bool}(x + 8406) - f === :DragDropSourceFlags && return Ptr{ImGuiDragDropFlags}(x + 8408) - f === :DragDropSourceFrameCount && return Ptr{Cint}(x + 8412) - f === :DragDropMouseButton && return Ptr{Cint}(x + 8416) - f === :DragDropPayload && return Ptr{ImGuiPayload}(x + 8420) - f === :DragDropTargetRect && return Ptr{ImRect}(x + 8476) - f === :DragDropTargetClipRect && return Ptr{ImRect}(x + 8492) - f === :DragDropTargetId && return Ptr{ImGuiID}(x + 8508) - f === :DragDropAcceptFlags && return Ptr{ImGuiDragDropFlags}(x + 8512) - f === :DragDropAcceptIdCurrRectSurface && return Ptr{Cfloat}(x + 8516) - f === :DragDropAcceptIdCurr && return Ptr{ImGuiID}(x + 8520) - f === :DragDropAcceptIdPrev && return Ptr{ImGuiID}(x + 8524) - f === :DragDropAcceptFrameCount && return Ptr{Cint}(x + 8528) - f === :DragDropHoldJustPressedId && return Ptr{ImGuiID}(x + 8532) - f === :DragDropPayloadBufHeap && return Ptr{ImVector_unsigned_char}(x + 8536) - f === :DragDropPayloadBufLocal && return Ptr{NTuple{16, Cuchar}}(x + 8548) - f === :ClipperTempDataStacked && return Ptr{Cint}(x + 8564) - f === :ClipperTempData && return Ptr{ImVector_ImGuiListClipperData}(x + 8568) - f === :CurrentTable && return Ptr{Ptr{ImGuiTable}}(x + 8580) - f === :DebugBreakInTable && return Ptr{ImGuiID}(x + 8584) - f === :TablesTempDataStacked && return Ptr{Cint}(x + 8588) - f === :TablesTempData && return Ptr{ImVector_ImGuiTableTempData}(x + 8592) - f === :Tables && return Ptr{ImPool_ImGuiTable}(x + 8604) - f === :TablesLastTimeActive && return Ptr{ImVector_float}(x + 8636) - f === :DrawChannelsTempMergeBuffer && return Ptr{ImVector_ImDrawChannel}(x + 8648) - f === :CurrentTabBar && return Ptr{Ptr{ImGuiTabBar}}(x + 8660) - f === :TabBars && return Ptr{ImPool_ImGuiTabBar}(x + 8664) - f === :CurrentTabBarStack && return Ptr{ImVector_ImGuiPtrOrIndex}(x + 8696) - f === :ShrinkWidthBuffer && return Ptr{ImVector_ImGuiShrinkWidthItem}(x + 8708) - f === :BoxSelectState && return Ptr{ImGuiBoxSelectState}(x + 8720) - f === :CurrentMultiSelect && return Ptr{Ptr{ImGuiMultiSelectTempData}}(x + 8816) - f === :MultiSelectTempDataStacked && return Ptr{Cint}(x + 8820) - f === :MultiSelectTempData && return Ptr{ImVector_ImGuiMultiSelectTempData}(x + 8824) - f === :MultiSelectStorage && return Ptr{ImPool_ImGuiMultiSelectState}(x + 8836) - f === :HoverItemDelayId && return Ptr{ImGuiID}(x + 8868) - f === :HoverItemDelayIdPreviousFrame && return Ptr{ImGuiID}(x + 8872) - f === :HoverItemDelayTimer && return Ptr{Cfloat}(x + 8876) - f === :HoverItemDelayClearTimer && return Ptr{Cfloat}(x + 8880) - f === :HoverItemUnlockedStationaryId && return Ptr{ImGuiID}(x + 8884) - f === :HoverWindowUnlockedStationaryId && return Ptr{ImGuiID}(x + 8888) - f === :MouseCursor && return Ptr{ImGuiMouseCursor}(x + 8892) - f === :MouseStationaryTimer && return Ptr{Cfloat}(x + 8896) - f === :MouseLastValidPos && return Ptr{ImVec2}(x + 8900) - f === :InputTextState && return Ptr{ImGuiInputTextState}(x + 8908) - f === :InputTextDeactivatedState && return Ptr{ImGuiInputTextDeactivatedState}(x + 8996) - f === :InputTextPasswordFont && return Ptr{ImFont}(x + 9012) - f === :TempInputId && return Ptr{ImGuiID}(x + 9108) - f === :DataTypeZeroValue && return Ptr{ImGuiDataTypeStorage}(x + 9112) - f === :BeginMenuDepth && return Ptr{Cint}(x + 9120) - f === :BeginComboDepth && return Ptr{Cint}(x + 9124) - f === :ColorEditOptions && return Ptr{ImGuiColorEditFlags}(x + 9128) - f === :ColorEditCurrentID && return Ptr{ImGuiID}(x + 9132) - f === :ColorEditSavedID && return Ptr{ImGuiID}(x + 9136) - f === :ColorEditSavedHue && return Ptr{Cfloat}(x + 9140) - f === :ColorEditSavedSat && return Ptr{Cfloat}(x + 9144) - f === :ColorEditSavedColor && return Ptr{ImU32}(x + 9148) - f === :ColorPickerRef && return Ptr{ImVec4}(x + 9152) - f === :ComboPreviewData && return Ptr{ImGuiComboPreviewData}(x + 9168) - f === :WindowResizeBorderExpectedRect && return Ptr{ImRect}(x + 9216) - f === :WindowResizeRelativeMode && return Ptr{Bool}(x + 9232) - f === :ScrollbarSeekMode && return Ptr{Cshort}(x + 9234) - f === :ScrollbarClickDeltaToGrabCenter && return Ptr{Cfloat}(x + 9236) - f === :SliderGrabClickOffset && return Ptr{Cfloat}(x + 9240) - f === :SliderCurrentAccum && return Ptr{Cfloat}(x + 9244) - f === :SliderCurrentAccumDirty && return Ptr{Bool}(x + 9248) - f === :DragCurrentAccumDirty && return Ptr{Bool}(x + 9249) - f === :DragCurrentAccum && return Ptr{Cfloat}(x + 9252) - f === :DragSpeedDefaultRatio && return Ptr{Cfloat}(x + 9256) - f === :DisabledAlphaBackup && return Ptr{Cfloat}(x + 9260) - f === :DisabledStackSize && return Ptr{Cshort}(x + 9264) - f === :LockMarkEdited && return Ptr{Cshort}(x + 9266) - f === :TooltipOverrideCount && return Ptr{Cshort}(x + 9268) - f === :ClipboardHandlerData && return Ptr{ImVector_char}(x + 9272) - f === :MenusIdSubmittedThisFrame && return Ptr{ImVector_ImGuiID}(x + 9284) - f === :TypingSelectState && return Ptr{ImGuiTypingSelectState}(x + 9296) - f === :PlatformImeData && return Ptr{ImGuiPlatformImeData}(x + 9392) - f === :PlatformImeDataPrev && return Ptr{ImGuiPlatformImeData}(x + 9408) - f === :PlatformImeViewport && return Ptr{ImGuiID}(x + 9424) - f === :DockContext && return Ptr{ImGuiDockContext}(x + 9428) - f === :DockNodeWindowMenuHandler && return Ptr{Ptr{Cvoid}}(x + 9468) - f === :SettingsLoaded && return Ptr{Bool}(x + 9472) - f === :SettingsDirtyTimer && return Ptr{Cfloat}(x + 9476) - f === :SettingsIniData && return Ptr{ImGuiTextBuffer}(x + 9480) - f === :SettingsHandlers && return Ptr{ImVector_ImGuiSettingsHandler}(x + 9492) - f === :SettingsWindows && return Ptr{ImChunkStream_ImGuiWindowSettings}(x + 9504) - f === :SettingsTables && return Ptr{ImChunkStream_ImGuiTableSettings}(x + 9516) - f === :Hooks && return Ptr{ImVector_ImGuiContextHook}(x + 9528) - f === :HookIdNext && return Ptr{ImGuiID}(x + 9540) - f === :LocalizationTable && return Ptr{NTuple{13, Ptr{Cchar}}}(x + 9544) - f === :LogEnabled && return Ptr{Bool}(x + 9596) - f === :LogType && return Ptr{ImGuiLogType}(x + 9600) - f === :LogFile && return Ptr{ImFileHandle}(x + 9604) - f === :LogBuffer && return Ptr{ImGuiTextBuffer}(x + 9608) - f === :LogNextPrefix && return Ptr{Ptr{Cchar}}(x + 9620) - f === :LogNextSuffix && return Ptr{Ptr{Cchar}}(x + 9624) - f === :LogLinePosY && return Ptr{Cfloat}(x + 9628) - f === :LogLineFirstItem && return Ptr{Bool}(x + 9632) - f === :LogDepthRef && return Ptr{Cint}(x + 9636) - f === :LogDepthToExpand && return Ptr{Cint}(x + 9640) - f === :LogDepthToExpandDefault && return Ptr{Cint}(x + 9644) - f === :DebugLogFlags && return Ptr{ImGuiDebugLogFlags}(x + 9648) - f === :DebugLogBuf && return Ptr{ImGuiTextBuffer}(x + 9652) - f === :DebugLogIndex && return Ptr{ImGuiTextIndex}(x + 9664) - f === :DebugLogAutoDisableFlags && return Ptr{ImGuiDebugLogFlags}(x + 9680) - f === :DebugLogAutoDisableFrames && return Ptr{ImU8}(x + 9684) - f === :DebugLocateFrames && return Ptr{ImU8}(x + 9685) - f === :DebugBreakInLocateId && return Ptr{Bool}(x + 9686) - f === :DebugBreakKeyChord && return Ptr{ImGuiKeyChord}(x + 9688) - f === :DebugBeginReturnValueCullDepth && return Ptr{ImS8}(x + 9692) - f === :DebugItemPickerActive && return Ptr{Bool}(x + 9693) - f === :DebugItemPickerMouseButton && return Ptr{ImU8}(x + 9694) - f === :DebugItemPickerBreakId && return Ptr{ImGuiID}(x + 9696) - f === :DebugFlashStyleColorTime && return Ptr{Cfloat}(x + 9700) - f === :DebugFlashStyleColorBackup && return Ptr{ImVec4}(x + 9704) - f === :DebugMetricsConfig && return Ptr{ImGuiMetricsConfig}(x + 9720) - f === :DebugIDStackTool && return Ptr{ImGuiIDStackTool}(x + 9748) - f === :DebugAllocInfo && return Ptr{ImGuiDebugAllocInfo}(x + 9780) - f === :DebugHoveredDockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 9840) - f === :FramerateSecPerFrame && return Ptr{NTuple{60, Cfloat}}(x + 9844) - f === :FramerateSecPerFrameIdx && return Ptr{Cint}(x + 10084) - f === :FramerateSecPerFrameCount && return Ptr{Cint}(x + 10088) - f === :FramerateSecPerFrameAccum && return Ptr{Cfloat}(x + 10092) - f === :WantCaptureMouseNextFrame && return Ptr{Cint}(x + 10096) - f === :WantCaptureKeyboardNextFrame && return Ptr{Cint}(x + 10100) - f === :WantTextInputNextFrame && return Ptr{Cint}(x + 10104) - f === :TempBuffer && return Ptr{ImVector_char}(x + 10108) - f === :TempKeychordName && return Ptr{NTuple{64, Cchar}}(x + 10120) + f === :PlatformIO && return Ptr{ImGuiPlatformIO}(x + 2960) + f === :Style && return Ptr{ImGuiStyle}(x + 3116) + f === :ConfigFlagsCurrFrame && return Ptr{ImGuiConfigFlags}(x + 4308) + f === :ConfigFlagsLastFrame && return Ptr{ImGuiConfigFlags}(x + 4312) + f === :Font && return Ptr{Ptr{ImFont}}(x + 4316) + f === :FontSize && return Ptr{Cfloat}(x + 4320) + f === :FontBaseSize && return Ptr{Cfloat}(x + 4324) + f === :FontScale && return Ptr{Cfloat}(x + 4328) + f === :CurrentDpiScale && return Ptr{Cfloat}(x + 4332) + f === :DrawListSharedData && return Ptr{ImDrawListSharedData}(x + 4336) + f === :Time && return Ptr{Cdouble}(x + 4856) + f === :FrameCount && return Ptr{Cint}(x + 4864) + f === :FrameCountEnded && return Ptr{Cint}(x + 4868) + f === :FrameCountPlatformEnded && return Ptr{Cint}(x + 4872) + f === :FrameCountRendered && return Ptr{Cint}(x + 4876) + f === :WithinFrameScope && return Ptr{Bool}(x + 4880) + f === :WithinFrameScopeWithImplicitWindow && return Ptr{Bool}(x + 4881) + f === :WithinEndChild && return Ptr{Bool}(x + 4882) + f === :GcCompactAll && return Ptr{Bool}(x + 4883) + f === :TestEngineHookItems && return Ptr{Bool}(x + 4884) + f === :TestEngine && return Ptr{Ptr{Cvoid}}(x + 4888) + f === :ContextName && return Ptr{NTuple{16, Cchar}}(x + 4892) + f === :InputEventsQueue && return Ptr{ImVector_ImGuiInputEvent}(x + 4908) + f === :InputEventsTrail && return Ptr{ImVector_ImGuiInputEvent}(x + 4920) + f === :InputEventsNextMouseSource && return Ptr{ImGuiMouseSource}(x + 4932) + f === :InputEventsNextEventId && return Ptr{ImU32}(x + 4936) + f === :Windows && return Ptr{ImVector_ImGuiWindowPtr}(x + 4940) + f === :WindowsFocusOrder && return Ptr{ImVector_ImGuiWindowPtr}(x + 4952) + f === :WindowsTempSortBuffer && return Ptr{ImVector_ImGuiWindowPtr}(x + 4964) + f === :CurrentWindowStack && return Ptr{ImVector_ImGuiWindowStackData}(x + 4976) + f === :WindowsById && return Ptr{ImGuiStorage}(x + 4988) + f === :WindowsActiveCount && return Ptr{Cint}(x + 5000) + f === :WindowsHoverPadding && return Ptr{ImVec2}(x + 5004) + f === :DebugBreakInWindow && return Ptr{ImGuiID}(x + 5012) + f === :CurrentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5016) + f === :HoveredWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5020) + f === :HoveredWindowUnderMovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5024) + f === :HoveredWindowBeforeClear && return Ptr{Ptr{ImGuiWindow}}(x + 5028) + f === :MovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5032) + f === :WheelingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5036) + f === :WheelingWindowRefMousePos && return Ptr{ImVec2}(x + 5040) + f === :WheelingWindowStartFrame && return Ptr{Cint}(x + 5048) + f === :WheelingWindowScrolledFrame && return Ptr{Cint}(x + 5052) + f === :WheelingWindowReleaseTimer && return Ptr{Cfloat}(x + 5056) + f === :WheelingWindowWheelRemainder && return Ptr{ImVec2}(x + 5060) + f === :WheelingAxisAvg && return Ptr{ImVec2}(x + 5068) + f === :DebugDrawIdConflicts && return Ptr{ImGuiID}(x + 5076) + f === :DebugHookIdInfo && return Ptr{ImGuiID}(x + 5080) + f === :HoveredId && return Ptr{ImGuiID}(x + 5084) + f === :HoveredIdPreviousFrame && return Ptr{ImGuiID}(x + 5088) + f === :HoveredIdPreviousFrameItemCount && return Ptr{Cint}(x + 5092) + f === :HoveredIdTimer && return Ptr{Cfloat}(x + 5096) + f === :HoveredIdNotActiveTimer && return Ptr{Cfloat}(x + 5100) + f === :HoveredIdAllowOverlap && return Ptr{Bool}(x + 5104) + f === :HoveredIdIsDisabled && return Ptr{Bool}(x + 5105) + f === :ItemUnclipByLog && return Ptr{Bool}(x + 5106) + f === :ActiveId && return Ptr{ImGuiID}(x + 5108) + f === :ActiveIdIsAlive && return Ptr{ImGuiID}(x + 5112) + f === :ActiveIdTimer && return Ptr{Cfloat}(x + 5116) + f === :ActiveIdIsJustActivated && return Ptr{Bool}(x + 5120) + f === :ActiveIdAllowOverlap && return Ptr{Bool}(x + 5121) + f === :ActiveIdNoClearOnFocusLoss && return Ptr{Bool}(x + 5122) + f === :ActiveIdHasBeenPressedBefore && return Ptr{Bool}(x + 5123) + f === :ActiveIdHasBeenEditedBefore && return Ptr{Bool}(x + 5124) + f === :ActiveIdHasBeenEditedThisFrame && return Ptr{Bool}(x + 5125) + f === :ActiveIdFromShortcut && return Ptr{Bool}(x + 5126) + f === :ActiveIdMouseButton && return (Ptr{Cint}(x + 5128), 0, 8) + f === :ActiveIdClickOffset && return Ptr{ImVec2}(x + 5132) + f === :ActiveIdWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5140) + f === :ActiveIdSource && return Ptr{ImGuiInputSource}(x + 5144) + f === :ActiveIdPreviousFrame && return Ptr{ImGuiID}(x + 5148) + f === :ActiveIdPreviousFrameIsAlive && return Ptr{Bool}(x + 5152) + f === :ActiveIdPreviousFrameHasBeenEditedBefore && return Ptr{Bool}(x + 5153) + f === :ActiveIdPreviousFrameWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5156) + f === :LastActiveId && return Ptr{ImGuiID}(x + 5160) + f === :LastActiveIdTimer && return Ptr{Cfloat}(x + 5164) + f === :LastKeyModsChangeTime && return Ptr{Cdouble}(x + 5168) + f === :LastKeyModsChangeFromNoneTime && return Ptr{Cdouble}(x + 5176) + f === :LastKeyboardKeyPressTime && return Ptr{Cdouble}(x + 5184) + f === :KeysMayBeCharInput && return Ptr{ImBitArrayForNamedKeys}(x + 5192) + f === :KeysOwnerData && return Ptr{NTuple{154, ImGuiKeyOwnerData}}(x + 5212) + f === :KeysRoutingTable && return Ptr{ImGuiKeyRoutingTable}(x + 7060) + f === :ActiveIdUsingNavDirMask && return Ptr{ImU32}(x + 7392) + f === :ActiveIdUsingAllKeyboardKeys && return Ptr{Bool}(x + 7396) + f === :DebugBreakInShortcutRouting && return Ptr{ImGuiKeyChord}(x + 7400) + f === :CurrentFocusScopeId && return Ptr{ImGuiID}(x + 7404) + f === :CurrentItemFlags && return Ptr{ImGuiItemFlags}(x + 7408) + f === :DebugLocateId && return Ptr{ImGuiID}(x + 7412) + f === :NextItemData && return Ptr{ImGuiNextItemData}(x + 7416) + f === :LastItemData && return Ptr{ImGuiLastItemData}(x + 7472) + f === :NextWindowData && return Ptr{ImGuiNextWindowData}(x + 7552) + f === :DebugShowGroupRects && return Ptr{Bool}(x + 7700) + f === :DebugFlashStyleColorIdx && return Ptr{ImGuiCol}(x + 7704) + f === :ColorStack && return Ptr{ImVector_ImGuiColorMod}(x + 7708) + f === :StyleVarStack && return Ptr{ImVector_ImGuiStyleMod}(x + 7720) + f === :FontStack && return Ptr{ImVector_ImFontPtr}(x + 7732) + f === :FocusScopeStack && return Ptr{ImVector_ImGuiFocusScopeData}(x + 7744) + f === :ItemFlagsStack && return Ptr{ImVector_ImGuiItemFlags}(x + 7756) + f === :GroupStack && return Ptr{ImVector_ImGuiGroupData}(x + 7768) + f === :OpenPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 7780) + f === :BeginPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 7792) + f === :TreeNodeStack && return Ptr{ImVector_ImGuiTreeNodeStackData}(x + 7804) + f === :Viewports && return Ptr{ImVector_ImGuiViewportPPtr}(x + 7816) + f === :CurrentViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 7828) + f === :MouseViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 7832) + f === :MouseLastHoveredViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 7836) + f === :PlatformLastFocusedViewportId && return Ptr{ImGuiID}(x + 7840) + f === :FallbackMonitor && return Ptr{ImGuiPlatformMonitor}(x + 7844) + f === :PlatformMonitorsFullWorkRect && return Ptr{ImRect}(x + 7884) + f === :ViewportCreatedCount && return Ptr{Cint}(x + 7900) + f === :PlatformWindowsCreatedCount && return Ptr{Cint}(x + 7904) + f === :ViewportFocusedStampCount && return Ptr{Cint}(x + 7908) + f === :NavCursorVisible && return Ptr{Bool}(x + 7912) + f === :NavHighlightItemUnderNav && return Ptr{Bool}(x + 7913) + f === :NavMousePosDirty && return Ptr{Bool}(x + 7914) + f === :NavIdIsAlive && return Ptr{Bool}(x + 7915) + f === :NavId && return Ptr{ImGuiID}(x + 7916) + f === :NavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 7920) + f === :NavFocusScopeId && return Ptr{ImGuiID}(x + 7924) + f === :NavLayer && return Ptr{ImGuiNavLayer}(x + 7928) + f === :NavActivateId && return Ptr{ImGuiID}(x + 7932) + f === :NavActivateDownId && return Ptr{ImGuiID}(x + 7936) + f === :NavActivatePressedId && return Ptr{ImGuiID}(x + 7940) + f === :NavActivateFlags && return Ptr{ImGuiActivateFlags}(x + 7944) + f === :NavFocusRoute && return Ptr{ImVector_ImGuiFocusScopeData}(x + 7948) + f === :NavHighlightActivatedId && return Ptr{ImGuiID}(x + 7960) + f === :NavHighlightActivatedTimer && return Ptr{Cfloat}(x + 7964) + f === :NavNextActivateId && return Ptr{ImGuiID}(x + 7968) + f === :NavNextActivateFlags && return Ptr{ImGuiActivateFlags}(x + 7972) + f === :NavInputSource && return Ptr{ImGuiInputSource}(x + 7976) + f === :NavLastValidSelectionUserData && return Ptr{ImGuiSelectionUserData}(x + 7984) + f === :NavCursorHideFrames && return Ptr{ImS8}(x + 7992) + f === :NavAnyRequest && return Ptr{Bool}(x + 7993) + f === :NavInitRequest && return Ptr{Bool}(x + 7994) + f === :NavInitRequestFromMove && return Ptr{Bool}(x + 7995) + f === :NavInitResult && return Ptr{ImGuiNavItemData}(x + 8000) + f === :NavMoveSubmitted && return Ptr{Bool}(x + 8056) + f === :NavMoveScoringItems && return Ptr{Bool}(x + 8057) + f === :NavMoveForwardToNextFrame && return Ptr{Bool}(x + 8058) + f === :NavMoveFlags && return Ptr{ImGuiNavMoveFlags}(x + 8060) + f === :NavMoveScrollFlags && return Ptr{ImGuiScrollFlags}(x + 8064) + f === :NavMoveKeyMods && return Ptr{ImGuiKeyChord}(x + 8068) + f === :NavMoveDir && return Ptr{ImGuiDir}(x + 8072) + f === :NavMoveDirForDebug && return Ptr{ImGuiDir}(x + 8076) + f === :NavMoveClipDir && return Ptr{ImGuiDir}(x + 8080) + f === :NavScoringRect && return Ptr{ImRect}(x + 8084) + f === :NavScoringNoClipRect && return Ptr{ImRect}(x + 8100) + f === :NavScoringDebugCount && return Ptr{Cint}(x + 8116) + f === :NavTabbingDir && return Ptr{Cint}(x + 8120) + f === :NavTabbingCounter && return Ptr{Cint}(x + 8124) + f === :NavMoveResultLocal && return Ptr{ImGuiNavItemData}(x + 8128) + f === :NavMoveResultLocalVisible && return Ptr{ImGuiNavItemData}(x + 8184) + f === :NavMoveResultOther && return Ptr{ImGuiNavItemData}(x + 8240) + f === :NavTabbingResultFirst && return Ptr{ImGuiNavItemData}(x + 8296) + f === :NavJustMovedFromFocusScopeId && return Ptr{ImGuiID}(x + 8352) + f === :NavJustMovedToId && return Ptr{ImGuiID}(x + 8356) + f === :NavJustMovedToFocusScopeId && return Ptr{ImGuiID}(x + 8360) + f === :NavJustMovedToKeyMods && return Ptr{ImGuiKeyChord}(x + 8364) + f === :NavJustMovedToIsTabbing && return Ptr{Bool}(x + 8368) + f === :NavJustMovedToHasSelectionData && return Ptr{Bool}(x + 8369) + f === :ConfigNavWindowingKeyNext && return Ptr{ImGuiKeyChord}(x + 8372) + f === :ConfigNavWindowingKeyPrev && return Ptr{ImGuiKeyChord}(x + 8376) + f === :NavWindowingTarget && return Ptr{Ptr{ImGuiWindow}}(x + 8380) + f === :NavWindowingTargetAnim && return Ptr{Ptr{ImGuiWindow}}(x + 8384) + f === :NavWindowingListWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8388) + f === :NavWindowingTimer && return Ptr{Cfloat}(x + 8392) + f === :NavWindowingHighlightAlpha && return Ptr{Cfloat}(x + 8396) + f === :NavWindowingToggleLayer && return Ptr{Bool}(x + 8400) + f === :NavWindowingToggleKey && return Ptr{ImGuiKey}(x + 8404) + f === :NavWindowingAccumDeltaPos && return Ptr{ImVec2}(x + 8408) + f === :NavWindowingAccumDeltaSize && return Ptr{ImVec2}(x + 8416) + f === :DimBgRatio && return Ptr{Cfloat}(x + 8424) + f === :DragDropActive && return Ptr{Bool}(x + 8428) + f === :DragDropWithinSource && return Ptr{Bool}(x + 8429) + f === :DragDropWithinTarget && return Ptr{Bool}(x + 8430) + f === :DragDropSourceFlags && return Ptr{ImGuiDragDropFlags}(x + 8432) + f === :DragDropSourceFrameCount && return Ptr{Cint}(x + 8436) + f === :DragDropMouseButton && return Ptr{Cint}(x + 8440) + f === :DragDropPayload && return Ptr{ImGuiPayload}(x + 8444) + f === :DragDropTargetRect && return Ptr{ImRect}(x + 8500) + f === :DragDropTargetClipRect && return Ptr{ImRect}(x + 8516) + f === :DragDropTargetId && return Ptr{ImGuiID}(x + 8532) + f === :DragDropAcceptFlags && return Ptr{ImGuiDragDropFlags}(x + 8536) + f === :DragDropAcceptIdCurrRectSurface && return Ptr{Cfloat}(x + 8540) + f === :DragDropAcceptIdCurr && return Ptr{ImGuiID}(x + 8544) + f === :DragDropAcceptIdPrev && return Ptr{ImGuiID}(x + 8548) + f === :DragDropAcceptFrameCount && return Ptr{Cint}(x + 8552) + f === :DragDropHoldJustPressedId && return Ptr{ImGuiID}(x + 8556) + f === :DragDropPayloadBufHeap && return Ptr{ImVector_unsigned_char}(x + 8560) + f === :DragDropPayloadBufLocal && return Ptr{NTuple{16, Cuchar}}(x + 8572) + f === :ClipperTempDataStacked && return Ptr{Cint}(x + 8588) + f === :ClipperTempData && return Ptr{ImVector_ImGuiListClipperData}(x + 8592) + f === :CurrentTable && return Ptr{Ptr{ImGuiTable}}(x + 8604) + f === :DebugBreakInTable && return Ptr{ImGuiID}(x + 8608) + f === :TablesTempDataStacked && return Ptr{Cint}(x + 8612) + f === :TablesTempData && return Ptr{ImVector_ImGuiTableTempData}(x + 8616) + f === :Tables && return Ptr{ImPool_ImGuiTable}(x + 8628) + f === :TablesLastTimeActive && return Ptr{ImVector_float}(x + 8660) + f === :DrawChannelsTempMergeBuffer && return Ptr{ImVector_ImDrawChannel}(x + 8672) + f === :CurrentTabBar && return Ptr{Ptr{ImGuiTabBar}}(x + 8684) + f === :TabBars && return Ptr{ImPool_ImGuiTabBar}(x + 8688) + f === :CurrentTabBarStack && return Ptr{ImVector_ImGuiPtrOrIndex}(x + 8720) + f === :ShrinkWidthBuffer && return Ptr{ImVector_ImGuiShrinkWidthItem}(x + 8732) + f === :BoxSelectState && return Ptr{ImGuiBoxSelectState}(x + 8744) + f === :CurrentMultiSelect && return Ptr{Ptr{ImGuiMultiSelectTempData}}(x + 8840) + f === :MultiSelectTempDataStacked && return Ptr{Cint}(x + 8844) + f === :MultiSelectTempData && return Ptr{ImVector_ImGuiMultiSelectTempData}(x + 8848) + f === :MultiSelectStorage && return Ptr{ImPool_ImGuiMultiSelectState}(x + 8860) + f === :HoverItemDelayId && return Ptr{ImGuiID}(x + 8892) + f === :HoverItemDelayIdPreviousFrame && return Ptr{ImGuiID}(x + 8896) + f === :HoverItemDelayTimer && return Ptr{Cfloat}(x + 8900) + f === :HoverItemDelayClearTimer && return Ptr{Cfloat}(x + 8904) + f === :HoverItemUnlockedStationaryId && return Ptr{ImGuiID}(x + 8908) + f === :HoverWindowUnlockedStationaryId && return Ptr{ImGuiID}(x + 8912) + f === :MouseCursor && return Ptr{ImGuiMouseCursor}(x + 8916) + f === :MouseStationaryTimer && return Ptr{Cfloat}(x + 8920) + f === :MouseLastValidPos && return Ptr{ImVec2}(x + 8924) + f === :InputTextState && return Ptr{ImGuiInputTextState}(x + 8932) + f === :InputTextDeactivatedState && return Ptr{ImGuiInputTextDeactivatedState}(x + 9020) + f === :InputTextPasswordFont && return Ptr{ImFont}(x + 9036) + f === :TempInputId && return Ptr{ImGuiID}(x + 9132) + f === :DataTypeZeroValue && return Ptr{ImGuiDataTypeStorage}(x + 9136) + f === :BeginMenuDepth && return Ptr{Cint}(x + 9144) + f === :BeginComboDepth && return Ptr{Cint}(x + 9148) + f === :ColorEditOptions && return Ptr{ImGuiColorEditFlags}(x + 9152) + f === :ColorEditCurrentID && return Ptr{ImGuiID}(x + 9156) + f === :ColorEditSavedID && return Ptr{ImGuiID}(x + 9160) + f === :ColorEditSavedHue && return Ptr{Cfloat}(x + 9164) + f === :ColorEditSavedSat && return Ptr{Cfloat}(x + 9168) + f === :ColorEditSavedColor && return Ptr{ImU32}(x + 9172) + f === :ColorPickerRef && return Ptr{ImVec4}(x + 9176) + f === :ComboPreviewData && return Ptr{ImGuiComboPreviewData}(x + 9192) + f === :WindowResizeBorderExpectedRect && return Ptr{ImRect}(x + 9240) + f === :WindowResizeRelativeMode && return Ptr{Bool}(x + 9256) + f === :ScrollbarSeekMode && return Ptr{Cshort}(x + 9258) + f === :ScrollbarClickDeltaToGrabCenter && return Ptr{Cfloat}(x + 9260) + f === :SliderGrabClickOffset && return Ptr{Cfloat}(x + 9264) + f === :SliderCurrentAccum && return Ptr{Cfloat}(x + 9268) + f === :SliderCurrentAccumDirty && return Ptr{Bool}(x + 9272) + f === :DragCurrentAccumDirty && return Ptr{Bool}(x + 9273) + f === :DragCurrentAccum && return Ptr{Cfloat}(x + 9276) + f === :DragSpeedDefaultRatio && return Ptr{Cfloat}(x + 9280) + f === :DisabledAlphaBackup && return Ptr{Cfloat}(x + 9284) + f === :DisabledStackSize && return Ptr{Cshort}(x + 9288) + f === :TooltipOverrideCount && return Ptr{Cshort}(x + 9290) + f === :TooltipPreviousWindow && return Ptr{Ptr{ImGuiWindow}}(x + 9292) + f === :ClipboardHandlerData && return Ptr{ImVector_char}(x + 9296) + f === :MenusIdSubmittedThisFrame && return Ptr{ImVector_ImGuiID}(x + 9308) + f === :TypingSelectState && return Ptr{ImGuiTypingSelectState}(x + 9320) + f === :PlatformImeData && return Ptr{ImGuiPlatformImeData}(x + 9416) + f === :PlatformImeDataPrev && return Ptr{ImGuiPlatformImeData}(x + 9432) + f === :PlatformImeViewport && return Ptr{ImGuiID}(x + 9448) + f === :DockContext && return Ptr{ImGuiDockContext}(x + 9452) + f === :DockNodeWindowMenuHandler && return Ptr{Ptr{Cvoid}}(x + 9492) + f === :SettingsLoaded && return Ptr{Bool}(x + 9496) + f === :SettingsDirtyTimer && return Ptr{Cfloat}(x + 9500) + f === :SettingsIniData && return Ptr{ImGuiTextBuffer}(x + 9504) + f === :SettingsHandlers && return Ptr{ImVector_ImGuiSettingsHandler}(x + 9516) + f === :SettingsWindows && return Ptr{ImChunkStream_ImGuiWindowSettings}(x + 9528) + f === :SettingsTables && return Ptr{ImChunkStream_ImGuiTableSettings}(x + 9540) + f === :Hooks && return Ptr{ImVector_ImGuiContextHook}(x + 9552) + f === :HookIdNext && return Ptr{ImGuiID}(x + 9564) + f === :LocalizationTable && return Ptr{NTuple{13, Ptr{Cchar}}}(x + 9568) + f === :LogEnabled && return Ptr{Bool}(x + 9620) + f === :LogFlags && return Ptr{ImGuiLogFlags}(x + 9624) + f === :LogWindow && return Ptr{Ptr{ImGuiWindow}}(x + 9628) + f === :LogFile && return Ptr{ImFileHandle}(x + 9632) + f === :LogBuffer && return Ptr{ImGuiTextBuffer}(x + 9636) + f === :LogNextPrefix && return Ptr{Ptr{Cchar}}(x + 9648) + f === :LogNextSuffix && return Ptr{Ptr{Cchar}}(x + 9652) + f === :LogLinePosY && return Ptr{Cfloat}(x + 9656) + f === :LogLineFirstItem && return Ptr{Bool}(x + 9660) + f === :LogDepthRef && return Ptr{Cint}(x + 9664) + f === :LogDepthToExpand && return Ptr{Cint}(x + 9668) + f === :LogDepthToExpandDefault && return Ptr{Cint}(x + 9672) + f === :ErrorCallback && return Ptr{ImGuiErrorCallback}(x + 9676) + f === :ErrorCallbackUserData && return Ptr{Ptr{Cvoid}}(x + 9680) + f === :ErrorTooltipLockedPos && return Ptr{ImVec2}(x + 9684) + f === :ErrorFirst && return Ptr{Bool}(x + 9692) + f === :ErrorCountCurrentFrame && return Ptr{Cint}(x + 9696) + f === :StackSizesInNewFrame && return Ptr{ImGuiErrorRecoveryState}(x + 9700) + f === :StackSizesInBeginForCurrentWindow && return Ptr{Ptr{ImGuiErrorRecoveryState}}(x + 9724) + f === :DebugDrawIdConflictsCount && return Ptr{Cint}(x + 9728) + f === :DebugLogFlags && return Ptr{ImGuiDebugLogFlags}(x + 9732) + f === :DebugLogBuf && return Ptr{ImGuiTextBuffer}(x + 9736) + f === :DebugLogIndex && return Ptr{ImGuiTextIndex}(x + 9748) + f === :DebugLogSkippedErrors && return Ptr{Cint}(x + 9764) + f === :DebugLogAutoDisableFlags && return Ptr{ImGuiDebugLogFlags}(x + 9768) + f === :DebugLogAutoDisableFrames && return Ptr{ImU8}(x + 9772) + f === :DebugLocateFrames && return Ptr{ImU8}(x + 9773) + f === :DebugBreakInLocateId && return Ptr{Bool}(x + 9774) + f === :DebugBreakKeyChord && return Ptr{ImGuiKeyChord}(x + 9776) + f === :DebugBeginReturnValueCullDepth && return Ptr{ImS8}(x + 9780) + f === :DebugItemPickerActive && return Ptr{Bool}(x + 9781) + f === :DebugItemPickerMouseButton && return Ptr{ImU8}(x + 9782) + f === :DebugItemPickerBreakId && return Ptr{ImGuiID}(x + 9784) + f === :DebugFlashStyleColorTime && return Ptr{Cfloat}(x + 9788) + f === :DebugFlashStyleColorBackup && return Ptr{ImVec4}(x + 9792) + f === :DebugMetricsConfig && return Ptr{ImGuiMetricsConfig}(x + 9808) + f === :DebugIDStackTool && return Ptr{ImGuiIDStackTool}(x + 9836) + f === :DebugAllocInfo && return Ptr{ImGuiDebugAllocInfo}(x + 9868) + f === :DebugHoveredDockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 9928) + f === :FramerateSecPerFrame && return Ptr{NTuple{60, Cfloat}}(x + 9932) + f === :FramerateSecPerFrameIdx && return Ptr{Cint}(x + 10172) + f === :FramerateSecPerFrameCount && return Ptr{Cint}(x + 10176) + f === :FramerateSecPerFrameAccum && return Ptr{Cfloat}(x + 10180) + f === :WantCaptureMouseNextFrame && return Ptr{Cint}(x + 10184) + f === :WantCaptureKeyboardNextFrame && return Ptr{Cint}(x + 10188) + f === :WantTextInputNextFrame && return Ptr{Cint}(x + 10192) + f === :TempBuffer && return Ptr{ImVector_char}(x + 10196) + f === :TempKeychordName && return Ptr{NTuple{64, Cchar}}(x + 10208) return getfield(x, f) end @@ -3577,8 +3670,6 @@ struct ImVector_const_charPtr Data::Ptr{Ptr{Cchar}} end -const ImU64 = Culonglong - const ImGuiMouseButton = Cint const ImGuiTableBgTarget = Cint @@ -3683,12 +3774,13 @@ end ImGuiInputTextFlags_DisplayEmptyRefVal = 16384 ImGuiInputTextFlags_NoHorizontalScroll = 32768 ImGuiInputTextFlags_NoUndoRedo = 65536 - ImGuiInputTextFlags_CallbackCompletion = 131072 - ImGuiInputTextFlags_CallbackHistory = 262144 - ImGuiInputTextFlags_CallbackAlways = 524288 - ImGuiInputTextFlags_CallbackCharFilter = 1048576 - ImGuiInputTextFlags_CallbackResize = 2097152 - ImGuiInputTextFlags_CallbackEdit = 4194304 + ImGuiInputTextFlags_ElideLeft = 131072 + ImGuiInputTextFlags_CallbackCompletion = 262144 + ImGuiInputTextFlags_CallbackHistory = 524288 + ImGuiInputTextFlags_CallbackAlways = 1048576 + ImGuiInputTextFlags_CallbackCharFilter = 2097152 + ImGuiInputTextFlags_CallbackResize = 4194304 + ImGuiInputTextFlags_CallbackEdit = 8388608 end @cenum ImGuiTreeNodeFlags_::UInt32 begin @@ -3872,8 +3964,6 @@ end ImGuiConfigFlags_None = 0 ImGuiConfigFlags_NavEnableKeyboard = 1 ImGuiConfigFlags_NavEnableGamepad = 2 - ImGuiConfigFlags_NavEnableSetMousePos = 4 - ImGuiConfigFlags_NavNoCaptureKeyboard = 8 ImGuiConfigFlags_NoMouse = 16 ImGuiConfigFlags_NoMouseCursorChange = 32 ImGuiConfigFlags_NoKeyboard = 64 @@ -3951,7 +4041,7 @@ end ImGuiCol_TextLink = 51 ImGuiCol_TextSelectedBg = 52 ImGuiCol_DragDropTarget = 53 - ImGuiCol_NavHighlight = 54 + ImGuiCol_NavCursor = 54 ImGuiCol_NavWindowingHighlight = 55 ImGuiCol_NavWindowingDimBg = 56 ImGuiCol_ModalWindowDimBg = 57 @@ -4002,6 +4092,7 @@ end ImGuiButtonFlags_MouseButtonRight = 2 ImGuiButtonFlags_MouseButtonMiddle = 4 ImGuiButtonFlags_MouseButtonMask_ = 7 + ImGuiButtonFlags_EnableNav = 8 end @cenum ImGuiColorEditFlags_::UInt32 begin @@ -4038,11 +4129,13 @@ end @cenum ImGuiSliderFlags_::UInt32 begin ImGuiSliderFlags_None = 0 - ImGuiSliderFlags_AlwaysClamp = 16 ImGuiSliderFlags_Logarithmic = 32 ImGuiSliderFlags_NoRoundToFormat = 64 ImGuiSliderFlags_NoInput = 128 ImGuiSliderFlags_WrapAround = 256 + ImGuiSliderFlags_ClampOnInput = 512 + ImGuiSliderFlags_ClampZeroRange = 1024 + ImGuiSliderFlags_AlwaysClamp = 1536 ImGuiSliderFlags_InvalidMask_ = 1879048207 end @@ -4230,7 +4323,7 @@ end const ImGuiFocusRequestFlags = Cint -const ImGuiNavHighlightFlags = Cint +const ImGuiNavRenderCursorFlags = Cint const ImGuiSeparatorFlags = Cint @@ -4238,9 +4331,6 @@ const ImGuiTextFlags = Cint const ImGuiTooltipFlags = Cint -# typedef void ( * ImGuiErrorLogCallback ) ( void * user_data , const char * fmt , ... ) -const ImGuiErrorLogCallback = Ptr{Cvoid} - @cenum ImGuiDataTypePrivate_::UInt32 begin ImGuiDataType_String = 12 ImGuiDataType_Pointer = 13 @@ -4253,6 +4343,8 @@ end ImGuiItemFlags_MixedValue = 4096 ImGuiItemFlags_NoWindowHoverableCheck = 8192 ImGuiItemFlags_AllowOverlap = 16384 + ImGuiItemFlags_NoNavDisableMouseHover = 32768 + ImGuiItemFlags_NoMarkEdited = 65536 ImGuiItemFlags_Inputable = 1048576 ImGuiItemFlags_HasSelectionUserData = 2097152 ImGuiItemFlags_IsMultiSelect = 4194304 @@ -4282,9 +4374,8 @@ end @cenum ImGuiInputTextFlagsPrivate_::UInt32 begin ImGuiInputTextFlags_Multiline = 67108864 - ImGuiInputTextFlags_NoMarkEdited = 134217728 - ImGuiInputTextFlags_MergedItem = 268435456 - ImGuiInputTextFlags_LocalizeDecimalPoint = 536870912 + ImGuiInputTextFlags_MergedItem = 134217728 + ImGuiInputTextFlags_LocalizeDecimalPoint = 268435456 end @cenum ImGuiButtonFlagsPrivate_::UInt32 begin @@ -4294,12 +4385,10 @@ end ImGuiButtonFlags_PressedOnRelease = 128 ImGuiButtonFlags_PressedOnDoubleClick = 256 ImGuiButtonFlags_PressedOnDragDropHold = 512 - ImGuiButtonFlags_Repeat = 1024 ImGuiButtonFlags_FlattenChildren = 2048 ImGuiButtonFlags_AllowOverlap = 4096 - ImGuiButtonFlags_DontClosePopups = 8192 ImGuiButtonFlags_AlignTextBaseLine = 32768 - ImGuiButtonFlags_NoKeyModifiers = 65536 + ImGuiButtonFlags_NoKeyModsAllowed = 65536 ImGuiButtonFlags_NoHoldingActiveId = 131072 ImGuiButtonFlags_NoNavFocus = 262144 ImGuiButtonFlags_NoHoveredOnFocus = 524288 @@ -4363,6 +4452,15 @@ end ImGuiLayoutType_Vertical = 1 end +@cenum ImGuiLogFlags_::UInt32 begin + ImGuiLogFlags_None = 0 + ImGuiLogFlags_OutputTTY = 1 + ImGuiLogFlags_OutputFile = 2 + ImGuiLogFlags_OutputBuffer = 4 + ImGuiLogFlags_OutputClipboard = 8 + ImGuiLogFlags_OutputMask_ = 15 +end + @cenum ImGuiPlotType::UInt32 begin ImGuiPlotType_Lines = 0 ImGuiPlotType_Histogram = 1 @@ -4492,11 +4590,11 @@ end ImGuiScrollFlags_MaskY_ = 42 end -@cenum ImGuiNavHighlightFlags_::UInt32 begin - ImGuiNavHighlightFlags_None = 0 - ImGuiNavHighlightFlags_Compact = 2 - ImGuiNavHighlightFlags_AlwaysDraw = 4 - ImGuiNavHighlightFlags_NoRounding = 8 +@cenum ImGuiNavRenderCursorFlags_::UInt32 begin + ImGuiNavRenderCursorFlags_None = 0 + ImGuiNavRenderCursorFlags_Compact = 2 + ImGuiNavRenderCursorFlags_AlwaysDraw = 4 + ImGuiNavRenderCursorFlags_NoRounding = 8 end @cenum ImGuiNavMoveFlags_::UInt32 begin @@ -4516,7 +4614,7 @@ end ImGuiNavMoveFlags_IsPageMove = 2048 ImGuiNavMoveFlags_Activate = 4096 ImGuiNavMoveFlags_NoSelect = 8192 - ImGuiNavMoveFlags_NoSetNavHighlight = 16384 + ImGuiNavMoveFlags_NoSetNavCursorVisible = 16384 ImGuiNavMoveFlags_NoClearActiveId = 32768 end @@ -4576,17 +4674,19 @@ end @cenum ImGuiDebugLogFlags_::UInt32 begin ImGuiDebugLogFlags_None = 0 - ImGuiDebugLogFlags_EventActiveId = 1 - ImGuiDebugLogFlags_EventFocus = 2 - ImGuiDebugLogFlags_EventPopup = 4 - ImGuiDebugLogFlags_EventNav = 8 - ImGuiDebugLogFlags_EventClipper = 16 - ImGuiDebugLogFlags_EventSelection = 32 - ImGuiDebugLogFlags_EventIO = 64 - ImGuiDebugLogFlags_EventInputRouting = 128 - ImGuiDebugLogFlags_EventDocking = 256 - ImGuiDebugLogFlags_EventViewport = 512 - ImGuiDebugLogFlags_EventMask_ = 1023 + ImGuiDebugLogFlags_EventError = 1 + ImGuiDebugLogFlags_EventActiveId = 2 + ImGuiDebugLogFlags_EventFocus = 4 + ImGuiDebugLogFlags_EventPopup = 8 + ImGuiDebugLogFlags_EventNav = 16 + ImGuiDebugLogFlags_EventClipper = 32 + ImGuiDebugLogFlags_EventSelection = 64 + ImGuiDebugLogFlags_EventIO = 128 + ImGuiDebugLogFlags_EventFont = 256 + ImGuiDebugLogFlags_EventInputRouting = 512 + ImGuiDebugLogFlags_EventDocking = 1024 + ImGuiDebugLogFlags_EventViewport = 2048 + ImGuiDebugLogFlags_EventMask_ = 4095 ImGuiDebugLogFlags_OutputToTTY = 1048576 ImGuiDebugLogFlags_OutputToTestEngine = 2097152 end @@ -5951,6 +6051,10 @@ function igSetKeyboardFocusHere(offset) ccall((:igSetKeyboardFocusHere, libcimgui), Cvoid, (Cint,), offset) end +function igSetNavCursorVisible(visible) + ccall((:igSetNavCursorVisible, libcimgui), Cvoid, (Bool,), visible) +end + function igSetNextItemAllowOverlap() ccall((:igSetNextItemAllowOverlap, libcimgui), Cvoid, ()) end @@ -6936,8 +7040,8 @@ function ImDrawList_PathRect(self, rect_min, rect_max, rounding, flags) ccall((:ImDrawList_PathRect, libcimgui), Cvoid, (Ptr{ImDrawList}, ImVec2, ImVec2, Cfloat, ImDrawFlags), self, rect_min, rect_max, rounding, flags) end -function ImDrawList_AddCallback(self, callback, callback_data) - ccall((:ImDrawList_AddCallback, libcimgui), Cvoid, (Ptr{ImDrawList}, ImDrawCallback, Ptr{Cvoid}), self, callback, callback_data) +function ImDrawList_AddCallback(self, callback, userdata, userdata_size) + ccall((:ImDrawList_AddCallback, libcimgui), Cvoid, (Ptr{ImDrawList}, ImDrawCallback, Ptr{Cvoid}, Csize_t), self, callback, userdata, userdata_size) end function ImDrawList_AddDrawCmd(self) @@ -8106,20 +8210,12 @@ function ImGuiLastItemData_destroy(self) ccall((:ImGuiLastItemData_destroy, libcimgui), Cvoid, (Ptr{ImGuiLastItemData},), self) end -function ImGuiStackSizes_ImGuiStackSizes() - ccall((:ImGuiStackSizes_ImGuiStackSizes, libcimgui), Ptr{ImGuiStackSizes}, ()) +function ImGuiErrorRecoveryState_ImGuiErrorRecoveryState() + ccall((:ImGuiErrorRecoveryState_ImGuiErrorRecoveryState, libcimgui), Ptr{ImGuiErrorRecoveryState}, ()) end -function ImGuiStackSizes_destroy(self) - ccall((:ImGuiStackSizes_destroy, libcimgui), Cvoid, (Ptr{ImGuiStackSizes},), self) -end - -function ImGuiStackSizes_SetToContextState(self, ctx) - ccall((:ImGuiStackSizes_SetToContextState, libcimgui), Cvoid, (Ptr{ImGuiStackSizes}, Ptr{ImGuiContext}), self, ctx) -end - -function ImGuiStackSizes_CompareWithContextState(self, ctx) - ccall((:ImGuiStackSizes_CompareWithContextState, libcimgui), Cvoid, (Ptr{ImGuiStackSizes}, Ptr{ImGuiContext}), self, ctx) +function ImGuiErrorRecoveryState_destroy(self) + ccall((:ImGuiErrorRecoveryState_destroy, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), self) end function ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr(ptr) @@ -8542,6 +8638,14 @@ function ImGuiTableSettings_GetColumnSettings(self) ccall((:ImGuiTableSettings_GetColumnSettings, libcimgui), Ptr{ImGuiTableColumnSettings}, (Ptr{ImGuiTableSettings},), self) end +function igGetIOEx(ctx) + ccall((:igGetIOEx, libcimgui), Ptr{ImGuiIO}, (Ptr{ImGuiContext},), ctx) +end + +function igGetPlatformIOEx(ctx) + ccall((:igGetPlatformIOEx, libcimgui), Ptr{ImGuiPlatformIO}, (Ptr{ImGuiContext},), ctx) +end + function igGetCurrentWindowRead() ccall((:igGetCurrentWindowRead, libcimgui), Ptr{ImGuiWindow}, ()) end @@ -8946,8 +9050,8 @@ function igEndDisabledOverrideReenable() ccall((:igEndDisabledOverrideReenable, libcimgui), Cvoid, ()) end -function igLogBegin(type, auto_open_depth) - ccall((:igLogBegin, libcimgui), Cvoid, (ImGuiLogType, Cint), type, auto_open_depth) +function igLogBegin(flags, auto_open_depth) + ccall((:igLogBegin, libcimgui), Cvoid, (ImGuiLogFlags, Cint), flags, auto_open_depth) end function igLogToBuffer(auto_open_depth) @@ -9094,8 +9198,8 @@ function igNavClearPreferredPosForAxis(axis) ccall((:igNavClearPreferredPosForAxis, libcimgui), Cvoid, (ImGuiAxis,), axis) end -function igNavRestoreHighlightAfterMove() - ccall((:igNavRestoreHighlightAfterMove, libcimgui), Cvoid, ()) +function igSetNavCursorVisibleAfterMove() + ccall((:igSetNavCursorVisibleAfterMove, libcimgui), Cvoid, ()) end function igNavUpdateCurrentWindowIsScrollPushableX() @@ -9814,8 +9918,12 @@ function igTabBarCloseTab(tab_bar, tab) ccall((:igTabBarCloseTab, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) end -function igTabBarQueueFocus(tab_bar, tab) - ccall((:igTabBarQueueFocus, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) +function igTabBarQueueFocus_TabItemPtr(tab_bar, tab) + ccall((:igTabBarQueueFocus_TabItemPtr, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) +end + +function igTabBarQueueFocus_Str(tab_bar, tab_name) + ccall((:igTabBarQueueFocus_Str, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{Cchar}), tab_bar, tab_name) end function igTabBarQueueReorder(tab_bar, tab, offset) @@ -9882,8 +9990,8 @@ function igRenderColorRectWithAlphaCheckerboard(draw_list, p_min, p_max, fill_co ccall((:igRenderColorRectWithAlphaCheckerboard, libcimgui), Cvoid, (Ptr{ImDrawList}, ImVec2, ImVec2, ImU32, Cfloat, ImVec2, Cfloat, ImDrawFlags), draw_list, p_min, p_max, fill_col, grid_step, grid_off, rounding, flags) end -function igRenderNavHighlight(bb, id, flags) - ccall((:igRenderNavHighlight, libcimgui), Cvoid, (ImRect, ImGuiID, ImGuiNavHighlightFlags), bb, id, flags) +function igRenderNavCursor(bb, id, flags) + ccall((:igRenderNavCursor, libcimgui), Cvoid, (ImRect, ImGuiID, ImGuiNavRenderCursorFlags), bb, id, flags) end function igFindRenderedTextEnd(text, text_end) @@ -9938,8 +10046,8 @@ function igArrowButtonEx(str_id, dir, size_arg, flags) ccall((:igArrowButtonEx, libcimgui), Bool, (Ptr{Cchar}, ImGuiDir, ImVec2, ImGuiButtonFlags), str_id, dir, size_arg, flags) end -function igImageButtonEx(id, texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) - ccall((:igImageButtonEx, libcimgui), Bool, (ImGuiID, ImTextureID, ImVec2, ImVec2, ImVec2, ImVec4, ImVec4, ImGuiButtonFlags), id, texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) +function igImageButtonEx(id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) + ccall((:igImageButtonEx, libcimgui), Bool, (ImGuiID, ImTextureID, ImVec2, ImVec2, ImVec2, ImVec4, ImVec4, ImGuiButtonFlags), id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) end function igSeparatorEx(flags, thickness) @@ -9970,8 +10078,8 @@ function igScrollbar(axis) ccall((:igScrollbar, libcimgui), Cvoid, (ImGuiAxis,), axis) end -function igScrollbarEx(bb, id, axis, p_scroll_v, avail_v, contents_v, flags) - ccall((:igScrollbarEx, libcimgui), Bool, (ImRect, ImGuiID, ImGuiAxis, Ptr{ImS64}, ImS64, ImS64, ImDrawFlags), bb, id, axis, p_scroll_v, avail_v, contents_v, flags) +function igScrollbarEx(bb, id, axis, p_scroll_v, avail_v, contents_v, draw_rounding_flags) + ccall((:igScrollbarEx, libcimgui), Bool, (ImRect, ImGuiID, ImGuiAxis, Ptr{ImS64}, ImS64, ImS64, ImDrawFlags), bb, id, axis, p_scroll_v, avail_v, contents_v, draw_rounding_flags) end function igGetWindowScrollbarRect(pOut, window, axis) @@ -10050,6 +10158,10 @@ function igDataTypeClamp(data_type, p_data, p_min, p_max) ccall((:igDataTypeClamp, libcimgui), Bool, (ImGuiDataType, Ptr{Cvoid}, Ptr{Cvoid}, Ptr{Cvoid}), data_type, p_data, p_min, p_max) end +function igDataTypeIsZero(data_type, p_data) + ccall((:igDataTypeIsZero, libcimgui), Bool, (ImGuiDataType, Ptr{Cvoid}), data_type, p_data) +end + function igInputTextEx(label, hint, buf, buf_size, size_arg, flags, callback, user_data) ccall((:igInputTextEx, libcimgui), Bool, (Ptr{Cchar}, Ptr{Cchar}, Ptr{Cchar}, Cint, ImVec2, ImGuiInputTextFlags, ImGuiInputTextCallback, Ptr{Cvoid}), label, hint, buf, buf_size, size_arg, flags, callback, user_data) end @@ -10118,22 +10230,42 @@ function igGcAwakeTransientWindowBuffers(window) ccall((:igGcAwakeTransientWindowBuffers, libcimgui), Cvoid, (Ptr{ImGuiWindow},), window) end -function igDebugAllocHook(info, frame_count, ptr, size) - ccall((:igDebugAllocHook, libcimgui), Cvoid, (Ptr{ImGuiDebugAllocInfo}, Cint, Ptr{Cvoid}, Csize_t), info, frame_count, ptr, size) +function igErrorLog(msg) + ccall((:igErrorLog, libcimgui), Bool, (Ptr{Cchar},), msg) +end + +function igErrorRecoveryStoreState(state_out) + ccall((:igErrorRecoveryStoreState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_out) end -function igErrorCheckEndFrameRecover(log_callback, user_data) - ccall((:igErrorCheckEndFrameRecover, libcimgui), Cvoid, (ImGuiErrorLogCallback, Ptr{Cvoid}), log_callback, user_data) +function igErrorRecoveryTryToRecoverState(state_in) + ccall((:igErrorRecoveryTryToRecoverState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_in) end -function igErrorCheckEndWindowRecover(log_callback, user_data) - ccall((:igErrorCheckEndWindowRecover, libcimgui), Cvoid, (ImGuiErrorLogCallback, Ptr{Cvoid}), log_callback, user_data) +function igErrorRecoveryTryToRecoverWindowState(state_in) + ccall((:igErrorRecoveryTryToRecoverWindowState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_in) end function igErrorCheckUsingSetCursorPosToExtendParentBoundaries() ccall((:igErrorCheckUsingSetCursorPosToExtendParentBoundaries, libcimgui), Cvoid, ()) end +function igErrorCheckEndFrameFinalizeErrorTooltip() + ccall((:igErrorCheckEndFrameFinalizeErrorTooltip, libcimgui), Cvoid, ()) +end + +function igBeginErrorTooltip() + ccall((:igBeginErrorTooltip, libcimgui), Bool, ()) +end + +function igEndErrorTooltip() + ccall((:igEndErrorTooltip, libcimgui), Cvoid, ()) +end + +function igDebugAllocHook(info, frame_count, ptr, size) + ccall((:igDebugAllocHook, libcimgui), Cvoid, (Ptr{ImGuiDebugAllocInfo}, Cint, Ptr{Cvoid}, Csize_t), info, frame_count, ptr, size) +end + function igDebugDrawCursorPos(col) ccall((:igDebugDrawCursorPos, libcimgui), Cvoid, (ImU32,), col) end @@ -10837,11 +10969,29 @@ struct ImVector_ImU64 Data::Ptr{ImU64} end -struct ImVector_ImU8 +struct var"##Ctag#237" Size::Cint Capacity::Cint Data::Ptr{ImU8} end +function Base.getproperty(x::Ptr{var"##Ctag#237"}, f::Symbol) + f === :Size && return Ptr{Cint}(x + 0) + f === :Capacity && return Ptr{Cint}(x + 0) + f === :Data && return Ptr{Ptr{ImU8}}(x + 0) + return getfield(x, f) +end + +function Base.getproperty(x::var"##Ctag#237", f::Symbol) + r = Ref{var"##Ctag#237"}(x) + ptr = Base.unsafe_convert(Ptr{var"##Ctag#237"}, r) + fptr = getproperty(ptr, f) + GC.@preserve r unsafe_load(fptr) +end + +function Base.setproperty!(x::Ptr{var"##Ctag#237"}, f::Symbol, v) + unsafe_store!(getproperty(x, f), v) +end + const ImPlotDragToolFlags = Cint @@ -14844,6 +14994,8 @@ function ImGui_ImplOpenGL3_DestroyDeviceObjects() ccall((:ImGui_ImplOpenGL3_DestroyDeviceObjects, libcimgui), Cvoid, ()) end +const IM_UNICODE_CODEPOINT_MAX = 65535 + const IMGUI_HAS_DOCK = 1 const ImDrawCallback_ResetRenderState = ImDrawCallback(-8) diff --git a/lib/powerpc64le-linux-gnu.jl b/lib/powerpc64le-linux-gnu.jl index 6dc623f..ebd1912 100644 --- a/lib/powerpc64le-linux-gnu.jl +++ b/lib/powerpc64le-linux-gnu.jl @@ -45,7 +45,9 @@ function Base.setproperty!(x::Ptr{ImVec4}, f::Symbol, v) end -const ImTextureID = Ptr{Cvoid} +const ImU64 = Culonglong + +const ImTextureID = ImU64 struct ImDrawCmd ClipRect::ImVec4 @@ -55,6 +57,8 @@ struct ImDrawCmd ElemCount::Cuint UserCallback::ImDrawCallback UserCallbackData::Ptr{Cvoid} + UserCallbackDataSize::Cint + UserCallbackDataOffset::Cint end function Base.getproperty(x::Ptr{ImDrawCmd}, f::Symbol) f === :ClipRect && return Ptr{ImVec4}(x + 0) @@ -64,6 +68,8 @@ function Base.getproperty(x::Ptr{ImDrawCmd}, f::Symbol) f === :ElemCount && return Ptr{Cuint}(x + 32) f === :UserCallback && return Ptr{ImDrawCallback}(x + 40) f === :UserCallbackData && return Ptr{Ptr{Cvoid}}(x + 48) + f === :UserCallbackDataSize && return Ptr{Cint}(x + 56) + f === :UserCallbackDataOffset && return Ptr{Cint}(x + 60) return getfield(x, f) end @@ -221,19 +227,63 @@ function Base.getproperty(x::ImVector_ImFontPtr, f::Symbol) end struct ImFontAtlasCustomRect - Width::Cushort - Height::Cushort - X::Cushort - Y::Cushort - GlyphID::Cuint - GlyphAdvanceX::Cfloat - GlyphOffset::ImVec2 - Font::Ptr{Cvoid} # Font::Ptr{ImFont} + data::NTuple{32, UInt8} +end + +function Base.getproperty(x::Ptr{ImFontAtlasCustomRect}, f::Symbol) + f === :X && return Ptr{Cushort}(x + 0) + f === :Y && return Ptr{Cushort}(x + 2) + f === :Width && return Ptr{Cushort}(x + 4) + f === :Height && return Ptr{Cushort}(x + 6) + f === :GlyphID && return (Ptr{Cuint}(x + 8), 0, 31) + f === :GlyphColored && return (Ptr{Cuint}(x + 8), 31, 1) + f === :GlyphAdvanceX && return Ptr{Cfloat}(x + 12) + f === :GlyphOffset && return Ptr{ImVec2}(x + 16) + f === :Font && return Ptr{Ptr{ImFont}}(x + 24) + return getfield(x, f) end function Base.getproperty(x::ImFontAtlasCustomRect, f::Symbol) - f === :Font && return Ptr{ImFont}(getfield(x, f)) - return getfield(x, f) + r = Ref{ImFontAtlasCustomRect}(x) + ptr = Base.unsafe_convert(Ptr{ImFontAtlasCustomRect}, r) + fptr = getproperty(ptr, f) + begin + if fptr isa Ptr + return GC.@preserve(r, unsafe_load(fptr)) + else + (baseptr, offset, width) = fptr + ty = eltype(baseptr) + baseptr32 = convert(Ptr{UInt32}, baseptr) + u64 = GC.@preserve(r, unsafe_load(baseptr32)) + if offset + width > 32 + u64 |= GC.@preserve(r, unsafe_load(baseptr32 + 4)) << 32 + end + u64 = u64 >> offset & (1 << width - 1) + return u64 % ty + end + end +end + +function Base.setproperty!(x::Ptr{ImFontAtlasCustomRect}, f::Symbol, v) + fptr = getproperty(x, f) + if fptr isa Ptr + unsafe_store!(getproperty(x, f), v) + else + (baseptr, offset, width) = fptr + baseptr32 = convert(Ptr{UInt32}, baseptr) + u64 = unsafe_load(baseptr32) + straddle = offset + width > 32 + if straddle + u64 |= unsafe_load(baseptr32 + 4) << 32 + end + mask = 1 << width - 1 + u64 &= ~(mask << offset) + u64 |= (unsigned(v) & mask) << offset + unsafe_store!(baseptr32, u64 & typemax(UInt32)) + if straddle + unsafe_store!(baseptr32 + 4, u64 >> 32) + end + end end struct ImVector_ImFontAtlasCustomRect @@ -375,9 +425,9 @@ struct ImFont ContainerAtlas::Ptr{ImFontAtlas} ConfigData::Ptr{ImFontConfig} ConfigDataCount::Cshort - FallbackChar::ImWchar - EllipsisChar::ImWchar EllipsisCharCount::Cshort + EllipsisChar::ImWchar + FallbackChar::ImWchar EllipsisWidth::Cfloat EllipsisCharStep::Cfloat DirtyLookupTables::Bool @@ -396,6 +446,7 @@ end struct ImDrawListSharedData TexUvWhitePixel::ImVec2 + TexUvLines::Ptr{ImVec4} Font::Ptr{ImFont} FontSize::Cfloat FontScale::Cfloat @@ -407,7 +458,6 @@ struct ImDrawListSharedData ArcFastVtx::NTuple{48, ImVec2} ArcFastRadiusCutoff::Cfloat CircleSegmentCounts::NTuple{64, ImU8} - TexUvLines::Ptr{ImVec4} end struct ImDrawCmdHeader @@ -440,6 +490,12 @@ struct ImVector_ImTextureID Data::Ptr{ImTextureID} end +struct ImVector_ImU8 + Size::Cint + Capacity::Cint + Data::Ptr{ImU8} +end + struct ImDrawList CmdBuffer::ImVector_ImDrawCmd IdxBuffer::ImVector_ImDrawIdx @@ -454,6 +510,7 @@ struct ImDrawList _Splitter::ImDrawListSplitter _ClipRectStack::ImVector_ImVec4 _TextureIdStack::ImVector_ImTextureID + _CallbacksDataBuf::ImVector_ImU8 _FringeScale::Cfloat _OwnerName::Ptr{Cchar} end @@ -471,8 +528,9 @@ function Base.getproperty(x::Ptr{ImDrawList}, f::Symbol) f === :_Splitter && return Ptr{ImDrawListSplitter}(x + 128) f === :_ClipRectStack && return Ptr{ImVector_ImVec4}(x + 152) f === :_TextureIdStack && return Ptr{ImVector_ImTextureID}(x + 168) - f === :_FringeScale && return Ptr{Cfloat}(x + 184) - f === :_OwnerName && return Ptr{Ptr{Cchar}}(x + 192) + f === :_CallbacksDataBuf && return Ptr{ImVector_ImU8}(x + 184) + f === :_FringeScale && return Ptr{Cfloat}(x + 200) + f === :_OwnerName && return Ptr{Ptr{Cchar}}(x + 208) return getfield(x, f) end @@ -606,8 +664,6 @@ end const ImU16 = Cushort -const ImS8 = Int8 - struct ImGuiIO ConfigFlags::ImGuiConfigFlags BackendFlags::ImGuiBackendFlags @@ -622,6 +678,13 @@ struct ImGuiIO FontAllowUserScaling::Bool FontDefault::Ptr{ImFont} DisplayFramebufferScale::ImVec2 + ConfigNavSwapGamepadButtons::Bool + ConfigNavMoveSetMousePos::Bool + ConfigNavCaptureKeyboard::Bool + ConfigNavEscapeClearFocusItem::Bool + ConfigNavEscapeClearFocusWindow::Bool + ConfigNavCursorVisibleAuto::Bool + ConfigNavCursorVisibleAlways::Bool ConfigDockingNoSplit::Bool ConfigDockingWithShift::Bool ConfigDockingAlwaysTabBar::Bool @@ -632,19 +695,24 @@ struct ImGuiIO ConfigViewportsNoDefaultParent::Bool MouseDrawCursor::Bool ConfigMacOSXBehaviors::Bool - ConfigNavSwapGamepadButtons::Bool ConfigInputTrickleEventQueue::Bool ConfigInputTextCursorBlink::Bool ConfigInputTextEnterKeepActive::Bool ConfigDragClickToInputText::Bool ConfigWindowsResizeFromEdges::Bool ConfigWindowsMoveFromTitleBarOnly::Bool + ConfigWindowsCopyContentsWithCtrlC::Bool + ConfigScrollbarScrollByPage::Bool ConfigMemoryCompactTimer::Cfloat MouseDoubleClickTime::Cfloat MouseDoubleClickMaxDist::Cfloat MouseDragThreshold::Cfloat KeyRepeatDelay::Cfloat KeyRepeatRate::Cfloat + ConfigErrorRecovery::Bool + ConfigErrorRecoveryEnableAssert::Bool + ConfigErrorRecoveryEnableDebugLog::Bool + ConfigErrorRecoveryEnableTooltip::Bool ConfigDebugIsDebuggerPresent::Bool ConfigDebugHighlightIdConflicts::Bool ConfigDebugBeginReturnValueOnce::Bool @@ -702,8 +770,6 @@ struct ImGuiIO PenPressure::Cfloat AppFocusLost::Bool AppAcceptingEvents::Bool - BackendUsingLegacyKeyArrays::ImS8 - BackendUsingLegacyNavInputArray::Bool InputQueueSurrogate::ImWchar16 InputQueueCharacters::ImVector_ImWchar end @@ -727,90 +793,100 @@ function Base.getproperty(x::Ptr{ImGuiIO}, f::Symbol) f === :FontAllowUserScaling && return Ptr{Bool}(x + 60) f === :FontDefault && return Ptr{Ptr{ImFont}}(x + 64) f === :DisplayFramebufferScale && return Ptr{ImVec2}(x + 72) - f === :ConfigDockingNoSplit && return Ptr{Bool}(x + 80) - f === :ConfigDockingWithShift && return Ptr{Bool}(x + 81) - f === :ConfigDockingAlwaysTabBar && return Ptr{Bool}(x + 82) - f === :ConfigDockingTransparentPayload && return Ptr{Bool}(x + 83) - f === :ConfigViewportsNoAutoMerge && return Ptr{Bool}(x + 84) - f === :ConfigViewportsNoTaskBarIcon && return Ptr{Bool}(x + 85) - f === :ConfigViewportsNoDecoration && return Ptr{Bool}(x + 86) - f === :ConfigViewportsNoDefaultParent && return Ptr{Bool}(x + 87) - f === :MouseDrawCursor && return Ptr{Bool}(x + 88) - f === :ConfigMacOSXBehaviors && return Ptr{Bool}(x + 89) - f === :ConfigNavSwapGamepadButtons && return Ptr{Bool}(x + 90) - f === :ConfigInputTrickleEventQueue && return Ptr{Bool}(x + 91) - f === :ConfigInputTextCursorBlink && return Ptr{Bool}(x + 92) - f === :ConfigInputTextEnterKeepActive && return Ptr{Bool}(x + 93) - f === :ConfigDragClickToInputText && return Ptr{Bool}(x + 94) - f === :ConfigWindowsResizeFromEdges && return Ptr{Bool}(x + 95) - f === :ConfigWindowsMoveFromTitleBarOnly && return Ptr{Bool}(x + 96) - f === :ConfigMemoryCompactTimer && return Ptr{Cfloat}(x + 100) - f === :MouseDoubleClickTime && return Ptr{Cfloat}(x + 104) - f === :MouseDoubleClickMaxDist && return Ptr{Cfloat}(x + 108) - f === :MouseDragThreshold && return Ptr{Cfloat}(x + 112) - f === :KeyRepeatDelay && return Ptr{Cfloat}(x + 116) - f === :KeyRepeatRate && return Ptr{Cfloat}(x + 120) - f === :ConfigDebugIsDebuggerPresent && return Ptr{Bool}(x + 124) - f === :ConfigDebugHighlightIdConflicts && return Ptr{Bool}(x + 125) - f === :ConfigDebugBeginReturnValueOnce && return Ptr{Bool}(x + 126) - f === :ConfigDebugBeginReturnValueLoop && return Ptr{Bool}(x + 127) - f === :ConfigDebugIgnoreFocusLoss && return Ptr{Bool}(x + 128) - f === :ConfigDebugIniSettings && return Ptr{Bool}(x + 129) - f === :BackendPlatformName && return Ptr{Ptr{Cchar}}(x + 136) - f === :BackendRendererName && return Ptr{Ptr{Cchar}}(x + 144) - f === :BackendPlatformUserData && return Ptr{Ptr{Cvoid}}(x + 152) - f === :BackendRendererUserData && return Ptr{Ptr{Cvoid}}(x + 160) - f === :BackendLanguageUserData && return Ptr{Ptr{Cvoid}}(x + 168) - f === :WantCaptureMouse && return Ptr{Bool}(x + 176) - f === :WantCaptureKeyboard && return Ptr{Bool}(x + 177) - f === :WantTextInput && return Ptr{Bool}(x + 178) - f === :WantSetMousePos && return Ptr{Bool}(x + 179) - f === :WantSaveIniSettings && return Ptr{Bool}(x + 180) - f === :NavActive && return Ptr{Bool}(x + 181) - f === :NavVisible && return Ptr{Bool}(x + 182) - f === :Framerate && return Ptr{Cfloat}(x + 184) - f === :MetricsRenderVertices && return Ptr{Cint}(x + 188) - f === :MetricsRenderIndices && return Ptr{Cint}(x + 192) - f === :MetricsRenderWindows && return Ptr{Cint}(x + 196) - f === :MetricsActiveWindows && return Ptr{Cint}(x + 200) - f === :MouseDelta && return Ptr{ImVec2}(x + 204) - f === :Ctx && return Ptr{Ptr{ImGuiContext}}(x + 216) - f === :MousePos && return Ptr{ImVec2}(x + 224) - f === :MouseDown && return Ptr{NTuple{5, Bool}}(x + 232) - f === :MouseWheel && return Ptr{Cfloat}(x + 240) - f === :MouseWheelH && return Ptr{Cfloat}(x + 244) - f === :MouseSource && return Ptr{ImGuiMouseSource}(x + 248) - f === :MouseHoveredViewport && return Ptr{ImGuiID}(x + 252) - f === :KeyCtrl && return Ptr{Bool}(x + 256) - f === :KeyShift && return Ptr{Bool}(x + 257) - f === :KeyAlt && return Ptr{Bool}(x + 258) - f === :KeySuper && return Ptr{Bool}(x + 259) - f === :KeyMods && return Ptr{ImGuiKeyChord}(x + 260) - f === :KeysData && return Ptr{NTuple{154, ImGuiKeyData}}(x + 264) - f === :WantCaptureMouseUnlessPopupClose && return Ptr{Bool}(x + 2728) - f === :MousePosPrev && return Ptr{ImVec2}(x + 2732) - f === :MouseClickedPos && return Ptr{NTuple{5, ImVec2}}(x + 2740) - f === :MouseClickedTime && return Ptr{NTuple{5, Cdouble}}(x + 2784) - f === :MouseClicked && return Ptr{NTuple{5, Bool}}(x + 2824) - f === :MouseDoubleClicked && return Ptr{NTuple{5, Bool}}(x + 2829) - f === :MouseClickedCount && return Ptr{NTuple{5, ImU16}}(x + 2834) - f === :MouseClickedLastCount && return Ptr{NTuple{5, ImU16}}(x + 2844) - f === :MouseReleased && return Ptr{NTuple{5, Bool}}(x + 2854) - f === :MouseDownOwned && return Ptr{NTuple{5, Bool}}(x + 2859) - f === :MouseDownOwnedUnlessPopupClose && return Ptr{NTuple{5, Bool}}(x + 2864) - f === :MouseWheelRequestAxisSwap && return Ptr{Bool}(x + 2869) - f === :MouseCtrlLeftAsRightClick && return Ptr{Bool}(x + 2870) - f === :MouseDownDuration && return Ptr{NTuple{5, Cfloat}}(x + 2872) - f === :MouseDownDurationPrev && return Ptr{NTuple{5, Cfloat}}(x + 2892) - f === :MouseDragMaxDistanceAbs && return Ptr{NTuple{5, ImVec2}}(x + 2912) - f === :MouseDragMaxDistanceSqr && return Ptr{NTuple{5, Cfloat}}(x + 2952) - f === :PenPressure && return Ptr{Cfloat}(x + 2972) - f === :AppFocusLost && return Ptr{Bool}(x + 2976) - f === :AppAcceptingEvents && return Ptr{Bool}(x + 2977) - f === :BackendUsingLegacyKeyArrays && return Ptr{ImS8}(x + 2978) - f === :BackendUsingLegacyNavInputArray && return Ptr{Bool}(x + 2979) - f === :InputQueueSurrogate && return Ptr{ImWchar16}(x + 2980) - f === :InputQueueCharacters && return Ptr{ImVector_ImWchar}(x + 2984) + f === :ConfigNavSwapGamepadButtons && return Ptr{Bool}(x + 80) + f === :ConfigNavMoveSetMousePos && return Ptr{Bool}(x + 81) + f === :ConfigNavCaptureKeyboard && return Ptr{Bool}(x + 82) + f === :ConfigNavEscapeClearFocusItem && return Ptr{Bool}(x + 83) + f === :ConfigNavEscapeClearFocusWindow && return Ptr{Bool}(x + 84) + f === :ConfigNavCursorVisibleAuto && return Ptr{Bool}(x + 85) + f === :ConfigNavCursorVisibleAlways && return Ptr{Bool}(x + 86) + f === :ConfigDockingNoSplit && return Ptr{Bool}(x + 87) + f === :ConfigDockingWithShift && return Ptr{Bool}(x + 88) + f === :ConfigDockingAlwaysTabBar && return Ptr{Bool}(x + 89) + f === :ConfigDockingTransparentPayload && return Ptr{Bool}(x + 90) + f === :ConfigViewportsNoAutoMerge && return Ptr{Bool}(x + 91) + f === :ConfigViewportsNoTaskBarIcon && return Ptr{Bool}(x + 92) + f === :ConfigViewportsNoDecoration && return Ptr{Bool}(x + 93) + f === :ConfigViewportsNoDefaultParent && return Ptr{Bool}(x + 94) + f === :MouseDrawCursor && return Ptr{Bool}(x + 95) + f === :ConfigMacOSXBehaviors && return Ptr{Bool}(x + 96) + f === :ConfigInputTrickleEventQueue && return Ptr{Bool}(x + 97) + f === :ConfigInputTextCursorBlink && return Ptr{Bool}(x + 98) + f === :ConfigInputTextEnterKeepActive && return Ptr{Bool}(x + 99) + f === :ConfigDragClickToInputText && return Ptr{Bool}(x + 100) + f === :ConfigWindowsResizeFromEdges && return Ptr{Bool}(x + 101) + f === :ConfigWindowsMoveFromTitleBarOnly && return Ptr{Bool}(x + 102) + f === :ConfigWindowsCopyContentsWithCtrlC && return Ptr{Bool}(x + 103) + f === :ConfigScrollbarScrollByPage && return Ptr{Bool}(x + 104) + f === :ConfigMemoryCompactTimer && return Ptr{Cfloat}(x + 108) + f === :MouseDoubleClickTime && return Ptr{Cfloat}(x + 112) + f === :MouseDoubleClickMaxDist && return Ptr{Cfloat}(x + 116) + f === :MouseDragThreshold && return Ptr{Cfloat}(x + 120) + f === :KeyRepeatDelay && return Ptr{Cfloat}(x + 124) + f === :KeyRepeatRate && return Ptr{Cfloat}(x + 128) + f === :ConfigErrorRecovery && return Ptr{Bool}(x + 132) + f === :ConfigErrorRecoveryEnableAssert && return Ptr{Bool}(x + 133) + f === :ConfigErrorRecoveryEnableDebugLog && return Ptr{Bool}(x + 134) + f === :ConfigErrorRecoveryEnableTooltip && return Ptr{Bool}(x + 135) + f === :ConfigDebugIsDebuggerPresent && return Ptr{Bool}(x + 136) + f === :ConfigDebugHighlightIdConflicts && return Ptr{Bool}(x + 137) + f === :ConfigDebugBeginReturnValueOnce && return Ptr{Bool}(x + 138) + f === :ConfigDebugBeginReturnValueLoop && return Ptr{Bool}(x + 139) + f === :ConfigDebugIgnoreFocusLoss && return Ptr{Bool}(x + 140) + f === :ConfigDebugIniSettings && return Ptr{Bool}(x + 141) + f === :BackendPlatformName && return Ptr{Ptr{Cchar}}(x + 144) + f === :BackendRendererName && return Ptr{Ptr{Cchar}}(x + 152) + f === :BackendPlatformUserData && return Ptr{Ptr{Cvoid}}(x + 160) + f === :BackendRendererUserData && return Ptr{Ptr{Cvoid}}(x + 168) + f === :BackendLanguageUserData && return Ptr{Ptr{Cvoid}}(x + 176) + f === :WantCaptureMouse && return Ptr{Bool}(x + 184) + f === :WantCaptureKeyboard && return Ptr{Bool}(x + 185) + f === :WantTextInput && return Ptr{Bool}(x + 186) + f === :WantSetMousePos && return Ptr{Bool}(x + 187) + f === :WantSaveIniSettings && return Ptr{Bool}(x + 188) + f === :NavActive && return Ptr{Bool}(x + 189) + f === :NavVisible && return Ptr{Bool}(x + 190) + f === :Framerate && return Ptr{Cfloat}(x + 192) + f === :MetricsRenderVertices && return Ptr{Cint}(x + 196) + f === :MetricsRenderIndices && return Ptr{Cint}(x + 200) + f === :MetricsRenderWindows && return Ptr{Cint}(x + 204) + f === :MetricsActiveWindows && return Ptr{Cint}(x + 208) + f === :MouseDelta && return Ptr{ImVec2}(x + 212) + f === :Ctx && return Ptr{Ptr{ImGuiContext}}(x + 224) + f === :MousePos && return Ptr{ImVec2}(x + 232) + f === :MouseDown && return Ptr{NTuple{5, Bool}}(x + 240) + f === :MouseWheel && return Ptr{Cfloat}(x + 248) + f === :MouseWheelH && return Ptr{Cfloat}(x + 252) + f === :MouseSource && return Ptr{ImGuiMouseSource}(x + 256) + f === :MouseHoveredViewport && return Ptr{ImGuiID}(x + 260) + f === :KeyCtrl && return Ptr{Bool}(x + 264) + f === :KeyShift && return Ptr{Bool}(x + 265) + f === :KeyAlt && return Ptr{Bool}(x + 266) + f === :KeySuper && return Ptr{Bool}(x + 267) + f === :KeyMods && return Ptr{ImGuiKeyChord}(x + 268) + f === :KeysData && return Ptr{NTuple{154, ImGuiKeyData}}(x + 272) + f === :WantCaptureMouseUnlessPopupClose && return Ptr{Bool}(x + 2736) + f === :MousePosPrev && return Ptr{ImVec2}(x + 2740) + f === :MouseClickedPos && return Ptr{NTuple{5, ImVec2}}(x + 2748) + f === :MouseClickedTime && return Ptr{NTuple{5, Cdouble}}(x + 2792) + f === :MouseClicked && return Ptr{NTuple{5, Bool}}(x + 2832) + f === :MouseDoubleClicked && return Ptr{NTuple{5, Bool}}(x + 2837) + f === :MouseClickedCount && return Ptr{NTuple{5, ImU16}}(x + 2842) + f === :MouseClickedLastCount && return Ptr{NTuple{5, ImU16}}(x + 2852) + f === :MouseReleased && return Ptr{NTuple{5, Bool}}(x + 2862) + f === :MouseDownOwned && return Ptr{NTuple{5, Bool}}(x + 2867) + f === :MouseDownOwnedUnlessPopupClose && return Ptr{NTuple{5, Bool}}(x + 2872) + f === :MouseWheelRequestAxisSwap && return Ptr{Bool}(x + 2877) + f === :MouseCtrlLeftAsRightClick && return Ptr{Bool}(x + 2878) + f === :MouseDownDuration && return Ptr{NTuple{5, Cfloat}}(x + 2880) + f === :MouseDownDurationPrev && return Ptr{NTuple{5, Cfloat}}(x + 2900) + f === :MouseDragMaxDistanceAbs && return Ptr{NTuple{5, ImVec2}}(x + 2920) + f === :MouseDragMaxDistanceSqr && return Ptr{NTuple{5, Cfloat}}(x + 2960) + f === :PenPressure && return Ptr{Cfloat}(x + 2980) + f === :AppFocusLost && return Ptr{Bool}(x + 2984) + f === :AppAcceptingEvents && return Ptr{Bool}(x + 2985) + f === :InputQueueSurrogate && return Ptr{ImWchar16}(x + 2986) + f === :InputQueueCharacters && return Ptr{ImVector_ImWchar}(x + 2992) return getfield(x, f) end @@ -862,6 +938,7 @@ struct ImGuiPlatformIO Platform_SetImeDataFn::Ptr{Cvoid} Platform_ImeUserData::Ptr{Cvoid} Platform_LocaleDecimalPoint::ImWchar + Renderer_RenderState::Ptr{Cvoid} Platform_CreateWindow::Ptr{Cvoid} Platform_DestroyWindow::Ptr{Cvoid} Platform_ShowWindow::Ptr{Cvoid} @@ -898,32 +975,33 @@ function Base.getproperty(x::Ptr{ImGuiPlatformIO}, f::Symbol) f === :Platform_SetImeDataFn && return Ptr{Ptr{Cvoid}}(x + 40) f === :Platform_ImeUserData && return Ptr{Ptr{Cvoid}}(x + 48) f === :Platform_LocaleDecimalPoint && return Ptr{ImWchar}(x + 56) - f === :Platform_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 64) - f === :Platform_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 72) - f === :Platform_ShowWindow && return Ptr{Ptr{Cvoid}}(x + 80) - f === :Platform_SetWindowPos && return Ptr{Ptr{Cvoid}}(x + 88) - f === :Platform_GetWindowPos && return Ptr{Ptr{Cvoid}}(x + 96) - f === :Platform_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 104) - f === :Platform_GetWindowSize && return Ptr{Ptr{Cvoid}}(x + 112) - f === :Platform_SetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 120) - f === :Platform_GetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 128) - f === :Platform_GetWindowMinimized && return Ptr{Ptr{Cvoid}}(x + 136) - f === :Platform_SetWindowTitle && return Ptr{Ptr{Cvoid}}(x + 144) - f === :Platform_SetWindowAlpha && return Ptr{Ptr{Cvoid}}(x + 152) - f === :Platform_UpdateWindow && return Ptr{Ptr{Cvoid}}(x + 160) - f === :Platform_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 168) - f === :Platform_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 176) - f === :Platform_GetWindowDpiScale && return Ptr{Ptr{Cvoid}}(x + 184) - f === :Platform_OnChangedViewport && return Ptr{Ptr{Cvoid}}(x + 192) - f === :Platform_GetWindowWorkAreaInsets && return Ptr{Ptr{Cvoid}}(x + 200) - f === :Platform_CreateVkSurface && return Ptr{Ptr{Cvoid}}(x + 208) - f === :Renderer_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 216) - f === :Renderer_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 224) - f === :Renderer_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 232) - f === :Renderer_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 240) - f === :Renderer_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 248) - f === :Monitors && return Ptr{ImVector_ImGuiPlatformMonitor}(x + 256) - f === :Viewports && return Ptr{ImVector_ImGuiViewportPtr}(x + 272) + f === :Renderer_RenderState && return Ptr{Ptr{Cvoid}}(x + 64) + f === :Platform_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 72) + f === :Platform_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 80) + f === :Platform_ShowWindow && return Ptr{Ptr{Cvoid}}(x + 88) + f === :Platform_SetWindowPos && return Ptr{Ptr{Cvoid}}(x + 96) + f === :Platform_GetWindowPos && return Ptr{Ptr{Cvoid}}(x + 104) + f === :Platform_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 112) + f === :Platform_GetWindowSize && return Ptr{Ptr{Cvoid}}(x + 120) + f === :Platform_SetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 128) + f === :Platform_GetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 136) + f === :Platform_GetWindowMinimized && return Ptr{Ptr{Cvoid}}(x + 144) + f === :Platform_SetWindowTitle && return Ptr{Ptr{Cvoid}}(x + 152) + f === :Platform_SetWindowAlpha && return Ptr{Ptr{Cvoid}}(x + 160) + f === :Platform_UpdateWindow && return Ptr{Ptr{Cvoid}}(x + 168) + f === :Platform_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 176) + f === :Platform_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 184) + f === :Platform_GetWindowDpiScale && return Ptr{Ptr{Cvoid}}(x + 192) + f === :Platform_OnChangedViewport && return Ptr{Ptr{Cvoid}}(x + 200) + f === :Platform_GetWindowWorkAreaInsets && return Ptr{Ptr{Cvoid}}(x + 208) + f === :Platform_CreateVkSurface && return Ptr{Ptr{Cvoid}}(x + 216) + f === :Renderer_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 224) + f === :Renderer_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 232) + f === :Renderer_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 240) + f === :Renderer_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 248) + f === :Renderer_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 256) + f === :Monitors && return Ptr{ImVector_ImGuiPlatformMonitor}(x + 264) + f === :Viewports && return Ptr{ImVector_ImGuiViewportPtr}(x + 280) return getfield(x, f) end @@ -1185,6 +1263,8 @@ function Base.getproperty(x::ImGuiViewportP, f::Symbol) return getfield(x, f) end +const ImS8 = Int8 + const ImGuiCond = Cint struct ImVector_ImGuiID @@ -1395,6 +1475,7 @@ struct ImGuiTextBuffer end struct ImGuiTabBar + Window::Ptr{Cvoid} # Window::Ptr{ImGuiWindow} Tabs::ImVector_ImGuiTabItem Flags::ImGuiTabBarFlags ID::ImGuiID @@ -1430,6 +1511,11 @@ struct ImGuiTabBar TabsNames::ImGuiTextBuffer end +function Base.getproperty(x::ImGuiTabBar, f::Symbol) + f === :Window && return Ptr{ImGuiWindow}(getfield(x, f)) + return getfield(x, f) +end + @cenum ImGuiAxis::Int32 begin ImGuiAxis_None = -1 ImGuiAxis_X = 0 @@ -1534,7 +1620,7 @@ end const ImGuiItemStatusFlags = Cint struct ImGuiWindow - data::NTuple{1168, UInt8} + data::NTuple{1184, UInt8} end function Base.getproperty(x::Ptr{ImGuiWindow}, f::Symbol) @@ -1635,33 +1721,33 @@ function Base.getproperty(x::Ptr{ImGuiWindow}, f::Symbol) f === :SettingsOffset && return Ptr{Cint}(x + 736) f === :DrawList && return Ptr{Ptr{ImDrawList}}(x + 744) f === :DrawListInst && return Ptr{ImDrawList}(x + 752) - f === :ParentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 952) - f === :ParentWindowInBeginStack && return Ptr{Ptr{ImGuiWindow}}(x + 960) - f === :RootWindow && return Ptr{Ptr{ImGuiWindow}}(x + 968) - f === :RootWindowPopupTree && return Ptr{Ptr{ImGuiWindow}}(x + 976) - f === :RootWindowDockTree && return Ptr{Ptr{ImGuiWindow}}(x + 984) - f === :RootWindowForTitleBarHighlight && return Ptr{Ptr{ImGuiWindow}}(x + 992) - f === :RootWindowForNav && return Ptr{Ptr{ImGuiWindow}}(x + 1000) - f === :ParentWindowForFocusRoute && return Ptr{Ptr{ImGuiWindow}}(x + 1008) - f === :NavLastChildNavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 1016) - f === :NavLastIds && return Ptr{NTuple{2, ImGuiID}}(x + 1024) - f === :NavRectRel && return Ptr{NTuple{2, ImRect}}(x + 1032) - f === :NavPreferredScoringPosRel && return Ptr{NTuple{2, ImVec2}}(x + 1064) - f === :NavRootFocusScopeId && return Ptr{ImGuiID}(x + 1080) - f === :MemoryDrawListIdxCapacity && return Ptr{Cint}(x + 1084) - f === :MemoryDrawListVtxCapacity && return Ptr{Cint}(x + 1088) - f === :MemoryCompacted && return Ptr{Bool}(x + 1092) - f === :DockIsActive && return (Ptr{Bool}(x + 1092), 8, 1) - f === :DockNodeIsVisible && return (Ptr{Bool}(x + 1092), 9, 1) - f === :DockTabIsVisible && return (Ptr{Bool}(x + 1092), 10, 1) - f === :DockTabWantClose && return (Ptr{Bool}(x + 1092), 11, 1) - f === :DockOrder && return Ptr{Cshort}(x + 1094) - f === :DockStyle && return Ptr{ImGuiWindowDockStyle}(x + 1096) - f === :DockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 1128) - f === :DockNodeAsHost && return Ptr{Ptr{ImGuiDockNode}}(x + 1136) - f === :DockId && return Ptr{ImGuiID}(x + 1144) - f === :DockTabItemStatusFlags && return Ptr{ImGuiItemStatusFlags}(x + 1148) - f === :DockTabItemRect && return Ptr{ImRect}(x + 1152) + f === :ParentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 968) + f === :ParentWindowInBeginStack && return Ptr{Ptr{ImGuiWindow}}(x + 976) + f === :RootWindow && return Ptr{Ptr{ImGuiWindow}}(x + 984) + f === :RootWindowPopupTree && return Ptr{Ptr{ImGuiWindow}}(x + 992) + f === :RootWindowDockTree && return Ptr{Ptr{ImGuiWindow}}(x + 1000) + f === :RootWindowForTitleBarHighlight && return Ptr{Ptr{ImGuiWindow}}(x + 1008) + f === :RootWindowForNav && return Ptr{Ptr{ImGuiWindow}}(x + 1016) + f === :ParentWindowForFocusRoute && return Ptr{Ptr{ImGuiWindow}}(x + 1024) + f === :NavLastChildNavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 1032) + f === :NavLastIds && return Ptr{NTuple{2, ImGuiID}}(x + 1040) + f === :NavRectRel && return Ptr{NTuple{2, ImRect}}(x + 1048) + f === :NavPreferredScoringPosRel && return Ptr{NTuple{2, ImVec2}}(x + 1080) + f === :NavRootFocusScopeId && return Ptr{ImGuiID}(x + 1096) + f === :MemoryDrawListIdxCapacity && return Ptr{Cint}(x + 1100) + f === :MemoryDrawListVtxCapacity && return Ptr{Cint}(x + 1104) + f === :MemoryCompacted && return Ptr{Bool}(x + 1108) + f === :DockIsActive && return (Ptr{Bool}(x + 1108), 8, 1) + f === :DockNodeIsVisible && return (Ptr{Bool}(x + 1108), 9, 1) + f === :DockTabIsVisible && return (Ptr{Bool}(x + 1108), 10, 1) + f === :DockTabWantClose && return (Ptr{Bool}(x + 1108), 11, 1) + f === :DockOrder && return Ptr{Cshort}(x + 1110) + f === :DockStyle && return Ptr{ImGuiWindowDockStyle}(x + 1112) + f === :DockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 1144) + f === :DockNodeAsHost && return Ptr{Ptr{ImGuiDockNode}}(x + 1152) + f === :DockId && return Ptr{ImGuiID}(x + 1160) + f === :DockTabItemStatusFlags && return Ptr{ImGuiItemStatusFlags}(x + 1164) + f === :DockTabItemRect && return Ptr{ImRect}(x + 1168) return getfield(x, f) end @@ -1712,7 +1798,7 @@ const ImGuiItemFlags = Cint struct ImGuiLastItemData ID::ImGuiID - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags StatusFlags::ImGuiItemStatusFlags Rect::ImRect NavRect::ImRect @@ -1721,8 +1807,10 @@ struct ImGuiLastItemData Shortcut::ImGuiKeyChord end -struct ImGuiStackSizes +struct ImGuiErrorRecoveryState + SizeOfWindowStack::Cshort SizeOfIDStack::Cshort + SizeOfTreeStack::Cshort SizeOfColorStack::Cshort SizeOfStyleVarStack::Cshort SizeOfFontStack::Cshort @@ -1736,7 +1824,7 @@ end struct ImGuiWindowStackData Window::Ptr{ImGuiWindow} ParentLastItemDataBackup::ImGuiLastItemData - StackSizesOnBegin::ImGuiStackSizes + StackSizesInBegin::ImGuiErrorRecoveryState DisabledOverrideReenable::Bool end @@ -1795,7 +1883,7 @@ struct ImGuiDataTypeStorage end struct ImGuiNextItemData - Flags::ImGuiNextItemDataFlags + HasFlags::ImGuiNextItemDataFlags ItemFlags::ImGuiItemFlags FocusScopeId::ImGuiID SelectionUserData::ImGuiSelectionUserData @@ -1944,7 +2032,7 @@ const ImGuiTreeNodeFlags = Cint struct ImGuiTreeNodeStackData ID::ImGuiID TreeFlags::ImGuiTreeNodeFlags - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags NavRect::ImRect end @@ -1967,7 +2055,7 @@ struct ImGuiNavItemData ID::ImGuiID FocusScopeId::ImGuiID RectRel::ImRect - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags DistBox::Cfloat DistCenter::Cfloat DistAxial::Cfloat @@ -1980,6 +2068,7 @@ const ImGuiScrollFlags = Cint @cenum ImGuiKey::UInt32 begin ImGuiKey_None = 0 + ImGuiKey_NamedKey_BEGIN = 512 ImGuiKey_Tab = 512 ImGuiKey_LeftArrow = 513 ImGuiKey_RightArrow = 514 @@ -2134,18 +2223,14 @@ const ImGuiScrollFlags = Cint ImGuiKey_ReservedForModShift = 663 ImGuiKey_ReservedForModAlt = 664 ImGuiKey_ReservedForModSuper = 665 - ImGuiKey_COUNT = 666 + ImGuiKey_NamedKey_END = 666 ImGuiMod_None = 0 ImGuiMod_Ctrl = 4096 ImGuiMod_Shift = 8192 ImGuiMod_Alt = 16384 ImGuiMod_Super = 32768 ImGuiMod_Mask_ = 61440 - ImGuiKey_NamedKey_BEGIN = 512 - ImGuiKey_NamedKey_END = 666 ImGuiKey_NamedKey_COUNT = 154 - ImGuiKey_KeysData_SIZE = 154 - ImGuiKey_KeysData_OFFSET = 512 end const ImGuiDragDropFlags = Cint @@ -2800,11 +2885,11 @@ struct ImGuiInputTextState Ctx::Ptr{Cvoid} # Ctx::Ptr{ImGuiContext} Stb::Ptr{ImStbTexteditState} ID::ImGuiID - CurLenA::Cint + TextLen::Cint TextA::ImVector_char - InitialTextA::ImVector_char + TextToRevertTo::ImVector_char CallbackTextBackup::ImVector_char - BufCapacityA::Cint + BufCapacity::Cint Scroll::ImVec2 CursorAnim::Cfloat CursorFollow::Bool @@ -2940,16 +3025,13 @@ struct ImVector_ImGuiContextHook Data::Ptr{ImGuiContextHook} end -@cenum ImGuiLogType::UInt32 begin - ImGuiLogType_None = 0 - ImGuiLogType_TTY = 1 - ImGuiLogType_File = 2 - ImGuiLogType_Buffer = 3 - ImGuiLogType_Clipboard = 4 -end +const ImGuiLogFlags = Cint const ImFileHandle = Ptr{Libc.FILE} +# typedef void ( * ImGuiErrorCallback ) ( ImGuiContext * ctx , void * user_data , const char * msg ) +const ImGuiErrorCallback = Ptr{Cvoid} + const ImGuiDebugLogFlags = Cint struct ImVector_int @@ -3067,313 +3149,324 @@ struct ImGuiDebugAllocInfo end struct ImGuiContext - data::NTuple{10920, UInt8} + data::NTuple{11016, UInt8} end function Base.getproperty(x::Ptr{ImGuiContext}, f::Symbol) f === :Initialized && return Ptr{Bool}(x + 0) f === :FontAtlasOwnedByContext && return Ptr{Bool}(x + 1) f === :IO && return Ptr{ImGuiIO}(x + 8) - f === :PlatformIO && return Ptr{ImGuiPlatformIO}(x + 3008) - f === :Style && return Ptr{ImGuiStyle}(x + 3296) - f === :ConfigFlagsCurrFrame && return Ptr{ImGuiConfigFlags}(x + 4488) - f === :ConfigFlagsLastFrame && return Ptr{ImGuiConfigFlags}(x + 4492) - f === :Font && return Ptr{Ptr{ImFont}}(x + 4496) - f === :FontSize && return Ptr{Cfloat}(x + 4504) - f === :FontBaseSize && return Ptr{Cfloat}(x + 4508) - f === :FontScale && return Ptr{Cfloat}(x + 4512) - f === :CurrentDpiScale && return Ptr{Cfloat}(x + 4516) - f === :DrawListSharedData && return Ptr{ImDrawListSharedData}(x + 4520) - f === :Time && return Ptr{Cdouble}(x + 5056) - f === :FrameCount && return Ptr{Cint}(x + 5064) - f === :FrameCountEnded && return Ptr{Cint}(x + 5068) - f === :FrameCountPlatformEnded && return Ptr{Cint}(x + 5072) - f === :FrameCountRendered && return Ptr{Cint}(x + 5076) - f === :WithinFrameScope && return Ptr{Bool}(x + 5080) - f === :WithinFrameScopeWithImplicitWindow && return Ptr{Bool}(x + 5081) - f === :WithinEndChild && return Ptr{Bool}(x + 5082) - f === :GcCompactAll && return Ptr{Bool}(x + 5083) - f === :TestEngineHookItems && return Ptr{Bool}(x + 5084) - f === :TestEngine && return Ptr{Ptr{Cvoid}}(x + 5088) - f === :ContextName && return Ptr{NTuple{16, Cchar}}(x + 5096) - f === :InputEventsQueue && return Ptr{ImVector_ImGuiInputEvent}(x + 5112) - f === :InputEventsTrail && return Ptr{ImVector_ImGuiInputEvent}(x + 5128) - f === :InputEventsNextMouseSource && return Ptr{ImGuiMouseSource}(x + 5144) - f === :InputEventsNextEventId && return Ptr{ImU32}(x + 5148) - f === :Windows && return Ptr{ImVector_ImGuiWindowPtr}(x + 5152) - f === :WindowsFocusOrder && return Ptr{ImVector_ImGuiWindowPtr}(x + 5168) - f === :WindowsTempSortBuffer && return Ptr{ImVector_ImGuiWindowPtr}(x + 5184) - f === :CurrentWindowStack && return Ptr{ImVector_ImGuiWindowStackData}(x + 5200) - f === :WindowsById && return Ptr{ImGuiStorage}(x + 5216) - f === :WindowsActiveCount && return Ptr{Cint}(x + 5232) - f === :WindowsHoverPadding && return Ptr{ImVec2}(x + 5236) - f === :DebugBreakInWindow && return Ptr{ImGuiID}(x + 5244) - f === :CurrentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5248) - f === :HoveredWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5256) - f === :HoveredWindowUnderMovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5264) - f === :HoveredWindowBeforeClear && return Ptr{Ptr{ImGuiWindow}}(x + 5272) - f === :MovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5280) - f === :WheelingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5288) - f === :WheelingWindowRefMousePos && return Ptr{ImVec2}(x + 5296) - f === :WheelingWindowStartFrame && return Ptr{Cint}(x + 5304) - f === :WheelingWindowScrolledFrame && return Ptr{Cint}(x + 5308) - f === :WheelingWindowReleaseTimer && return Ptr{Cfloat}(x + 5312) - f === :WheelingWindowWheelRemainder && return Ptr{ImVec2}(x + 5316) - f === :WheelingAxisAvg && return Ptr{ImVec2}(x + 5324) - f === :DebugDrawIdConflicts && return Ptr{ImGuiID}(x + 5332) - f === :DebugHookIdInfo && return Ptr{ImGuiID}(x + 5336) - f === :HoveredId && return Ptr{ImGuiID}(x + 5340) - f === :HoveredIdPreviousFrame && return Ptr{ImGuiID}(x + 5344) - f === :HoveredIdPreviousFrameItemCount && return Ptr{Cint}(x + 5348) - f === :HoveredIdTimer && return Ptr{Cfloat}(x + 5352) - f === :HoveredIdNotActiveTimer && return Ptr{Cfloat}(x + 5356) - f === :HoveredIdAllowOverlap && return Ptr{Bool}(x + 5360) - f === :HoveredIdIsDisabled && return Ptr{Bool}(x + 5361) - f === :ItemUnclipByLog && return Ptr{Bool}(x + 5362) - f === :ActiveId && return Ptr{ImGuiID}(x + 5364) - f === :ActiveIdIsAlive && return Ptr{ImGuiID}(x + 5368) - f === :ActiveIdTimer && return Ptr{Cfloat}(x + 5372) - f === :ActiveIdIsJustActivated && return Ptr{Bool}(x + 5376) - f === :ActiveIdAllowOverlap && return Ptr{Bool}(x + 5377) - f === :ActiveIdNoClearOnFocusLoss && return Ptr{Bool}(x + 5378) - f === :ActiveIdHasBeenPressedBefore && return Ptr{Bool}(x + 5379) - f === :ActiveIdHasBeenEditedBefore && return Ptr{Bool}(x + 5380) - f === :ActiveIdHasBeenEditedThisFrame && return Ptr{Bool}(x + 5381) - f === :ActiveIdFromShortcut && return Ptr{Bool}(x + 5382) - f === :ActiveIdMouseButton && return (Ptr{Cint}(x + 5380), 24, 8) - f === :ActiveIdClickOffset && return Ptr{ImVec2}(x + 5384) - f === :ActiveIdWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5392) - f === :ActiveIdSource && return Ptr{ImGuiInputSource}(x + 5400) - f === :ActiveIdPreviousFrame && return Ptr{ImGuiID}(x + 5404) - f === :ActiveIdPreviousFrameIsAlive && return Ptr{Bool}(x + 5408) - f === :ActiveIdPreviousFrameHasBeenEditedBefore && return Ptr{Bool}(x + 5409) - f === :ActiveIdPreviousFrameWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5416) - f === :LastActiveId && return Ptr{ImGuiID}(x + 5424) - f === :LastActiveIdTimer && return Ptr{Cfloat}(x + 5428) - f === :LastKeyModsChangeTime && return Ptr{Cdouble}(x + 5432) - f === :LastKeyModsChangeFromNoneTime && return Ptr{Cdouble}(x + 5440) - f === :LastKeyboardKeyPressTime && return Ptr{Cdouble}(x + 5448) - f === :KeysMayBeCharInput && return Ptr{ImBitArrayForNamedKeys}(x + 5456) - f === :KeysOwnerData && return Ptr{NTuple{154, ImGuiKeyOwnerData}}(x + 5476) - f === :KeysRoutingTable && return Ptr{ImGuiKeyRoutingTable}(x + 7328) - f === :ActiveIdUsingNavDirMask && return Ptr{ImU32}(x + 7672) - f === :ActiveIdUsingAllKeyboardKeys && return Ptr{Bool}(x + 7676) - f === :DebugBreakInShortcutRouting && return Ptr{ImGuiKeyChord}(x + 7680) - f === :CurrentFocusScopeId && return Ptr{ImGuiID}(x + 7684) - f === :CurrentItemFlags && return Ptr{ImGuiItemFlags}(x + 7688) - f === :DebugLocateId && return Ptr{ImGuiID}(x + 7692) - f === :NextItemData && return Ptr{ImGuiNextItemData}(x + 7696) - f === :LastItemData && return Ptr{ImGuiLastItemData}(x + 7752) - f === :NextWindowData && return Ptr{ImGuiNextWindowData}(x + 7832) - f === :DebugShowGroupRects && return Ptr{Bool}(x + 7992) - f === :DebugFlashStyleColorIdx && return Ptr{ImGuiCol}(x + 7996) - f === :ColorStack && return Ptr{ImVector_ImGuiColorMod}(x + 8000) - f === :StyleVarStack && return Ptr{ImVector_ImGuiStyleMod}(x + 8016) - f === :FontStack && return Ptr{ImVector_ImFontPtr}(x + 8032) - f === :FocusScopeStack && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8048) - f === :ItemFlagsStack && return Ptr{ImVector_ImGuiItemFlags}(x + 8064) - f === :GroupStack && return Ptr{ImVector_ImGuiGroupData}(x + 8080) - f === :OpenPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8096) - f === :BeginPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8112) - f === :TreeNodeStack && return Ptr{ImVector_ImGuiTreeNodeStackData}(x + 8128) - f === :Viewports && return Ptr{ImVector_ImGuiViewportPPtr}(x + 8144) - f === :CurrentViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8160) - f === :MouseViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8168) - f === :MouseLastHoveredViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8176) - f === :PlatformLastFocusedViewportId && return Ptr{ImGuiID}(x + 8184) - f === :FallbackMonitor && return Ptr{ImGuiPlatformMonitor}(x + 8192) - f === :PlatformMonitorsFullWorkRect && return Ptr{ImRect}(x + 8240) - f === :ViewportCreatedCount && return Ptr{Cint}(x + 8256) - f === :PlatformWindowsCreatedCount && return Ptr{Cint}(x + 8260) - f === :ViewportFocusedStampCount && return Ptr{Cint}(x + 8264) - f === :NavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8272) - f === :NavId && return Ptr{ImGuiID}(x + 8280) - f === :NavFocusScopeId && return Ptr{ImGuiID}(x + 8284) - f === :NavLayer && return Ptr{ImGuiNavLayer}(x + 8288) - f === :NavActivateId && return Ptr{ImGuiID}(x + 8292) - f === :NavActivateDownId && return Ptr{ImGuiID}(x + 8296) - f === :NavActivatePressedId && return Ptr{ImGuiID}(x + 8300) - f === :NavActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8304) - f === :NavFocusRoute && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8312) - f === :NavHighlightActivatedId && return Ptr{ImGuiID}(x + 8328) - f === :NavHighlightActivatedTimer && return Ptr{Cfloat}(x + 8332) - f === :NavNextActivateId && return Ptr{ImGuiID}(x + 8336) - f === :NavNextActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8340) - f === :NavInputSource && return Ptr{ImGuiInputSource}(x + 8344) - f === :NavLastValidSelectionUserData && return Ptr{ImGuiSelectionUserData}(x + 8352) - f === :NavIdIsAlive && return Ptr{Bool}(x + 8360) - f === :NavMousePosDirty && return Ptr{Bool}(x + 8361) - f === :NavDisableHighlight && return Ptr{Bool}(x + 8362) - f === :NavDisableMouseHover && return Ptr{Bool}(x + 8363) - f === :NavAnyRequest && return Ptr{Bool}(x + 8364) - f === :NavInitRequest && return Ptr{Bool}(x + 8365) - f === :NavInitRequestFromMove && return Ptr{Bool}(x + 8366) - f === :NavInitResult && return Ptr{ImGuiNavItemData}(x + 8368) - f === :NavMoveSubmitted && return Ptr{Bool}(x + 8424) - f === :NavMoveScoringItems && return Ptr{Bool}(x + 8425) - f === :NavMoveForwardToNextFrame && return Ptr{Bool}(x + 8426) - f === :NavMoveFlags && return Ptr{ImGuiNavMoveFlags}(x + 8428) - f === :NavMoveScrollFlags && return Ptr{ImGuiScrollFlags}(x + 8432) - f === :NavMoveKeyMods && return Ptr{ImGuiKeyChord}(x + 8436) - f === :NavMoveDir && return Ptr{ImGuiDir}(x + 8440) - f === :NavMoveDirForDebug && return Ptr{ImGuiDir}(x + 8444) - f === :NavMoveClipDir && return Ptr{ImGuiDir}(x + 8448) - f === :NavScoringRect && return Ptr{ImRect}(x + 8452) - f === :NavScoringNoClipRect && return Ptr{ImRect}(x + 8468) - f === :NavScoringDebugCount && return Ptr{Cint}(x + 8484) - f === :NavTabbingDir && return Ptr{Cint}(x + 8488) - f === :NavTabbingCounter && return Ptr{Cint}(x + 8492) - f === :NavMoveResultLocal && return Ptr{ImGuiNavItemData}(x + 8496) - f === :NavMoveResultLocalVisible && return Ptr{ImGuiNavItemData}(x + 8552) - f === :NavMoveResultOther && return Ptr{ImGuiNavItemData}(x + 8608) - f === :NavTabbingResultFirst && return Ptr{ImGuiNavItemData}(x + 8664) - f === :NavJustMovedFromFocusScopeId && return Ptr{ImGuiID}(x + 8720) - f === :NavJustMovedToId && return Ptr{ImGuiID}(x + 8724) - f === :NavJustMovedToFocusScopeId && return Ptr{ImGuiID}(x + 8728) - f === :NavJustMovedToKeyMods && return Ptr{ImGuiKeyChord}(x + 8732) - f === :NavJustMovedToIsTabbing && return Ptr{Bool}(x + 8736) - f === :NavJustMovedToHasSelectionData && return Ptr{Bool}(x + 8737) - f === :ConfigNavWindowingKeyNext && return Ptr{ImGuiKeyChord}(x + 8740) - f === :ConfigNavWindowingKeyPrev && return Ptr{ImGuiKeyChord}(x + 8744) - f === :NavWindowingTarget && return Ptr{Ptr{ImGuiWindow}}(x + 8752) - f === :NavWindowingTargetAnim && return Ptr{Ptr{ImGuiWindow}}(x + 8760) - f === :NavWindowingListWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8768) - f === :NavWindowingTimer && return Ptr{Cfloat}(x + 8776) - f === :NavWindowingHighlightAlpha && return Ptr{Cfloat}(x + 8780) - f === :NavWindowingToggleLayer && return Ptr{Bool}(x + 8784) - f === :NavWindowingToggleKey && return Ptr{ImGuiKey}(x + 8788) - f === :NavWindowingAccumDeltaPos && return Ptr{ImVec2}(x + 8792) - f === :NavWindowingAccumDeltaSize && return Ptr{ImVec2}(x + 8800) - f === :DimBgRatio && return Ptr{Cfloat}(x + 8808) - f === :DragDropActive && return Ptr{Bool}(x + 8812) - f === :DragDropWithinSource && return Ptr{Bool}(x + 8813) - f === :DragDropWithinTarget && return Ptr{Bool}(x + 8814) - f === :DragDropSourceFlags && return Ptr{ImGuiDragDropFlags}(x + 8816) - f === :DragDropSourceFrameCount && return Ptr{Cint}(x + 8820) - f === :DragDropMouseButton && return Ptr{Cint}(x + 8824) - f === :DragDropPayload && return Ptr{ImGuiPayload}(x + 8832) - f === :DragDropTargetRect && return Ptr{ImRect}(x + 8896) - f === :DragDropTargetClipRect && return Ptr{ImRect}(x + 8912) - f === :DragDropTargetId && return Ptr{ImGuiID}(x + 8928) - f === :DragDropAcceptFlags && return Ptr{ImGuiDragDropFlags}(x + 8932) - f === :DragDropAcceptIdCurrRectSurface && return Ptr{Cfloat}(x + 8936) - f === :DragDropAcceptIdCurr && return Ptr{ImGuiID}(x + 8940) - f === :DragDropAcceptIdPrev && return Ptr{ImGuiID}(x + 8944) - f === :DragDropAcceptFrameCount && return Ptr{Cint}(x + 8948) - f === :DragDropHoldJustPressedId && return Ptr{ImGuiID}(x + 8952) - f === :DragDropPayloadBufHeap && return Ptr{ImVector_unsigned_char}(x + 8960) - f === :DragDropPayloadBufLocal && return Ptr{NTuple{16, Cuchar}}(x + 8976) - f === :ClipperTempDataStacked && return Ptr{Cint}(x + 8992) - f === :ClipperTempData && return Ptr{ImVector_ImGuiListClipperData}(x + 9000) - f === :CurrentTable && return Ptr{Ptr{ImGuiTable}}(x + 9016) - f === :DebugBreakInTable && return Ptr{ImGuiID}(x + 9024) - f === :TablesTempDataStacked && return Ptr{Cint}(x + 9028) - f === :TablesTempData && return Ptr{ImVector_ImGuiTableTempData}(x + 9032) - f === :Tables && return Ptr{ImPool_ImGuiTable}(x + 9048) - f === :TablesLastTimeActive && return Ptr{ImVector_float}(x + 9088) - f === :DrawChannelsTempMergeBuffer && return Ptr{ImVector_ImDrawChannel}(x + 9104) - f === :CurrentTabBar && return Ptr{Ptr{ImGuiTabBar}}(x + 9120) - f === :TabBars && return Ptr{ImPool_ImGuiTabBar}(x + 9128) - f === :CurrentTabBarStack && return Ptr{ImVector_ImGuiPtrOrIndex}(x + 9168) - f === :ShrinkWidthBuffer && return Ptr{ImVector_ImGuiShrinkWidthItem}(x + 9184) - f === :BoxSelectState && return Ptr{ImGuiBoxSelectState}(x + 9200) - f === :CurrentMultiSelect && return Ptr{Ptr{ImGuiMultiSelectTempData}}(x + 9304) - f === :MultiSelectTempDataStacked && return Ptr{Cint}(x + 9312) - f === :MultiSelectTempData && return Ptr{ImVector_ImGuiMultiSelectTempData}(x + 9320) - f === :MultiSelectStorage && return Ptr{ImPool_ImGuiMultiSelectState}(x + 9336) - f === :HoverItemDelayId && return Ptr{ImGuiID}(x + 9376) - f === :HoverItemDelayIdPreviousFrame && return Ptr{ImGuiID}(x + 9380) - f === :HoverItemDelayTimer && return Ptr{Cfloat}(x + 9384) - f === :HoverItemDelayClearTimer && return Ptr{Cfloat}(x + 9388) - f === :HoverItemUnlockedStationaryId && return Ptr{ImGuiID}(x + 9392) - f === :HoverWindowUnlockedStationaryId && return Ptr{ImGuiID}(x + 9396) - f === :MouseCursor && return Ptr{ImGuiMouseCursor}(x + 9400) - f === :MouseStationaryTimer && return Ptr{Cfloat}(x + 9404) - f === :MouseLastValidPos && return Ptr{ImVec2}(x + 9408) - f === :InputTextState && return Ptr{ImGuiInputTextState}(x + 9416) - f === :InputTextDeactivatedState && return Ptr{ImGuiInputTextDeactivatedState}(x + 9528) - f === :InputTextPasswordFont && return Ptr{ImFont}(x + 9552) - f === :TempInputId && return Ptr{ImGuiID}(x + 9672) - f === :DataTypeZeroValue && return Ptr{ImGuiDataTypeStorage}(x + 9676) - f === :BeginMenuDepth && return Ptr{Cint}(x + 9684) - f === :BeginComboDepth && return Ptr{Cint}(x + 9688) - f === :ColorEditOptions && return Ptr{ImGuiColorEditFlags}(x + 9692) - f === :ColorEditCurrentID && return Ptr{ImGuiID}(x + 9696) - f === :ColorEditSavedID && return Ptr{ImGuiID}(x + 9700) - f === :ColorEditSavedHue && return Ptr{Cfloat}(x + 9704) - f === :ColorEditSavedSat && return Ptr{Cfloat}(x + 9708) - f === :ColorEditSavedColor && return Ptr{ImU32}(x + 9712) - f === :ColorPickerRef && return Ptr{ImVec4}(x + 9716) - f === :ComboPreviewData && return Ptr{ImGuiComboPreviewData}(x + 9732) - f === :WindowResizeBorderExpectedRect && return Ptr{ImRect}(x + 9780) - f === :WindowResizeRelativeMode && return Ptr{Bool}(x + 9796) - f === :ScrollbarSeekMode && return Ptr{Cshort}(x + 9798) - f === :ScrollbarClickDeltaToGrabCenter && return Ptr{Cfloat}(x + 9800) - f === :SliderGrabClickOffset && return Ptr{Cfloat}(x + 9804) - f === :SliderCurrentAccum && return Ptr{Cfloat}(x + 9808) - f === :SliderCurrentAccumDirty && return Ptr{Bool}(x + 9812) - f === :DragCurrentAccumDirty && return Ptr{Bool}(x + 9813) - f === :DragCurrentAccum && return Ptr{Cfloat}(x + 9816) - f === :DragSpeedDefaultRatio && return Ptr{Cfloat}(x + 9820) - f === :DisabledAlphaBackup && return Ptr{Cfloat}(x + 9824) - f === :DisabledStackSize && return Ptr{Cshort}(x + 9828) - f === :LockMarkEdited && return Ptr{Cshort}(x + 9830) - f === :TooltipOverrideCount && return Ptr{Cshort}(x + 9832) - f === :ClipboardHandlerData && return Ptr{ImVector_char}(x + 9840) - f === :MenusIdSubmittedThisFrame && return Ptr{ImVector_ImGuiID}(x + 9856) - f === :TypingSelectState && return Ptr{ImGuiTypingSelectState}(x + 9872) - f === :PlatformImeData && return Ptr{ImGuiPlatformImeData}(x + 9976) - f === :PlatformImeDataPrev && return Ptr{ImGuiPlatformImeData}(x + 9992) - f === :PlatformImeViewport && return Ptr{ImGuiID}(x + 10008) - f === :DockContext && return Ptr{ImGuiDockContext}(x + 10016) - f === :DockNodeWindowMenuHandler && return Ptr{Ptr{Cvoid}}(x + 10072) - f === :SettingsLoaded && return Ptr{Bool}(x + 10080) - f === :SettingsDirtyTimer && return Ptr{Cfloat}(x + 10084) - f === :SettingsIniData && return Ptr{ImGuiTextBuffer}(x + 10088) - f === :SettingsHandlers && return Ptr{ImVector_ImGuiSettingsHandler}(x + 10104) - f === :SettingsWindows && return Ptr{ImChunkStream_ImGuiWindowSettings}(x + 10120) - f === :SettingsTables && return Ptr{ImChunkStream_ImGuiTableSettings}(x + 10136) - f === :Hooks && return Ptr{ImVector_ImGuiContextHook}(x + 10152) - f === :HookIdNext && return Ptr{ImGuiID}(x + 10168) - f === :LocalizationTable && return Ptr{NTuple{13, Ptr{Cchar}}}(x + 10176) - f === :LogEnabled && return Ptr{Bool}(x + 10280) - f === :LogType && return Ptr{ImGuiLogType}(x + 10284) - f === :LogFile && return Ptr{ImFileHandle}(x + 10288) - f === :LogBuffer && return Ptr{ImGuiTextBuffer}(x + 10296) - f === :LogNextPrefix && return Ptr{Ptr{Cchar}}(x + 10312) - f === :LogNextSuffix && return Ptr{Ptr{Cchar}}(x + 10320) - f === :LogLinePosY && return Ptr{Cfloat}(x + 10328) - f === :LogLineFirstItem && return Ptr{Bool}(x + 10332) - f === :LogDepthRef && return Ptr{Cint}(x + 10336) - f === :LogDepthToExpand && return Ptr{Cint}(x + 10340) - f === :LogDepthToExpandDefault && return Ptr{Cint}(x + 10344) - f === :DebugLogFlags && return Ptr{ImGuiDebugLogFlags}(x + 10348) - f === :DebugLogBuf && return Ptr{ImGuiTextBuffer}(x + 10352) - f === :DebugLogIndex && return Ptr{ImGuiTextIndex}(x + 10368) - f === :DebugLogAutoDisableFlags && return Ptr{ImGuiDebugLogFlags}(x + 10392) - f === :DebugLogAutoDisableFrames && return Ptr{ImU8}(x + 10396) - f === :DebugLocateFrames && return Ptr{ImU8}(x + 10397) - f === :DebugBreakInLocateId && return Ptr{Bool}(x + 10398) - f === :DebugBreakKeyChord && return Ptr{ImGuiKeyChord}(x + 10400) - f === :DebugBeginReturnValueCullDepth && return Ptr{ImS8}(x + 10404) - f === :DebugItemPickerActive && return Ptr{Bool}(x + 10405) - f === :DebugItemPickerMouseButton && return Ptr{ImU8}(x + 10406) - f === :DebugItemPickerBreakId && return Ptr{ImGuiID}(x + 10408) - f === :DebugFlashStyleColorTime && return Ptr{Cfloat}(x + 10412) - f === :DebugFlashStyleColorBackup && return Ptr{ImVec4}(x + 10416) - f === :DebugMetricsConfig && return Ptr{ImGuiMetricsConfig}(x + 10432) - f === :DebugIDStackTool && return Ptr{ImGuiIDStackTool}(x + 10464) - f === :DebugAllocInfo && return Ptr{ImGuiDebugAllocInfo}(x + 10504) - f === :DebugHoveredDockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 10568) - f === :FramerateSecPerFrame && return Ptr{NTuple{60, Cfloat}}(x + 10576) - f === :FramerateSecPerFrameIdx && return Ptr{Cint}(x + 10816) - f === :FramerateSecPerFrameCount && return Ptr{Cint}(x + 10820) - f === :FramerateSecPerFrameAccum && return Ptr{Cfloat}(x + 10824) - f === :WantCaptureMouseNextFrame && return Ptr{Cint}(x + 10828) - f === :WantCaptureKeyboardNextFrame && return Ptr{Cint}(x + 10832) - f === :WantTextInputNextFrame && return Ptr{Cint}(x + 10836) - f === :TempBuffer && return Ptr{ImVector_char}(x + 10840) - f === :TempKeychordName && return Ptr{NTuple{64, Cchar}}(x + 10856) + f === :PlatformIO && return Ptr{ImGuiPlatformIO}(x + 3016) + f === :Style && return Ptr{ImGuiStyle}(x + 3312) + f === :ConfigFlagsCurrFrame && return Ptr{ImGuiConfigFlags}(x + 4504) + f === :ConfigFlagsLastFrame && return Ptr{ImGuiConfigFlags}(x + 4508) + f === :Font && return Ptr{Ptr{ImFont}}(x + 4512) + f === :FontSize && return Ptr{Cfloat}(x + 4520) + f === :FontBaseSize && return Ptr{Cfloat}(x + 4524) + f === :FontScale && return Ptr{Cfloat}(x + 4528) + f === :CurrentDpiScale && return Ptr{Cfloat}(x + 4532) + f === :DrawListSharedData && return Ptr{ImDrawListSharedData}(x + 4536) + f === :Time && return Ptr{Cdouble}(x + 5072) + f === :FrameCount && return Ptr{Cint}(x + 5080) + f === :FrameCountEnded && return Ptr{Cint}(x + 5084) + f === :FrameCountPlatformEnded && return Ptr{Cint}(x + 5088) + f === :FrameCountRendered && return Ptr{Cint}(x + 5092) + f === :WithinFrameScope && return Ptr{Bool}(x + 5096) + f === :WithinFrameScopeWithImplicitWindow && return Ptr{Bool}(x + 5097) + f === :WithinEndChild && return Ptr{Bool}(x + 5098) + f === :GcCompactAll && return Ptr{Bool}(x + 5099) + f === :TestEngineHookItems && return Ptr{Bool}(x + 5100) + f === :TestEngine && return Ptr{Ptr{Cvoid}}(x + 5104) + f === :ContextName && return Ptr{NTuple{16, Cchar}}(x + 5112) + f === :InputEventsQueue && return Ptr{ImVector_ImGuiInputEvent}(x + 5128) + f === :InputEventsTrail && return Ptr{ImVector_ImGuiInputEvent}(x + 5144) + f === :InputEventsNextMouseSource && return Ptr{ImGuiMouseSource}(x + 5160) + f === :InputEventsNextEventId && return Ptr{ImU32}(x + 5164) + f === :Windows && return Ptr{ImVector_ImGuiWindowPtr}(x + 5168) + f === :WindowsFocusOrder && return Ptr{ImVector_ImGuiWindowPtr}(x + 5184) + f === :WindowsTempSortBuffer && return Ptr{ImVector_ImGuiWindowPtr}(x + 5200) + f === :CurrentWindowStack && return Ptr{ImVector_ImGuiWindowStackData}(x + 5216) + f === :WindowsById && return Ptr{ImGuiStorage}(x + 5232) + f === :WindowsActiveCount && return Ptr{Cint}(x + 5248) + f === :WindowsHoverPadding && return Ptr{ImVec2}(x + 5252) + f === :DebugBreakInWindow && return Ptr{ImGuiID}(x + 5260) + f === :CurrentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5264) + f === :HoveredWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5272) + f === :HoveredWindowUnderMovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5280) + f === :HoveredWindowBeforeClear && return Ptr{Ptr{ImGuiWindow}}(x + 5288) + f === :MovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5296) + f === :WheelingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5304) + f === :WheelingWindowRefMousePos && return Ptr{ImVec2}(x + 5312) + f === :WheelingWindowStartFrame && return Ptr{Cint}(x + 5320) + f === :WheelingWindowScrolledFrame && return Ptr{Cint}(x + 5324) + f === :WheelingWindowReleaseTimer && return Ptr{Cfloat}(x + 5328) + f === :WheelingWindowWheelRemainder && return Ptr{ImVec2}(x + 5332) + f === :WheelingAxisAvg && return Ptr{ImVec2}(x + 5340) + f === :DebugDrawIdConflicts && return Ptr{ImGuiID}(x + 5348) + f === :DebugHookIdInfo && return Ptr{ImGuiID}(x + 5352) + f === :HoveredId && return Ptr{ImGuiID}(x + 5356) + f === :HoveredIdPreviousFrame && return Ptr{ImGuiID}(x + 5360) + f === :HoveredIdPreviousFrameItemCount && return Ptr{Cint}(x + 5364) + f === :HoveredIdTimer && return Ptr{Cfloat}(x + 5368) + f === :HoveredIdNotActiveTimer && return Ptr{Cfloat}(x + 5372) + f === :HoveredIdAllowOverlap && return Ptr{Bool}(x + 5376) + f === :HoveredIdIsDisabled && return Ptr{Bool}(x + 5377) + f === :ItemUnclipByLog && return Ptr{Bool}(x + 5378) + f === :ActiveId && return Ptr{ImGuiID}(x + 5380) + f === :ActiveIdIsAlive && return Ptr{ImGuiID}(x + 5384) + f === :ActiveIdTimer && return Ptr{Cfloat}(x + 5388) + f === :ActiveIdIsJustActivated && return Ptr{Bool}(x + 5392) + f === :ActiveIdAllowOverlap && return Ptr{Bool}(x + 5393) + f === :ActiveIdNoClearOnFocusLoss && return Ptr{Bool}(x + 5394) + f === :ActiveIdHasBeenPressedBefore && return Ptr{Bool}(x + 5395) + f === :ActiveIdHasBeenEditedBefore && return Ptr{Bool}(x + 5396) + f === :ActiveIdHasBeenEditedThisFrame && return Ptr{Bool}(x + 5397) + f === :ActiveIdFromShortcut && return Ptr{Bool}(x + 5398) + f === :ActiveIdMouseButton && return (Ptr{Cint}(x + 5396), 24, 8) + f === :ActiveIdClickOffset && return Ptr{ImVec2}(x + 5400) + f === :ActiveIdWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5408) + f === :ActiveIdSource && return Ptr{ImGuiInputSource}(x + 5416) + f === :ActiveIdPreviousFrame && return Ptr{ImGuiID}(x + 5420) + f === :ActiveIdPreviousFrameIsAlive && return Ptr{Bool}(x + 5424) + f === :ActiveIdPreviousFrameHasBeenEditedBefore && return Ptr{Bool}(x + 5425) + f === :ActiveIdPreviousFrameWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5432) + f === :LastActiveId && return Ptr{ImGuiID}(x + 5440) + f === :LastActiveIdTimer && return Ptr{Cfloat}(x + 5444) + f === :LastKeyModsChangeTime && return Ptr{Cdouble}(x + 5448) + f === :LastKeyModsChangeFromNoneTime && return Ptr{Cdouble}(x + 5456) + f === :LastKeyboardKeyPressTime && return Ptr{Cdouble}(x + 5464) + f === :KeysMayBeCharInput && return Ptr{ImBitArrayForNamedKeys}(x + 5472) + f === :KeysOwnerData && return Ptr{NTuple{154, ImGuiKeyOwnerData}}(x + 5492) + f === :KeysRoutingTable && return Ptr{ImGuiKeyRoutingTable}(x + 7344) + f === :ActiveIdUsingNavDirMask && return Ptr{ImU32}(x + 7688) + f === :ActiveIdUsingAllKeyboardKeys && return Ptr{Bool}(x + 7692) + f === :DebugBreakInShortcutRouting && return Ptr{ImGuiKeyChord}(x + 7696) + f === :CurrentFocusScopeId && return Ptr{ImGuiID}(x + 7700) + f === :CurrentItemFlags && return Ptr{ImGuiItemFlags}(x + 7704) + f === :DebugLocateId && return Ptr{ImGuiID}(x + 7708) + f === :NextItemData && return Ptr{ImGuiNextItemData}(x + 7712) + f === :LastItemData && return Ptr{ImGuiLastItemData}(x + 7768) + f === :NextWindowData && return Ptr{ImGuiNextWindowData}(x + 7848) + f === :DebugShowGroupRects && return Ptr{Bool}(x + 8008) + f === :DebugFlashStyleColorIdx && return Ptr{ImGuiCol}(x + 8012) + f === :ColorStack && return Ptr{ImVector_ImGuiColorMod}(x + 8016) + f === :StyleVarStack && return Ptr{ImVector_ImGuiStyleMod}(x + 8032) + f === :FontStack && return Ptr{ImVector_ImFontPtr}(x + 8048) + f === :FocusScopeStack && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8064) + f === :ItemFlagsStack && return Ptr{ImVector_ImGuiItemFlags}(x + 8080) + f === :GroupStack && return Ptr{ImVector_ImGuiGroupData}(x + 8096) + f === :OpenPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8112) + f === :BeginPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8128) + f === :TreeNodeStack && return Ptr{ImVector_ImGuiTreeNodeStackData}(x + 8144) + f === :Viewports && return Ptr{ImVector_ImGuiViewportPPtr}(x + 8160) + f === :CurrentViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8176) + f === :MouseViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8184) + f === :MouseLastHoveredViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8192) + f === :PlatformLastFocusedViewportId && return Ptr{ImGuiID}(x + 8200) + f === :FallbackMonitor && return Ptr{ImGuiPlatformMonitor}(x + 8208) + f === :PlatformMonitorsFullWorkRect && return Ptr{ImRect}(x + 8256) + f === :ViewportCreatedCount && return Ptr{Cint}(x + 8272) + f === :PlatformWindowsCreatedCount && return Ptr{Cint}(x + 8276) + f === :ViewportFocusedStampCount && return Ptr{Cint}(x + 8280) + f === :NavCursorVisible && return Ptr{Bool}(x + 8284) + f === :NavHighlightItemUnderNav && return Ptr{Bool}(x + 8285) + f === :NavMousePosDirty && return Ptr{Bool}(x + 8286) + f === :NavIdIsAlive && return Ptr{Bool}(x + 8287) + f === :NavId && return Ptr{ImGuiID}(x + 8288) + f === :NavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8296) + f === :NavFocusScopeId && return Ptr{ImGuiID}(x + 8304) + f === :NavLayer && return Ptr{ImGuiNavLayer}(x + 8308) + f === :NavActivateId && return Ptr{ImGuiID}(x + 8312) + f === :NavActivateDownId && return Ptr{ImGuiID}(x + 8316) + f === :NavActivatePressedId && return Ptr{ImGuiID}(x + 8320) + f === :NavActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8324) + f === :NavFocusRoute && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8328) + f === :NavHighlightActivatedId && return Ptr{ImGuiID}(x + 8344) + f === :NavHighlightActivatedTimer && return Ptr{Cfloat}(x + 8348) + f === :NavNextActivateId && return Ptr{ImGuiID}(x + 8352) + f === :NavNextActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8356) + f === :NavInputSource && return Ptr{ImGuiInputSource}(x + 8360) + f === :NavLastValidSelectionUserData && return Ptr{ImGuiSelectionUserData}(x + 8368) + f === :NavCursorHideFrames && return Ptr{ImS8}(x + 8376) + f === :NavAnyRequest && return Ptr{Bool}(x + 8377) + f === :NavInitRequest && return Ptr{Bool}(x + 8378) + f === :NavInitRequestFromMove && return Ptr{Bool}(x + 8379) + f === :NavInitResult && return Ptr{ImGuiNavItemData}(x + 8384) + f === :NavMoveSubmitted && return Ptr{Bool}(x + 8440) + f === :NavMoveScoringItems && return Ptr{Bool}(x + 8441) + f === :NavMoveForwardToNextFrame && return Ptr{Bool}(x + 8442) + f === :NavMoveFlags && return Ptr{ImGuiNavMoveFlags}(x + 8444) + f === :NavMoveScrollFlags && return Ptr{ImGuiScrollFlags}(x + 8448) + f === :NavMoveKeyMods && return Ptr{ImGuiKeyChord}(x + 8452) + f === :NavMoveDir && return Ptr{ImGuiDir}(x + 8456) + f === :NavMoveDirForDebug && return Ptr{ImGuiDir}(x + 8460) + f === :NavMoveClipDir && return Ptr{ImGuiDir}(x + 8464) + f === :NavScoringRect && return Ptr{ImRect}(x + 8468) + f === :NavScoringNoClipRect && return Ptr{ImRect}(x + 8484) + f === :NavScoringDebugCount && return Ptr{Cint}(x + 8500) + f === :NavTabbingDir && return Ptr{Cint}(x + 8504) + f === :NavTabbingCounter && return Ptr{Cint}(x + 8508) + f === :NavMoveResultLocal && return Ptr{ImGuiNavItemData}(x + 8512) + f === :NavMoveResultLocalVisible && return Ptr{ImGuiNavItemData}(x + 8568) + f === :NavMoveResultOther && return Ptr{ImGuiNavItemData}(x + 8624) + f === :NavTabbingResultFirst && return Ptr{ImGuiNavItemData}(x + 8680) + f === :NavJustMovedFromFocusScopeId && return Ptr{ImGuiID}(x + 8736) + f === :NavJustMovedToId && return Ptr{ImGuiID}(x + 8740) + f === :NavJustMovedToFocusScopeId && return Ptr{ImGuiID}(x + 8744) + f === :NavJustMovedToKeyMods && return Ptr{ImGuiKeyChord}(x + 8748) + f === :NavJustMovedToIsTabbing && return Ptr{Bool}(x + 8752) + f === :NavJustMovedToHasSelectionData && return Ptr{Bool}(x + 8753) + f === :ConfigNavWindowingKeyNext && return Ptr{ImGuiKeyChord}(x + 8756) + f === :ConfigNavWindowingKeyPrev && return Ptr{ImGuiKeyChord}(x + 8760) + f === :NavWindowingTarget && return Ptr{Ptr{ImGuiWindow}}(x + 8768) + f === :NavWindowingTargetAnim && return Ptr{Ptr{ImGuiWindow}}(x + 8776) + f === :NavWindowingListWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8784) + f === :NavWindowingTimer && return Ptr{Cfloat}(x + 8792) + f === :NavWindowingHighlightAlpha && return Ptr{Cfloat}(x + 8796) + f === :NavWindowingToggleLayer && return Ptr{Bool}(x + 8800) + f === :NavWindowingToggleKey && return Ptr{ImGuiKey}(x + 8804) + f === :NavWindowingAccumDeltaPos && return Ptr{ImVec2}(x + 8808) + f === :NavWindowingAccumDeltaSize && return Ptr{ImVec2}(x + 8816) + f === :DimBgRatio && return Ptr{Cfloat}(x + 8824) + f === :DragDropActive && return Ptr{Bool}(x + 8828) + f === :DragDropWithinSource && return Ptr{Bool}(x + 8829) + f === :DragDropWithinTarget && return Ptr{Bool}(x + 8830) + f === :DragDropSourceFlags && return Ptr{ImGuiDragDropFlags}(x + 8832) + f === :DragDropSourceFrameCount && return Ptr{Cint}(x + 8836) + f === :DragDropMouseButton && return Ptr{Cint}(x + 8840) + f === :DragDropPayload && return Ptr{ImGuiPayload}(x + 8848) + f === :DragDropTargetRect && return Ptr{ImRect}(x + 8912) + f === :DragDropTargetClipRect && return Ptr{ImRect}(x + 8928) + f === :DragDropTargetId && return Ptr{ImGuiID}(x + 8944) + f === :DragDropAcceptFlags && return Ptr{ImGuiDragDropFlags}(x + 8948) + f === :DragDropAcceptIdCurrRectSurface && return Ptr{Cfloat}(x + 8952) + f === :DragDropAcceptIdCurr && return Ptr{ImGuiID}(x + 8956) + f === :DragDropAcceptIdPrev && return Ptr{ImGuiID}(x + 8960) + f === :DragDropAcceptFrameCount && return Ptr{Cint}(x + 8964) + f === :DragDropHoldJustPressedId && return Ptr{ImGuiID}(x + 8968) + f === :DragDropPayloadBufHeap && return Ptr{ImVector_unsigned_char}(x + 8976) + f === :DragDropPayloadBufLocal && return Ptr{NTuple{16, Cuchar}}(x + 8992) + f === :ClipperTempDataStacked && return Ptr{Cint}(x + 9008) + f === :ClipperTempData && return Ptr{ImVector_ImGuiListClipperData}(x + 9016) + f === :CurrentTable && return Ptr{Ptr{ImGuiTable}}(x + 9032) + f === :DebugBreakInTable && return Ptr{ImGuiID}(x + 9040) + f === :TablesTempDataStacked && return Ptr{Cint}(x + 9044) + f === :TablesTempData && return Ptr{ImVector_ImGuiTableTempData}(x + 9048) + f === :Tables && return Ptr{ImPool_ImGuiTable}(x + 9064) + f === :TablesLastTimeActive && return Ptr{ImVector_float}(x + 9104) + f === :DrawChannelsTempMergeBuffer && return Ptr{ImVector_ImDrawChannel}(x + 9120) + f === :CurrentTabBar && return Ptr{Ptr{ImGuiTabBar}}(x + 9136) + f === :TabBars && return Ptr{ImPool_ImGuiTabBar}(x + 9144) + f === :CurrentTabBarStack && return Ptr{ImVector_ImGuiPtrOrIndex}(x + 9184) + f === :ShrinkWidthBuffer && return Ptr{ImVector_ImGuiShrinkWidthItem}(x + 9200) + f === :BoxSelectState && return Ptr{ImGuiBoxSelectState}(x + 9216) + f === :CurrentMultiSelect && return Ptr{Ptr{ImGuiMultiSelectTempData}}(x + 9320) + f === :MultiSelectTempDataStacked && return Ptr{Cint}(x + 9328) + f === :MultiSelectTempData && return Ptr{ImVector_ImGuiMultiSelectTempData}(x + 9336) + f === :MultiSelectStorage && return Ptr{ImPool_ImGuiMultiSelectState}(x + 9352) + f === :HoverItemDelayId && return Ptr{ImGuiID}(x + 9392) + f === :HoverItemDelayIdPreviousFrame && return Ptr{ImGuiID}(x + 9396) + f === :HoverItemDelayTimer && return Ptr{Cfloat}(x + 9400) + f === :HoverItemDelayClearTimer && return Ptr{Cfloat}(x + 9404) + f === :HoverItemUnlockedStationaryId && return Ptr{ImGuiID}(x + 9408) + f === :HoverWindowUnlockedStationaryId && return Ptr{ImGuiID}(x + 9412) + f === :MouseCursor && return Ptr{ImGuiMouseCursor}(x + 9416) + f === :MouseStationaryTimer && return Ptr{Cfloat}(x + 9420) + f === :MouseLastValidPos && return Ptr{ImVec2}(x + 9424) + f === :InputTextState && return Ptr{ImGuiInputTextState}(x + 9432) + f === :InputTextDeactivatedState && return Ptr{ImGuiInputTextDeactivatedState}(x + 9544) + f === :InputTextPasswordFont && return Ptr{ImFont}(x + 9568) + f === :TempInputId && return Ptr{ImGuiID}(x + 9688) + f === :DataTypeZeroValue && return Ptr{ImGuiDataTypeStorage}(x + 9692) + f === :BeginMenuDepth && return Ptr{Cint}(x + 9700) + f === :BeginComboDepth && return Ptr{Cint}(x + 9704) + f === :ColorEditOptions && return Ptr{ImGuiColorEditFlags}(x + 9708) + f === :ColorEditCurrentID && return Ptr{ImGuiID}(x + 9712) + f === :ColorEditSavedID && return Ptr{ImGuiID}(x + 9716) + f === :ColorEditSavedHue && return Ptr{Cfloat}(x + 9720) + f === :ColorEditSavedSat && return Ptr{Cfloat}(x + 9724) + f === :ColorEditSavedColor && return Ptr{ImU32}(x + 9728) + f === :ColorPickerRef && return Ptr{ImVec4}(x + 9732) + f === :ComboPreviewData && return Ptr{ImGuiComboPreviewData}(x + 9748) + f === :WindowResizeBorderExpectedRect && return Ptr{ImRect}(x + 9796) + f === :WindowResizeRelativeMode && return Ptr{Bool}(x + 9812) + f === :ScrollbarSeekMode && return Ptr{Cshort}(x + 9814) + f === :ScrollbarClickDeltaToGrabCenter && return Ptr{Cfloat}(x + 9816) + f === :SliderGrabClickOffset && return Ptr{Cfloat}(x + 9820) + f === :SliderCurrentAccum && return Ptr{Cfloat}(x + 9824) + f === :SliderCurrentAccumDirty && return Ptr{Bool}(x + 9828) + f === :DragCurrentAccumDirty && return Ptr{Bool}(x + 9829) + f === :DragCurrentAccum && return Ptr{Cfloat}(x + 9832) + f === :DragSpeedDefaultRatio && return Ptr{Cfloat}(x + 9836) + f === :DisabledAlphaBackup && return Ptr{Cfloat}(x + 9840) + f === :DisabledStackSize && return Ptr{Cshort}(x + 9844) + f === :TooltipOverrideCount && return Ptr{Cshort}(x + 9846) + f === :TooltipPreviousWindow && return Ptr{Ptr{ImGuiWindow}}(x + 9848) + f === :ClipboardHandlerData && return Ptr{ImVector_char}(x + 9856) + f === :MenusIdSubmittedThisFrame && return Ptr{ImVector_ImGuiID}(x + 9872) + f === :TypingSelectState && return Ptr{ImGuiTypingSelectState}(x + 9888) + f === :PlatformImeData && return Ptr{ImGuiPlatformImeData}(x + 9992) + f === :PlatformImeDataPrev && return Ptr{ImGuiPlatformImeData}(x + 10008) + f === :PlatformImeViewport && return Ptr{ImGuiID}(x + 10024) + f === :DockContext && return Ptr{ImGuiDockContext}(x + 10032) + f === :DockNodeWindowMenuHandler && return Ptr{Ptr{Cvoid}}(x + 10088) + f === :SettingsLoaded && return Ptr{Bool}(x + 10096) + f === :SettingsDirtyTimer && return Ptr{Cfloat}(x + 10100) + f === :SettingsIniData && return Ptr{ImGuiTextBuffer}(x + 10104) + f === :SettingsHandlers && return Ptr{ImVector_ImGuiSettingsHandler}(x + 10120) + f === :SettingsWindows && return Ptr{ImChunkStream_ImGuiWindowSettings}(x + 10136) + f === :SettingsTables && return Ptr{ImChunkStream_ImGuiTableSettings}(x + 10152) + f === :Hooks && return Ptr{ImVector_ImGuiContextHook}(x + 10168) + f === :HookIdNext && return Ptr{ImGuiID}(x + 10184) + f === :LocalizationTable && return Ptr{NTuple{13, Ptr{Cchar}}}(x + 10192) + f === :LogEnabled && return Ptr{Bool}(x + 10296) + f === :LogFlags && return Ptr{ImGuiLogFlags}(x + 10300) + f === :LogWindow && return Ptr{Ptr{ImGuiWindow}}(x + 10304) + f === :LogFile && return Ptr{ImFileHandle}(x + 10312) + f === :LogBuffer && return Ptr{ImGuiTextBuffer}(x + 10320) + f === :LogNextPrefix && return Ptr{Ptr{Cchar}}(x + 10336) + f === :LogNextSuffix && return Ptr{Ptr{Cchar}}(x + 10344) + f === :LogLinePosY && return Ptr{Cfloat}(x + 10352) + f === :LogLineFirstItem && return Ptr{Bool}(x + 10356) + f === :LogDepthRef && return Ptr{Cint}(x + 10360) + f === :LogDepthToExpand && return Ptr{Cint}(x + 10364) + f === :LogDepthToExpandDefault && return Ptr{Cint}(x + 10368) + f === :ErrorCallback && return Ptr{ImGuiErrorCallback}(x + 10376) + f === :ErrorCallbackUserData && return Ptr{Ptr{Cvoid}}(x + 10384) + f === :ErrorTooltipLockedPos && return Ptr{ImVec2}(x + 10392) + f === :ErrorFirst && return Ptr{Bool}(x + 10400) + f === :ErrorCountCurrentFrame && return Ptr{Cint}(x + 10404) + f === :StackSizesInNewFrame && return Ptr{ImGuiErrorRecoveryState}(x + 10408) + f === :StackSizesInBeginForCurrentWindow && return Ptr{Ptr{ImGuiErrorRecoveryState}}(x + 10432) + f === :DebugDrawIdConflictsCount && return Ptr{Cint}(x + 10440) + f === :DebugLogFlags && return Ptr{ImGuiDebugLogFlags}(x + 10444) + f === :DebugLogBuf && return Ptr{ImGuiTextBuffer}(x + 10448) + f === :DebugLogIndex && return Ptr{ImGuiTextIndex}(x + 10464) + f === :DebugLogSkippedErrors && return Ptr{Cint}(x + 10488) + f === :DebugLogAutoDisableFlags && return Ptr{ImGuiDebugLogFlags}(x + 10492) + f === :DebugLogAutoDisableFrames && return Ptr{ImU8}(x + 10496) + f === :DebugLocateFrames && return Ptr{ImU8}(x + 10497) + f === :DebugBreakInLocateId && return Ptr{Bool}(x + 10498) + f === :DebugBreakKeyChord && return Ptr{ImGuiKeyChord}(x + 10500) + f === :DebugBeginReturnValueCullDepth && return Ptr{ImS8}(x + 10504) + f === :DebugItemPickerActive && return Ptr{Bool}(x + 10505) + f === :DebugItemPickerMouseButton && return Ptr{ImU8}(x + 10506) + f === :DebugItemPickerBreakId && return Ptr{ImGuiID}(x + 10508) + f === :DebugFlashStyleColorTime && return Ptr{Cfloat}(x + 10512) + f === :DebugFlashStyleColorBackup && return Ptr{ImVec4}(x + 10516) + f === :DebugMetricsConfig && return Ptr{ImGuiMetricsConfig}(x + 10532) + f === :DebugIDStackTool && return Ptr{ImGuiIDStackTool}(x + 10560) + f === :DebugAllocInfo && return Ptr{ImGuiDebugAllocInfo}(x + 10600) + f === :DebugHoveredDockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 10664) + f === :FramerateSecPerFrame && return Ptr{NTuple{60, Cfloat}}(x + 10672) + f === :FramerateSecPerFrameIdx && return Ptr{Cint}(x + 10912) + f === :FramerateSecPerFrameCount && return Ptr{Cint}(x + 10916) + f === :FramerateSecPerFrameAccum && return Ptr{Cfloat}(x + 10920) + f === :WantCaptureMouseNextFrame && return Ptr{Cint}(x + 10924) + f === :WantCaptureKeyboardNextFrame && return Ptr{Cint}(x + 10928) + f === :WantTextInputNextFrame && return Ptr{Cint}(x + 10932) + f === :TempBuffer && return Ptr{ImVector_char}(x + 10936) + f === :TempKeychordName && return Ptr{NTuple{64, Cchar}}(x + 10952) return getfield(x, f) end @@ -3563,8 +3656,6 @@ struct ImVector_const_charPtr Data::Ptr{Ptr{Cchar}} end -const ImU64 = Culonglong - const ImGuiMouseButton = Cint const ImGuiTableBgTarget = Cint @@ -3669,12 +3760,13 @@ end ImGuiInputTextFlags_DisplayEmptyRefVal = 16384 ImGuiInputTextFlags_NoHorizontalScroll = 32768 ImGuiInputTextFlags_NoUndoRedo = 65536 - ImGuiInputTextFlags_CallbackCompletion = 131072 - ImGuiInputTextFlags_CallbackHistory = 262144 - ImGuiInputTextFlags_CallbackAlways = 524288 - ImGuiInputTextFlags_CallbackCharFilter = 1048576 - ImGuiInputTextFlags_CallbackResize = 2097152 - ImGuiInputTextFlags_CallbackEdit = 4194304 + ImGuiInputTextFlags_ElideLeft = 131072 + ImGuiInputTextFlags_CallbackCompletion = 262144 + ImGuiInputTextFlags_CallbackHistory = 524288 + ImGuiInputTextFlags_CallbackAlways = 1048576 + ImGuiInputTextFlags_CallbackCharFilter = 2097152 + ImGuiInputTextFlags_CallbackResize = 4194304 + ImGuiInputTextFlags_CallbackEdit = 8388608 end @cenum ImGuiTreeNodeFlags_::UInt32 begin @@ -3858,8 +3950,6 @@ end ImGuiConfigFlags_None = 0 ImGuiConfigFlags_NavEnableKeyboard = 1 ImGuiConfigFlags_NavEnableGamepad = 2 - ImGuiConfigFlags_NavEnableSetMousePos = 4 - ImGuiConfigFlags_NavNoCaptureKeyboard = 8 ImGuiConfigFlags_NoMouse = 16 ImGuiConfigFlags_NoMouseCursorChange = 32 ImGuiConfigFlags_NoKeyboard = 64 @@ -3937,7 +4027,7 @@ end ImGuiCol_TextLink = 51 ImGuiCol_TextSelectedBg = 52 ImGuiCol_DragDropTarget = 53 - ImGuiCol_NavHighlight = 54 + ImGuiCol_NavCursor = 54 ImGuiCol_NavWindowingHighlight = 55 ImGuiCol_NavWindowingDimBg = 56 ImGuiCol_ModalWindowDimBg = 57 @@ -3988,6 +4078,7 @@ end ImGuiButtonFlags_MouseButtonRight = 2 ImGuiButtonFlags_MouseButtonMiddle = 4 ImGuiButtonFlags_MouseButtonMask_ = 7 + ImGuiButtonFlags_EnableNav = 8 end @cenum ImGuiColorEditFlags_::UInt32 begin @@ -4024,11 +4115,13 @@ end @cenum ImGuiSliderFlags_::UInt32 begin ImGuiSliderFlags_None = 0 - ImGuiSliderFlags_AlwaysClamp = 16 ImGuiSliderFlags_Logarithmic = 32 ImGuiSliderFlags_NoRoundToFormat = 64 ImGuiSliderFlags_NoInput = 128 ImGuiSliderFlags_WrapAround = 256 + ImGuiSliderFlags_ClampOnInput = 512 + ImGuiSliderFlags_ClampZeroRange = 1024 + ImGuiSliderFlags_AlwaysClamp = 1536 ImGuiSliderFlags_InvalidMask_ = 1879048207 end @@ -4216,7 +4309,7 @@ end const ImGuiFocusRequestFlags = Cint -const ImGuiNavHighlightFlags = Cint +const ImGuiNavRenderCursorFlags = Cint const ImGuiSeparatorFlags = Cint @@ -4224,9 +4317,6 @@ const ImGuiTextFlags = Cint const ImGuiTooltipFlags = Cint -# typedef void ( * ImGuiErrorLogCallback ) ( void * user_data , const char * fmt , ... ) -const ImGuiErrorLogCallback = Ptr{Cvoid} - @cenum ImGuiDataTypePrivate_::UInt32 begin ImGuiDataType_String = 12 ImGuiDataType_Pointer = 13 @@ -4239,6 +4329,8 @@ end ImGuiItemFlags_MixedValue = 4096 ImGuiItemFlags_NoWindowHoverableCheck = 8192 ImGuiItemFlags_AllowOverlap = 16384 + ImGuiItemFlags_NoNavDisableMouseHover = 32768 + ImGuiItemFlags_NoMarkEdited = 65536 ImGuiItemFlags_Inputable = 1048576 ImGuiItemFlags_HasSelectionUserData = 2097152 ImGuiItemFlags_IsMultiSelect = 4194304 @@ -4268,9 +4360,8 @@ end @cenum ImGuiInputTextFlagsPrivate_::UInt32 begin ImGuiInputTextFlags_Multiline = 67108864 - ImGuiInputTextFlags_NoMarkEdited = 134217728 - ImGuiInputTextFlags_MergedItem = 268435456 - ImGuiInputTextFlags_LocalizeDecimalPoint = 536870912 + ImGuiInputTextFlags_MergedItem = 134217728 + ImGuiInputTextFlags_LocalizeDecimalPoint = 268435456 end @cenum ImGuiButtonFlagsPrivate_::UInt32 begin @@ -4280,12 +4371,10 @@ end ImGuiButtonFlags_PressedOnRelease = 128 ImGuiButtonFlags_PressedOnDoubleClick = 256 ImGuiButtonFlags_PressedOnDragDropHold = 512 - ImGuiButtonFlags_Repeat = 1024 ImGuiButtonFlags_FlattenChildren = 2048 ImGuiButtonFlags_AllowOverlap = 4096 - ImGuiButtonFlags_DontClosePopups = 8192 ImGuiButtonFlags_AlignTextBaseLine = 32768 - ImGuiButtonFlags_NoKeyModifiers = 65536 + ImGuiButtonFlags_NoKeyModsAllowed = 65536 ImGuiButtonFlags_NoHoldingActiveId = 131072 ImGuiButtonFlags_NoNavFocus = 262144 ImGuiButtonFlags_NoHoveredOnFocus = 524288 @@ -4349,6 +4438,15 @@ end ImGuiLayoutType_Vertical = 1 end +@cenum ImGuiLogFlags_::UInt32 begin + ImGuiLogFlags_None = 0 + ImGuiLogFlags_OutputTTY = 1 + ImGuiLogFlags_OutputFile = 2 + ImGuiLogFlags_OutputBuffer = 4 + ImGuiLogFlags_OutputClipboard = 8 + ImGuiLogFlags_OutputMask_ = 15 +end + @cenum ImGuiPlotType::UInt32 begin ImGuiPlotType_Lines = 0 ImGuiPlotType_Histogram = 1 @@ -4478,11 +4576,11 @@ end ImGuiScrollFlags_MaskY_ = 42 end -@cenum ImGuiNavHighlightFlags_::UInt32 begin - ImGuiNavHighlightFlags_None = 0 - ImGuiNavHighlightFlags_Compact = 2 - ImGuiNavHighlightFlags_AlwaysDraw = 4 - ImGuiNavHighlightFlags_NoRounding = 8 +@cenum ImGuiNavRenderCursorFlags_::UInt32 begin + ImGuiNavRenderCursorFlags_None = 0 + ImGuiNavRenderCursorFlags_Compact = 2 + ImGuiNavRenderCursorFlags_AlwaysDraw = 4 + ImGuiNavRenderCursorFlags_NoRounding = 8 end @cenum ImGuiNavMoveFlags_::UInt32 begin @@ -4502,7 +4600,7 @@ end ImGuiNavMoveFlags_IsPageMove = 2048 ImGuiNavMoveFlags_Activate = 4096 ImGuiNavMoveFlags_NoSelect = 8192 - ImGuiNavMoveFlags_NoSetNavHighlight = 16384 + ImGuiNavMoveFlags_NoSetNavCursorVisible = 16384 ImGuiNavMoveFlags_NoClearActiveId = 32768 end @@ -4562,17 +4660,19 @@ end @cenum ImGuiDebugLogFlags_::UInt32 begin ImGuiDebugLogFlags_None = 0 - ImGuiDebugLogFlags_EventActiveId = 1 - ImGuiDebugLogFlags_EventFocus = 2 - ImGuiDebugLogFlags_EventPopup = 4 - ImGuiDebugLogFlags_EventNav = 8 - ImGuiDebugLogFlags_EventClipper = 16 - ImGuiDebugLogFlags_EventSelection = 32 - ImGuiDebugLogFlags_EventIO = 64 - ImGuiDebugLogFlags_EventInputRouting = 128 - ImGuiDebugLogFlags_EventDocking = 256 - ImGuiDebugLogFlags_EventViewport = 512 - ImGuiDebugLogFlags_EventMask_ = 1023 + ImGuiDebugLogFlags_EventError = 1 + ImGuiDebugLogFlags_EventActiveId = 2 + ImGuiDebugLogFlags_EventFocus = 4 + ImGuiDebugLogFlags_EventPopup = 8 + ImGuiDebugLogFlags_EventNav = 16 + ImGuiDebugLogFlags_EventClipper = 32 + ImGuiDebugLogFlags_EventSelection = 64 + ImGuiDebugLogFlags_EventIO = 128 + ImGuiDebugLogFlags_EventFont = 256 + ImGuiDebugLogFlags_EventInputRouting = 512 + ImGuiDebugLogFlags_EventDocking = 1024 + ImGuiDebugLogFlags_EventViewport = 2048 + ImGuiDebugLogFlags_EventMask_ = 4095 ImGuiDebugLogFlags_OutputToTTY = 1048576 ImGuiDebugLogFlags_OutputToTestEngine = 2097152 end @@ -5937,6 +6037,10 @@ function igSetKeyboardFocusHere(offset) ccall((:igSetKeyboardFocusHere, libcimgui), Cvoid, (Cint,), offset) end +function igSetNavCursorVisible(visible) + ccall((:igSetNavCursorVisible, libcimgui), Cvoid, (Bool,), visible) +end + function igSetNextItemAllowOverlap() ccall((:igSetNextItemAllowOverlap, libcimgui), Cvoid, ()) end @@ -6922,8 +7026,8 @@ function ImDrawList_PathRect(self, rect_min, rect_max, rounding, flags) ccall((:ImDrawList_PathRect, libcimgui), Cvoid, (Ptr{ImDrawList}, ImVec2, ImVec2, Cfloat, ImDrawFlags), self, rect_min, rect_max, rounding, flags) end -function ImDrawList_AddCallback(self, callback, callback_data) - ccall((:ImDrawList_AddCallback, libcimgui), Cvoid, (Ptr{ImDrawList}, ImDrawCallback, Ptr{Cvoid}), self, callback, callback_data) +function ImDrawList_AddCallback(self, callback, userdata, userdata_size) + ccall((:ImDrawList_AddCallback, libcimgui), Cvoid, (Ptr{ImDrawList}, ImDrawCallback, Ptr{Cvoid}, Csize_t), self, callback, userdata, userdata_size) end function ImDrawList_AddDrawCmd(self) @@ -8092,20 +8196,12 @@ function ImGuiLastItemData_destroy(self) ccall((:ImGuiLastItemData_destroy, libcimgui), Cvoid, (Ptr{ImGuiLastItemData},), self) end -function ImGuiStackSizes_ImGuiStackSizes() - ccall((:ImGuiStackSizes_ImGuiStackSizes, libcimgui), Ptr{ImGuiStackSizes}, ()) -end - -function ImGuiStackSizes_destroy(self) - ccall((:ImGuiStackSizes_destroy, libcimgui), Cvoid, (Ptr{ImGuiStackSizes},), self) +function ImGuiErrorRecoveryState_ImGuiErrorRecoveryState() + ccall((:ImGuiErrorRecoveryState_ImGuiErrorRecoveryState, libcimgui), Ptr{ImGuiErrorRecoveryState}, ()) end -function ImGuiStackSizes_SetToContextState(self, ctx) - ccall((:ImGuiStackSizes_SetToContextState, libcimgui), Cvoid, (Ptr{ImGuiStackSizes}, Ptr{ImGuiContext}), self, ctx) -end - -function ImGuiStackSizes_CompareWithContextState(self, ctx) - ccall((:ImGuiStackSizes_CompareWithContextState, libcimgui), Cvoid, (Ptr{ImGuiStackSizes}, Ptr{ImGuiContext}), self, ctx) +function ImGuiErrorRecoveryState_destroy(self) + ccall((:ImGuiErrorRecoveryState_destroy, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), self) end function ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr(ptr) @@ -8528,6 +8624,14 @@ function ImGuiTableSettings_GetColumnSettings(self) ccall((:ImGuiTableSettings_GetColumnSettings, libcimgui), Ptr{ImGuiTableColumnSettings}, (Ptr{ImGuiTableSettings},), self) end +function igGetIOEx(ctx) + ccall((:igGetIOEx, libcimgui), Ptr{ImGuiIO}, (Ptr{ImGuiContext},), ctx) +end + +function igGetPlatformIOEx(ctx) + ccall((:igGetPlatformIOEx, libcimgui), Ptr{ImGuiPlatformIO}, (Ptr{ImGuiContext},), ctx) +end + function igGetCurrentWindowRead() ccall((:igGetCurrentWindowRead, libcimgui), Ptr{ImGuiWindow}, ()) end @@ -8932,8 +9036,8 @@ function igEndDisabledOverrideReenable() ccall((:igEndDisabledOverrideReenable, libcimgui), Cvoid, ()) end -function igLogBegin(type, auto_open_depth) - ccall((:igLogBegin, libcimgui), Cvoid, (ImGuiLogType, Cint), type, auto_open_depth) +function igLogBegin(flags, auto_open_depth) + ccall((:igLogBegin, libcimgui), Cvoid, (ImGuiLogFlags, Cint), flags, auto_open_depth) end function igLogToBuffer(auto_open_depth) @@ -9080,8 +9184,8 @@ function igNavClearPreferredPosForAxis(axis) ccall((:igNavClearPreferredPosForAxis, libcimgui), Cvoid, (ImGuiAxis,), axis) end -function igNavRestoreHighlightAfterMove() - ccall((:igNavRestoreHighlightAfterMove, libcimgui), Cvoid, ()) +function igSetNavCursorVisibleAfterMove() + ccall((:igSetNavCursorVisibleAfterMove, libcimgui), Cvoid, ()) end function igNavUpdateCurrentWindowIsScrollPushableX() @@ -9800,8 +9904,12 @@ function igTabBarCloseTab(tab_bar, tab) ccall((:igTabBarCloseTab, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) end -function igTabBarQueueFocus(tab_bar, tab) - ccall((:igTabBarQueueFocus, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) +function igTabBarQueueFocus_TabItemPtr(tab_bar, tab) + ccall((:igTabBarQueueFocus_TabItemPtr, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) +end + +function igTabBarQueueFocus_Str(tab_bar, tab_name) + ccall((:igTabBarQueueFocus_Str, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{Cchar}), tab_bar, tab_name) end function igTabBarQueueReorder(tab_bar, tab, offset) @@ -9868,8 +9976,8 @@ function igRenderColorRectWithAlphaCheckerboard(draw_list, p_min, p_max, fill_co ccall((:igRenderColorRectWithAlphaCheckerboard, libcimgui), Cvoid, (Ptr{ImDrawList}, ImVec2, ImVec2, ImU32, Cfloat, ImVec2, Cfloat, ImDrawFlags), draw_list, p_min, p_max, fill_col, grid_step, grid_off, rounding, flags) end -function igRenderNavHighlight(bb, id, flags) - ccall((:igRenderNavHighlight, libcimgui), Cvoid, (ImRect, ImGuiID, ImGuiNavHighlightFlags), bb, id, flags) +function igRenderNavCursor(bb, id, flags) + ccall((:igRenderNavCursor, libcimgui), Cvoid, (ImRect, ImGuiID, ImGuiNavRenderCursorFlags), bb, id, flags) end function igFindRenderedTextEnd(text, text_end) @@ -9924,8 +10032,8 @@ function igArrowButtonEx(str_id, dir, size_arg, flags) ccall((:igArrowButtonEx, libcimgui), Bool, (Ptr{Cchar}, ImGuiDir, ImVec2, ImGuiButtonFlags), str_id, dir, size_arg, flags) end -function igImageButtonEx(id, texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) - ccall((:igImageButtonEx, libcimgui), Bool, (ImGuiID, ImTextureID, ImVec2, ImVec2, ImVec2, ImVec4, ImVec4, ImGuiButtonFlags), id, texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) +function igImageButtonEx(id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) + ccall((:igImageButtonEx, libcimgui), Bool, (ImGuiID, ImTextureID, ImVec2, ImVec2, ImVec2, ImVec4, ImVec4, ImGuiButtonFlags), id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) end function igSeparatorEx(flags, thickness) @@ -9956,8 +10064,8 @@ function igScrollbar(axis) ccall((:igScrollbar, libcimgui), Cvoid, (ImGuiAxis,), axis) end -function igScrollbarEx(bb, id, axis, p_scroll_v, avail_v, contents_v, flags) - ccall((:igScrollbarEx, libcimgui), Bool, (ImRect, ImGuiID, ImGuiAxis, Ptr{ImS64}, ImS64, ImS64, ImDrawFlags), bb, id, axis, p_scroll_v, avail_v, contents_v, flags) +function igScrollbarEx(bb, id, axis, p_scroll_v, avail_v, contents_v, draw_rounding_flags) + ccall((:igScrollbarEx, libcimgui), Bool, (ImRect, ImGuiID, ImGuiAxis, Ptr{ImS64}, ImS64, ImS64, ImDrawFlags), bb, id, axis, p_scroll_v, avail_v, contents_v, draw_rounding_flags) end function igGetWindowScrollbarRect(pOut, window, axis) @@ -10036,6 +10144,10 @@ function igDataTypeClamp(data_type, p_data, p_min, p_max) ccall((:igDataTypeClamp, libcimgui), Bool, (ImGuiDataType, Ptr{Cvoid}, Ptr{Cvoid}, Ptr{Cvoid}), data_type, p_data, p_min, p_max) end +function igDataTypeIsZero(data_type, p_data) + ccall((:igDataTypeIsZero, libcimgui), Bool, (ImGuiDataType, Ptr{Cvoid}), data_type, p_data) +end + function igInputTextEx(label, hint, buf, buf_size, size_arg, flags, callback, user_data) ccall((:igInputTextEx, libcimgui), Bool, (Ptr{Cchar}, Ptr{Cchar}, Ptr{Cchar}, Cint, ImVec2, ImGuiInputTextFlags, ImGuiInputTextCallback, Ptr{Cvoid}), label, hint, buf, buf_size, size_arg, flags, callback, user_data) end @@ -10104,22 +10216,42 @@ function igGcAwakeTransientWindowBuffers(window) ccall((:igGcAwakeTransientWindowBuffers, libcimgui), Cvoid, (Ptr{ImGuiWindow},), window) end -function igDebugAllocHook(info, frame_count, ptr, size) - ccall((:igDebugAllocHook, libcimgui), Cvoid, (Ptr{ImGuiDebugAllocInfo}, Cint, Ptr{Cvoid}, Csize_t), info, frame_count, ptr, size) +function igErrorLog(msg) + ccall((:igErrorLog, libcimgui), Bool, (Ptr{Cchar},), msg) +end + +function igErrorRecoveryStoreState(state_out) + ccall((:igErrorRecoveryStoreState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_out) end -function igErrorCheckEndFrameRecover(log_callback, user_data) - ccall((:igErrorCheckEndFrameRecover, libcimgui), Cvoid, (ImGuiErrorLogCallback, Ptr{Cvoid}), log_callback, user_data) +function igErrorRecoveryTryToRecoverState(state_in) + ccall((:igErrorRecoveryTryToRecoverState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_in) end -function igErrorCheckEndWindowRecover(log_callback, user_data) - ccall((:igErrorCheckEndWindowRecover, libcimgui), Cvoid, (ImGuiErrorLogCallback, Ptr{Cvoid}), log_callback, user_data) +function igErrorRecoveryTryToRecoverWindowState(state_in) + ccall((:igErrorRecoveryTryToRecoverWindowState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_in) end function igErrorCheckUsingSetCursorPosToExtendParentBoundaries() ccall((:igErrorCheckUsingSetCursorPosToExtendParentBoundaries, libcimgui), Cvoid, ()) end +function igErrorCheckEndFrameFinalizeErrorTooltip() + ccall((:igErrorCheckEndFrameFinalizeErrorTooltip, libcimgui), Cvoid, ()) +end + +function igBeginErrorTooltip() + ccall((:igBeginErrorTooltip, libcimgui), Bool, ()) +end + +function igEndErrorTooltip() + ccall((:igEndErrorTooltip, libcimgui), Cvoid, ()) +end + +function igDebugAllocHook(info, frame_count, ptr, size) + ccall((:igDebugAllocHook, libcimgui), Cvoid, (Ptr{ImGuiDebugAllocInfo}, Cint, Ptr{Cvoid}, Csize_t), info, frame_count, ptr, size) +end + function igDebugDrawCursorPos(col) ccall((:igDebugDrawCursorPos, libcimgui), Cvoid, (ImU32,), col) end @@ -10823,11 +10955,29 @@ struct ImVector_ImU64 Data::Ptr{ImU64} end -struct ImVector_ImU8 +struct var"##Ctag#238" Size::Cint Capacity::Cint Data::Ptr{ImU8} end +function Base.getproperty(x::Ptr{var"##Ctag#238"}, f::Symbol) + f === :Size && return Ptr{Cint}(x + 0) + f === :Capacity && return Ptr{Cint}(x + 0) + f === :Data && return Ptr{Ptr{ImU8}}(x + 0) + return getfield(x, f) +end + +function Base.getproperty(x::var"##Ctag#238", f::Symbol) + r = Ref{var"##Ctag#238"}(x) + ptr = Base.unsafe_convert(Ptr{var"##Ctag#238"}, r) + fptr = getproperty(ptr, f) + GC.@preserve r unsafe_load(fptr) +end + +function Base.setproperty!(x::Ptr{var"##Ctag#238"}, f::Symbol, v) + unsafe_store!(getproperty(x, f), v) +end + const ImPlotDragToolFlags = Cint @@ -14830,6 +14980,8 @@ function ImGui_ImplOpenGL3_DestroyDeviceObjects() ccall((:ImGui_ImplOpenGL3_DestroyDeviceObjects, libcimgui), Cvoid, ()) end +const IM_UNICODE_CODEPOINT_MAX = 65535 + const IMGUI_HAS_DOCK = 1 const ImDrawCallback_ResetRenderState = ImDrawCallback(-8) diff --git a/lib/x86_64-apple-darwin14.jl b/lib/x86_64-apple-darwin14.jl index 6f0cd24..4325ea7 100644 --- a/lib/x86_64-apple-darwin14.jl +++ b/lib/x86_64-apple-darwin14.jl @@ -45,7 +45,9 @@ function Base.setproperty!(x::Ptr{ImVec4}, f::Symbol, v) end -const ImTextureID = Ptr{Cvoid} +const ImU64 = Culonglong + +const ImTextureID = ImU64 struct ImDrawCmd ClipRect::ImVec4 @@ -55,6 +57,8 @@ struct ImDrawCmd ElemCount::Cuint UserCallback::ImDrawCallback UserCallbackData::Ptr{Cvoid} + UserCallbackDataSize::Cint + UserCallbackDataOffset::Cint end function Base.getproperty(x::Ptr{ImDrawCmd}, f::Symbol) f === :ClipRect && return Ptr{ImVec4}(x + 0) @@ -64,6 +68,8 @@ function Base.getproperty(x::Ptr{ImDrawCmd}, f::Symbol) f === :ElemCount && return Ptr{Cuint}(x + 32) f === :UserCallback && return Ptr{ImDrawCallback}(x + 40) f === :UserCallbackData && return Ptr{Ptr{Cvoid}}(x + 48) + f === :UserCallbackDataSize && return Ptr{Cint}(x + 56) + f === :UserCallbackDataOffset && return Ptr{Cint}(x + 60) return getfield(x, f) end @@ -221,19 +227,63 @@ function Base.getproperty(x::ImVector_ImFontPtr, f::Symbol) end struct ImFontAtlasCustomRect - Width::Cushort - Height::Cushort - X::Cushort - Y::Cushort - GlyphID::Cuint - GlyphAdvanceX::Cfloat - GlyphOffset::ImVec2 - Font::Ptr{Cvoid} # Font::Ptr{ImFont} + data::NTuple{32, UInt8} +end + +function Base.getproperty(x::Ptr{ImFontAtlasCustomRect}, f::Symbol) + f === :X && return Ptr{Cushort}(x + 0) + f === :Y && return Ptr{Cushort}(x + 2) + f === :Width && return Ptr{Cushort}(x + 4) + f === :Height && return Ptr{Cushort}(x + 6) + f === :GlyphID && return (Ptr{Cuint}(x + 8), 0, 31) + f === :GlyphColored && return (Ptr{Cuint}(x + 8), 31, 1) + f === :GlyphAdvanceX && return Ptr{Cfloat}(x + 12) + f === :GlyphOffset && return Ptr{ImVec2}(x + 16) + f === :Font && return Ptr{Ptr{ImFont}}(x + 24) + return getfield(x, f) end function Base.getproperty(x::ImFontAtlasCustomRect, f::Symbol) - f === :Font && return Ptr{ImFont}(getfield(x, f)) - return getfield(x, f) + r = Ref{ImFontAtlasCustomRect}(x) + ptr = Base.unsafe_convert(Ptr{ImFontAtlasCustomRect}, r) + fptr = getproperty(ptr, f) + begin + if fptr isa Ptr + return GC.@preserve(r, unsafe_load(fptr)) + else + (baseptr, offset, width) = fptr + ty = eltype(baseptr) + baseptr32 = convert(Ptr{UInt32}, baseptr) + u64 = GC.@preserve(r, unsafe_load(baseptr32)) + if offset + width > 32 + u64 |= GC.@preserve(r, unsafe_load(baseptr32 + 4)) << 32 + end + u64 = u64 >> offset & (1 << width - 1) + return u64 % ty + end + end +end + +function Base.setproperty!(x::Ptr{ImFontAtlasCustomRect}, f::Symbol, v) + fptr = getproperty(x, f) + if fptr isa Ptr + unsafe_store!(getproperty(x, f), v) + else + (baseptr, offset, width) = fptr + baseptr32 = convert(Ptr{UInt32}, baseptr) + u64 = unsafe_load(baseptr32) + straddle = offset + width > 32 + if straddle + u64 |= unsafe_load(baseptr32 + 4) << 32 + end + mask = 1 << width - 1 + u64 &= ~(mask << offset) + u64 |= (unsigned(v) & mask) << offset + unsafe_store!(baseptr32, u64 & typemax(UInt32)) + if straddle + unsafe_store!(baseptr32 + 4, u64 >> 32) + end + end end struct ImVector_ImFontAtlasCustomRect @@ -375,9 +425,9 @@ struct ImFont ContainerAtlas::Ptr{ImFontAtlas} ConfigData::Ptr{ImFontConfig} ConfigDataCount::Cshort - FallbackChar::ImWchar - EllipsisChar::ImWchar EllipsisCharCount::Cshort + EllipsisChar::ImWchar + FallbackChar::ImWchar EllipsisWidth::Cfloat EllipsisCharStep::Cfloat DirtyLookupTables::Bool @@ -396,6 +446,7 @@ end struct ImDrawListSharedData TexUvWhitePixel::ImVec2 + TexUvLines::Ptr{ImVec4} Font::Ptr{ImFont} FontSize::Cfloat FontScale::Cfloat @@ -407,7 +458,6 @@ struct ImDrawListSharedData ArcFastVtx::NTuple{48, ImVec2} ArcFastRadiusCutoff::Cfloat CircleSegmentCounts::NTuple{64, ImU8} - TexUvLines::Ptr{ImVec4} end struct ImDrawCmdHeader @@ -440,6 +490,12 @@ struct ImVector_ImTextureID Data::Ptr{ImTextureID} end +struct ImVector_ImU8 + Size::Cint + Capacity::Cint + Data::Ptr{ImU8} +end + struct ImDrawList CmdBuffer::ImVector_ImDrawCmd IdxBuffer::ImVector_ImDrawIdx @@ -454,6 +510,7 @@ struct ImDrawList _Splitter::ImDrawListSplitter _ClipRectStack::ImVector_ImVec4 _TextureIdStack::ImVector_ImTextureID + _CallbacksDataBuf::ImVector_ImU8 _FringeScale::Cfloat _OwnerName::Ptr{Cchar} end @@ -471,8 +528,9 @@ function Base.getproperty(x::Ptr{ImDrawList}, f::Symbol) f === :_Splitter && return Ptr{ImDrawListSplitter}(x + 128) f === :_ClipRectStack && return Ptr{ImVector_ImVec4}(x + 152) f === :_TextureIdStack && return Ptr{ImVector_ImTextureID}(x + 168) - f === :_FringeScale && return Ptr{Cfloat}(x + 184) - f === :_OwnerName && return Ptr{Ptr{Cchar}}(x + 192) + f === :_CallbacksDataBuf && return Ptr{ImVector_ImU8}(x + 184) + f === :_FringeScale && return Ptr{Cfloat}(x + 200) + f === :_OwnerName && return Ptr{Ptr{Cchar}}(x + 208) return getfield(x, f) end @@ -606,8 +664,6 @@ end const ImU16 = Cushort -const ImS8 = Int8 - struct ImGuiIO ConfigFlags::ImGuiConfigFlags BackendFlags::ImGuiBackendFlags @@ -622,6 +678,13 @@ struct ImGuiIO FontAllowUserScaling::Bool FontDefault::Ptr{ImFont} DisplayFramebufferScale::ImVec2 + ConfigNavSwapGamepadButtons::Bool + ConfigNavMoveSetMousePos::Bool + ConfigNavCaptureKeyboard::Bool + ConfigNavEscapeClearFocusItem::Bool + ConfigNavEscapeClearFocusWindow::Bool + ConfigNavCursorVisibleAuto::Bool + ConfigNavCursorVisibleAlways::Bool ConfigDockingNoSplit::Bool ConfigDockingWithShift::Bool ConfigDockingAlwaysTabBar::Bool @@ -632,19 +695,24 @@ struct ImGuiIO ConfigViewportsNoDefaultParent::Bool MouseDrawCursor::Bool ConfigMacOSXBehaviors::Bool - ConfigNavSwapGamepadButtons::Bool ConfigInputTrickleEventQueue::Bool ConfigInputTextCursorBlink::Bool ConfigInputTextEnterKeepActive::Bool ConfigDragClickToInputText::Bool ConfigWindowsResizeFromEdges::Bool ConfigWindowsMoveFromTitleBarOnly::Bool + ConfigWindowsCopyContentsWithCtrlC::Bool + ConfigScrollbarScrollByPage::Bool ConfigMemoryCompactTimer::Cfloat MouseDoubleClickTime::Cfloat MouseDoubleClickMaxDist::Cfloat MouseDragThreshold::Cfloat KeyRepeatDelay::Cfloat KeyRepeatRate::Cfloat + ConfigErrorRecovery::Bool + ConfigErrorRecoveryEnableAssert::Bool + ConfigErrorRecoveryEnableDebugLog::Bool + ConfigErrorRecoveryEnableTooltip::Bool ConfigDebugIsDebuggerPresent::Bool ConfigDebugHighlightIdConflicts::Bool ConfigDebugBeginReturnValueOnce::Bool @@ -702,8 +770,6 @@ struct ImGuiIO PenPressure::Cfloat AppFocusLost::Bool AppAcceptingEvents::Bool - BackendUsingLegacyKeyArrays::ImS8 - BackendUsingLegacyNavInputArray::Bool InputQueueSurrogate::ImWchar16 InputQueueCharacters::ImVector_ImWchar end @@ -727,90 +793,100 @@ function Base.getproperty(x::Ptr{ImGuiIO}, f::Symbol) f === :FontAllowUserScaling && return Ptr{Bool}(x + 60) f === :FontDefault && return Ptr{Ptr{ImFont}}(x + 64) f === :DisplayFramebufferScale && return Ptr{ImVec2}(x + 72) - f === :ConfigDockingNoSplit && return Ptr{Bool}(x + 80) - f === :ConfigDockingWithShift && return Ptr{Bool}(x + 81) - f === :ConfigDockingAlwaysTabBar && return Ptr{Bool}(x + 82) - f === :ConfigDockingTransparentPayload && return Ptr{Bool}(x + 83) - f === :ConfigViewportsNoAutoMerge && return Ptr{Bool}(x + 84) - f === :ConfigViewportsNoTaskBarIcon && return Ptr{Bool}(x + 85) - f === :ConfigViewportsNoDecoration && return Ptr{Bool}(x + 86) - f === :ConfigViewportsNoDefaultParent && return Ptr{Bool}(x + 87) - f === :MouseDrawCursor && return Ptr{Bool}(x + 88) - f === :ConfigMacOSXBehaviors && return Ptr{Bool}(x + 89) - f === :ConfigNavSwapGamepadButtons && return Ptr{Bool}(x + 90) - f === :ConfigInputTrickleEventQueue && return Ptr{Bool}(x + 91) - f === :ConfigInputTextCursorBlink && return Ptr{Bool}(x + 92) - f === :ConfigInputTextEnterKeepActive && return Ptr{Bool}(x + 93) - f === :ConfigDragClickToInputText && return Ptr{Bool}(x + 94) - f === :ConfigWindowsResizeFromEdges && return Ptr{Bool}(x + 95) - f === :ConfigWindowsMoveFromTitleBarOnly && return Ptr{Bool}(x + 96) - f === :ConfigMemoryCompactTimer && return Ptr{Cfloat}(x + 100) - f === :MouseDoubleClickTime && return Ptr{Cfloat}(x + 104) - f === :MouseDoubleClickMaxDist && return Ptr{Cfloat}(x + 108) - f === :MouseDragThreshold && return Ptr{Cfloat}(x + 112) - f === :KeyRepeatDelay && return Ptr{Cfloat}(x + 116) - f === :KeyRepeatRate && return Ptr{Cfloat}(x + 120) - f === :ConfigDebugIsDebuggerPresent && return Ptr{Bool}(x + 124) - f === :ConfigDebugHighlightIdConflicts && return Ptr{Bool}(x + 125) - f === :ConfigDebugBeginReturnValueOnce && return Ptr{Bool}(x + 126) - f === :ConfigDebugBeginReturnValueLoop && return Ptr{Bool}(x + 127) - f === :ConfigDebugIgnoreFocusLoss && return Ptr{Bool}(x + 128) - f === :ConfigDebugIniSettings && return Ptr{Bool}(x + 129) - f === :BackendPlatformName && return Ptr{Ptr{Cchar}}(x + 136) - f === :BackendRendererName && return Ptr{Ptr{Cchar}}(x + 144) - f === :BackendPlatformUserData && return Ptr{Ptr{Cvoid}}(x + 152) - f === :BackendRendererUserData && return Ptr{Ptr{Cvoid}}(x + 160) - f === :BackendLanguageUserData && return Ptr{Ptr{Cvoid}}(x + 168) - f === :WantCaptureMouse && return Ptr{Bool}(x + 176) - f === :WantCaptureKeyboard && return Ptr{Bool}(x + 177) - f === :WantTextInput && return Ptr{Bool}(x + 178) - f === :WantSetMousePos && return Ptr{Bool}(x + 179) - f === :WantSaveIniSettings && return Ptr{Bool}(x + 180) - f === :NavActive && return Ptr{Bool}(x + 181) - f === :NavVisible && return Ptr{Bool}(x + 182) - f === :Framerate && return Ptr{Cfloat}(x + 184) - f === :MetricsRenderVertices && return Ptr{Cint}(x + 188) - f === :MetricsRenderIndices && return Ptr{Cint}(x + 192) - f === :MetricsRenderWindows && return Ptr{Cint}(x + 196) - f === :MetricsActiveWindows && return Ptr{Cint}(x + 200) - f === :MouseDelta && return Ptr{ImVec2}(x + 204) - f === :Ctx && return Ptr{Ptr{ImGuiContext}}(x + 216) - f === :MousePos && return Ptr{ImVec2}(x + 224) - f === :MouseDown && return Ptr{NTuple{5, Bool}}(x + 232) - f === :MouseWheel && return Ptr{Cfloat}(x + 240) - f === :MouseWheelH && return Ptr{Cfloat}(x + 244) - f === :MouseSource && return Ptr{ImGuiMouseSource}(x + 248) - f === :MouseHoveredViewport && return Ptr{ImGuiID}(x + 252) - f === :KeyCtrl && return Ptr{Bool}(x + 256) - f === :KeyShift && return Ptr{Bool}(x + 257) - f === :KeyAlt && return Ptr{Bool}(x + 258) - f === :KeySuper && return Ptr{Bool}(x + 259) - f === :KeyMods && return Ptr{ImGuiKeyChord}(x + 260) - f === :KeysData && return Ptr{NTuple{154, ImGuiKeyData}}(x + 264) - f === :WantCaptureMouseUnlessPopupClose && return Ptr{Bool}(x + 2728) - f === :MousePosPrev && return Ptr{ImVec2}(x + 2732) - f === :MouseClickedPos && return Ptr{NTuple{5, ImVec2}}(x + 2740) - f === :MouseClickedTime && return Ptr{NTuple{5, Cdouble}}(x + 2784) - f === :MouseClicked && return Ptr{NTuple{5, Bool}}(x + 2824) - f === :MouseDoubleClicked && return Ptr{NTuple{5, Bool}}(x + 2829) - f === :MouseClickedCount && return Ptr{NTuple{5, ImU16}}(x + 2834) - f === :MouseClickedLastCount && return Ptr{NTuple{5, ImU16}}(x + 2844) - f === :MouseReleased && return Ptr{NTuple{5, Bool}}(x + 2854) - f === :MouseDownOwned && return Ptr{NTuple{5, Bool}}(x + 2859) - f === :MouseDownOwnedUnlessPopupClose && return Ptr{NTuple{5, Bool}}(x + 2864) - f === :MouseWheelRequestAxisSwap && return Ptr{Bool}(x + 2869) - f === :MouseCtrlLeftAsRightClick && return Ptr{Bool}(x + 2870) - f === :MouseDownDuration && return Ptr{NTuple{5, Cfloat}}(x + 2872) - f === :MouseDownDurationPrev && return Ptr{NTuple{5, Cfloat}}(x + 2892) - f === :MouseDragMaxDistanceAbs && return Ptr{NTuple{5, ImVec2}}(x + 2912) - f === :MouseDragMaxDistanceSqr && return Ptr{NTuple{5, Cfloat}}(x + 2952) - f === :PenPressure && return Ptr{Cfloat}(x + 2972) - f === :AppFocusLost && return Ptr{Bool}(x + 2976) - f === :AppAcceptingEvents && return Ptr{Bool}(x + 2977) - f === :BackendUsingLegacyKeyArrays && return Ptr{ImS8}(x + 2978) - f === :BackendUsingLegacyNavInputArray && return Ptr{Bool}(x + 2979) - f === :InputQueueSurrogate && return Ptr{ImWchar16}(x + 2980) - f === :InputQueueCharacters && return Ptr{ImVector_ImWchar}(x + 2984) + f === :ConfigNavSwapGamepadButtons && return Ptr{Bool}(x + 80) + f === :ConfigNavMoveSetMousePos && return Ptr{Bool}(x + 81) + f === :ConfigNavCaptureKeyboard && return Ptr{Bool}(x + 82) + f === :ConfigNavEscapeClearFocusItem && return Ptr{Bool}(x + 83) + f === :ConfigNavEscapeClearFocusWindow && return Ptr{Bool}(x + 84) + f === :ConfigNavCursorVisibleAuto && return Ptr{Bool}(x + 85) + f === :ConfigNavCursorVisibleAlways && return Ptr{Bool}(x + 86) + f === :ConfigDockingNoSplit && return Ptr{Bool}(x + 87) + f === :ConfigDockingWithShift && return Ptr{Bool}(x + 88) + f === :ConfigDockingAlwaysTabBar && return Ptr{Bool}(x + 89) + f === :ConfigDockingTransparentPayload && return Ptr{Bool}(x + 90) + f === :ConfigViewportsNoAutoMerge && return Ptr{Bool}(x + 91) + f === :ConfigViewportsNoTaskBarIcon && return Ptr{Bool}(x + 92) + f === :ConfigViewportsNoDecoration && return Ptr{Bool}(x + 93) + f === :ConfigViewportsNoDefaultParent && return Ptr{Bool}(x + 94) + f === :MouseDrawCursor && return Ptr{Bool}(x + 95) + f === :ConfigMacOSXBehaviors && return Ptr{Bool}(x + 96) + f === :ConfigInputTrickleEventQueue && return Ptr{Bool}(x + 97) + f === :ConfigInputTextCursorBlink && return Ptr{Bool}(x + 98) + f === :ConfigInputTextEnterKeepActive && return Ptr{Bool}(x + 99) + f === :ConfigDragClickToInputText && return Ptr{Bool}(x + 100) + f === :ConfigWindowsResizeFromEdges && return Ptr{Bool}(x + 101) + f === :ConfigWindowsMoveFromTitleBarOnly && return Ptr{Bool}(x + 102) + f === :ConfigWindowsCopyContentsWithCtrlC && return Ptr{Bool}(x + 103) + f === :ConfigScrollbarScrollByPage && return Ptr{Bool}(x + 104) + f === :ConfigMemoryCompactTimer && return Ptr{Cfloat}(x + 108) + f === :MouseDoubleClickTime && return Ptr{Cfloat}(x + 112) + f === :MouseDoubleClickMaxDist && return Ptr{Cfloat}(x + 116) + f === :MouseDragThreshold && return Ptr{Cfloat}(x + 120) + f === :KeyRepeatDelay && return Ptr{Cfloat}(x + 124) + f === :KeyRepeatRate && return Ptr{Cfloat}(x + 128) + f === :ConfigErrorRecovery && return Ptr{Bool}(x + 132) + f === :ConfigErrorRecoveryEnableAssert && return Ptr{Bool}(x + 133) + f === :ConfigErrorRecoveryEnableDebugLog && return Ptr{Bool}(x + 134) + f === :ConfigErrorRecoveryEnableTooltip && return Ptr{Bool}(x + 135) + f === :ConfigDebugIsDebuggerPresent && return Ptr{Bool}(x + 136) + f === :ConfigDebugHighlightIdConflicts && return Ptr{Bool}(x + 137) + f === :ConfigDebugBeginReturnValueOnce && return Ptr{Bool}(x + 138) + f === :ConfigDebugBeginReturnValueLoop && return Ptr{Bool}(x + 139) + f === :ConfigDebugIgnoreFocusLoss && return Ptr{Bool}(x + 140) + f === :ConfigDebugIniSettings && return Ptr{Bool}(x + 141) + f === :BackendPlatformName && return Ptr{Ptr{Cchar}}(x + 144) + f === :BackendRendererName && return Ptr{Ptr{Cchar}}(x + 152) + f === :BackendPlatformUserData && return Ptr{Ptr{Cvoid}}(x + 160) + f === :BackendRendererUserData && return Ptr{Ptr{Cvoid}}(x + 168) + f === :BackendLanguageUserData && return Ptr{Ptr{Cvoid}}(x + 176) + f === :WantCaptureMouse && return Ptr{Bool}(x + 184) + f === :WantCaptureKeyboard && return Ptr{Bool}(x + 185) + f === :WantTextInput && return Ptr{Bool}(x + 186) + f === :WantSetMousePos && return Ptr{Bool}(x + 187) + f === :WantSaveIniSettings && return Ptr{Bool}(x + 188) + f === :NavActive && return Ptr{Bool}(x + 189) + f === :NavVisible && return Ptr{Bool}(x + 190) + f === :Framerate && return Ptr{Cfloat}(x + 192) + f === :MetricsRenderVertices && return Ptr{Cint}(x + 196) + f === :MetricsRenderIndices && return Ptr{Cint}(x + 200) + f === :MetricsRenderWindows && return Ptr{Cint}(x + 204) + f === :MetricsActiveWindows && return Ptr{Cint}(x + 208) + f === :MouseDelta && return Ptr{ImVec2}(x + 212) + f === :Ctx && return Ptr{Ptr{ImGuiContext}}(x + 224) + f === :MousePos && return Ptr{ImVec2}(x + 232) + f === :MouseDown && return Ptr{NTuple{5, Bool}}(x + 240) + f === :MouseWheel && return Ptr{Cfloat}(x + 248) + f === :MouseWheelH && return Ptr{Cfloat}(x + 252) + f === :MouseSource && return Ptr{ImGuiMouseSource}(x + 256) + f === :MouseHoveredViewport && return Ptr{ImGuiID}(x + 260) + f === :KeyCtrl && return Ptr{Bool}(x + 264) + f === :KeyShift && return Ptr{Bool}(x + 265) + f === :KeyAlt && return Ptr{Bool}(x + 266) + f === :KeySuper && return Ptr{Bool}(x + 267) + f === :KeyMods && return Ptr{ImGuiKeyChord}(x + 268) + f === :KeysData && return Ptr{NTuple{154, ImGuiKeyData}}(x + 272) + f === :WantCaptureMouseUnlessPopupClose && return Ptr{Bool}(x + 2736) + f === :MousePosPrev && return Ptr{ImVec2}(x + 2740) + f === :MouseClickedPos && return Ptr{NTuple{5, ImVec2}}(x + 2748) + f === :MouseClickedTime && return Ptr{NTuple{5, Cdouble}}(x + 2792) + f === :MouseClicked && return Ptr{NTuple{5, Bool}}(x + 2832) + f === :MouseDoubleClicked && return Ptr{NTuple{5, Bool}}(x + 2837) + f === :MouseClickedCount && return Ptr{NTuple{5, ImU16}}(x + 2842) + f === :MouseClickedLastCount && return Ptr{NTuple{5, ImU16}}(x + 2852) + f === :MouseReleased && return Ptr{NTuple{5, Bool}}(x + 2862) + f === :MouseDownOwned && return Ptr{NTuple{5, Bool}}(x + 2867) + f === :MouseDownOwnedUnlessPopupClose && return Ptr{NTuple{5, Bool}}(x + 2872) + f === :MouseWheelRequestAxisSwap && return Ptr{Bool}(x + 2877) + f === :MouseCtrlLeftAsRightClick && return Ptr{Bool}(x + 2878) + f === :MouseDownDuration && return Ptr{NTuple{5, Cfloat}}(x + 2880) + f === :MouseDownDurationPrev && return Ptr{NTuple{5, Cfloat}}(x + 2900) + f === :MouseDragMaxDistanceAbs && return Ptr{NTuple{5, ImVec2}}(x + 2920) + f === :MouseDragMaxDistanceSqr && return Ptr{NTuple{5, Cfloat}}(x + 2960) + f === :PenPressure && return Ptr{Cfloat}(x + 2980) + f === :AppFocusLost && return Ptr{Bool}(x + 2984) + f === :AppAcceptingEvents && return Ptr{Bool}(x + 2985) + f === :InputQueueSurrogate && return Ptr{ImWchar16}(x + 2986) + f === :InputQueueCharacters && return Ptr{ImVector_ImWchar}(x + 2992) return getfield(x, f) end @@ -862,6 +938,7 @@ struct ImGuiPlatformIO Platform_SetImeDataFn::Ptr{Cvoid} Platform_ImeUserData::Ptr{Cvoid} Platform_LocaleDecimalPoint::ImWchar + Renderer_RenderState::Ptr{Cvoid} Platform_CreateWindow::Ptr{Cvoid} Platform_DestroyWindow::Ptr{Cvoid} Platform_ShowWindow::Ptr{Cvoid} @@ -898,32 +975,33 @@ function Base.getproperty(x::Ptr{ImGuiPlatformIO}, f::Symbol) f === :Platform_SetImeDataFn && return Ptr{Ptr{Cvoid}}(x + 40) f === :Platform_ImeUserData && return Ptr{Ptr{Cvoid}}(x + 48) f === :Platform_LocaleDecimalPoint && return Ptr{ImWchar}(x + 56) - f === :Platform_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 64) - f === :Platform_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 72) - f === :Platform_ShowWindow && return Ptr{Ptr{Cvoid}}(x + 80) - f === :Platform_SetWindowPos && return Ptr{Ptr{Cvoid}}(x + 88) - f === :Platform_GetWindowPos && return Ptr{Ptr{Cvoid}}(x + 96) - f === :Platform_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 104) - f === :Platform_GetWindowSize && return Ptr{Ptr{Cvoid}}(x + 112) - f === :Platform_SetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 120) - f === :Platform_GetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 128) - f === :Platform_GetWindowMinimized && return Ptr{Ptr{Cvoid}}(x + 136) - f === :Platform_SetWindowTitle && return Ptr{Ptr{Cvoid}}(x + 144) - f === :Platform_SetWindowAlpha && return Ptr{Ptr{Cvoid}}(x + 152) - f === :Platform_UpdateWindow && return Ptr{Ptr{Cvoid}}(x + 160) - f === :Platform_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 168) - f === :Platform_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 176) - f === :Platform_GetWindowDpiScale && return Ptr{Ptr{Cvoid}}(x + 184) - f === :Platform_OnChangedViewport && return Ptr{Ptr{Cvoid}}(x + 192) - f === :Platform_GetWindowWorkAreaInsets && return Ptr{Ptr{Cvoid}}(x + 200) - f === :Platform_CreateVkSurface && return Ptr{Ptr{Cvoid}}(x + 208) - f === :Renderer_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 216) - f === :Renderer_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 224) - f === :Renderer_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 232) - f === :Renderer_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 240) - f === :Renderer_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 248) - f === :Monitors && return Ptr{ImVector_ImGuiPlatformMonitor}(x + 256) - f === :Viewports && return Ptr{ImVector_ImGuiViewportPtr}(x + 272) + f === :Renderer_RenderState && return Ptr{Ptr{Cvoid}}(x + 64) + f === :Platform_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 72) + f === :Platform_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 80) + f === :Platform_ShowWindow && return Ptr{Ptr{Cvoid}}(x + 88) + f === :Platform_SetWindowPos && return Ptr{Ptr{Cvoid}}(x + 96) + f === :Platform_GetWindowPos && return Ptr{Ptr{Cvoid}}(x + 104) + f === :Platform_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 112) + f === :Platform_GetWindowSize && return Ptr{Ptr{Cvoid}}(x + 120) + f === :Platform_SetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 128) + f === :Platform_GetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 136) + f === :Platform_GetWindowMinimized && return Ptr{Ptr{Cvoid}}(x + 144) + f === :Platform_SetWindowTitle && return Ptr{Ptr{Cvoid}}(x + 152) + f === :Platform_SetWindowAlpha && return Ptr{Ptr{Cvoid}}(x + 160) + f === :Platform_UpdateWindow && return Ptr{Ptr{Cvoid}}(x + 168) + f === :Platform_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 176) + f === :Platform_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 184) + f === :Platform_GetWindowDpiScale && return Ptr{Ptr{Cvoid}}(x + 192) + f === :Platform_OnChangedViewport && return Ptr{Ptr{Cvoid}}(x + 200) + f === :Platform_GetWindowWorkAreaInsets && return Ptr{Ptr{Cvoid}}(x + 208) + f === :Platform_CreateVkSurface && return Ptr{Ptr{Cvoid}}(x + 216) + f === :Renderer_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 224) + f === :Renderer_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 232) + f === :Renderer_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 240) + f === :Renderer_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 248) + f === :Renderer_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 256) + f === :Monitors && return Ptr{ImVector_ImGuiPlatformMonitor}(x + 264) + f === :Viewports && return Ptr{ImVector_ImGuiViewportPtr}(x + 280) return getfield(x, f) end @@ -1185,6 +1263,8 @@ function Base.getproperty(x::ImGuiViewportP, f::Symbol) return getfield(x, f) end +const ImS8 = Int8 + const ImGuiCond = Cint struct ImVector_ImGuiID @@ -1395,6 +1475,7 @@ struct ImGuiTextBuffer end struct ImGuiTabBar + Window::Ptr{Cvoid} # Window::Ptr{ImGuiWindow} Tabs::ImVector_ImGuiTabItem Flags::ImGuiTabBarFlags ID::ImGuiID @@ -1430,6 +1511,11 @@ struct ImGuiTabBar TabsNames::ImGuiTextBuffer end +function Base.getproperty(x::ImGuiTabBar, f::Symbol) + f === :Window && return Ptr{ImGuiWindow}(getfield(x, f)) + return getfield(x, f) +end + @cenum ImGuiAxis::Int32 begin ImGuiAxis_None = -1 ImGuiAxis_X = 0 @@ -1534,7 +1620,7 @@ end const ImGuiItemStatusFlags = Cint struct ImGuiWindow - data::NTuple{1168, UInt8} + data::NTuple{1184, UInt8} end function Base.getproperty(x::Ptr{ImGuiWindow}, f::Symbol) @@ -1635,33 +1721,33 @@ function Base.getproperty(x::Ptr{ImGuiWindow}, f::Symbol) f === :SettingsOffset && return Ptr{Cint}(x + 736) f === :DrawList && return Ptr{Ptr{ImDrawList}}(x + 744) f === :DrawListInst && return Ptr{ImDrawList}(x + 752) - f === :ParentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 952) - f === :ParentWindowInBeginStack && return Ptr{Ptr{ImGuiWindow}}(x + 960) - f === :RootWindow && return Ptr{Ptr{ImGuiWindow}}(x + 968) - f === :RootWindowPopupTree && return Ptr{Ptr{ImGuiWindow}}(x + 976) - f === :RootWindowDockTree && return Ptr{Ptr{ImGuiWindow}}(x + 984) - f === :RootWindowForTitleBarHighlight && return Ptr{Ptr{ImGuiWindow}}(x + 992) - f === :RootWindowForNav && return Ptr{Ptr{ImGuiWindow}}(x + 1000) - f === :ParentWindowForFocusRoute && return Ptr{Ptr{ImGuiWindow}}(x + 1008) - f === :NavLastChildNavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 1016) - f === :NavLastIds && return Ptr{NTuple{2, ImGuiID}}(x + 1024) - f === :NavRectRel && return Ptr{NTuple{2, ImRect}}(x + 1032) - f === :NavPreferredScoringPosRel && return Ptr{NTuple{2, ImVec2}}(x + 1064) - f === :NavRootFocusScopeId && return Ptr{ImGuiID}(x + 1080) - f === :MemoryDrawListIdxCapacity && return Ptr{Cint}(x + 1084) - f === :MemoryDrawListVtxCapacity && return Ptr{Cint}(x + 1088) - f === :MemoryCompacted && return Ptr{Bool}(x + 1092) - f === :DockIsActive && return (Ptr{Bool}(x + 1092), 8, 1) - f === :DockNodeIsVisible && return (Ptr{Bool}(x + 1092), 9, 1) - f === :DockTabIsVisible && return (Ptr{Bool}(x + 1092), 10, 1) - f === :DockTabWantClose && return (Ptr{Bool}(x + 1092), 11, 1) - f === :DockOrder && return Ptr{Cshort}(x + 1094) - f === :DockStyle && return Ptr{ImGuiWindowDockStyle}(x + 1096) - f === :DockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 1128) - f === :DockNodeAsHost && return Ptr{Ptr{ImGuiDockNode}}(x + 1136) - f === :DockId && return Ptr{ImGuiID}(x + 1144) - f === :DockTabItemStatusFlags && return Ptr{ImGuiItemStatusFlags}(x + 1148) - f === :DockTabItemRect && return Ptr{ImRect}(x + 1152) + f === :ParentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 968) + f === :ParentWindowInBeginStack && return Ptr{Ptr{ImGuiWindow}}(x + 976) + f === :RootWindow && return Ptr{Ptr{ImGuiWindow}}(x + 984) + f === :RootWindowPopupTree && return Ptr{Ptr{ImGuiWindow}}(x + 992) + f === :RootWindowDockTree && return Ptr{Ptr{ImGuiWindow}}(x + 1000) + f === :RootWindowForTitleBarHighlight && return Ptr{Ptr{ImGuiWindow}}(x + 1008) + f === :RootWindowForNav && return Ptr{Ptr{ImGuiWindow}}(x + 1016) + f === :ParentWindowForFocusRoute && return Ptr{Ptr{ImGuiWindow}}(x + 1024) + f === :NavLastChildNavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 1032) + f === :NavLastIds && return Ptr{NTuple{2, ImGuiID}}(x + 1040) + f === :NavRectRel && return Ptr{NTuple{2, ImRect}}(x + 1048) + f === :NavPreferredScoringPosRel && return Ptr{NTuple{2, ImVec2}}(x + 1080) + f === :NavRootFocusScopeId && return Ptr{ImGuiID}(x + 1096) + f === :MemoryDrawListIdxCapacity && return Ptr{Cint}(x + 1100) + f === :MemoryDrawListVtxCapacity && return Ptr{Cint}(x + 1104) + f === :MemoryCompacted && return Ptr{Bool}(x + 1108) + f === :DockIsActive && return (Ptr{Bool}(x + 1108), 8, 1) + f === :DockNodeIsVisible && return (Ptr{Bool}(x + 1108), 9, 1) + f === :DockTabIsVisible && return (Ptr{Bool}(x + 1108), 10, 1) + f === :DockTabWantClose && return (Ptr{Bool}(x + 1108), 11, 1) + f === :DockOrder && return Ptr{Cshort}(x + 1110) + f === :DockStyle && return Ptr{ImGuiWindowDockStyle}(x + 1112) + f === :DockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 1144) + f === :DockNodeAsHost && return Ptr{Ptr{ImGuiDockNode}}(x + 1152) + f === :DockId && return Ptr{ImGuiID}(x + 1160) + f === :DockTabItemStatusFlags && return Ptr{ImGuiItemStatusFlags}(x + 1164) + f === :DockTabItemRect && return Ptr{ImRect}(x + 1168) return getfield(x, f) end @@ -1712,7 +1798,7 @@ const ImGuiItemFlags = Cint struct ImGuiLastItemData ID::ImGuiID - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags StatusFlags::ImGuiItemStatusFlags Rect::ImRect NavRect::ImRect @@ -1721,8 +1807,10 @@ struct ImGuiLastItemData Shortcut::ImGuiKeyChord end -struct ImGuiStackSizes +struct ImGuiErrorRecoveryState + SizeOfWindowStack::Cshort SizeOfIDStack::Cshort + SizeOfTreeStack::Cshort SizeOfColorStack::Cshort SizeOfStyleVarStack::Cshort SizeOfFontStack::Cshort @@ -1736,7 +1824,7 @@ end struct ImGuiWindowStackData Window::Ptr{ImGuiWindow} ParentLastItemDataBackup::ImGuiLastItemData - StackSizesOnBegin::ImGuiStackSizes + StackSizesInBegin::ImGuiErrorRecoveryState DisabledOverrideReenable::Bool end @@ -1795,7 +1883,7 @@ struct ImGuiDataTypeStorage end struct ImGuiNextItemData - Flags::ImGuiNextItemDataFlags + HasFlags::ImGuiNextItemDataFlags ItemFlags::ImGuiItemFlags FocusScopeId::ImGuiID SelectionUserData::ImGuiSelectionUserData @@ -1944,7 +2032,7 @@ const ImGuiTreeNodeFlags = Cint struct ImGuiTreeNodeStackData ID::ImGuiID TreeFlags::ImGuiTreeNodeFlags - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags NavRect::ImRect end @@ -1967,7 +2055,7 @@ struct ImGuiNavItemData ID::ImGuiID FocusScopeId::ImGuiID RectRel::ImRect - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags DistBox::Cfloat DistCenter::Cfloat DistAxial::Cfloat @@ -1980,6 +2068,7 @@ const ImGuiScrollFlags = Cint @cenum ImGuiKey::UInt32 begin ImGuiKey_None = 0 + ImGuiKey_NamedKey_BEGIN = 512 ImGuiKey_Tab = 512 ImGuiKey_LeftArrow = 513 ImGuiKey_RightArrow = 514 @@ -2134,18 +2223,14 @@ const ImGuiScrollFlags = Cint ImGuiKey_ReservedForModShift = 663 ImGuiKey_ReservedForModAlt = 664 ImGuiKey_ReservedForModSuper = 665 - ImGuiKey_COUNT = 666 + ImGuiKey_NamedKey_END = 666 ImGuiMod_None = 0 ImGuiMod_Ctrl = 4096 ImGuiMod_Shift = 8192 ImGuiMod_Alt = 16384 ImGuiMod_Super = 32768 ImGuiMod_Mask_ = 61440 - ImGuiKey_NamedKey_BEGIN = 512 - ImGuiKey_NamedKey_END = 666 ImGuiKey_NamedKey_COUNT = 154 - ImGuiKey_KeysData_SIZE = 154 - ImGuiKey_KeysData_OFFSET = 512 end const ImGuiDragDropFlags = Cint @@ -2800,11 +2885,11 @@ struct ImGuiInputTextState Ctx::Ptr{Cvoid} # Ctx::Ptr{ImGuiContext} Stb::Ptr{ImStbTexteditState} ID::ImGuiID - CurLenA::Cint + TextLen::Cint TextA::ImVector_char - InitialTextA::ImVector_char + TextToRevertTo::ImVector_char CallbackTextBackup::ImVector_char - BufCapacityA::Cint + BufCapacity::Cint Scroll::ImVec2 CursorAnim::Cfloat CursorFollow::Bool @@ -2940,16 +3025,13 @@ struct ImVector_ImGuiContextHook Data::Ptr{ImGuiContextHook} end -@cenum ImGuiLogType::UInt32 begin - ImGuiLogType_None = 0 - ImGuiLogType_TTY = 1 - ImGuiLogType_File = 2 - ImGuiLogType_Buffer = 3 - ImGuiLogType_Clipboard = 4 -end +const ImGuiLogFlags = Cint const ImFileHandle = Ptr{Libc.FILE} +# typedef void ( * ImGuiErrorCallback ) ( ImGuiContext * ctx , void * user_data , const char * msg ) +const ImGuiErrorCallback = Ptr{Cvoid} + const ImGuiDebugLogFlags = Cint struct ImVector_int @@ -3067,313 +3149,324 @@ struct ImGuiDebugAllocInfo end struct ImGuiContext - data::NTuple{10920, UInt8} + data::NTuple{11016, UInt8} end function Base.getproperty(x::Ptr{ImGuiContext}, f::Symbol) f === :Initialized && return Ptr{Bool}(x + 0) f === :FontAtlasOwnedByContext && return Ptr{Bool}(x + 1) f === :IO && return Ptr{ImGuiIO}(x + 8) - f === :PlatformIO && return Ptr{ImGuiPlatformIO}(x + 3008) - f === :Style && return Ptr{ImGuiStyle}(x + 3296) - f === :ConfigFlagsCurrFrame && return Ptr{ImGuiConfigFlags}(x + 4488) - f === :ConfigFlagsLastFrame && return Ptr{ImGuiConfigFlags}(x + 4492) - f === :Font && return Ptr{Ptr{ImFont}}(x + 4496) - f === :FontSize && return Ptr{Cfloat}(x + 4504) - f === :FontBaseSize && return Ptr{Cfloat}(x + 4508) - f === :FontScale && return Ptr{Cfloat}(x + 4512) - f === :CurrentDpiScale && return Ptr{Cfloat}(x + 4516) - f === :DrawListSharedData && return Ptr{ImDrawListSharedData}(x + 4520) - f === :Time && return Ptr{Cdouble}(x + 5056) - f === :FrameCount && return Ptr{Cint}(x + 5064) - f === :FrameCountEnded && return Ptr{Cint}(x + 5068) - f === :FrameCountPlatformEnded && return Ptr{Cint}(x + 5072) - f === :FrameCountRendered && return Ptr{Cint}(x + 5076) - f === :WithinFrameScope && return Ptr{Bool}(x + 5080) - f === :WithinFrameScopeWithImplicitWindow && return Ptr{Bool}(x + 5081) - f === :WithinEndChild && return Ptr{Bool}(x + 5082) - f === :GcCompactAll && return Ptr{Bool}(x + 5083) - f === :TestEngineHookItems && return Ptr{Bool}(x + 5084) - f === :TestEngine && return Ptr{Ptr{Cvoid}}(x + 5088) - f === :ContextName && return Ptr{NTuple{16, Cchar}}(x + 5096) - f === :InputEventsQueue && return Ptr{ImVector_ImGuiInputEvent}(x + 5112) - f === :InputEventsTrail && return Ptr{ImVector_ImGuiInputEvent}(x + 5128) - f === :InputEventsNextMouseSource && return Ptr{ImGuiMouseSource}(x + 5144) - f === :InputEventsNextEventId && return Ptr{ImU32}(x + 5148) - f === :Windows && return Ptr{ImVector_ImGuiWindowPtr}(x + 5152) - f === :WindowsFocusOrder && return Ptr{ImVector_ImGuiWindowPtr}(x + 5168) - f === :WindowsTempSortBuffer && return Ptr{ImVector_ImGuiWindowPtr}(x + 5184) - f === :CurrentWindowStack && return Ptr{ImVector_ImGuiWindowStackData}(x + 5200) - f === :WindowsById && return Ptr{ImGuiStorage}(x + 5216) - f === :WindowsActiveCount && return Ptr{Cint}(x + 5232) - f === :WindowsHoverPadding && return Ptr{ImVec2}(x + 5236) - f === :DebugBreakInWindow && return Ptr{ImGuiID}(x + 5244) - f === :CurrentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5248) - f === :HoveredWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5256) - f === :HoveredWindowUnderMovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5264) - f === :HoveredWindowBeforeClear && return Ptr{Ptr{ImGuiWindow}}(x + 5272) - f === :MovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5280) - f === :WheelingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5288) - f === :WheelingWindowRefMousePos && return Ptr{ImVec2}(x + 5296) - f === :WheelingWindowStartFrame && return Ptr{Cint}(x + 5304) - f === :WheelingWindowScrolledFrame && return Ptr{Cint}(x + 5308) - f === :WheelingWindowReleaseTimer && return Ptr{Cfloat}(x + 5312) - f === :WheelingWindowWheelRemainder && return Ptr{ImVec2}(x + 5316) - f === :WheelingAxisAvg && return Ptr{ImVec2}(x + 5324) - f === :DebugDrawIdConflicts && return Ptr{ImGuiID}(x + 5332) - f === :DebugHookIdInfo && return Ptr{ImGuiID}(x + 5336) - f === :HoveredId && return Ptr{ImGuiID}(x + 5340) - f === :HoveredIdPreviousFrame && return Ptr{ImGuiID}(x + 5344) - f === :HoveredIdPreviousFrameItemCount && return Ptr{Cint}(x + 5348) - f === :HoveredIdTimer && return Ptr{Cfloat}(x + 5352) - f === :HoveredIdNotActiveTimer && return Ptr{Cfloat}(x + 5356) - f === :HoveredIdAllowOverlap && return Ptr{Bool}(x + 5360) - f === :HoveredIdIsDisabled && return Ptr{Bool}(x + 5361) - f === :ItemUnclipByLog && return Ptr{Bool}(x + 5362) - f === :ActiveId && return Ptr{ImGuiID}(x + 5364) - f === :ActiveIdIsAlive && return Ptr{ImGuiID}(x + 5368) - f === :ActiveIdTimer && return Ptr{Cfloat}(x + 5372) - f === :ActiveIdIsJustActivated && return Ptr{Bool}(x + 5376) - f === :ActiveIdAllowOverlap && return Ptr{Bool}(x + 5377) - f === :ActiveIdNoClearOnFocusLoss && return Ptr{Bool}(x + 5378) - f === :ActiveIdHasBeenPressedBefore && return Ptr{Bool}(x + 5379) - f === :ActiveIdHasBeenEditedBefore && return Ptr{Bool}(x + 5380) - f === :ActiveIdHasBeenEditedThisFrame && return Ptr{Bool}(x + 5381) - f === :ActiveIdFromShortcut && return Ptr{Bool}(x + 5382) - f === :ActiveIdMouseButton && return (Ptr{Cint}(x + 5380), 24, 8) - f === :ActiveIdClickOffset && return Ptr{ImVec2}(x + 5384) - f === :ActiveIdWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5392) - f === :ActiveIdSource && return Ptr{ImGuiInputSource}(x + 5400) - f === :ActiveIdPreviousFrame && return Ptr{ImGuiID}(x + 5404) - f === :ActiveIdPreviousFrameIsAlive && return Ptr{Bool}(x + 5408) - f === :ActiveIdPreviousFrameHasBeenEditedBefore && return Ptr{Bool}(x + 5409) - f === :ActiveIdPreviousFrameWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5416) - f === :LastActiveId && return Ptr{ImGuiID}(x + 5424) - f === :LastActiveIdTimer && return Ptr{Cfloat}(x + 5428) - f === :LastKeyModsChangeTime && return Ptr{Cdouble}(x + 5432) - f === :LastKeyModsChangeFromNoneTime && return Ptr{Cdouble}(x + 5440) - f === :LastKeyboardKeyPressTime && return Ptr{Cdouble}(x + 5448) - f === :KeysMayBeCharInput && return Ptr{ImBitArrayForNamedKeys}(x + 5456) - f === :KeysOwnerData && return Ptr{NTuple{154, ImGuiKeyOwnerData}}(x + 5476) - f === :KeysRoutingTable && return Ptr{ImGuiKeyRoutingTable}(x + 7328) - f === :ActiveIdUsingNavDirMask && return Ptr{ImU32}(x + 7672) - f === :ActiveIdUsingAllKeyboardKeys && return Ptr{Bool}(x + 7676) - f === :DebugBreakInShortcutRouting && return Ptr{ImGuiKeyChord}(x + 7680) - f === :CurrentFocusScopeId && return Ptr{ImGuiID}(x + 7684) - f === :CurrentItemFlags && return Ptr{ImGuiItemFlags}(x + 7688) - f === :DebugLocateId && return Ptr{ImGuiID}(x + 7692) - f === :NextItemData && return Ptr{ImGuiNextItemData}(x + 7696) - f === :LastItemData && return Ptr{ImGuiLastItemData}(x + 7752) - f === :NextWindowData && return Ptr{ImGuiNextWindowData}(x + 7832) - f === :DebugShowGroupRects && return Ptr{Bool}(x + 7992) - f === :DebugFlashStyleColorIdx && return Ptr{ImGuiCol}(x + 7996) - f === :ColorStack && return Ptr{ImVector_ImGuiColorMod}(x + 8000) - f === :StyleVarStack && return Ptr{ImVector_ImGuiStyleMod}(x + 8016) - f === :FontStack && return Ptr{ImVector_ImFontPtr}(x + 8032) - f === :FocusScopeStack && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8048) - f === :ItemFlagsStack && return Ptr{ImVector_ImGuiItemFlags}(x + 8064) - f === :GroupStack && return Ptr{ImVector_ImGuiGroupData}(x + 8080) - f === :OpenPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8096) - f === :BeginPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8112) - f === :TreeNodeStack && return Ptr{ImVector_ImGuiTreeNodeStackData}(x + 8128) - f === :Viewports && return Ptr{ImVector_ImGuiViewportPPtr}(x + 8144) - f === :CurrentViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8160) - f === :MouseViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8168) - f === :MouseLastHoveredViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8176) - f === :PlatformLastFocusedViewportId && return Ptr{ImGuiID}(x + 8184) - f === :FallbackMonitor && return Ptr{ImGuiPlatformMonitor}(x + 8192) - f === :PlatformMonitorsFullWorkRect && return Ptr{ImRect}(x + 8240) - f === :ViewportCreatedCount && return Ptr{Cint}(x + 8256) - f === :PlatformWindowsCreatedCount && return Ptr{Cint}(x + 8260) - f === :ViewportFocusedStampCount && return Ptr{Cint}(x + 8264) - f === :NavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8272) - f === :NavId && return Ptr{ImGuiID}(x + 8280) - f === :NavFocusScopeId && return Ptr{ImGuiID}(x + 8284) - f === :NavLayer && return Ptr{ImGuiNavLayer}(x + 8288) - f === :NavActivateId && return Ptr{ImGuiID}(x + 8292) - f === :NavActivateDownId && return Ptr{ImGuiID}(x + 8296) - f === :NavActivatePressedId && return Ptr{ImGuiID}(x + 8300) - f === :NavActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8304) - f === :NavFocusRoute && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8312) - f === :NavHighlightActivatedId && return Ptr{ImGuiID}(x + 8328) - f === :NavHighlightActivatedTimer && return Ptr{Cfloat}(x + 8332) - f === :NavNextActivateId && return Ptr{ImGuiID}(x + 8336) - f === :NavNextActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8340) - f === :NavInputSource && return Ptr{ImGuiInputSource}(x + 8344) - f === :NavLastValidSelectionUserData && return Ptr{ImGuiSelectionUserData}(x + 8352) - f === :NavIdIsAlive && return Ptr{Bool}(x + 8360) - f === :NavMousePosDirty && return Ptr{Bool}(x + 8361) - f === :NavDisableHighlight && return Ptr{Bool}(x + 8362) - f === :NavDisableMouseHover && return Ptr{Bool}(x + 8363) - f === :NavAnyRequest && return Ptr{Bool}(x + 8364) - f === :NavInitRequest && return Ptr{Bool}(x + 8365) - f === :NavInitRequestFromMove && return Ptr{Bool}(x + 8366) - f === :NavInitResult && return Ptr{ImGuiNavItemData}(x + 8368) - f === :NavMoveSubmitted && return Ptr{Bool}(x + 8424) - f === :NavMoveScoringItems && return Ptr{Bool}(x + 8425) - f === :NavMoveForwardToNextFrame && return Ptr{Bool}(x + 8426) - f === :NavMoveFlags && return Ptr{ImGuiNavMoveFlags}(x + 8428) - f === :NavMoveScrollFlags && return Ptr{ImGuiScrollFlags}(x + 8432) - f === :NavMoveKeyMods && return Ptr{ImGuiKeyChord}(x + 8436) - f === :NavMoveDir && return Ptr{ImGuiDir}(x + 8440) - f === :NavMoveDirForDebug && return Ptr{ImGuiDir}(x + 8444) - f === :NavMoveClipDir && return Ptr{ImGuiDir}(x + 8448) - f === :NavScoringRect && return Ptr{ImRect}(x + 8452) - f === :NavScoringNoClipRect && return Ptr{ImRect}(x + 8468) - f === :NavScoringDebugCount && return Ptr{Cint}(x + 8484) - f === :NavTabbingDir && return Ptr{Cint}(x + 8488) - f === :NavTabbingCounter && return Ptr{Cint}(x + 8492) - f === :NavMoveResultLocal && return Ptr{ImGuiNavItemData}(x + 8496) - f === :NavMoveResultLocalVisible && return Ptr{ImGuiNavItemData}(x + 8552) - f === :NavMoveResultOther && return Ptr{ImGuiNavItemData}(x + 8608) - f === :NavTabbingResultFirst && return Ptr{ImGuiNavItemData}(x + 8664) - f === :NavJustMovedFromFocusScopeId && return Ptr{ImGuiID}(x + 8720) - f === :NavJustMovedToId && return Ptr{ImGuiID}(x + 8724) - f === :NavJustMovedToFocusScopeId && return Ptr{ImGuiID}(x + 8728) - f === :NavJustMovedToKeyMods && return Ptr{ImGuiKeyChord}(x + 8732) - f === :NavJustMovedToIsTabbing && return Ptr{Bool}(x + 8736) - f === :NavJustMovedToHasSelectionData && return Ptr{Bool}(x + 8737) - f === :ConfigNavWindowingKeyNext && return Ptr{ImGuiKeyChord}(x + 8740) - f === :ConfigNavWindowingKeyPrev && return Ptr{ImGuiKeyChord}(x + 8744) - f === :NavWindowingTarget && return Ptr{Ptr{ImGuiWindow}}(x + 8752) - f === :NavWindowingTargetAnim && return Ptr{Ptr{ImGuiWindow}}(x + 8760) - f === :NavWindowingListWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8768) - f === :NavWindowingTimer && return Ptr{Cfloat}(x + 8776) - f === :NavWindowingHighlightAlpha && return Ptr{Cfloat}(x + 8780) - f === :NavWindowingToggleLayer && return Ptr{Bool}(x + 8784) - f === :NavWindowingToggleKey && return Ptr{ImGuiKey}(x + 8788) - f === :NavWindowingAccumDeltaPos && return Ptr{ImVec2}(x + 8792) - f === :NavWindowingAccumDeltaSize && return Ptr{ImVec2}(x + 8800) - f === :DimBgRatio && return Ptr{Cfloat}(x + 8808) - f === :DragDropActive && return Ptr{Bool}(x + 8812) - f === :DragDropWithinSource && return Ptr{Bool}(x + 8813) - f === :DragDropWithinTarget && return Ptr{Bool}(x + 8814) - f === :DragDropSourceFlags && return Ptr{ImGuiDragDropFlags}(x + 8816) - f === :DragDropSourceFrameCount && return Ptr{Cint}(x + 8820) - f === :DragDropMouseButton && return Ptr{Cint}(x + 8824) - f === :DragDropPayload && return Ptr{ImGuiPayload}(x + 8832) - f === :DragDropTargetRect && return Ptr{ImRect}(x + 8896) - f === :DragDropTargetClipRect && return Ptr{ImRect}(x + 8912) - f === :DragDropTargetId && return Ptr{ImGuiID}(x + 8928) - f === :DragDropAcceptFlags && return Ptr{ImGuiDragDropFlags}(x + 8932) - f === :DragDropAcceptIdCurrRectSurface && return Ptr{Cfloat}(x + 8936) - f === :DragDropAcceptIdCurr && return Ptr{ImGuiID}(x + 8940) - f === :DragDropAcceptIdPrev && return Ptr{ImGuiID}(x + 8944) - f === :DragDropAcceptFrameCount && return Ptr{Cint}(x + 8948) - f === :DragDropHoldJustPressedId && return Ptr{ImGuiID}(x + 8952) - f === :DragDropPayloadBufHeap && return Ptr{ImVector_unsigned_char}(x + 8960) - f === :DragDropPayloadBufLocal && return Ptr{NTuple{16, Cuchar}}(x + 8976) - f === :ClipperTempDataStacked && return Ptr{Cint}(x + 8992) - f === :ClipperTempData && return Ptr{ImVector_ImGuiListClipperData}(x + 9000) - f === :CurrentTable && return Ptr{Ptr{ImGuiTable}}(x + 9016) - f === :DebugBreakInTable && return Ptr{ImGuiID}(x + 9024) - f === :TablesTempDataStacked && return Ptr{Cint}(x + 9028) - f === :TablesTempData && return Ptr{ImVector_ImGuiTableTempData}(x + 9032) - f === :Tables && return Ptr{ImPool_ImGuiTable}(x + 9048) - f === :TablesLastTimeActive && return Ptr{ImVector_float}(x + 9088) - f === :DrawChannelsTempMergeBuffer && return Ptr{ImVector_ImDrawChannel}(x + 9104) - f === :CurrentTabBar && return Ptr{Ptr{ImGuiTabBar}}(x + 9120) - f === :TabBars && return Ptr{ImPool_ImGuiTabBar}(x + 9128) - f === :CurrentTabBarStack && return Ptr{ImVector_ImGuiPtrOrIndex}(x + 9168) - f === :ShrinkWidthBuffer && return Ptr{ImVector_ImGuiShrinkWidthItem}(x + 9184) - f === :BoxSelectState && return Ptr{ImGuiBoxSelectState}(x + 9200) - f === :CurrentMultiSelect && return Ptr{Ptr{ImGuiMultiSelectTempData}}(x + 9304) - f === :MultiSelectTempDataStacked && return Ptr{Cint}(x + 9312) - f === :MultiSelectTempData && return Ptr{ImVector_ImGuiMultiSelectTempData}(x + 9320) - f === :MultiSelectStorage && return Ptr{ImPool_ImGuiMultiSelectState}(x + 9336) - f === :HoverItemDelayId && return Ptr{ImGuiID}(x + 9376) - f === :HoverItemDelayIdPreviousFrame && return Ptr{ImGuiID}(x + 9380) - f === :HoverItemDelayTimer && return Ptr{Cfloat}(x + 9384) - f === :HoverItemDelayClearTimer && return Ptr{Cfloat}(x + 9388) - f === :HoverItemUnlockedStationaryId && return Ptr{ImGuiID}(x + 9392) - f === :HoverWindowUnlockedStationaryId && return Ptr{ImGuiID}(x + 9396) - f === :MouseCursor && return Ptr{ImGuiMouseCursor}(x + 9400) - f === :MouseStationaryTimer && return Ptr{Cfloat}(x + 9404) - f === :MouseLastValidPos && return Ptr{ImVec2}(x + 9408) - f === :InputTextState && return Ptr{ImGuiInputTextState}(x + 9416) - f === :InputTextDeactivatedState && return Ptr{ImGuiInputTextDeactivatedState}(x + 9528) - f === :InputTextPasswordFont && return Ptr{ImFont}(x + 9552) - f === :TempInputId && return Ptr{ImGuiID}(x + 9672) - f === :DataTypeZeroValue && return Ptr{ImGuiDataTypeStorage}(x + 9676) - f === :BeginMenuDepth && return Ptr{Cint}(x + 9684) - f === :BeginComboDepth && return Ptr{Cint}(x + 9688) - f === :ColorEditOptions && return Ptr{ImGuiColorEditFlags}(x + 9692) - f === :ColorEditCurrentID && return Ptr{ImGuiID}(x + 9696) - f === :ColorEditSavedID && return Ptr{ImGuiID}(x + 9700) - f === :ColorEditSavedHue && return Ptr{Cfloat}(x + 9704) - f === :ColorEditSavedSat && return Ptr{Cfloat}(x + 9708) - f === :ColorEditSavedColor && return Ptr{ImU32}(x + 9712) - f === :ColorPickerRef && return Ptr{ImVec4}(x + 9716) - f === :ComboPreviewData && return Ptr{ImGuiComboPreviewData}(x + 9732) - f === :WindowResizeBorderExpectedRect && return Ptr{ImRect}(x + 9780) - f === :WindowResizeRelativeMode && return Ptr{Bool}(x + 9796) - f === :ScrollbarSeekMode && return Ptr{Cshort}(x + 9798) - f === :ScrollbarClickDeltaToGrabCenter && return Ptr{Cfloat}(x + 9800) - f === :SliderGrabClickOffset && return Ptr{Cfloat}(x + 9804) - f === :SliderCurrentAccum && return Ptr{Cfloat}(x + 9808) - f === :SliderCurrentAccumDirty && return Ptr{Bool}(x + 9812) - f === :DragCurrentAccumDirty && return Ptr{Bool}(x + 9813) - f === :DragCurrentAccum && return Ptr{Cfloat}(x + 9816) - f === :DragSpeedDefaultRatio && return Ptr{Cfloat}(x + 9820) - f === :DisabledAlphaBackup && return Ptr{Cfloat}(x + 9824) - f === :DisabledStackSize && return Ptr{Cshort}(x + 9828) - f === :LockMarkEdited && return Ptr{Cshort}(x + 9830) - f === :TooltipOverrideCount && return Ptr{Cshort}(x + 9832) - f === :ClipboardHandlerData && return Ptr{ImVector_char}(x + 9840) - f === :MenusIdSubmittedThisFrame && return Ptr{ImVector_ImGuiID}(x + 9856) - f === :TypingSelectState && return Ptr{ImGuiTypingSelectState}(x + 9872) - f === :PlatformImeData && return Ptr{ImGuiPlatformImeData}(x + 9976) - f === :PlatformImeDataPrev && return Ptr{ImGuiPlatformImeData}(x + 9992) - f === :PlatformImeViewport && return Ptr{ImGuiID}(x + 10008) - f === :DockContext && return Ptr{ImGuiDockContext}(x + 10016) - f === :DockNodeWindowMenuHandler && return Ptr{Ptr{Cvoid}}(x + 10072) - f === :SettingsLoaded && return Ptr{Bool}(x + 10080) - f === :SettingsDirtyTimer && return Ptr{Cfloat}(x + 10084) - f === :SettingsIniData && return Ptr{ImGuiTextBuffer}(x + 10088) - f === :SettingsHandlers && return Ptr{ImVector_ImGuiSettingsHandler}(x + 10104) - f === :SettingsWindows && return Ptr{ImChunkStream_ImGuiWindowSettings}(x + 10120) - f === :SettingsTables && return Ptr{ImChunkStream_ImGuiTableSettings}(x + 10136) - f === :Hooks && return Ptr{ImVector_ImGuiContextHook}(x + 10152) - f === :HookIdNext && return Ptr{ImGuiID}(x + 10168) - f === :LocalizationTable && return Ptr{NTuple{13, Ptr{Cchar}}}(x + 10176) - f === :LogEnabled && return Ptr{Bool}(x + 10280) - f === :LogType && return Ptr{ImGuiLogType}(x + 10284) - f === :LogFile && return Ptr{ImFileHandle}(x + 10288) - f === :LogBuffer && return Ptr{ImGuiTextBuffer}(x + 10296) - f === :LogNextPrefix && return Ptr{Ptr{Cchar}}(x + 10312) - f === :LogNextSuffix && return Ptr{Ptr{Cchar}}(x + 10320) - f === :LogLinePosY && return Ptr{Cfloat}(x + 10328) - f === :LogLineFirstItem && return Ptr{Bool}(x + 10332) - f === :LogDepthRef && return Ptr{Cint}(x + 10336) - f === :LogDepthToExpand && return Ptr{Cint}(x + 10340) - f === :LogDepthToExpandDefault && return Ptr{Cint}(x + 10344) - f === :DebugLogFlags && return Ptr{ImGuiDebugLogFlags}(x + 10348) - f === :DebugLogBuf && return Ptr{ImGuiTextBuffer}(x + 10352) - f === :DebugLogIndex && return Ptr{ImGuiTextIndex}(x + 10368) - f === :DebugLogAutoDisableFlags && return Ptr{ImGuiDebugLogFlags}(x + 10392) - f === :DebugLogAutoDisableFrames && return Ptr{ImU8}(x + 10396) - f === :DebugLocateFrames && return Ptr{ImU8}(x + 10397) - f === :DebugBreakInLocateId && return Ptr{Bool}(x + 10398) - f === :DebugBreakKeyChord && return Ptr{ImGuiKeyChord}(x + 10400) - f === :DebugBeginReturnValueCullDepth && return Ptr{ImS8}(x + 10404) - f === :DebugItemPickerActive && return Ptr{Bool}(x + 10405) - f === :DebugItemPickerMouseButton && return Ptr{ImU8}(x + 10406) - f === :DebugItemPickerBreakId && return Ptr{ImGuiID}(x + 10408) - f === :DebugFlashStyleColorTime && return Ptr{Cfloat}(x + 10412) - f === :DebugFlashStyleColorBackup && return Ptr{ImVec4}(x + 10416) - f === :DebugMetricsConfig && return Ptr{ImGuiMetricsConfig}(x + 10432) - f === :DebugIDStackTool && return Ptr{ImGuiIDStackTool}(x + 10464) - f === :DebugAllocInfo && return Ptr{ImGuiDebugAllocInfo}(x + 10504) - f === :DebugHoveredDockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 10568) - f === :FramerateSecPerFrame && return Ptr{NTuple{60, Cfloat}}(x + 10576) - f === :FramerateSecPerFrameIdx && return Ptr{Cint}(x + 10816) - f === :FramerateSecPerFrameCount && return Ptr{Cint}(x + 10820) - f === :FramerateSecPerFrameAccum && return Ptr{Cfloat}(x + 10824) - f === :WantCaptureMouseNextFrame && return Ptr{Cint}(x + 10828) - f === :WantCaptureKeyboardNextFrame && return Ptr{Cint}(x + 10832) - f === :WantTextInputNextFrame && return Ptr{Cint}(x + 10836) - f === :TempBuffer && return Ptr{ImVector_char}(x + 10840) - f === :TempKeychordName && return Ptr{NTuple{64, Cchar}}(x + 10856) + f === :PlatformIO && return Ptr{ImGuiPlatformIO}(x + 3016) + f === :Style && return Ptr{ImGuiStyle}(x + 3312) + f === :ConfigFlagsCurrFrame && return Ptr{ImGuiConfigFlags}(x + 4504) + f === :ConfigFlagsLastFrame && return Ptr{ImGuiConfigFlags}(x + 4508) + f === :Font && return Ptr{Ptr{ImFont}}(x + 4512) + f === :FontSize && return Ptr{Cfloat}(x + 4520) + f === :FontBaseSize && return Ptr{Cfloat}(x + 4524) + f === :FontScale && return Ptr{Cfloat}(x + 4528) + f === :CurrentDpiScale && return Ptr{Cfloat}(x + 4532) + f === :DrawListSharedData && return Ptr{ImDrawListSharedData}(x + 4536) + f === :Time && return Ptr{Cdouble}(x + 5072) + f === :FrameCount && return Ptr{Cint}(x + 5080) + f === :FrameCountEnded && return Ptr{Cint}(x + 5084) + f === :FrameCountPlatformEnded && return Ptr{Cint}(x + 5088) + f === :FrameCountRendered && return Ptr{Cint}(x + 5092) + f === :WithinFrameScope && return Ptr{Bool}(x + 5096) + f === :WithinFrameScopeWithImplicitWindow && return Ptr{Bool}(x + 5097) + f === :WithinEndChild && return Ptr{Bool}(x + 5098) + f === :GcCompactAll && return Ptr{Bool}(x + 5099) + f === :TestEngineHookItems && return Ptr{Bool}(x + 5100) + f === :TestEngine && return Ptr{Ptr{Cvoid}}(x + 5104) + f === :ContextName && return Ptr{NTuple{16, Cchar}}(x + 5112) + f === :InputEventsQueue && return Ptr{ImVector_ImGuiInputEvent}(x + 5128) + f === :InputEventsTrail && return Ptr{ImVector_ImGuiInputEvent}(x + 5144) + f === :InputEventsNextMouseSource && return Ptr{ImGuiMouseSource}(x + 5160) + f === :InputEventsNextEventId && return Ptr{ImU32}(x + 5164) + f === :Windows && return Ptr{ImVector_ImGuiWindowPtr}(x + 5168) + f === :WindowsFocusOrder && return Ptr{ImVector_ImGuiWindowPtr}(x + 5184) + f === :WindowsTempSortBuffer && return Ptr{ImVector_ImGuiWindowPtr}(x + 5200) + f === :CurrentWindowStack && return Ptr{ImVector_ImGuiWindowStackData}(x + 5216) + f === :WindowsById && return Ptr{ImGuiStorage}(x + 5232) + f === :WindowsActiveCount && return Ptr{Cint}(x + 5248) + f === :WindowsHoverPadding && return Ptr{ImVec2}(x + 5252) + f === :DebugBreakInWindow && return Ptr{ImGuiID}(x + 5260) + f === :CurrentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5264) + f === :HoveredWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5272) + f === :HoveredWindowUnderMovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5280) + f === :HoveredWindowBeforeClear && return Ptr{Ptr{ImGuiWindow}}(x + 5288) + f === :MovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5296) + f === :WheelingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5304) + f === :WheelingWindowRefMousePos && return Ptr{ImVec2}(x + 5312) + f === :WheelingWindowStartFrame && return Ptr{Cint}(x + 5320) + f === :WheelingWindowScrolledFrame && return Ptr{Cint}(x + 5324) + f === :WheelingWindowReleaseTimer && return Ptr{Cfloat}(x + 5328) + f === :WheelingWindowWheelRemainder && return Ptr{ImVec2}(x + 5332) + f === :WheelingAxisAvg && return Ptr{ImVec2}(x + 5340) + f === :DebugDrawIdConflicts && return Ptr{ImGuiID}(x + 5348) + f === :DebugHookIdInfo && return Ptr{ImGuiID}(x + 5352) + f === :HoveredId && return Ptr{ImGuiID}(x + 5356) + f === :HoveredIdPreviousFrame && return Ptr{ImGuiID}(x + 5360) + f === :HoveredIdPreviousFrameItemCount && return Ptr{Cint}(x + 5364) + f === :HoveredIdTimer && return Ptr{Cfloat}(x + 5368) + f === :HoveredIdNotActiveTimer && return Ptr{Cfloat}(x + 5372) + f === :HoveredIdAllowOverlap && return Ptr{Bool}(x + 5376) + f === :HoveredIdIsDisabled && return Ptr{Bool}(x + 5377) + f === :ItemUnclipByLog && return Ptr{Bool}(x + 5378) + f === :ActiveId && return Ptr{ImGuiID}(x + 5380) + f === :ActiveIdIsAlive && return Ptr{ImGuiID}(x + 5384) + f === :ActiveIdTimer && return Ptr{Cfloat}(x + 5388) + f === :ActiveIdIsJustActivated && return Ptr{Bool}(x + 5392) + f === :ActiveIdAllowOverlap && return Ptr{Bool}(x + 5393) + f === :ActiveIdNoClearOnFocusLoss && return Ptr{Bool}(x + 5394) + f === :ActiveIdHasBeenPressedBefore && return Ptr{Bool}(x + 5395) + f === :ActiveIdHasBeenEditedBefore && return Ptr{Bool}(x + 5396) + f === :ActiveIdHasBeenEditedThisFrame && return Ptr{Bool}(x + 5397) + f === :ActiveIdFromShortcut && return Ptr{Bool}(x + 5398) + f === :ActiveIdMouseButton && return (Ptr{Cint}(x + 5396), 24, 8) + f === :ActiveIdClickOffset && return Ptr{ImVec2}(x + 5400) + f === :ActiveIdWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5408) + f === :ActiveIdSource && return Ptr{ImGuiInputSource}(x + 5416) + f === :ActiveIdPreviousFrame && return Ptr{ImGuiID}(x + 5420) + f === :ActiveIdPreviousFrameIsAlive && return Ptr{Bool}(x + 5424) + f === :ActiveIdPreviousFrameHasBeenEditedBefore && return Ptr{Bool}(x + 5425) + f === :ActiveIdPreviousFrameWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5432) + f === :LastActiveId && return Ptr{ImGuiID}(x + 5440) + f === :LastActiveIdTimer && return Ptr{Cfloat}(x + 5444) + f === :LastKeyModsChangeTime && return Ptr{Cdouble}(x + 5448) + f === :LastKeyModsChangeFromNoneTime && return Ptr{Cdouble}(x + 5456) + f === :LastKeyboardKeyPressTime && return Ptr{Cdouble}(x + 5464) + f === :KeysMayBeCharInput && return Ptr{ImBitArrayForNamedKeys}(x + 5472) + f === :KeysOwnerData && return Ptr{NTuple{154, ImGuiKeyOwnerData}}(x + 5492) + f === :KeysRoutingTable && return Ptr{ImGuiKeyRoutingTable}(x + 7344) + f === :ActiveIdUsingNavDirMask && return Ptr{ImU32}(x + 7688) + f === :ActiveIdUsingAllKeyboardKeys && return Ptr{Bool}(x + 7692) + f === :DebugBreakInShortcutRouting && return Ptr{ImGuiKeyChord}(x + 7696) + f === :CurrentFocusScopeId && return Ptr{ImGuiID}(x + 7700) + f === :CurrentItemFlags && return Ptr{ImGuiItemFlags}(x + 7704) + f === :DebugLocateId && return Ptr{ImGuiID}(x + 7708) + f === :NextItemData && return Ptr{ImGuiNextItemData}(x + 7712) + f === :LastItemData && return Ptr{ImGuiLastItemData}(x + 7768) + f === :NextWindowData && return Ptr{ImGuiNextWindowData}(x + 7848) + f === :DebugShowGroupRects && return Ptr{Bool}(x + 8008) + f === :DebugFlashStyleColorIdx && return Ptr{ImGuiCol}(x + 8012) + f === :ColorStack && return Ptr{ImVector_ImGuiColorMod}(x + 8016) + f === :StyleVarStack && return Ptr{ImVector_ImGuiStyleMod}(x + 8032) + f === :FontStack && return Ptr{ImVector_ImFontPtr}(x + 8048) + f === :FocusScopeStack && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8064) + f === :ItemFlagsStack && return Ptr{ImVector_ImGuiItemFlags}(x + 8080) + f === :GroupStack && return Ptr{ImVector_ImGuiGroupData}(x + 8096) + f === :OpenPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8112) + f === :BeginPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8128) + f === :TreeNodeStack && return Ptr{ImVector_ImGuiTreeNodeStackData}(x + 8144) + f === :Viewports && return Ptr{ImVector_ImGuiViewportPPtr}(x + 8160) + f === :CurrentViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8176) + f === :MouseViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8184) + f === :MouseLastHoveredViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8192) + f === :PlatformLastFocusedViewportId && return Ptr{ImGuiID}(x + 8200) + f === :FallbackMonitor && return Ptr{ImGuiPlatformMonitor}(x + 8208) + f === :PlatformMonitorsFullWorkRect && return Ptr{ImRect}(x + 8256) + f === :ViewportCreatedCount && return Ptr{Cint}(x + 8272) + f === :PlatformWindowsCreatedCount && return Ptr{Cint}(x + 8276) + f === :ViewportFocusedStampCount && return Ptr{Cint}(x + 8280) + f === :NavCursorVisible && return Ptr{Bool}(x + 8284) + f === :NavHighlightItemUnderNav && return Ptr{Bool}(x + 8285) + f === :NavMousePosDirty && return Ptr{Bool}(x + 8286) + f === :NavIdIsAlive && return Ptr{Bool}(x + 8287) + f === :NavId && return Ptr{ImGuiID}(x + 8288) + f === :NavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8296) + f === :NavFocusScopeId && return Ptr{ImGuiID}(x + 8304) + f === :NavLayer && return Ptr{ImGuiNavLayer}(x + 8308) + f === :NavActivateId && return Ptr{ImGuiID}(x + 8312) + f === :NavActivateDownId && return Ptr{ImGuiID}(x + 8316) + f === :NavActivatePressedId && return Ptr{ImGuiID}(x + 8320) + f === :NavActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8324) + f === :NavFocusRoute && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8328) + f === :NavHighlightActivatedId && return Ptr{ImGuiID}(x + 8344) + f === :NavHighlightActivatedTimer && return Ptr{Cfloat}(x + 8348) + f === :NavNextActivateId && return Ptr{ImGuiID}(x + 8352) + f === :NavNextActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8356) + f === :NavInputSource && return Ptr{ImGuiInputSource}(x + 8360) + f === :NavLastValidSelectionUserData && return Ptr{ImGuiSelectionUserData}(x + 8368) + f === :NavCursorHideFrames && return Ptr{ImS8}(x + 8376) + f === :NavAnyRequest && return Ptr{Bool}(x + 8377) + f === :NavInitRequest && return Ptr{Bool}(x + 8378) + f === :NavInitRequestFromMove && return Ptr{Bool}(x + 8379) + f === :NavInitResult && return Ptr{ImGuiNavItemData}(x + 8384) + f === :NavMoveSubmitted && return Ptr{Bool}(x + 8440) + f === :NavMoveScoringItems && return Ptr{Bool}(x + 8441) + f === :NavMoveForwardToNextFrame && return Ptr{Bool}(x + 8442) + f === :NavMoveFlags && return Ptr{ImGuiNavMoveFlags}(x + 8444) + f === :NavMoveScrollFlags && return Ptr{ImGuiScrollFlags}(x + 8448) + f === :NavMoveKeyMods && return Ptr{ImGuiKeyChord}(x + 8452) + f === :NavMoveDir && return Ptr{ImGuiDir}(x + 8456) + f === :NavMoveDirForDebug && return Ptr{ImGuiDir}(x + 8460) + f === :NavMoveClipDir && return Ptr{ImGuiDir}(x + 8464) + f === :NavScoringRect && return Ptr{ImRect}(x + 8468) + f === :NavScoringNoClipRect && return Ptr{ImRect}(x + 8484) + f === :NavScoringDebugCount && return Ptr{Cint}(x + 8500) + f === :NavTabbingDir && return Ptr{Cint}(x + 8504) + f === :NavTabbingCounter && return Ptr{Cint}(x + 8508) + f === :NavMoveResultLocal && return Ptr{ImGuiNavItemData}(x + 8512) + f === :NavMoveResultLocalVisible && return Ptr{ImGuiNavItemData}(x + 8568) + f === :NavMoveResultOther && return Ptr{ImGuiNavItemData}(x + 8624) + f === :NavTabbingResultFirst && return Ptr{ImGuiNavItemData}(x + 8680) + f === :NavJustMovedFromFocusScopeId && return Ptr{ImGuiID}(x + 8736) + f === :NavJustMovedToId && return Ptr{ImGuiID}(x + 8740) + f === :NavJustMovedToFocusScopeId && return Ptr{ImGuiID}(x + 8744) + f === :NavJustMovedToKeyMods && return Ptr{ImGuiKeyChord}(x + 8748) + f === :NavJustMovedToIsTabbing && return Ptr{Bool}(x + 8752) + f === :NavJustMovedToHasSelectionData && return Ptr{Bool}(x + 8753) + f === :ConfigNavWindowingKeyNext && return Ptr{ImGuiKeyChord}(x + 8756) + f === :ConfigNavWindowingKeyPrev && return Ptr{ImGuiKeyChord}(x + 8760) + f === :NavWindowingTarget && return Ptr{Ptr{ImGuiWindow}}(x + 8768) + f === :NavWindowingTargetAnim && return Ptr{Ptr{ImGuiWindow}}(x + 8776) + f === :NavWindowingListWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8784) + f === :NavWindowingTimer && return Ptr{Cfloat}(x + 8792) + f === :NavWindowingHighlightAlpha && return Ptr{Cfloat}(x + 8796) + f === :NavWindowingToggleLayer && return Ptr{Bool}(x + 8800) + f === :NavWindowingToggleKey && return Ptr{ImGuiKey}(x + 8804) + f === :NavWindowingAccumDeltaPos && return Ptr{ImVec2}(x + 8808) + f === :NavWindowingAccumDeltaSize && return Ptr{ImVec2}(x + 8816) + f === :DimBgRatio && return Ptr{Cfloat}(x + 8824) + f === :DragDropActive && return Ptr{Bool}(x + 8828) + f === :DragDropWithinSource && return Ptr{Bool}(x + 8829) + f === :DragDropWithinTarget && return Ptr{Bool}(x + 8830) + f === :DragDropSourceFlags && return Ptr{ImGuiDragDropFlags}(x + 8832) + f === :DragDropSourceFrameCount && return Ptr{Cint}(x + 8836) + f === :DragDropMouseButton && return Ptr{Cint}(x + 8840) + f === :DragDropPayload && return Ptr{ImGuiPayload}(x + 8848) + f === :DragDropTargetRect && return Ptr{ImRect}(x + 8912) + f === :DragDropTargetClipRect && return Ptr{ImRect}(x + 8928) + f === :DragDropTargetId && return Ptr{ImGuiID}(x + 8944) + f === :DragDropAcceptFlags && return Ptr{ImGuiDragDropFlags}(x + 8948) + f === :DragDropAcceptIdCurrRectSurface && return Ptr{Cfloat}(x + 8952) + f === :DragDropAcceptIdCurr && return Ptr{ImGuiID}(x + 8956) + f === :DragDropAcceptIdPrev && return Ptr{ImGuiID}(x + 8960) + f === :DragDropAcceptFrameCount && return Ptr{Cint}(x + 8964) + f === :DragDropHoldJustPressedId && return Ptr{ImGuiID}(x + 8968) + f === :DragDropPayloadBufHeap && return Ptr{ImVector_unsigned_char}(x + 8976) + f === :DragDropPayloadBufLocal && return Ptr{NTuple{16, Cuchar}}(x + 8992) + f === :ClipperTempDataStacked && return Ptr{Cint}(x + 9008) + f === :ClipperTempData && return Ptr{ImVector_ImGuiListClipperData}(x + 9016) + f === :CurrentTable && return Ptr{Ptr{ImGuiTable}}(x + 9032) + f === :DebugBreakInTable && return Ptr{ImGuiID}(x + 9040) + f === :TablesTempDataStacked && return Ptr{Cint}(x + 9044) + f === :TablesTempData && return Ptr{ImVector_ImGuiTableTempData}(x + 9048) + f === :Tables && return Ptr{ImPool_ImGuiTable}(x + 9064) + f === :TablesLastTimeActive && return Ptr{ImVector_float}(x + 9104) + f === :DrawChannelsTempMergeBuffer && return Ptr{ImVector_ImDrawChannel}(x + 9120) + f === :CurrentTabBar && return Ptr{Ptr{ImGuiTabBar}}(x + 9136) + f === :TabBars && return Ptr{ImPool_ImGuiTabBar}(x + 9144) + f === :CurrentTabBarStack && return Ptr{ImVector_ImGuiPtrOrIndex}(x + 9184) + f === :ShrinkWidthBuffer && return Ptr{ImVector_ImGuiShrinkWidthItem}(x + 9200) + f === :BoxSelectState && return Ptr{ImGuiBoxSelectState}(x + 9216) + f === :CurrentMultiSelect && return Ptr{Ptr{ImGuiMultiSelectTempData}}(x + 9320) + f === :MultiSelectTempDataStacked && return Ptr{Cint}(x + 9328) + f === :MultiSelectTempData && return Ptr{ImVector_ImGuiMultiSelectTempData}(x + 9336) + f === :MultiSelectStorage && return Ptr{ImPool_ImGuiMultiSelectState}(x + 9352) + f === :HoverItemDelayId && return Ptr{ImGuiID}(x + 9392) + f === :HoverItemDelayIdPreviousFrame && return Ptr{ImGuiID}(x + 9396) + f === :HoverItemDelayTimer && return Ptr{Cfloat}(x + 9400) + f === :HoverItemDelayClearTimer && return Ptr{Cfloat}(x + 9404) + f === :HoverItemUnlockedStationaryId && return Ptr{ImGuiID}(x + 9408) + f === :HoverWindowUnlockedStationaryId && return Ptr{ImGuiID}(x + 9412) + f === :MouseCursor && return Ptr{ImGuiMouseCursor}(x + 9416) + f === :MouseStationaryTimer && return Ptr{Cfloat}(x + 9420) + f === :MouseLastValidPos && return Ptr{ImVec2}(x + 9424) + f === :InputTextState && return Ptr{ImGuiInputTextState}(x + 9432) + f === :InputTextDeactivatedState && return Ptr{ImGuiInputTextDeactivatedState}(x + 9544) + f === :InputTextPasswordFont && return Ptr{ImFont}(x + 9568) + f === :TempInputId && return Ptr{ImGuiID}(x + 9688) + f === :DataTypeZeroValue && return Ptr{ImGuiDataTypeStorage}(x + 9692) + f === :BeginMenuDepth && return Ptr{Cint}(x + 9700) + f === :BeginComboDepth && return Ptr{Cint}(x + 9704) + f === :ColorEditOptions && return Ptr{ImGuiColorEditFlags}(x + 9708) + f === :ColorEditCurrentID && return Ptr{ImGuiID}(x + 9712) + f === :ColorEditSavedID && return Ptr{ImGuiID}(x + 9716) + f === :ColorEditSavedHue && return Ptr{Cfloat}(x + 9720) + f === :ColorEditSavedSat && return Ptr{Cfloat}(x + 9724) + f === :ColorEditSavedColor && return Ptr{ImU32}(x + 9728) + f === :ColorPickerRef && return Ptr{ImVec4}(x + 9732) + f === :ComboPreviewData && return Ptr{ImGuiComboPreviewData}(x + 9748) + f === :WindowResizeBorderExpectedRect && return Ptr{ImRect}(x + 9796) + f === :WindowResizeRelativeMode && return Ptr{Bool}(x + 9812) + f === :ScrollbarSeekMode && return Ptr{Cshort}(x + 9814) + f === :ScrollbarClickDeltaToGrabCenter && return Ptr{Cfloat}(x + 9816) + f === :SliderGrabClickOffset && return Ptr{Cfloat}(x + 9820) + f === :SliderCurrentAccum && return Ptr{Cfloat}(x + 9824) + f === :SliderCurrentAccumDirty && return Ptr{Bool}(x + 9828) + f === :DragCurrentAccumDirty && return Ptr{Bool}(x + 9829) + f === :DragCurrentAccum && return Ptr{Cfloat}(x + 9832) + f === :DragSpeedDefaultRatio && return Ptr{Cfloat}(x + 9836) + f === :DisabledAlphaBackup && return Ptr{Cfloat}(x + 9840) + f === :DisabledStackSize && return Ptr{Cshort}(x + 9844) + f === :TooltipOverrideCount && return Ptr{Cshort}(x + 9846) + f === :TooltipPreviousWindow && return Ptr{Ptr{ImGuiWindow}}(x + 9848) + f === :ClipboardHandlerData && return Ptr{ImVector_char}(x + 9856) + f === :MenusIdSubmittedThisFrame && return Ptr{ImVector_ImGuiID}(x + 9872) + f === :TypingSelectState && return Ptr{ImGuiTypingSelectState}(x + 9888) + f === :PlatformImeData && return Ptr{ImGuiPlatformImeData}(x + 9992) + f === :PlatformImeDataPrev && return Ptr{ImGuiPlatformImeData}(x + 10008) + f === :PlatformImeViewport && return Ptr{ImGuiID}(x + 10024) + f === :DockContext && return Ptr{ImGuiDockContext}(x + 10032) + f === :DockNodeWindowMenuHandler && return Ptr{Ptr{Cvoid}}(x + 10088) + f === :SettingsLoaded && return Ptr{Bool}(x + 10096) + f === :SettingsDirtyTimer && return Ptr{Cfloat}(x + 10100) + f === :SettingsIniData && return Ptr{ImGuiTextBuffer}(x + 10104) + f === :SettingsHandlers && return Ptr{ImVector_ImGuiSettingsHandler}(x + 10120) + f === :SettingsWindows && return Ptr{ImChunkStream_ImGuiWindowSettings}(x + 10136) + f === :SettingsTables && return Ptr{ImChunkStream_ImGuiTableSettings}(x + 10152) + f === :Hooks && return Ptr{ImVector_ImGuiContextHook}(x + 10168) + f === :HookIdNext && return Ptr{ImGuiID}(x + 10184) + f === :LocalizationTable && return Ptr{NTuple{13, Ptr{Cchar}}}(x + 10192) + f === :LogEnabled && return Ptr{Bool}(x + 10296) + f === :LogFlags && return Ptr{ImGuiLogFlags}(x + 10300) + f === :LogWindow && return Ptr{Ptr{ImGuiWindow}}(x + 10304) + f === :LogFile && return Ptr{ImFileHandle}(x + 10312) + f === :LogBuffer && return Ptr{ImGuiTextBuffer}(x + 10320) + f === :LogNextPrefix && return Ptr{Ptr{Cchar}}(x + 10336) + f === :LogNextSuffix && return Ptr{Ptr{Cchar}}(x + 10344) + f === :LogLinePosY && return Ptr{Cfloat}(x + 10352) + f === :LogLineFirstItem && return Ptr{Bool}(x + 10356) + f === :LogDepthRef && return Ptr{Cint}(x + 10360) + f === :LogDepthToExpand && return Ptr{Cint}(x + 10364) + f === :LogDepthToExpandDefault && return Ptr{Cint}(x + 10368) + f === :ErrorCallback && return Ptr{ImGuiErrorCallback}(x + 10376) + f === :ErrorCallbackUserData && return Ptr{Ptr{Cvoid}}(x + 10384) + f === :ErrorTooltipLockedPos && return Ptr{ImVec2}(x + 10392) + f === :ErrorFirst && return Ptr{Bool}(x + 10400) + f === :ErrorCountCurrentFrame && return Ptr{Cint}(x + 10404) + f === :StackSizesInNewFrame && return Ptr{ImGuiErrorRecoveryState}(x + 10408) + f === :StackSizesInBeginForCurrentWindow && return Ptr{Ptr{ImGuiErrorRecoveryState}}(x + 10432) + f === :DebugDrawIdConflictsCount && return Ptr{Cint}(x + 10440) + f === :DebugLogFlags && return Ptr{ImGuiDebugLogFlags}(x + 10444) + f === :DebugLogBuf && return Ptr{ImGuiTextBuffer}(x + 10448) + f === :DebugLogIndex && return Ptr{ImGuiTextIndex}(x + 10464) + f === :DebugLogSkippedErrors && return Ptr{Cint}(x + 10488) + f === :DebugLogAutoDisableFlags && return Ptr{ImGuiDebugLogFlags}(x + 10492) + f === :DebugLogAutoDisableFrames && return Ptr{ImU8}(x + 10496) + f === :DebugLocateFrames && return Ptr{ImU8}(x + 10497) + f === :DebugBreakInLocateId && return Ptr{Bool}(x + 10498) + f === :DebugBreakKeyChord && return Ptr{ImGuiKeyChord}(x + 10500) + f === :DebugBeginReturnValueCullDepth && return Ptr{ImS8}(x + 10504) + f === :DebugItemPickerActive && return Ptr{Bool}(x + 10505) + f === :DebugItemPickerMouseButton && return Ptr{ImU8}(x + 10506) + f === :DebugItemPickerBreakId && return Ptr{ImGuiID}(x + 10508) + f === :DebugFlashStyleColorTime && return Ptr{Cfloat}(x + 10512) + f === :DebugFlashStyleColorBackup && return Ptr{ImVec4}(x + 10516) + f === :DebugMetricsConfig && return Ptr{ImGuiMetricsConfig}(x + 10532) + f === :DebugIDStackTool && return Ptr{ImGuiIDStackTool}(x + 10560) + f === :DebugAllocInfo && return Ptr{ImGuiDebugAllocInfo}(x + 10600) + f === :DebugHoveredDockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 10664) + f === :FramerateSecPerFrame && return Ptr{NTuple{60, Cfloat}}(x + 10672) + f === :FramerateSecPerFrameIdx && return Ptr{Cint}(x + 10912) + f === :FramerateSecPerFrameCount && return Ptr{Cint}(x + 10916) + f === :FramerateSecPerFrameAccum && return Ptr{Cfloat}(x + 10920) + f === :WantCaptureMouseNextFrame && return Ptr{Cint}(x + 10924) + f === :WantCaptureKeyboardNextFrame && return Ptr{Cint}(x + 10928) + f === :WantTextInputNextFrame && return Ptr{Cint}(x + 10932) + f === :TempBuffer && return Ptr{ImVector_char}(x + 10936) + f === :TempKeychordName && return Ptr{NTuple{64, Cchar}}(x + 10952) return getfield(x, f) end @@ -3563,8 +3656,6 @@ struct ImVector_const_charPtr Data::Ptr{Ptr{Cchar}} end -const ImU64 = Culonglong - const ImGuiMouseButton = Cint const ImGuiTableBgTarget = Cint @@ -3669,12 +3760,13 @@ end ImGuiInputTextFlags_DisplayEmptyRefVal = 16384 ImGuiInputTextFlags_NoHorizontalScroll = 32768 ImGuiInputTextFlags_NoUndoRedo = 65536 - ImGuiInputTextFlags_CallbackCompletion = 131072 - ImGuiInputTextFlags_CallbackHistory = 262144 - ImGuiInputTextFlags_CallbackAlways = 524288 - ImGuiInputTextFlags_CallbackCharFilter = 1048576 - ImGuiInputTextFlags_CallbackResize = 2097152 - ImGuiInputTextFlags_CallbackEdit = 4194304 + ImGuiInputTextFlags_ElideLeft = 131072 + ImGuiInputTextFlags_CallbackCompletion = 262144 + ImGuiInputTextFlags_CallbackHistory = 524288 + ImGuiInputTextFlags_CallbackAlways = 1048576 + ImGuiInputTextFlags_CallbackCharFilter = 2097152 + ImGuiInputTextFlags_CallbackResize = 4194304 + ImGuiInputTextFlags_CallbackEdit = 8388608 end @cenum ImGuiTreeNodeFlags_::UInt32 begin @@ -3858,8 +3950,6 @@ end ImGuiConfigFlags_None = 0 ImGuiConfigFlags_NavEnableKeyboard = 1 ImGuiConfigFlags_NavEnableGamepad = 2 - ImGuiConfigFlags_NavEnableSetMousePos = 4 - ImGuiConfigFlags_NavNoCaptureKeyboard = 8 ImGuiConfigFlags_NoMouse = 16 ImGuiConfigFlags_NoMouseCursorChange = 32 ImGuiConfigFlags_NoKeyboard = 64 @@ -3937,7 +4027,7 @@ end ImGuiCol_TextLink = 51 ImGuiCol_TextSelectedBg = 52 ImGuiCol_DragDropTarget = 53 - ImGuiCol_NavHighlight = 54 + ImGuiCol_NavCursor = 54 ImGuiCol_NavWindowingHighlight = 55 ImGuiCol_NavWindowingDimBg = 56 ImGuiCol_ModalWindowDimBg = 57 @@ -3988,6 +4078,7 @@ end ImGuiButtonFlags_MouseButtonRight = 2 ImGuiButtonFlags_MouseButtonMiddle = 4 ImGuiButtonFlags_MouseButtonMask_ = 7 + ImGuiButtonFlags_EnableNav = 8 end @cenum ImGuiColorEditFlags_::UInt32 begin @@ -4024,11 +4115,13 @@ end @cenum ImGuiSliderFlags_::UInt32 begin ImGuiSliderFlags_None = 0 - ImGuiSliderFlags_AlwaysClamp = 16 ImGuiSliderFlags_Logarithmic = 32 ImGuiSliderFlags_NoRoundToFormat = 64 ImGuiSliderFlags_NoInput = 128 ImGuiSliderFlags_WrapAround = 256 + ImGuiSliderFlags_ClampOnInput = 512 + ImGuiSliderFlags_ClampZeroRange = 1024 + ImGuiSliderFlags_AlwaysClamp = 1536 ImGuiSliderFlags_InvalidMask_ = 1879048207 end @@ -4216,7 +4309,7 @@ end const ImGuiFocusRequestFlags = Cint -const ImGuiNavHighlightFlags = Cint +const ImGuiNavRenderCursorFlags = Cint const ImGuiSeparatorFlags = Cint @@ -4224,9 +4317,6 @@ const ImGuiTextFlags = Cint const ImGuiTooltipFlags = Cint -# typedef void ( * ImGuiErrorLogCallback ) ( void * user_data , const char * fmt , ... ) -const ImGuiErrorLogCallback = Ptr{Cvoid} - @cenum ImGuiDataTypePrivate_::UInt32 begin ImGuiDataType_String = 12 ImGuiDataType_Pointer = 13 @@ -4239,6 +4329,8 @@ end ImGuiItemFlags_MixedValue = 4096 ImGuiItemFlags_NoWindowHoverableCheck = 8192 ImGuiItemFlags_AllowOverlap = 16384 + ImGuiItemFlags_NoNavDisableMouseHover = 32768 + ImGuiItemFlags_NoMarkEdited = 65536 ImGuiItemFlags_Inputable = 1048576 ImGuiItemFlags_HasSelectionUserData = 2097152 ImGuiItemFlags_IsMultiSelect = 4194304 @@ -4268,9 +4360,8 @@ end @cenum ImGuiInputTextFlagsPrivate_::UInt32 begin ImGuiInputTextFlags_Multiline = 67108864 - ImGuiInputTextFlags_NoMarkEdited = 134217728 - ImGuiInputTextFlags_MergedItem = 268435456 - ImGuiInputTextFlags_LocalizeDecimalPoint = 536870912 + ImGuiInputTextFlags_MergedItem = 134217728 + ImGuiInputTextFlags_LocalizeDecimalPoint = 268435456 end @cenum ImGuiButtonFlagsPrivate_::UInt32 begin @@ -4280,12 +4371,10 @@ end ImGuiButtonFlags_PressedOnRelease = 128 ImGuiButtonFlags_PressedOnDoubleClick = 256 ImGuiButtonFlags_PressedOnDragDropHold = 512 - ImGuiButtonFlags_Repeat = 1024 ImGuiButtonFlags_FlattenChildren = 2048 ImGuiButtonFlags_AllowOverlap = 4096 - ImGuiButtonFlags_DontClosePopups = 8192 ImGuiButtonFlags_AlignTextBaseLine = 32768 - ImGuiButtonFlags_NoKeyModifiers = 65536 + ImGuiButtonFlags_NoKeyModsAllowed = 65536 ImGuiButtonFlags_NoHoldingActiveId = 131072 ImGuiButtonFlags_NoNavFocus = 262144 ImGuiButtonFlags_NoHoveredOnFocus = 524288 @@ -4349,6 +4438,15 @@ end ImGuiLayoutType_Vertical = 1 end +@cenum ImGuiLogFlags_::UInt32 begin + ImGuiLogFlags_None = 0 + ImGuiLogFlags_OutputTTY = 1 + ImGuiLogFlags_OutputFile = 2 + ImGuiLogFlags_OutputBuffer = 4 + ImGuiLogFlags_OutputClipboard = 8 + ImGuiLogFlags_OutputMask_ = 15 +end + @cenum ImGuiPlotType::UInt32 begin ImGuiPlotType_Lines = 0 ImGuiPlotType_Histogram = 1 @@ -4478,11 +4576,11 @@ end ImGuiScrollFlags_MaskY_ = 42 end -@cenum ImGuiNavHighlightFlags_::UInt32 begin - ImGuiNavHighlightFlags_None = 0 - ImGuiNavHighlightFlags_Compact = 2 - ImGuiNavHighlightFlags_AlwaysDraw = 4 - ImGuiNavHighlightFlags_NoRounding = 8 +@cenum ImGuiNavRenderCursorFlags_::UInt32 begin + ImGuiNavRenderCursorFlags_None = 0 + ImGuiNavRenderCursorFlags_Compact = 2 + ImGuiNavRenderCursorFlags_AlwaysDraw = 4 + ImGuiNavRenderCursorFlags_NoRounding = 8 end @cenum ImGuiNavMoveFlags_::UInt32 begin @@ -4502,7 +4600,7 @@ end ImGuiNavMoveFlags_IsPageMove = 2048 ImGuiNavMoveFlags_Activate = 4096 ImGuiNavMoveFlags_NoSelect = 8192 - ImGuiNavMoveFlags_NoSetNavHighlight = 16384 + ImGuiNavMoveFlags_NoSetNavCursorVisible = 16384 ImGuiNavMoveFlags_NoClearActiveId = 32768 end @@ -4562,17 +4660,19 @@ end @cenum ImGuiDebugLogFlags_::UInt32 begin ImGuiDebugLogFlags_None = 0 - ImGuiDebugLogFlags_EventActiveId = 1 - ImGuiDebugLogFlags_EventFocus = 2 - ImGuiDebugLogFlags_EventPopup = 4 - ImGuiDebugLogFlags_EventNav = 8 - ImGuiDebugLogFlags_EventClipper = 16 - ImGuiDebugLogFlags_EventSelection = 32 - ImGuiDebugLogFlags_EventIO = 64 - ImGuiDebugLogFlags_EventInputRouting = 128 - ImGuiDebugLogFlags_EventDocking = 256 - ImGuiDebugLogFlags_EventViewport = 512 - ImGuiDebugLogFlags_EventMask_ = 1023 + ImGuiDebugLogFlags_EventError = 1 + ImGuiDebugLogFlags_EventActiveId = 2 + ImGuiDebugLogFlags_EventFocus = 4 + ImGuiDebugLogFlags_EventPopup = 8 + ImGuiDebugLogFlags_EventNav = 16 + ImGuiDebugLogFlags_EventClipper = 32 + ImGuiDebugLogFlags_EventSelection = 64 + ImGuiDebugLogFlags_EventIO = 128 + ImGuiDebugLogFlags_EventFont = 256 + ImGuiDebugLogFlags_EventInputRouting = 512 + ImGuiDebugLogFlags_EventDocking = 1024 + ImGuiDebugLogFlags_EventViewport = 2048 + ImGuiDebugLogFlags_EventMask_ = 4095 ImGuiDebugLogFlags_OutputToTTY = 1048576 ImGuiDebugLogFlags_OutputToTestEngine = 2097152 end @@ -5937,6 +6037,10 @@ function igSetKeyboardFocusHere(offset) ccall((:igSetKeyboardFocusHere, libcimgui), Cvoid, (Cint,), offset) end +function igSetNavCursorVisible(visible) + ccall((:igSetNavCursorVisible, libcimgui), Cvoid, (Bool,), visible) +end + function igSetNextItemAllowOverlap() ccall((:igSetNextItemAllowOverlap, libcimgui), Cvoid, ()) end @@ -6922,8 +7026,8 @@ function ImDrawList_PathRect(self, rect_min, rect_max, rounding, flags) ccall((:ImDrawList_PathRect, libcimgui), Cvoid, (Ptr{ImDrawList}, ImVec2, ImVec2, Cfloat, ImDrawFlags), self, rect_min, rect_max, rounding, flags) end -function ImDrawList_AddCallback(self, callback, callback_data) - ccall((:ImDrawList_AddCallback, libcimgui), Cvoid, (Ptr{ImDrawList}, ImDrawCallback, Ptr{Cvoid}), self, callback, callback_data) +function ImDrawList_AddCallback(self, callback, userdata, userdata_size) + ccall((:ImDrawList_AddCallback, libcimgui), Cvoid, (Ptr{ImDrawList}, ImDrawCallback, Ptr{Cvoid}, Csize_t), self, callback, userdata, userdata_size) end function ImDrawList_AddDrawCmd(self) @@ -8092,20 +8196,12 @@ function ImGuiLastItemData_destroy(self) ccall((:ImGuiLastItemData_destroy, libcimgui), Cvoid, (Ptr{ImGuiLastItemData},), self) end -function ImGuiStackSizes_ImGuiStackSizes() - ccall((:ImGuiStackSizes_ImGuiStackSizes, libcimgui), Ptr{ImGuiStackSizes}, ()) -end - -function ImGuiStackSizes_destroy(self) - ccall((:ImGuiStackSizes_destroy, libcimgui), Cvoid, (Ptr{ImGuiStackSizes},), self) +function ImGuiErrorRecoveryState_ImGuiErrorRecoveryState() + ccall((:ImGuiErrorRecoveryState_ImGuiErrorRecoveryState, libcimgui), Ptr{ImGuiErrorRecoveryState}, ()) end -function ImGuiStackSizes_SetToContextState(self, ctx) - ccall((:ImGuiStackSizes_SetToContextState, libcimgui), Cvoid, (Ptr{ImGuiStackSizes}, Ptr{ImGuiContext}), self, ctx) -end - -function ImGuiStackSizes_CompareWithContextState(self, ctx) - ccall((:ImGuiStackSizes_CompareWithContextState, libcimgui), Cvoid, (Ptr{ImGuiStackSizes}, Ptr{ImGuiContext}), self, ctx) +function ImGuiErrorRecoveryState_destroy(self) + ccall((:ImGuiErrorRecoveryState_destroy, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), self) end function ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr(ptr) @@ -8528,6 +8624,14 @@ function ImGuiTableSettings_GetColumnSettings(self) ccall((:ImGuiTableSettings_GetColumnSettings, libcimgui), Ptr{ImGuiTableColumnSettings}, (Ptr{ImGuiTableSettings},), self) end +function igGetIOEx(ctx) + ccall((:igGetIOEx, libcimgui), Ptr{ImGuiIO}, (Ptr{ImGuiContext},), ctx) +end + +function igGetPlatformIOEx(ctx) + ccall((:igGetPlatformIOEx, libcimgui), Ptr{ImGuiPlatformIO}, (Ptr{ImGuiContext},), ctx) +end + function igGetCurrentWindowRead() ccall((:igGetCurrentWindowRead, libcimgui), Ptr{ImGuiWindow}, ()) end @@ -8932,8 +9036,8 @@ function igEndDisabledOverrideReenable() ccall((:igEndDisabledOverrideReenable, libcimgui), Cvoid, ()) end -function igLogBegin(type, auto_open_depth) - ccall((:igLogBegin, libcimgui), Cvoid, (ImGuiLogType, Cint), type, auto_open_depth) +function igLogBegin(flags, auto_open_depth) + ccall((:igLogBegin, libcimgui), Cvoid, (ImGuiLogFlags, Cint), flags, auto_open_depth) end function igLogToBuffer(auto_open_depth) @@ -9080,8 +9184,8 @@ function igNavClearPreferredPosForAxis(axis) ccall((:igNavClearPreferredPosForAxis, libcimgui), Cvoid, (ImGuiAxis,), axis) end -function igNavRestoreHighlightAfterMove() - ccall((:igNavRestoreHighlightAfterMove, libcimgui), Cvoid, ()) +function igSetNavCursorVisibleAfterMove() + ccall((:igSetNavCursorVisibleAfterMove, libcimgui), Cvoid, ()) end function igNavUpdateCurrentWindowIsScrollPushableX() @@ -9800,8 +9904,12 @@ function igTabBarCloseTab(tab_bar, tab) ccall((:igTabBarCloseTab, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) end -function igTabBarQueueFocus(tab_bar, tab) - ccall((:igTabBarQueueFocus, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) +function igTabBarQueueFocus_TabItemPtr(tab_bar, tab) + ccall((:igTabBarQueueFocus_TabItemPtr, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) +end + +function igTabBarQueueFocus_Str(tab_bar, tab_name) + ccall((:igTabBarQueueFocus_Str, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{Cchar}), tab_bar, tab_name) end function igTabBarQueueReorder(tab_bar, tab, offset) @@ -9868,8 +9976,8 @@ function igRenderColorRectWithAlphaCheckerboard(draw_list, p_min, p_max, fill_co ccall((:igRenderColorRectWithAlphaCheckerboard, libcimgui), Cvoid, (Ptr{ImDrawList}, ImVec2, ImVec2, ImU32, Cfloat, ImVec2, Cfloat, ImDrawFlags), draw_list, p_min, p_max, fill_col, grid_step, grid_off, rounding, flags) end -function igRenderNavHighlight(bb, id, flags) - ccall((:igRenderNavHighlight, libcimgui), Cvoid, (ImRect, ImGuiID, ImGuiNavHighlightFlags), bb, id, flags) +function igRenderNavCursor(bb, id, flags) + ccall((:igRenderNavCursor, libcimgui), Cvoid, (ImRect, ImGuiID, ImGuiNavRenderCursorFlags), bb, id, flags) end function igFindRenderedTextEnd(text, text_end) @@ -9924,8 +10032,8 @@ function igArrowButtonEx(str_id, dir, size_arg, flags) ccall((:igArrowButtonEx, libcimgui), Bool, (Ptr{Cchar}, ImGuiDir, ImVec2, ImGuiButtonFlags), str_id, dir, size_arg, flags) end -function igImageButtonEx(id, texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) - ccall((:igImageButtonEx, libcimgui), Bool, (ImGuiID, ImTextureID, ImVec2, ImVec2, ImVec2, ImVec4, ImVec4, ImGuiButtonFlags), id, texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) +function igImageButtonEx(id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) + ccall((:igImageButtonEx, libcimgui), Bool, (ImGuiID, ImTextureID, ImVec2, ImVec2, ImVec2, ImVec4, ImVec4, ImGuiButtonFlags), id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) end function igSeparatorEx(flags, thickness) @@ -9956,8 +10064,8 @@ function igScrollbar(axis) ccall((:igScrollbar, libcimgui), Cvoid, (ImGuiAxis,), axis) end -function igScrollbarEx(bb, id, axis, p_scroll_v, avail_v, contents_v, flags) - ccall((:igScrollbarEx, libcimgui), Bool, (ImRect, ImGuiID, ImGuiAxis, Ptr{ImS64}, ImS64, ImS64, ImDrawFlags), bb, id, axis, p_scroll_v, avail_v, contents_v, flags) +function igScrollbarEx(bb, id, axis, p_scroll_v, avail_v, contents_v, draw_rounding_flags) + ccall((:igScrollbarEx, libcimgui), Bool, (ImRect, ImGuiID, ImGuiAxis, Ptr{ImS64}, ImS64, ImS64, ImDrawFlags), bb, id, axis, p_scroll_v, avail_v, contents_v, draw_rounding_flags) end function igGetWindowScrollbarRect(pOut, window, axis) @@ -10036,6 +10144,10 @@ function igDataTypeClamp(data_type, p_data, p_min, p_max) ccall((:igDataTypeClamp, libcimgui), Bool, (ImGuiDataType, Ptr{Cvoid}, Ptr{Cvoid}, Ptr{Cvoid}), data_type, p_data, p_min, p_max) end +function igDataTypeIsZero(data_type, p_data) + ccall((:igDataTypeIsZero, libcimgui), Bool, (ImGuiDataType, Ptr{Cvoid}), data_type, p_data) +end + function igInputTextEx(label, hint, buf, buf_size, size_arg, flags, callback, user_data) ccall((:igInputTextEx, libcimgui), Bool, (Ptr{Cchar}, Ptr{Cchar}, Ptr{Cchar}, Cint, ImVec2, ImGuiInputTextFlags, ImGuiInputTextCallback, Ptr{Cvoid}), label, hint, buf, buf_size, size_arg, flags, callback, user_data) end @@ -10104,22 +10216,42 @@ function igGcAwakeTransientWindowBuffers(window) ccall((:igGcAwakeTransientWindowBuffers, libcimgui), Cvoid, (Ptr{ImGuiWindow},), window) end -function igDebugAllocHook(info, frame_count, ptr, size) - ccall((:igDebugAllocHook, libcimgui), Cvoid, (Ptr{ImGuiDebugAllocInfo}, Cint, Ptr{Cvoid}, Csize_t), info, frame_count, ptr, size) +function igErrorLog(msg) + ccall((:igErrorLog, libcimgui), Bool, (Ptr{Cchar},), msg) +end + +function igErrorRecoveryStoreState(state_out) + ccall((:igErrorRecoveryStoreState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_out) end -function igErrorCheckEndFrameRecover(log_callback, user_data) - ccall((:igErrorCheckEndFrameRecover, libcimgui), Cvoid, (ImGuiErrorLogCallback, Ptr{Cvoid}), log_callback, user_data) +function igErrorRecoveryTryToRecoverState(state_in) + ccall((:igErrorRecoveryTryToRecoverState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_in) end -function igErrorCheckEndWindowRecover(log_callback, user_data) - ccall((:igErrorCheckEndWindowRecover, libcimgui), Cvoid, (ImGuiErrorLogCallback, Ptr{Cvoid}), log_callback, user_data) +function igErrorRecoveryTryToRecoverWindowState(state_in) + ccall((:igErrorRecoveryTryToRecoverWindowState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_in) end function igErrorCheckUsingSetCursorPosToExtendParentBoundaries() ccall((:igErrorCheckUsingSetCursorPosToExtendParentBoundaries, libcimgui), Cvoid, ()) end +function igErrorCheckEndFrameFinalizeErrorTooltip() + ccall((:igErrorCheckEndFrameFinalizeErrorTooltip, libcimgui), Cvoid, ()) +end + +function igBeginErrorTooltip() + ccall((:igBeginErrorTooltip, libcimgui), Bool, ()) +end + +function igEndErrorTooltip() + ccall((:igEndErrorTooltip, libcimgui), Cvoid, ()) +end + +function igDebugAllocHook(info, frame_count, ptr, size) + ccall((:igDebugAllocHook, libcimgui), Cvoid, (Ptr{ImGuiDebugAllocInfo}, Cint, Ptr{Cvoid}, Csize_t), info, frame_count, ptr, size) +end + function igDebugDrawCursorPos(col) ccall((:igDebugDrawCursorPos, libcimgui), Cvoid, (ImU32,), col) end @@ -10823,11 +10955,29 @@ struct ImVector_ImU64 Data::Ptr{ImU64} end -struct ImVector_ImU8 +struct var"##Ctag#239" Size::Cint Capacity::Cint Data::Ptr{ImU8} end +function Base.getproperty(x::Ptr{var"##Ctag#239"}, f::Symbol) + f === :Size && return Ptr{Cint}(x + 0) + f === :Capacity && return Ptr{Cint}(x + 0) + f === :Data && return Ptr{Ptr{ImU8}}(x + 0) + return getfield(x, f) +end + +function Base.getproperty(x::var"##Ctag#239", f::Symbol) + r = Ref{var"##Ctag#239"}(x) + ptr = Base.unsafe_convert(Ptr{var"##Ctag#239"}, r) + fptr = getproperty(ptr, f) + GC.@preserve r unsafe_load(fptr) +end + +function Base.setproperty!(x::Ptr{var"##Ctag#239"}, f::Symbol, v) + unsafe_store!(getproperty(x, f), v) +end + const ImPlotDragToolFlags = Cint @@ -14830,6 +14980,8 @@ function ImGui_ImplOpenGL3_DestroyDeviceObjects() ccall((:ImGui_ImplOpenGL3_DestroyDeviceObjects, libcimgui), Cvoid, ()) end +const IM_UNICODE_CODEPOINT_MAX = 65535 + const IMGUI_HAS_DOCK = 1 const ImDrawCallback_ResetRenderState = ImDrawCallback(-8) diff --git a/lib/x86_64-linux-gnu.jl b/lib/x86_64-linux-gnu.jl index 6dc623f..367c93a 100644 --- a/lib/x86_64-linux-gnu.jl +++ b/lib/x86_64-linux-gnu.jl @@ -45,7 +45,9 @@ function Base.setproperty!(x::Ptr{ImVec4}, f::Symbol, v) end -const ImTextureID = Ptr{Cvoid} +const ImU64 = Culonglong + +const ImTextureID = ImU64 struct ImDrawCmd ClipRect::ImVec4 @@ -55,6 +57,8 @@ struct ImDrawCmd ElemCount::Cuint UserCallback::ImDrawCallback UserCallbackData::Ptr{Cvoid} + UserCallbackDataSize::Cint + UserCallbackDataOffset::Cint end function Base.getproperty(x::Ptr{ImDrawCmd}, f::Symbol) f === :ClipRect && return Ptr{ImVec4}(x + 0) @@ -64,6 +68,8 @@ function Base.getproperty(x::Ptr{ImDrawCmd}, f::Symbol) f === :ElemCount && return Ptr{Cuint}(x + 32) f === :UserCallback && return Ptr{ImDrawCallback}(x + 40) f === :UserCallbackData && return Ptr{Ptr{Cvoid}}(x + 48) + f === :UserCallbackDataSize && return Ptr{Cint}(x + 56) + f === :UserCallbackDataOffset && return Ptr{Cint}(x + 60) return getfield(x, f) end @@ -221,19 +227,63 @@ function Base.getproperty(x::ImVector_ImFontPtr, f::Symbol) end struct ImFontAtlasCustomRect - Width::Cushort - Height::Cushort - X::Cushort - Y::Cushort - GlyphID::Cuint - GlyphAdvanceX::Cfloat - GlyphOffset::ImVec2 - Font::Ptr{Cvoid} # Font::Ptr{ImFont} + data::NTuple{32, UInt8} +end + +function Base.getproperty(x::Ptr{ImFontAtlasCustomRect}, f::Symbol) + f === :X && return Ptr{Cushort}(x + 0) + f === :Y && return Ptr{Cushort}(x + 2) + f === :Width && return Ptr{Cushort}(x + 4) + f === :Height && return Ptr{Cushort}(x + 6) + f === :GlyphID && return (Ptr{Cuint}(x + 8), 0, 31) + f === :GlyphColored && return (Ptr{Cuint}(x + 8), 31, 1) + f === :GlyphAdvanceX && return Ptr{Cfloat}(x + 12) + f === :GlyphOffset && return Ptr{ImVec2}(x + 16) + f === :Font && return Ptr{Ptr{ImFont}}(x + 24) + return getfield(x, f) end function Base.getproperty(x::ImFontAtlasCustomRect, f::Symbol) - f === :Font && return Ptr{ImFont}(getfield(x, f)) - return getfield(x, f) + r = Ref{ImFontAtlasCustomRect}(x) + ptr = Base.unsafe_convert(Ptr{ImFontAtlasCustomRect}, r) + fptr = getproperty(ptr, f) + begin + if fptr isa Ptr + return GC.@preserve(r, unsafe_load(fptr)) + else + (baseptr, offset, width) = fptr + ty = eltype(baseptr) + baseptr32 = convert(Ptr{UInt32}, baseptr) + u64 = GC.@preserve(r, unsafe_load(baseptr32)) + if offset + width > 32 + u64 |= GC.@preserve(r, unsafe_load(baseptr32 + 4)) << 32 + end + u64 = u64 >> offset & (1 << width - 1) + return u64 % ty + end + end +end + +function Base.setproperty!(x::Ptr{ImFontAtlasCustomRect}, f::Symbol, v) + fptr = getproperty(x, f) + if fptr isa Ptr + unsafe_store!(getproperty(x, f), v) + else + (baseptr, offset, width) = fptr + baseptr32 = convert(Ptr{UInt32}, baseptr) + u64 = unsafe_load(baseptr32) + straddle = offset + width > 32 + if straddle + u64 |= unsafe_load(baseptr32 + 4) << 32 + end + mask = 1 << width - 1 + u64 &= ~(mask << offset) + u64 |= (unsigned(v) & mask) << offset + unsafe_store!(baseptr32, u64 & typemax(UInt32)) + if straddle + unsafe_store!(baseptr32 + 4, u64 >> 32) + end + end end struct ImVector_ImFontAtlasCustomRect @@ -375,9 +425,9 @@ struct ImFont ContainerAtlas::Ptr{ImFontAtlas} ConfigData::Ptr{ImFontConfig} ConfigDataCount::Cshort - FallbackChar::ImWchar - EllipsisChar::ImWchar EllipsisCharCount::Cshort + EllipsisChar::ImWchar + FallbackChar::ImWchar EllipsisWidth::Cfloat EllipsisCharStep::Cfloat DirtyLookupTables::Bool @@ -396,6 +446,7 @@ end struct ImDrawListSharedData TexUvWhitePixel::ImVec2 + TexUvLines::Ptr{ImVec4} Font::Ptr{ImFont} FontSize::Cfloat FontScale::Cfloat @@ -407,7 +458,6 @@ struct ImDrawListSharedData ArcFastVtx::NTuple{48, ImVec2} ArcFastRadiusCutoff::Cfloat CircleSegmentCounts::NTuple{64, ImU8} - TexUvLines::Ptr{ImVec4} end struct ImDrawCmdHeader @@ -440,6 +490,12 @@ struct ImVector_ImTextureID Data::Ptr{ImTextureID} end +struct ImVector_ImU8 + Size::Cint + Capacity::Cint + Data::Ptr{ImU8} +end + struct ImDrawList CmdBuffer::ImVector_ImDrawCmd IdxBuffer::ImVector_ImDrawIdx @@ -454,6 +510,7 @@ struct ImDrawList _Splitter::ImDrawListSplitter _ClipRectStack::ImVector_ImVec4 _TextureIdStack::ImVector_ImTextureID + _CallbacksDataBuf::ImVector_ImU8 _FringeScale::Cfloat _OwnerName::Ptr{Cchar} end @@ -471,8 +528,9 @@ function Base.getproperty(x::Ptr{ImDrawList}, f::Symbol) f === :_Splitter && return Ptr{ImDrawListSplitter}(x + 128) f === :_ClipRectStack && return Ptr{ImVector_ImVec4}(x + 152) f === :_TextureIdStack && return Ptr{ImVector_ImTextureID}(x + 168) - f === :_FringeScale && return Ptr{Cfloat}(x + 184) - f === :_OwnerName && return Ptr{Ptr{Cchar}}(x + 192) + f === :_CallbacksDataBuf && return Ptr{ImVector_ImU8}(x + 184) + f === :_FringeScale && return Ptr{Cfloat}(x + 200) + f === :_OwnerName && return Ptr{Ptr{Cchar}}(x + 208) return getfield(x, f) end @@ -606,8 +664,6 @@ end const ImU16 = Cushort -const ImS8 = Int8 - struct ImGuiIO ConfigFlags::ImGuiConfigFlags BackendFlags::ImGuiBackendFlags @@ -622,6 +678,13 @@ struct ImGuiIO FontAllowUserScaling::Bool FontDefault::Ptr{ImFont} DisplayFramebufferScale::ImVec2 + ConfigNavSwapGamepadButtons::Bool + ConfigNavMoveSetMousePos::Bool + ConfigNavCaptureKeyboard::Bool + ConfigNavEscapeClearFocusItem::Bool + ConfigNavEscapeClearFocusWindow::Bool + ConfigNavCursorVisibleAuto::Bool + ConfigNavCursorVisibleAlways::Bool ConfigDockingNoSplit::Bool ConfigDockingWithShift::Bool ConfigDockingAlwaysTabBar::Bool @@ -632,19 +695,24 @@ struct ImGuiIO ConfigViewportsNoDefaultParent::Bool MouseDrawCursor::Bool ConfigMacOSXBehaviors::Bool - ConfigNavSwapGamepadButtons::Bool ConfigInputTrickleEventQueue::Bool ConfigInputTextCursorBlink::Bool ConfigInputTextEnterKeepActive::Bool ConfigDragClickToInputText::Bool ConfigWindowsResizeFromEdges::Bool ConfigWindowsMoveFromTitleBarOnly::Bool + ConfigWindowsCopyContentsWithCtrlC::Bool + ConfigScrollbarScrollByPage::Bool ConfigMemoryCompactTimer::Cfloat MouseDoubleClickTime::Cfloat MouseDoubleClickMaxDist::Cfloat MouseDragThreshold::Cfloat KeyRepeatDelay::Cfloat KeyRepeatRate::Cfloat + ConfigErrorRecovery::Bool + ConfigErrorRecoveryEnableAssert::Bool + ConfigErrorRecoveryEnableDebugLog::Bool + ConfigErrorRecoveryEnableTooltip::Bool ConfigDebugIsDebuggerPresent::Bool ConfigDebugHighlightIdConflicts::Bool ConfigDebugBeginReturnValueOnce::Bool @@ -702,8 +770,6 @@ struct ImGuiIO PenPressure::Cfloat AppFocusLost::Bool AppAcceptingEvents::Bool - BackendUsingLegacyKeyArrays::ImS8 - BackendUsingLegacyNavInputArray::Bool InputQueueSurrogate::ImWchar16 InputQueueCharacters::ImVector_ImWchar end @@ -727,90 +793,100 @@ function Base.getproperty(x::Ptr{ImGuiIO}, f::Symbol) f === :FontAllowUserScaling && return Ptr{Bool}(x + 60) f === :FontDefault && return Ptr{Ptr{ImFont}}(x + 64) f === :DisplayFramebufferScale && return Ptr{ImVec2}(x + 72) - f === :ConfigDockingNoSplit && return Ptr{Bool}(x + 80) - f === :ConfigDockingWithShift && return Ptr{Bool}(x + 81) - f === :ConfigDockingAlwaysTabBar && return Ptr{Bool}(x + 82) - f === :ConfigDockingTransparentPayload && return Ptr{Bool}(x + 83) - f === :ConfigViewportsNoAutoMerge && return Ptr{Bool}(x + 84) - f === :ConfigViewportsNoTaskBarIcon && return Ptr{Bool}(x + 85) - f === :ConfigViewportsNoDecoration && return Ptr{Bool}(x + 86) - f === :ConfigViewportsNoDefaultParent && return Ptr{Bool}(x + 87) - f === :MouseDrawCursor && return Ptr{Bool}(x + 88) - f === :ConfigMacOSXBehaviors && return Ptr{Bool}(x + 89) - f === :ConfigNavSwapGamepadButtons && return Ptr{Bool}(x + 90) - f === :ConfigInputTrickleEventQueue && return Ptr{Bool}(x + 91) - f === :ConfigInputTextCursorBlink && return Ptr{Bool}(x + 92) - f === :ConfigInputTextEnterKeepActive && return Ptr{Bool}(x + 93) - f === :ConfigDragClickToInputText && return Ptr{Bool}(x + 94) - f === :ConfigWindowsResizeFromEdges && return Ptr{Bool}(x + 95) - f === :ConfigWindowsMoveFromTitleBarOnly && return Ptr{Bool}(x + 96) - f === :ConfigMemoryCompactTimer && return Ptr{Cfloat}(x + 100) - f === :MouseDoubleClickTime && return Ptr{Cfloat}(x + 104) - f === :MouseDoubleClickMaxDist && return Ptr{Cfloat}(x + 108) - f === :MouseDragThreshold && return Ptr{Cfloat}(x + 112) - f === :KeyRepeatDelay && return Ptr{Cfloat}(x + 116) - f === :KeyRepeatRate && return Ptr{Cfloat}(x + 120) - f === :ConfigDebugIsDebuggerPresent && return Ptr{Bool}(x + 124) - f === :ConfigDebugHighlightIdConflicts && return Ptr{Bool}(x + 125) - f === :ConfigDebugBeginReturnValueOnce && return Ptr{Bool}(x + 126) - f === :ConfigDebugBeginReturnValueLoop && return Ptr{Bool}(x + 127) - f === :ConfigDebugIgnoreFocusLoss && return Ptr{Bool}(x + 128) - f === :ConfigDebugIniSettings && return Ptr{Bool}(x + 129) - f === :BackendPlatformName && return Ptr{Ptr{Cchar}}(x + 136) - f === :BackendRendererName && return Ptr{Ptr{Cchar}}(x + 144) - f === :BackendPlatformUserData && return Ptr{Ptr{Cvoid}}(x + 152) - f === :BackendRendererUserData && return Ptr{Ptr{Cvoid}}(x + 160) - f === :BackendLanguageUserData && return Ptr{Ptr{Cvoid}}(x + 168) - f === :WantCaptureMouse && return Ptr{Bool}(x + 176) - f === :WantCaptureKeyboard && return Ptr{Bool}(x + 177) - f === :WantTextInput && return Ptr{Bool}(x + 178) - f === :WantSetMousePos && return Ptr{Bool}(x + 179) - f === :WantSaveIniSettings && return Ptr{Bool}(x + 180) - f === :NavActive && return Ptr{Bool}(x + 181) - f === :NavVisible && return Ptr{Bool}(x + 182) - f === :Framerate && return Ptr{Cfloat}(x + 184) - f === :MetricsRenderVertices && return Ptr{Cint}(x + 188) - f === :MetricsRenderIndices && return Ptr{Cint}(x + 192) - f === :MetricsRenderWindows && return Ptr{Cint}(x + 196) - f === :MetricsActiveWindows && return Ptr{Cint}(x + 200) - f === :MouseDelta && return Ptr{ImVec2}(x + 204) - f === :Ctx && return Ptr{Ptr{ImGuiContext}}(x + 216) - f === :MousePos && return Ptr{ImVec2}(x + 224) - f === :MouseDown && return Ptr{NTuple{5, Bool}}(x + 232) - f === :MouseWheel && return Ptr{Cfloat}(x + 240) - f === :MouseWheelH && return Ptr{Cfloat}(x + 244) - f === :MouseSource && return Ptr{ImGuiMouseSource}(x + 248) - f === :MouseHoveredViewport && return Ptr{ImGuiID}(x + 252) - f === :KeyCtrl && return Ptr{Bool}(x + 256) - f === :KeyShift && return Ptr{Bool}(x + 257) - f === :KeyAlt && return Ptr{Bool}(x + 258) - f === :KeySuper && return Ptr{Bool}(x + 259) - f === :KeyMods && return Ptr{ImGuiKeyChord}(x + 260) - f === :KeysData && return Ptr{NTuple{154, ImGuiKeyData}}(x + 264) - f === :WantCaptureMouseUnlessPopupClose && return Ptr{Bool}(x + 2728) - f === :MousePosPrev && return Ptr{ImVec2}(x + 2732) - f === :MouseClickedPos && return Ptr{NTuple{5, ImVec2}}(x + 2740) - f === :MouseClickedTime && return Ptr{NTuple{5, Cdouble}}(x + 2784) - f === :MouseClicked && return Ptr{NTuple{5, Bool}}(x + 2824) - f === :MouseDoubleClicked && return Ptr{NTuple{5, Bool}}(x + 2829) - f === :MouseClickedCount && return Ptr{NTuple{5, ImU16}}(x + 2834) - f === :MouseClickedLastCount && return Ptr{NTuple{5, ImU16}}(x + 2844) - f === :MouseReleased && return Ptr{NTuple{5, Bool}}(x + 2854) - f === :MouseDownOwned && return Ptr{NTuple{5, Bool}}(x + 2859) - f === :MouseDownOwnedUnlessPopupClose && return Ptr{NTuple{5, Bool}}(x + 2864) - f === :MouseWheelRequestAxisSwap && return Ptr{Bool}(x + 2869) - f === :MouseCtrlLeftAsRightClick && return Ptr{Bool}(x + 2870) - f === :MouseDownDuration && return Ptr{NTuple{5, Cfloat}}(x + 2872) - f === :MouseDownDurationPrev && return Ptr{NTuple{5, Cfloat}}(x + 2892) - f === :MouseDragMaxDistanceAbs && return Ptr{NTuple{5, ImVec2}}(x + 2912) - f === :MouseDragMaxDistanceSqr && return Ptr{NTuple{5, Cfloat}}(x + 2952) - f === :PenPressure && return Ptr{Cfloat}(x + 2972) - f === :AppFocusLost && return Ptr{Bool}(x + 2976) - f === :AppAcceptingEvents && return Ptr{Bool}(x + 2977) - f === :BackendUsingLegacyKeyArrays && return Ptr{ImS8}(x + 2978) - f === :BackendUsingLegacyNavInputArray && return Ptr{Bool}(x + 2979) - f === :InputQueueSurrogate && return Ptr{ImWchar16}(x + 2980) - f === :InputQueueCharacters && return Ptr{ImVector_ImWchar}(x + 2984) + f === :ConfigNavSwapGamepadButtons && return Ptr{Bool}(x + 80) + f === :ConfigNavMoveSetMousePos && return Ptr{Bool}(x + 81) + f === :ConfigNavCaptureKeyboard && return Ptr{Bool}(x + 82) + f === :ConfigNavEscapeClearFocusItem && return Ptr{Bool}(x + 83) + f === :ConfigNavEscapeClearFocusWindow && return Ptr{Bool}(x + 84) + f === :ConfigNavCursorVisibleAuto && return Ptr{Bool}(x + 85) + f === :ConfigNavCursorVisibleAlways && return Ptr{Bool}(x + 86) + f === :ConfigDockingNoSplit && return Ptr{Bool}(x + 87) + f === :ConfigDockingWithShift && return Ptr{Bool}(x + 88) + f === :ConfigDockingAlwaysTabBar && return Ptr{Bool}(x + 89) + f === :ConfigDockingTransparentPayload && return Ptr{Bool}(x + 90) + f === :ConfigViewportsNoAutoMerge && return Ptr{Bool}(x + 91) + f === :ConfigViewportsNoTaskBarIcon && return Ptr{Bool}(x + 92) + f === :ConfigViewportsNoDecoration && return Ptr{Bool}(x + 93) + f === :ConfigViewportsNoDefaultParent && return Ptr{Bool}(x + 94) + f === :MouseDrawCursor && return Ptr{Bool}(x + 95) + f === :ConfigMacOSXBehaviors && return Ptr{Bool}(x + 96) + f === :ConfigInputTrickleEventQueue && return Ptr{Bool}(x + 97) + f === :ConfigInputTextCursorBlink && return Ptr{Bool}(x + 98) + f === :ConfigInputTextEnterKeepActive && return Ptr{Bool}(x + 99) + f === :ConfigDragClickToInputText && return Ptr{Bool}(x + 100) + f === :ConfigWindowsResizeFromEdges && return Ptr{Bool}(x + 101) + f === :ConfigWindowsMoveFromTitleBarOnly && return Ptr{Bool}(x + 102) + f === :ConfigWindowsCopyContentsWithCtrlC && return Ptr{Bool}(x + 103) + f === :ConfigScrollbarScrollByPage && return Ptr{Bool}(x + 104) + f === :ConfigMemoryCompactTimer && return Ptr{Cfloat}(x + 108) + f === :MouseDoubleClickTime && return Ptr{Cfloat}(x + 112) + f === :MouseDoubleClickMaxDist && return Ptr{Cfloat}(x + 116) + f === :MouseDragThreshold && return Ptr{Cfloat}(x + 120) + f === :KeyRepeatDelay && return Ptr{Cfloat}(x + 124) + f === :KeyRepeatRate && return Ptr{Cfloat}(x + 128) + f === :ConfigErrorRecovery && return Ptr{Bool}(x + 132) + f === :ConfigErrorRecoveryEnableAssert && return Ptr{Bool}(x + 133) + f === :ConfigErrorRecoveryEnableDebugLog && return Ptr{Bool}(x + 134) + f === :ConfigErrorRecoveryEnableTooltip && return Ptr{Bool}(x + 135) + f === :ConfigDebugIsDebuggerPresent && return Ptr{Bool}(x + 136) + f === :ConfigDebugHighlightIdConflicts && return Ptr{Bool}(x + 137) + f === :ConfigDebugBeginReturnValueOnce && return Ptr{Bool}(x + 138) + f === :ConfigDebugBeginReturnValueLoop && return Ptr{Bool}(x + 139) + f === :ConfigDebugIgnoreFocusLoss && return Ptr{Bool}(x + 140) + f === :ConfigDebugIniSettings && return Ptr{Bool}(x + 141) + f === :BackendPlatformName && return Ptr{Ptr{Cchar}}(x + 144) + f === :BackendRendererName && return Ptr{Ptr{Cchar}}(x + 152) + f === :BackendPlatformUserData && return Ptr{Ptr{Cvoid}}(x + 160) + f === :BackendRendererUserData && return Ptr{Ptr{Cvoid}}(x + 168) + f === :BackendLanguageUserData && return Ptr{Ptr{Cvoid}}(x + 176) + f === :WantCaptureMouse && return Ptr{Bool}(x + 184) + f === :WantCaptureKeyboard && return Ptr{Bool}(x + 185) + f === :WantTextInput && return Ptr{Bool}(x + 186) + f === :WantSetMousePos && return Ptr{Bool}(x + 187) + f === :WantSaveIniSettings && return Ptr{Bool}(x + 188) + f === :NavActive && return Ptr{Bool}(x + 189) + f === :NavVisible && return Ptr{Bool}(x + 190) + f === :Framerate && return Ptr{Cfloat}(x + 192) + f === :MetricsRenderVertices && return Ptr{Cint}(x + 196) + f === :MetricsRenderIndices && return Ptr{Cint}(x + 200) + f === :MetricsRenderWindows && return Ptr{Cint}(x + 204) + f === :MetricsActiveWindows && return Ptr{Cint}(x + 208) + f === :MouseDelta && return Ptr{ImVec2}(x + 212) + f === :Ctx && return Ptr{Ptr{ImGuiContext}}(x + 224) + f === :MousePos && return Ptr{ImVec2}(x + 232) + f === :MouseDown && return Ptr{NTuple{5, Bool}}(x + 240) + f === :MouseWheel && return Ptr{Cfloat}(x + 248) + f === :MouseWheelH && return Ptr{Cfloat}(x + 252) + f === :MouseSource && return Ptr{ImGuiMouseSource}(x + 256) + f === :MouseHoveredViewport && return Ptr{ImGuiID}(x + 260) + f === :KeyCtrl && return Ptr{Bool}(x + 264) + f === :KeyShift && return Ptr{Bool}(x + 265) + f === :KeyAlt && return Ptr{Bool}(x + 266) + f === :KeySuper && return Ptr{Bool}(x + 267) + f === :KeyMods && return Ptr{ImGuiKeyChord}(x + 268) + f === :KeysData && return Ptr{NTuple{154, ImGuiKeyData}}(x + 272) + f === :WantCaptureMouseUnlessPopupClose && return Ptr{Bool}(x + 2736) + f === :MousePosPrev && return Ptr{ImVec2}(x + 2740) + f === :MouseClickedPos && return Ptr{NTuple{5, ImVec2}}(x + 2748) + f === :MouseClickedTime && return Ptr{NTuple{5, Cdouble}}(x + 2792) + f === :MouseClicked && return Ptr{NTuple{5, Bool}}(x + 2832) + f === :MouseDoubleClicked && return Ptr{NTuple{5, Bool}}(x + 2837) + f === :MouseClickedCount && return Ptr{NTuple{5, ImU16}}(x + 2842) + f === :MouseClickedLastCount && return Ptr{NTuple{5, ImU16}}(x + 2852) + f === :MouseReleased && return Ptr{NTuple{5, Bool}}(x + 2862) + f === :MouseDownOwned && return Ptr{NTuple{5, Bool}}(x + 2867) + f === :MouseDownOwnedUnlessPopupClose && return Ptr{NTuple{5, Bool}}(x + 2872) + f === :MouseWheelRequestAxisSwap && return Ptr{Bool}(x + 2877) + f === :MouseCtrlLeftAsRightClick && return Ptr{Bool}(x + 2878) + f === :MouseDownDuration && return Ptr{NTuple{5, Cfloat}}(x + 2880) + f === :MouseDownDurationPrev && return Ptr{NTuple{5, Cfloat}}(x + 2900) + f === :MouseDragMaxDistanceAbs && return Ptr{NTuple{5, ImVec2}}(x + 2920) + f === :MouseDragMaxDistanceSqr && return Ptr{NTuple{5, Cfloat}}(x + 2960) + f === :PenPressure && return Ptr{Cfloat}(x + 2980) + f === :AppFocusLost && return Ptr{Bool}(x + 2984) + f === :AppAcceptingEvents && return Ptr{Bool}(x + 2985) + f === :InputQueueSurrogate && return Ptr{ImWchar16}(x + 2986) + f === :InputQueueCharacters && return Ptr{ImVector_ImWchar}(x + 2992) return getfield(x, f) end @@ -862,6 +938,7 @@ struct ImGuiPlatformIO Platform_SetImeDataFn::Ptr{Cvoid} Platform_ImeUserData::Ptr{Cvoid} Platform_LocaleDecimalPoint::ImWchar + Renderer_RenderState::Ptr{Cvoid} Platform_CreateWindow::Ptr{Cvoid} Platform_DestroyWindow::Ptr{Cvoid} Platform_ShowWindow::Ptr{Cvoid} @@ -898,32 +975,33 @@ function Base.getproperty(x::Ptr{ImGuiPlatformIO}, f::Symbol) f === :Platform_SetImeDataFn && return Ptr{Ptr{Cvoid}}(x + 40) f === :Platform_ImeUserData && return Ptr{Ptr{Cvoid}}(x + 48) f === :Platform_LocaleDecimalPoint && return Ptr{ImWchar}(x + 56) - f === :Platform_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 64) - f === :Platform_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 72) - f === :Platform_ShowWindow && return Ptr{Ptr{Cvoid}}(x + 80) - f === :Platform_SetWindowPos && return Ptr{Ptr{Cvoid}}(x + 88) - f === :Platform_GetWindowPos && return Ptr{Ptr{Cvoid}}(x + 96) - f === :Platform_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 104) - f === :Platform_GetWindowSize && return Ptr{Ptr{Cvoid}}(x + 112) - f === :Platform_SetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 120) - f === :Platform_GetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 128) - f === :Platform_GetWindowMinimized && return Ptr{Ptr{Cvoid}}(x + 136) - f === :Platform_SetWindowTitle && return Ptr{Ptr{Cvoid}}(x + 144) - f === :Platform_SetWindowAlpha && return Ptr{Ptr{Cvoid}}(x + 152) - f === :Platform_UpdateWindow && return Ptr{Ptr{Cvoid}}(x + 160) - f === :Platform_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 168) - f === :Platform_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 176) - f === :Platform_GetWindowDpiScale && return Ptr{Ptr{Cvoid}}(x + 184) - f === :Platform_OnChangedViewport && return Ptr{Ptr{Cvoid}}(x + 192) - f === :Platform_GetWindowWorkAreaInsets && return Ptr{Ptr{Cvoid}}(x + 200) - f === :Platform_CreateVkSurface && return Ptr{Ptr{Cvoid}}(x + 208) - f === :Renderer_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 216) - f === :Renderer_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 224) - f === :Renderer_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 232) - f === :Renderer_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 240) - f === :Renderer_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 248) - f === :Monitors && return Ptr{ImVector_ImGuiPlatformMonitor}(x + 256) - f === :Viewports && return Ptr{ImVector_ImGuiViewportPtr}(x + 272) + f === :Renderer_RenderState && return Ptr{Ptr{Cvoid}}(x + 64) + f === :Platform_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 72) + f === :Platform_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 80) + f === :Platform_ShowWindow && return Ptr{Ptr{Cvoid}}(x + 88) + f === :Platform_SetWindowPos && return Ptr{Ptr{Cvoid}}(x + 96) + f === :Platform_GetWindowPos && return Ptr{Ptr{Cvoid}}(x + 104) + f === :Platform_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 112) + f === :Platform_GetWindowSize && return Ptr{Ptr{Cvoid}}(x + 120) + f === :Platform_SetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 128) + f === :Platform_GetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 136) + f === :Platform_GetWindowMinimized && return Ptr{Ptr{Cvoid}}(x + 144) + f === :Platform_SetWindowTitle && return Ptr{Ptr{Cvoid}}(x + 152) + f === :Platform_SetWindowAlpha && return Ptr{Ptr{Cvoid}}(x + 160) + f === :Platform_UpdateWindow && return Ptr{Ptr{Cvoid}}(x + 168) + f === :Platform_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 176) + f === :Platform_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 184) + f === :Platform_GetWindowDpiScale && return Ptr{Ptr{Cvoid}}(x + 192) + f === :Platform_OnChangedViewport && return Ptr{Ptr{Cvoid}}(x + 200) + f === :Platform_GetWindowWorkAreaInsets && return Ptr{Ptr{Cvoid}}(x + 208) + f === :Platform_CreateVkSurface && return Ptr{Ptr{Cvoid}}(x + 216) + f === :Renderer_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 224) + f === :Renderer_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 232) + f === :Renderer_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 240) + f === :Renderer_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 248) + f === :Renderer_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 256) + f === :Monitors && return Ptr{ImVector_ImGuiPlatformMonitor}(x + 264) + f === :Viewports && return Ptr{ImVector_ImGuiViewportPtr}(x + 280) return getfield(x, f) end @@ -1185,6 +1263,8 @@ function Base.getproperty(x::ImGuiViewportP, f::Symbol) return getfield(x, f) end +const ImS8 = Int8 + const ImGuiCond = Cint struct ImVector_ImGuiID @@ -1395,6 +1475,7 @@ struct ImGuiTextBuffer end struct ImGuiTabBar + Window::Ptr{Cvoid} # Window::Ptr{ImGuiWindow} Tabs::ImVector_ImGuiTabItem Flags::ImGuiTabBarFlags ID::ImGuiID @@ -1430,6 +1511,11 @@ struct ImGuiTabBar TabsNames::ImGuiTextBuffer end +function Base.getproperty(x::ImGuiTabBar, f::Symbol) + f === :Window && return Ptr{ImGuiWindow}(getfield(x, f)) + return getfield(x, f) +end + @cenum ImGuiAxis::Int32 begin ImGuiAxis_None = -1 ImGuiAxis_X = 0 @@ -1534,7 +1620,7 @@ end const ImGuiItemStatusFlags = Cint struct ImGuiWindow - data::NTuple{1168, UInt8} + data::NTuple{1184, UInt8} end function Base.getproperty(x::Ptr{ImGuiWindow}, f::Symbol) @@ -1635,33 +1721,33 @@ function Base.getproperty(x::Ptr{ImGuiWindow}, f::Symbol) f === :SettingsOffset && return Ptr{Cint}(x + 736) f === :DrawList && return Ptr{Ptr{ImDrawList}}(x + 744) f === :DrawListInst && return Ptr{ImDrawList}(x + 752) - f === :ParentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 952) - f === :ParentWindowInBeginStack && return Ptr{Ptr{ImGuiWindow}}(x + 960) - f === :RootWindow && return Ptr{Ptr{ImGuiWindow}}(x + 968) - f === :RootWindowPopupTree && return Ptr{Ptr{ImGuiWindow}}(x + 976) - f === :RootWindowDockTree && return Ptr{Ptr{ImGuiWindow}}(x + 984) - f === :RootWindowForTitleBarHighlight && return Ptr{Ptr{ImGuiWindow}}(x + 992) - f === :RootWindowForNav && return Ptr{Ptr{ImGuiWindow}}(x + 1000) - f === :ParentWindowForFocusRoute && return Ptr{Ptr{ImGuiWindow}}(x + 1008) - f === :NavLastChildNavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 1016) - f === :NavLastIds && return Ptr{NTuple{2, ImGuiID}}(x + 1024) - f === :NavRectRel && return Ptr{NTuple{2, ImRect}}(x + 1032) - f === :NavPreferredScoringPosRel && return Ptr{NTuple{2, ImVec2}}(x + 1064) - f === :NavRootFocusScopeId && return Ptr{ImGuiID}(x + 1080) - f === :MemoryDrawListIdxCapacity && return Ptr{Cint}(x + 1084) - f === :MemoryDrawListVtxCapacity && return Ptr{Cint}(x + 1088) - f === :MemoryCompacted && return Ptr{Bool}(x + 1092) - f === :DockIsActive && return (Ptr{Bool}(x + 1092), 8, 1) - f === :DockNodeIsVisible && return (Ptr{Bool}(x + 1092), 9, 1) - f === :DockTabIsVisible && return (Ptr{Bool}(x + 1092), 10, 1) - f === :DockTabWantClose && return (Ptr{Bool}(x + 1092), 11, 1) - f === :DockOrder && return Ptr{Cshort}(x + 1094) - f === :DockStyle && return Ptr{ImGuiWindowDockStyle}(x + 1096) - f === :DockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 1128) - f === :DockNodeAsHost && return Ptr{Ptr{ImGuiDockNode}}(x + 1136) - f === :DockId && return Ptr{ImGuiID}(x + 1144) - f === :DockTabItemStatusFlags && return Ptr{ImGuiItemStatusFlags}(x + 1148) - f === :DockTabItemRect && return Ptr{ImRect}(x + 1152) + f === :ParentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 968) + f === :ParentWindowInBeginStack && return Ptr{Ptr{ImGuiWindow}}(x + 976) + f === :RootWindow && return Ptr{Ptr{ImGuiWindow}}(x + 984) + f === :RootWindowPopupTree && return Ptr{Ptr{ImGuiWindow}}(x + 992) + f === :RootWindowDockTree && return Ptr{Ptr{ImGuiWindow}}(x + 1000) + f === :RootWindowForTitleBarHighlight && return Ptr{Ptr{ImGuiWindow}}(x + 1008) + f === :RootWindowForNav && return Ptr{Ptr{ImGuiWindow}}(x + 1016) + f === :ParentWindowForFocusRoute && return Ptr{Ptr{ImGuiWindow}}(x + 1024) + f === :NavLastChildNavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 1032) + f === :NavLastIds && return Ptr{NTuple{2, ImGuiID}}(x + 1040) + f === :NavRectRel && return Ptr{NTuple{2, ImRect}}(x + 1048) + f === :NavPreferredScoringPosRel && return Ptr{NTuple{2, ImVec2}}(x + 1080) + f === :NavRootFocusScopeId && return Ptr{ImGuiID}(x + 1096) + f === :MemoryDrawListIdxCapacity && return Ptr{Cint}(x + 1100) + f === :MemoryDrawListVtxCapacity && return Ptr{Cint}(x + 1104) + f === :MemoryCompacted && return Ptr{Bool}(x + 1108) + f === :DockIsActive && return (Ptr{Bool}(x + 1108), 8, 1) + f === :DockNodeIsVisible && return (Ptr{Bool}(x + 1108), 9, 1) + f === :DockTabIsVisible && return (Ptr{Bool}(x + 1108), 10, 1) + f === :DockTabWantClose && return (Ptr{Bool}(x + 1108), 11, 1) + f === :DockOrder && return Ptr{Cshort}(x + 1110) + f === :DockStyle && return Ptr{ImGuiWindowDockStyle}(x + 1112) + f === :DockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 1144) + f === :DockNodeAsHost && return Ptr{Ptr{ImGuiDockNode}}(x + 1152) + f === :DockId && return Ptr{ImGuiID}(x + 1160) + f === :DockTabItemStatusFlags && return Ptr{ImGuiItemStatusFlags}(x + 1164) + f === :DockTabItemRect && return Ptr{ImRect}(x + 1168) return getfield(x, f) end @@ -1712,7 +1798,7 @@ const ImGuiItemFlags = Cint struct ImGuiLastItemData ID::ImGuiID - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags StatusFlags::ImGuiItemStatusFlags Rect::ImRect NavRect::ImRect @@ -1721,8 +1807,10 @@ struct ImGuiLastItemData Shortcut::ImGuiKeyChord end -struct ImGuiStackSizes +struct ImGuiErrorRecoveryState + SizeOfWindowStack::Cshort SizeOfIDStack::Cshort + SizeOfTreeStack::Cshort SizeOfColorStack::Cshort SizeOfStyleVarStack::Cshort SizeOfFontStack::Cshort @@ -1736,7 +1824,7 @@ end struct ImGuiWindowStackData Window::Ptr{ImGuiWindow} ParentLastItemDataBackup::ImGuiLastItemData - StackSizesOnBegin::ImGuiStackSizes + StackSizesInBegin::ImGuiErrorRecoveryState DisabledOverrideReenable::Bool end @@ -1795,7 +1883,7 @@ struct ImGuiDataTypeStorage end struct ImGuiNextItemData - Flags::ImGuiNextItemDataFlags + HasFlags::ImGuiNextItemDataFlags ItemFlags::ImGuiItemFlags FocusScopeId::ImGuiID SelectionUserData::ImGuiSelectionUserData @@ -1944,7 +2032,7 @@ const ImGuiTreeNodeFlags = Cint struct ImGuiTreeNodeStackData ID::ImGuiID TreeFlags::ImGuiTreeNodeFlags - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags NavRect::ImRect end @@ -1967,7 +2055,7 @@ struct ImGuiNavItemData ID::ImGuiID FocusScopeId::ImGuiID RectRel::ImRect - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags DistBox::Cfloat DistCenter::Cfloat DistAxial::Cfloat @@ -1980,6 +2068,7 @@ const ImGuiScrollFlags = Cint @cenum ImGuiKey::UInt32 begin ImGuiKey_None = 0 + ImGuiKey_NamedKey_BEGIN = 512 ImGuiKey_Tab = 512 ImGuiKey_LeftArrow = 513 ImGuiKey_RightArrow = 514 @@ -2134,18 +2223,14 @@ const ImGuiScrollFlags = Cint ImGuiKey_ReservedForModShift = 663 ImGuiKey_ReservedForModAlt = 664 ImGuiKey_ReservedForModSuper = 665 - ImGuiKey_COUNT = 666 + ImGuiKey_NamedKey_END = 666 ImGuiMod_None = 0 ImGuiMod_Ctrl = 4096 ImGuiMod_Shift = 8192 ImGuiMod_Alt = 16384 ImGuiMod_Super = 32768 ImGuiMod_Mask_ = 61440 - ImGuiKey_NamedKey_BEGIN = 512 - ImGuiKey_NamedKey_END = 666 ImGuiKey_NamedKey_COUNT = 154 - ImGuiKey_KeysData_SIZE = 154 - ImGuiKey_KeysData_OFFSET = 512 end const ImGuiDragDropFlags = Cint @@ -2800,11 +2885,11 @@ struct ImGuiInputTextState Ctx::Ptr{Cvoid} # Ctx::Ptr{ImGuiContext} Stb::Ptr{ImStbTexteditState} ID::ImGuiID - CurLenA::Cint + TextLen::Cint TextA::ImVector_char - InitialTextA::ImVector_char + TextToRevertTo::ImVector_char CallbackTextBackup::ImVector_char - BufCapacityA::Cint + BufCapacity::Cint Scroll::ImVec2 CursorAnim::Cfloat CursorFollow::Bool @@ -2940,16 +3025,13 @@ struct ImVector_ImGuiContextHook Data::Ptr{ImGuiContextHook} end -@cenum ImGuiLogType::UInt32 begin - ImGuiLogType_None = 0 - ImGuiLogType_TTY = 1 - ImGuiLogType_File = 2 - ImGuiLogType_Buffer = 3 - ImGuiLogType_Clipboard = 4 -end +const ImGuiLogFlags = Cint const ImFileHandle = Ptr{Libc.FILE} +# typedef void ( * ImGuiErrorCallback ) ( ImGuiContext * ctx , void * user_data , const char * msg ) +const ImGuiErrorCallback = Ptr{Cvoid} + const ImGuiDebugLogFlags = Cint struct ImVector_int @@ -3067,313 +3149,324 @@ struct ImGuiDebugAllocInfo end struct ImGuiContext - data::NTuple{10920, UInt8} + data::NTuple{11016, UInt8} end function Base.getproperty(x::Ptr{ImGuiContext}, f::Symbol) f === :Initialized && return Ptr{Bool}(x + 0) f === :FontAtlasOwnedByContext && return Ptr{Bool}(x + 1) f === :IO && return Ptr{ImGuiIO}(x + 8) - f === :PlatformIO && return Ptr{ImGuiPlatformIO}(x + 3008) - f === :Style && return Ptr{ImGuiStyle}(x + 3296) - f === :ConfigFlagsCurrFrame && return Ptr{ImGuiConfigFlags}(x + 4488) - f === :ConfigFlagsLastFrame && return Ptr{ImGuiConfigFlags}(x + 4492) - f === :Font && return Ptr{Ptr{ImFont}}(x + 4496) - f === :FontSize && return Ptr{Cfloat}(x + 4504) - f === :FontBaseSize && return Ptr{Cfloat}(x + 4508) - f === :FontScale && return Ptr{Cfloat}(x + 4512) - f === :CurrentDpiScale && return Ptr{Cfloat}(x + 4516) - f === :DrawListSharedData && return Ptr{ImDrawListSharedData}(x + 4520) - f === :Time && return Ptr{Cdouble}(x + 5056) - f === :FrameCount && return Ptr{Cint}(x + 5064) - f === :FrameCountEnded && return Ptr{Cint}(x + 5068) - f === :FrameCountPlatformEnded && return Ptr{Cint}(x + 5072) - f === :FrameCountRendered && return Ptr{Cint}(x + 5076) - f === :WithinFrameScope && return Ptr{Bool}(x + 5080) - f === :WithinFrameScopeWithImplicitWindow && return Ptr{Bool}(x + 5081) - f === :WithinEndChild && return Ptr{Bool}(x + 5082) - f === :GcCompactAll && return Ptr{Bool}(x + 5083) - f === :TestEngineHookItems && return Ptr{Bool}(x + 5084) - f === :TestEngine && return Ptr{Ptr{Cvoid}}(x + 5088) - f === :ContextName && return Ptr{NTuple{16, Cchar}}(x + 5096) - f === :InputEventsQueue && return Ptr{ImVector_ImGuiInputEvent}(x + 5112) - f === :InputEventsTrail && return Ptr{ImVector_ImGuiInputEvent}(x + 5128) - f === :InputEventsNextMouseSource && return Ptr{ImGuiMouseSource}(x + 5144) - f === :InputEventsNextEventId && return Ptr{ImU32}(x + 5148) - f === :Windows && return Ptr{ImVector_ImGuiWindowPtr}(x + 5152) - f === :WindowsFocusOrder && return Ptr{ImVector_ImGuiWindowPtr}(x + 5168) - f === :WindowsTempSortBuffer && return Ptr{ImVector_ImGuiWindowPtr}(x + 5184) - f === :CurrentWindowStack && return Ptr{ImVector_ImGuiWindowStackData}(x + 5200) - f === :WindowsById && return Ptr{ImGuiStorage}(x + 5216) - f === :WindowsActiveCount && return Ptr{Cint}(x + 5232) - f === :WindowsHoverPadding && return Ptr{ImVec2}(x + 5236) - f === :DebugBreakInWindow && return Ptr{ImGuiID}(x + 5244) - f === :CurrentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5248) - f === :HoveredWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5256) - f === :HoveredWindowUnderMovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5264) - f === :HoveredWindowBeforeClear && return Ptr{Ptr{ImGuiWindow}}(x + 5272) - f === :MovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5280) - f === :WheelingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5288) - f === :WheelingWindowRefMousePos && return Ptr{ImVec2}(x + 5296) - f === :WheelingWindowStartFrame && return Ptr{Cint}(x + 5304) - f === :WheelingWindowScrolledFrame && return Ptr{Cint}(x + 5308) - f === :WheelingWindowReleaseTimer && return Ptr{Cfloat}(x + 5312) - f === :WheelingWindowWheelRemainder && return Ptr{ImVec2}(x + 5316) - f === :WheelingAxisAvg && return Ptr{ImVec2}(x + 5324) - f === :DebugDrawIdConflicts && return Ptr{ImGuiID}(x + 5332) - f === :DebugHookIdInfo && return Ptr{ImGuiID}(x + 5336) - f === :HoveredId && return Ptr{ImGuiID}(x + 5340) - f === :HoveredIdPreviousFrame && return Ptr{ImGuiID}(x + 5344) - f === :HoveredIdPreviousFrameItemCount && return Ptr{Cint}(x + 5348) - f === :HoveredIdTimer && return Ptr{Cfloat}(x + 5352) - f === :HoveredIdNotActiveTimer && return Ptr{Cfloat}(x + 5356) - f === :HoveredIdAllowOverlap && return Ptr{Bool}(x + 5360) - f === :HoveredIdIsDisabled && return Ptr{Bool}(x + 5361) - f === :ItemUnclipByLog && return Ptr{Bool}(x + 5362) - f === :ActiveId && return Ptr{ImGuiID}(x + 5364) - f === :ActiveIdIsAlive && return Ptr{ImGuiID}(x + 5368) - f === :ActiveIdTimer && return Ptr{Cfloat}(x + 5372) - f === :ActiveIdIsJustActivated && return Ptr{Bool}(x + 5376) - f === :ActiveIdAllowOverlap && return Ptr{Bool}(x + 5377) - f === :ActiveIdNoClearOnFocusLoss && return Ptr{Bool}(x + 5378) - f === :ActiveIdHasBeenPressedBefore && return Ptr{Bool}(x + 5379) - f === :ActiveIdHasBeenEditedBefore && return Ptr{Bool}(x + 5380) - f === :ActiveIdHasBeenEditedThisFrame && return Ptr{Bool}(x + 5381) - f === :ActiveIdFromShortcut && return Ptr{Bool}(x + 5382) - f === :ActiveIdMouseButton && return (Ptr{Cint}(x + 5380), 24, 8) - f === :ActiveIdClickOffset && return Ptr{ImVec2}(x + 5384) - f === :ActiveIdWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5392) - f === :ActiveIdSource && return Ptr{ImGuiInputSource}(x + 5400) - f === :ActiveIdPreviousFrame && return Ptr{ImGuiID}(x + 5404) - f === :ActiveIdPreviousFrameIsAlive && return Ptr{Bool}(x + 5408) - f === :ActiveIdPreviousFrameHasBeenEditedBefore && return Ptr{Bool}(x + 5409) - f === :ActiveIdPreviousFrameWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5416) - f === :LastActiveId && return Ptr{ImGuiID}(x + 5424) - f === :LastActiveIdTimer && return Ptr{Cfloat}(x + 5428) - f === :LastKeyModsChangeTime && return Ptr{Cdouble}(x + 5432) - f === :LastKeyModsChangeFromNoneTime && return Ptr{Cdouble}(x + 5440) - f === :LastKeyboardKeyPressTime && return Ptr{Cdouble}(x + 5448) - f === :KeysMayBeCharInput && return Ptr{ImBitArrayForNamedKeys}(x + 5456) - f === :KeysOwnerData && return Ptr{NTuple{154, ImGuiKeyOwnerData}}(x + 5476) - f === :KeysRoutingTable && return Ptr{ImGuiKeyRoutingTable}(x + 7328) - f === :ActiveIdUsingNavDirMask && return Ptr{ImU32}(x + 7672) - f === :ActiveIdUsingAllKeyboardKeys && return Ptr{Bool}(x + 7676) - f === :DebugBreakInShortcutRouting && return Ptr{ImGuiKeyChord}(x + 7680) - f === :CurrentFocusScopeId && return Ptr{ImGuiID}(x + 7684) - f === :CurrentItemFlags && return Ptr{ImGuiItemFlags}(x + 7688) - f === :DebugLocateId && return Ptr{ImGuiID}(x + 7692) - f === :NextItemData && return Ptr{ImGuiNextItemData}(x + 7696) - f === :LastItemData && return Ptr{ImGuiLastItemData}(x + 7752) - f === :NextWindowData && return Ptr{ImGuiNextWindowData}(x + 7832) - f === :DebugShowGroupRects && return Ptr{Bool}(x + 7992) - f === :DebugFlashStyleColorIdx && return Ptr{ImGuiCol}(x + 7996) - f === :ColorStack && return Ptr{ImVector_ImGuiColorMod}(x + 8000) - f === :StyleVarStack && return Ptr{ImVector_ImGuiStyleMod}(x + 8016) - f === :FontStack && return Ptr{ImVector_ImFontPtr}(x + 8032) - f === :FocusScopeStack && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8048) - f === :ItemFlagsStack && return Ptr{ImVector_ImGuiItemFlags}(x + 8064) - f === :GroupStack && return Ptr{ImVector_ImGuiGroupData}(x + 8080) - f === :OpenPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8096) - f === :BeginPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8112) - f === :TreeNodeStack && return Ptr{ImVector_ImGuiTreeNodeStackData}(x + 8128) - f === :Viewports && return Ptr{ImVector_ImGuiViewportPPtr}(x + 8144) - f === :CurrentViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8160) - f === :MouseViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8168) - f === :MouseLastHoveredViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8176) - f === :PlatformLastFocusedViewportId && return Ptr{ImGuiID}(x + 8184) - f === :FallbackMonitor && return Ptr{ImGuiPlatformMonitor}(x + 8192) - f === :PlatformMonitorsFullWorkRect && return Ptr{ImRect}(x + 8240) - f === :ViewportCreatedCount && return Ptr{Cint}(x + 8256) - f === :PlatformWindowsCreatedCount && return Ptr{Cint}(x + 8260) - f === :ViewportFocusedStampCount && return Ptr{Cint}(x + 8264) - f === :NavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8272) - f === :NavId && return Ptr{ImGuiID}(x + 8280) - f === :NavFocusScopeId && return Ptr{ImGuiID}(x + 8284) - f === :NavLayer && return Ptr{ImGuiNavLayer}(x + 8288) - f === :NavActivateId && return Ptr{ImGuiID}(x + 8292) - f === :NavActivateDownId && return Ptr{ImGuiID}(x + 8296) - f === :NavActivatePressedId && return Ptr{ImGuiID}(x + 8300) - f === :NavActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8304) - f === :NavFocusRoute && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8312) - f === :NavHighlightActivatedId && return Ptr{ImGuiID}(x + 8328) - f === :NavHighlightActivatedTimer && return Ptr{Cfloat}(x + 8332) - f === :NavNextActivateId && return Ptr{ImGuiID}(x + 8336) - f === :NavNextActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8340) - f === :NavInputSource && return Ptr{ImGuiInputSource}(x + 8344) - f === :NavLastValidSelectionUserData && return Ptr{ImGuiSelectionUserData}(x + 8352) - f === :NavIdIsAlive && return Ptr{Bool}(x + 8360) - f === :NavMousePosDirty && return Ptr{Bool}(x + 8361) - f === :NavDisableHighlight && return Ptr{Bool}(x + 8362) - f === :NavDisableMouseHover && return Ptr{Bool}(x + 8363) - f === :NavAnyRequest && return Ptr{Bool}(x + 8364) - f === :NavInitRequest && return Ptr{Bool}(x + 8365) - f === :NavInitRequestFromMove && return Ptr{Bool}(x + 8366) - f === :NavInitResult && return Ptr{ImGuiNavItemData}(x + 8368) - f === :NavMoveSubmitted && return Ptr{Bool}(x + 8424) - f === :NavMoveScoringItems && return Ptr{Bool}(x + 8425) - f === :NavMoveForwardToNextFrame && return Ptr{Bool}(x + 8426) - f === :NavMoveFlags && return Ptr{ImGuiNavMoveFlags}(x + 8428) - f === :NavMoveScrollFlags && return Ptr{ImGuiScrollFlags}(x + 8432) - f === :NavMoveKeyMods && return Ptr{ImGuiKeyChord}(x + 8436) - f === :NavMoveDir && return Ptr{ImGuiDir}(x + 8440) - f === :NavMoveDirForDebug && return Ptr{ImGuiDir}(x + 8444) - f === :NavMoveClipDir && return Ptr{ImGuiDir}(x + 8448) - f === :NavScoringRect && return Ptr{ImRect}(x + 8452) - f === :NavScoringNoClipRect && return Ptr{ImRect}(x + 8468) - f === :NavScoringDebugCount && return Ptr{Cint}(x + 8484) - f === :NavTabbingDir && return Ptr{Cint}(x + 8488) - f === :NavTabbingCounter && return Ptr{Cint}(x + 8492) - f === :NavMoveResultLocal && return Ptr{ImGuiNavItemData}(x + 8496) - f === :NavMoveResultLocalVisible && return Ptr{ImGuiNavItemData}(x + 8552) - f === :NavMoveResultOther && return Ptr{ImGuiNavItemData}(x + 8608) - f === :NavTabbingResultFirst && return Ptr{ImGuiNavItemData}(x + 8664) - f === :NavJustMovedFromFocusScopeId && return Ptr{ImGuiID}(x + 8720) - f === :NavJustMovedToId && return Ptr{ImGuiID}(x + 8724) - f === :NavJustMovedToFocusScopeId && return Ptr{ImGuiID}(x + 8728) - f === :NavJustMovedToKeyMods && return Ptr{ImGuiKeyChord}(x + 8732) - f === :NavJustMovedToIsTabbing && return Ptr{Bool}(x + 8736) - f === :NavJustMovedToHasSelectionData && return Ptr{Bool}(x + 8737) - f === :ConfigNavWindowingKeyNext && return Ptr{ImGuiKeyChord}(x + 8740) - f === :ConfigNavWindowingKeyPrev && return Ptr{ImGuiKeyChord}(x + 8744) - f === :NavWindowingTarget && return Ptr{Ptr{ImGuiWindow}}(x + 8752) - f === :NavWindowingTargetAnim && return Ptr{Ptr{ImGuiWindow}}(x + 8760) - f === :NavWindowingListWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8768) - f === :NavWindowingTimer && return Ptr{Cfloat}(x + 8776) - f === :NavWindowingHighlightAlpha && return Ptr{Cfloat}(x + 8780) - f === :NavWindowingToggleLayer && return Ptr{Bool}(x + 8784) - f === :NavWindowingToggleKey && return Ptr{ImGuiKey}(x + 8788) - f === :NavWindowingAccumDeltaPos && return Ptr{ImVec2}(x + 8792) - f === :NavWindowingAccumDeltaSize && return Ptr{ImVec2}(x + 8800) - f === :DimBgRatio && return Ptr{Cfloat}(x + 8808) - f === :DragDropActive && return Ptr{Bool}(x + 8812) - f === :DragDropWithinSource && return Ptr{Bool}(x + 8813) - f === :DragDropWithinTarget && return Ptr{Bool}(x + 8814) - f === :DragDropSourceFlags && return Ptr{ImGuiDragDropFlags}(x + 8816) - f === :DragDropSourceFrameCount && return Ptr{Cint}(x + 8820) - f === :DragDropMouseButton && return Ptr{Cint}(x + 8824) - f === :DragDropPayload && return Ptr{ImGuiPayload}(x + 8832) - f === :DragDropTargetRect && return Ptr{ImRect}(x + 8896) - f === :DragDropTargetClipRect && return Ptr{ImRect}(x + 8912) - f === :DragDropTargetId && return Ptr{ImGuiID}(x + 8928) - f === :DragDropAcceptFlags && return Ptr{ImGuiDragDropFlags}(x + 8932) - f === :DragDropAcceptIdCurrRectSurface && return Ptr{Cfloat}(x + 8936) - f === :DragDropAcceptIdCurr && return Ptr{ImGuiID}(x + 8940) - f === :DragDropAcceptIdPrev && return Ptr{ImGuiID}(x + 8944) - f === :DragDropAcceptFrameCount && return Ptr{Cint}(x + 8948) - f === :DragDropHoldJustPressedId && return Ptr{ImGuiID}(x + 8952) - f === :DragDropPayloadBufHeap && return Ptr{ImVector_unsigned_char}(x + 8960) - f === :DragDropPayloadBufLocal && return Ptr{NTuple{16, Cuchar}}(x + 8976) - f === :ClipperTempDataStacked && return Ptr{Cint}(x + 8992) - f === :ClipperTempData && return Ptr{ImVector_ImGuiListClipperData}(x + 9000) - f === :CurrentTable && return Ptr{Ptr{ImGuiTable}}(x + 9016) - f === :DebugBreakInTable && return Ptr{ImGuiID}(x + 9024) - f === :TablesTempDataStacked && return Ptr{Cint}(x + 9028) - f === :TablesTempData && return Ptr{ImVector_ImGuiTableTempData}(x + 9032) - f === :Tables && return Ptr{ImPool_ImGuiTable}(x + 9048) - f === :TablesLastTimeActive && return Ptr{ImVector_float}(x + 9088) - f === :DrawChannelsTempMergeBuffer && return Ptr{ImVector_ImDrawChannel}(x + 9104) - f === :CurrentTabBar && return Ptr{Ptr{ImGuiTabBar}}(x + 9120) - f === :TabBars && return Ptr{ImPool_ImGuiTabBar}(x + 9128) - f === :CurrentTabBarStack && return Ptr{ImVector_ImGuiPtrOrIndex}(x + 9168) - f === :ShrinkWidthBuffer && return Ptr{ImVector_ImGuiShrinkWidthItem}(x + 9184) - f === :BoxSelectState && return Ptr{ImGuiBoxSelectState}(x + 9200) - f === :CurrentMultiSelect && return Ptr{Ptr{ImGuiMultiSelectTempData}}(x + 9304) - f === :MultiSelectTempDataStacked && return Ptr{Cint}(x + 9312) - f === :MultiSelectTempData && return Ptr{ImVector_ImGuiMultiSelectTempData}(x + 9320) - f === :MultiSelectStorage && return Ptr{ImPool_ImGuiMultiSelectState}(x + 9336) - f === :HoverItemDelayId && return Ptr{ImGuiID}(x + 9376) - f === :HoverItemDelayIdPreviousFrame && return Ptr{ImGuiID}(x + 9380) - f === :HoverItemDelayTimer && return Ptr{Cfloat}(x + 9384) - f === :HoverItemDelayClearTimer && return Ptr{Cfloat}(x + 9388) - f === :HoverItemUnlockedStationaryId && return Ptr{ImGuiID}(x + 9392) - f === :HoverWindowUnlockedStationaryId && return Ptr{ImGuiID}(x + 9396) - f === :MouseCursor && return Ptr{ImGuiMouseCursor}(x + 9400) - f === :MouseStationaryTimer && return Ptr{Cfloat}(x + 9404) - f === :MouseLastValidPos && return Ptr{ImVec2}(x + 9408) - f === :InputTextState && return Ptr{ImGuiInputTextState}(x + 9416) - f === :InputTextDeactivatedState && return Ptr{ImGuiInputTextDeactivatedState}(x + 9528) - f === :InputTextPasswordFont && return Ptr{ImFont}(x + 9552) - f === :TempInputId && return Ptr{ImGuiID}(x + 9672) - f === :DataTypeZeroValue && return Ptr{ImGuiDataTypeStorage}(x + 9676) - f === :BeginMenuDepth && return Ptr{Cint}(x + 9684) - f === :BeginComboDepth && return Ptr{Cint}(x + 9688) - f === :ColorEditOptions && return Ptr{ImGuiColorEditFlags}(x + 9692) - f === :ColorEditCurrentID && return Ptr{ImGuiID}(x + 9696) - f === :ColorEditSavedID && return Ptr{ImGuiID}(x + 9700) - f === :ColorEditSavedHue && return Ptr{Cfloat}(x + 9704) - f === :ColorEditSavedSat && return Ptr{Cfloat}(x + 9708) - f === :ColorEditSavedColor && return Ptr{ImU32}(x + 9712) - f === :ColorPickerRef && return Ptr{ImVec4}(x + 9716) - f === :ComboPreviewData && return Ptr{ImGuiComboPreviewData}(x + 9732) - f === :WindowResizeBorderExpectedRect && return Ptr{ImRect}(x + 9780) - f === :WindowResizeRelativeMode && return Ptr{Bool}(x + 9796) - f === :ScrollbarSeekMode && return Ptr{Cshort}(x + 9798) - f === :ScrollbarClickDeltaToGrabCenter && return Ptr{Cfloat}(x + 9800) - f === :SliderGrabClickOffset && return Ptr{Cfloat}(x + 9804) - f === :SliderCurrentAccum && return Ptr{Cfloat}(x + 9808) - f === :SliderCurrentAccumDirty && return Ptr{Bool}(x + 9812) - f === :DragCurrentAccumDirty && return Ptr{Bool}(x + 9813) - f === :DragCurrentAccum && return Ptr{Cfloat}(x + 9816) - f === :DragSpeedDefaultRatio && return Ptr{Cfloat}(x + 9820) - f === :DisabledAlphaBackup && return Ptr{Cfloat}(x + 9824) - f === :DisabledStackSize && return Ptr{Cshort}(x + 9828) - f === :LockMarkEdited && return Ptr{Cshort}(x + 9830) - f === :TooltipOverrideCount && return Ptr{Cshort}(x + 9832) - f === :ClipboardHandlerData && return Ptr{ImVector_char}(x + 9840) - f === :MenusIdSubmittedThisFrame && return Ptr{ImVector_ImGuiID}(x + 9856) - f === :TypingSelectState && return Ptr{ImGuiTypingSelectState}(x + 9872) - f === :PlatformImeData && return Ptr{ImGuiPlatformImeData}(x + 9976) - f === :PlatformImeDataPrev && return Ptr{ImGuiPlatformImeData}(x + 9992) - f === :PlatformImeViewport && return Ptr{ImGuiID}(x + 10008) - f === :DockContext && return Ptr{ImGuiDockContext}(x + 10016) - f === :DockNodeWindowMenuHandler && return Ptr{Ptr{Cvoid}}(x + 10072) - f === :SettingsLoaded && return Ptr{Bool}(x + 10080) - f === :SettingsDirtyTimer && return Ptr{Cfloat}(x + 10084) - f === :SettingsIniData && return Ptr{ImGuiTextBuffer}(x + 10088) - f === :SettingsHandlers && return Ptr{ImVector_ImGuiSettingsHandler}(x + 10104) - f === :SettingsWindows && return Ptr{ImChunkStream_ImGuiWindowSettings}(x + 10120) - f === :SettingsTables && return Ptr{ImChunkStream_ImGuiTableSettings}(x + 10136) - f === :Hooks && return Ptr{ImVector_ImGuiContextHook}(x + 10152) - f === :HookIdNext && return Ptr{ImGuiID}(x + 10168) - f === :LocalizationTable && return Ptr{NTuple{13, Ptr{Cchar}}}(x + 10176) - f === :LogEnabled && return Ptr{Bool}(x + 10280) - f === :LogType && return Ptr{ImGuiLogType}(x + 10284) - f === :LogFile && return Ptr{ImFileHandle}(x + 10288) - f === :LogBuffer && return Ptr{ImGuiTextBuffer}(x + 10296) - f === :LogNextPrefix && return Ptr{Ptr{Cchar}}(x + 10312) - f === :LogNextSuffix && return Ptr{Ptr{Cchar}}(x + 10320) - f === :LogLinePosY && return Ptr{Cfloat}(x + 10328) - f === :LogLineFirstItem && return Ptr{Bool}(x + 10332) - f === :LogDepthRef && return Ptr{Cint}(x + 10336) - f === :LogDepthToExpand && return Ptr{Cint}(x + 10340) - f === :LogDepthToExpandDefault && return Ptr{Cint}(x + 10344) - f === :DebugLogFlags && return Ptr{ImGuiDebugLogFlags}(x + 10348) - f === :DebugLogBuf && return Ptr{ImGuiTextBuffer}(x + 10352) - f === :DebugLogIndex && return Ptr{ImGuiTextIndex}(x + 10368) - f === :DebugLogAutoDisableFlags && return Ptr{ImGuiDebugLogFlags}(x + 10392) - f === :DebugLogAutoDisableFrames && return Ptr{ImU8}(x + 10396) - f === :DebugLocateFrames && return Ptr{ImU8}(x + 10397) - f === :DebugBreakInLocateId && return Ptr{Bool}(x + 10398) - f === :DebugBreakKeyChord && return Ptr{ImGuiKeyChord}(x + 10400) - f === :DebugBeginReturnValueCullDepth && return Ptr{ImS8}(x + 10404) - f === :DebugItemPickerActive && return Ptr{Bool}(x + 10405) - f === :DebugItemPickerMouseButton && return Ptr{ImU8}(x + 10406) - f === :DebugItemPickerBreakId && return Ptr{ImGuiID}(x + 10408) - f === :DebugFlashStyleColorTime && return Ptr{Cfloat}(x + 10412) - f === :DebugFlashStyleColorBackup && return Ptr{ImVec4}(x + 10416) - f === :DebugMetricsConfig && return Ptr{ImGuiMetricsConfig}(x + 10432) - f === :DebugIDStackTool && return Ptr{ImGuiIDStackTool}(x + 10464) - f === :DebugAllocInfo && return Ptr{ImGuiDebugAllocInfo}(x + 10504) - f === :DebugHoveredDockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 10568) - f === :FramerateSecPerFrame && return Ptr{NTuple{60, Cfloat}}(x + 10576) - f === :FramerateSecPerFrameIdx && return Ptr{Cint}(x + 10816) - f === :FramerateSecPerFrameCount && return Ptr{Cint}(x + 10820) - f === :FramerateSecPerFrameAccum && return Ptr{Cfloat}(x + 10824) - f === :WantCaptureMouseNextFrame && return Ptr{Cint}(x + 10828) - f === :WantCaptureKeyboardNextFrame && return Ptr{Cint}(x + 10832) - f === :WantTextInputNextFrame && return Ptr{Cint}(x + 10836) - f === :TempBuffer && return Ptr{ImVector_char}(x + 10840) - f === :TempKeychordName && return Ptr{NTuple{64, Cchar}}(x + 10856) + f === :PlatformIO && return Ptr{ImGuiPlatformIO}(x + 3016) + f === :Style && return Ptr{ImGuiStyle}(x + 3312) + f === :ConfigFlagsCurrFrame && return Ptr{ImGuiConfigFlags}(x + 4504) + f === :ConfigFlagsLastFrame && return Ptr{ImGuiConfigFlags}(x + 4508) + f === :Font && return Ptr{Ptr{ImFont}}(x + 4512) + f === :FontSize && return Ptr{Cfloat}(x + 4520) + f === :FontBaseSize && return Ptr{Cfloat}(x + 4524) + f === :FontScale && return Ptr{Cfloat}(x + 4528) + f === :CurrentDpiScale && return Ptr{Cfloat}(x + 4532) + f === :DrawListSharedData && return Ptr{ImDrawListSharedData}(x + 4536) + f === :Time && return Ptr{Cdouble}(x + 5072) + f === :FrameCount && return Ptr{Cint}(x + 5080) + f === :FrameCountEnded && return Ptr{Cint}(x + 5084) + f === :FrameCountPlatformEnded && return Ptr{Cint}(x + 5088) + f === :FrameCountRendered && return Ptr{Cint}(x + 5092) + f === :WithinFrameScope && return Ptr{Bool}(x + 5096) + f === :WithinFrameScopeWithImplicitWindow && return Ptr{Bool}(x + 5097) + f === :WithinEndChild && return Ptr{Bool}(x + 5098) + f === :GcCompactAll && return Ptr{Bool}(x + 5099) + f === :TestEngineHookItems && return Ptr{Bool}(x + 5100) + f === :TestEngine && return Ptr{Ptr{Cvoid}}(x + 5104) + f === :ContextName && return Ptr{NTuple{16, Cchar}}(x + 5112) + f === :InputEventsQueue && return Ptr{ImVector_ImGuiInputEvent}(x + 5128) + f === :InputEventsTrail && return Ptr{ImVector_ImGuiInputEvent}(x + 5144) + f === :InputEventsNextMouseSource && return Ptr{ImGuiMouseSource}(x + 5160) + f === :InputEventsNextEventId && return Ptr{ImU32}(x + 5164) + f === :Windows && return Ptr{ImVector_ImGuiWindowPtr}(x + 5168) + f === :WindowsFocusOrder && return Ptr{ImVector_ImGuiWindowPtr}(x + 5184) + f === :WindowsTempSortBuffer && return Ptr{ImVector_ImGuiWindowPtr}(x + 5200) + f === :CurrentWindowStack && return Ptr{ImVector_ImGuiWindowStackData}(x + 5216) + f === :WindowsById && return Ptr{ImGuiStorage}(x + 5232) + f === :WindowsActiveCount && return Ptr{Cint}(x + 5248) + f === :WindowsHoverPadding && return Ptr{ImVec2}(x + 5252) + f === :DebugBreakInWindow && return Ptr{ImGuiID}(x + 5260) + f === :CurrentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5264) + f === :HoveredWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5272) + f === :HoveredWindowUnderMovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5280) + f === :HoveredWindowBeforeClear && return Ptr{Ptr{ImGuiWindow}}(x + 5288) + f === :MovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5296) + f === :WheelingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5304) + f === :WheelingWindowRefMousePos && return Ptr{ImVec2}(x + 5312) + f === :WheelingWindowStartFrame && return Ptr{Cint}(x + 5320) + f === :WheelingWindowScrolledFrame && return Ptr{Cint}(x + 5324) + f === :WheelingWindowReleaseTimer && return Ptr{Cfloat}(x + 5328) + f === :WheelingWindowWheelRemainder && return Ptr{ImVec2}(x + 5332) + f === :WheelingAxisAvg && return Ptr{ImVec2}(x + 5340) + f === :DebugDrawIdConflicts && return Ptr{ImGuiID}(x + 5348) + f === :DebugHookIdInfo && return Ptr{ImGuiID}(x + 5352) + f === :HoveredId && return Ptr{ImGuiID}(x + 5356) + f === :HoveredIdPreviousFrame && return Ptr{ImGuiID}(x + 5360) + f === :HoveredIdPreviousFrameItemCount && return Ptr{Cint}(x + 5364) + f === :HoveredIdTimer && return Ptr{Cfloat}(x + 5368) + f === :HoveredIdNotActiveTimer && return Ptr{Cfloat}(x + 5372) + f === :HoveredIdAllowOverlap && return Ptr{Bool}(x + 5376) + f === :HoveredIdIsDisabled && return Ptr{Bool}(x + 5377) + f === :ItemUnclipByLog && return Ptr{Bool}(x + 5378) + f === :ActiveId && return Ptr{ImGuiID}(x + 5380) + f === :ActiveIdIsAlive && return Ptr{ImGuiID}(x + 5384) + f === :ActiveIdTimer && return Ptr{Cfloat}(x + 5388) + f === :ActiveIdIsJustActivated && return Ptr{Bool}(x + 5392) + f === :ActiveIdAllowOverlap && return Ptr{Bool}(x + 5393) + f === :ActiveIdNoClearOnFocusLoss && return Ptr{Bool}(x + 5394) + f === :ActiveIdHasBeenPressedBefore && return Ptr{Bool}(x + 5395) + f === :ActiveIdHasBeenEditedBefore && return Ptr{Bool}(x + 5396) + f === :ActiveIdHasBeenEditedThisFrame && return Ptr{Bool}(x + 5397) + f === :ActiveIdFromShortcut && return Ptr{Bool}(x + 5398) + f === :ActiveIdMouseButton && return (Ptr{Cint}(x + 5396), 24, 8) + f === :ActiveIdClickOffset && return Ptr{ImVec2}(x + 5400) + f === :ActiveIdWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5408) + f === :ActiveIdSource && return Ptr{ImGuiInputSource}(x + 5416) + f === :ActiveIdPreviousFrame && return Ptr{ImGuiID}(x + 5420) + f === :ActiveIdPreviousFrameIsAlive && return Ptr{Bool}(x + 5424) + f === :ActiveIdPreviousFrameHasBeenEditedBefore && return Ptr{Bool}(x + 5425) + f === :ActiveIdPreviousFrameWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5432) + f === :LastActiveId && return Ptr{ImGuiID}(x + 5440) + f === :LastActiveIdTimer && return Ptr{Cfloat}(x + 5444) + f === :LastKeyModsChangeTime && return Ptr{Cdouble}(x + 5448) + f === :LastKeyModsChangeFromNoneTime && return Ptr{Cdouble}(x + 5456) + f === :LastKeyboardKeyPressTime && return Ptr{Cdouble}(x + 5464) + f === :KeysMayBeCharInput && return Ptr{ImBitArrayForNamedKeys}(x + 5472) + f === :KeysOwnerData && return Ptr{NTuple{154, ImGuiKeyOwnerData}}(x + 5492) + f === :KeysRoutingTable && return Ptr{ImGuiKeyRoutingTable}(x + 7344) + f === :ActiveIdUsingNavDirMask && return Ptr{ImU32}(x + 7688) + f === :ActiveIdUsingAllKeyboardKeys && return Ptr{Bool}(x + 7692) + f === :DebugBreakInShortcutRouting && return Ptr{ImGuiKeyChord}(x + 7696) + f === :CurrentFocusScopeId && return Ptr{ImGuiID}(x + 7700) + f === :CurrentItemFlags && return Ptr{ImGuiItemFlags}(x + 7704) + f === :DebugLocateId && return Ptr{ImGuiID}(x + 7708) + f === :NextItemData && return Ptr{ImGuiNextItemData}(x + 7712) + f === :LastItemData && return Ptr{ImGuiLastItemData}(x + 7768) + f === :NextWindowData && return Ptr{ImGuiNextWindowData}(x + 7848) + f === :DebugShowGroupRects && return Ptr{Bool}(x + 8008) + f === :DebugFlashStyleColorIdx && return Ptr{ImGuiCol}(x + 8012) + f === :ColorStack && return Ptr{ImVector_ImGuiColorMod}(x + 8016) + f === :StyleVarStack && return Ptr{ImVector_ImGuiStyleMod}(x + 8032) + f === :FontStack && return Ptr{ImVector_ImFontPtr}(x + 8048) + f === :FocusScopeStack && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8064) + f === :ItemFlagsStack && return Ptr{ImVector_ImGuiItemFlags}(x + 8080) + f === :GroupStack && return Ptr{ImVector_ImGuiGroupData}(x + 8096) + f === :OpenPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8112) + f === :BeginPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8128) + f === :TreeNodeStack && return Ptr{ImVector_ImGuiTreeNodeStackData}(x + 8144) + f === :Viewports && return Ptr{ImVector_ImGuiViewportPPtr}(x + 8160) + f === :CurrentViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8176) + f === :MouseViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8184) + f === :MouseLastHoveredViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8192) + f === :PlatformLastFocusedViewportId && return Ptr{ImGuiID}(x + 8200) + f === :FallbackMonitor && return Ptr{ImGuiPlatformMonitor}(x + 8208) + f === :PlatformMonitorsFullWorkRect && return Ptr{ImRect}(x + 8256) + f === :ViewportCreatedCount && return Ptr{Cint}(x + 8272) + f === :PlatformWindowsCreatedCount && return Ptr{Cint}(x + 8276) + f === :ViewportFocusedStampCount && return Ptr{Cint}(x + 8280) + f === :NavCursorVisible && return Ptr{Bool}(x + 8284) + f === :NavHighlightItemUnderNav && return Ptr{Bool}(x + 8285) + f === :NavMousePosDirty && return Ptr{Bool}(x + 8286) + f === :NavIdIsAlive && return Ptr{Bool}(x + 8287) + f === :NavId && return Ptr{ImGuiID}(x + 8288) + f === :NavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8296) + f === :NavFocusScopeId && return Ptr{ImGuiID}(x + 8304) + f === :NavLayer && return Ptr{ImGuiNavLayer}(x + 8308) + f === :NavActivateId && return Ptr{ImGuiID}(x + 8312) + f === :NavActivateDownId && return Ptr{ImGuiID}(x + 8316) + f === :NavActivatePressedId && return Ptr{ImGuiID}(x + 8320) + f === :NavActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8324) + f === :NavFocusRoute && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8328) + f === :NavHighlightActivatedId && return Ptr{ImGuiID}(x + 8344) + f === :NavHighlightActivatedTimer && return Ptr{Cfloat}(x + 8348) + f === :NavNextActivateId && return Ptr{ImGuiID}(x + 8352) + f === :NavNextActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8356) + f === :NavInputSource && return Ptr{ImGuiInputSource}(x + 8360) + f === :NavLastValidSelectionUserData && return Ptr{ImGuiSelectionUserData}(x + 8368) + f === :NavCursorHideFrames && return Ptr{ImS8}(x + 8376) + f === :NavAnyRequest && return Ptr{Bool}(x + 8377) + f === :NavInitRequest && return Ptr{Bool}(x + 8378) + f === :NavInitRequestFromMove && return Ptr{Bool}(x + 8379) + f === :NavInitResult && return Ptr{ImGuiNavItemData}(x + 8384) + f === :NavMoveSubmitted && return Ptr{Bool}(x + 8440) + f === :NavMoveScoringItems && return Ptr{Bool}(x + 8441) + f === :NavMoveForwardToNextFrame && return Ptr{Bool}(x + 8442) + f === :NavMoveFlags && return Ptr{ImGuiNavMoveFlags}(x + 8444) + f === :NavMoveScrollFlags && return Ptr{ImGuiScrollFlags}(x + 8448) + f === :NavMoveKeyMods && return Ptr{ImGuiKeyChord}(x + 8452) + f === :NavMoveDir && return Ptr{ImGuiDir}(x + 8456) + f === :NavMoveDirForDebug && return Ptr{ImGuiDir}(x + 8460) + f === :NavMoveClipDir && return Ptr{ImGuiDir}(x + 8464) + f === :NavScoringRect && return Ptr{ImRect}(x + 8468) + f === :NavScoringNoClipRect && return Ptr{ImRect}(x + 8484) + f === :NavScoringDebugCount && return Ptr{Cint}(x + 8500) + f === :NavTabbingDir && return Ptr{Cint}(x + 8504) + f === :NavTabbingCounter && return Ptr{Cint}(x + 8508) + f === :NavMoveResultLocal && return Ptr{ImGuiNavItemData}(x + 8512) + f === :NavMoveResultLocalVisible && return Ptr{ImGuiNavItemData}(x + 8568) + f === :NavMoveResultOther && return Ptr{ImGuiNavItemData}(x + 8624) + f === :NavTabbingResultFirst && return Ptr{ImGuiNavItemData}(x + 8680) + f === :NavJustMovedFromFocusScopeId && return Ptr{ImGuiID}(x + 8736) + f === :NavJustMovedToId && return Ptr{ImGuiID}(x + 8740) + f === :NavJustMovedToFocusScopeId && return Ptr{ImGuiID}(x + 8744) + f === :NavJustMovedToKeyMods && return Ptr{ImGuiKeyChord}(x + 8748) + f === :NavJustMovedToIsTabbing && return Ptr{Bool}(x + 8752) + f === :NavJustMovedToHasSelectionData && return Ptr{Bool}(x + 8753) + f === :ConfigNavWindowingKeyNext && return Ptr{ImGuiKeyChord}(x + 8756) + f === :ConfigNavWindowingKeyPrev && return Ptr{ImGuiKeyChord}(x + 8760) + f === :NavWindowingTarget && return Ptr{Ptr{ImGuiWindow}}(x + 8768) + f === :NavWindowingTargetAnim && return Ptr{Ptr{ImGuiWindow}}(x + 8776) + f === :NavWindowingListWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8784) + f === :NavWindowingTimer && return Ptr{Cfloat}(x + 8792) + f === :NavWindowingHighlightAlpha && return Ptr{Cfloat}(x + 8796) + f === :NavWindowingToggleLayer && return Ptr{Bool}(x + 8800) + f === :NavWindowingToggleKey && return Ptr{ImGuiKey}(x + 8804) + f === :NavWindowingAccumDeltaPos && return Ptr{ImVec2}(x + 8808) + f === :NavWindowingAccumDeltaSize && return Ptr{ImVec2}(x + 8816) + f === :DimBgRatio && return Ptr{Cfloat}(x + 8824) + f === :DragDropActive && return Ptr{Bool}(x + 8828) + f === :DragDropWithinSource && return Ptr{Bool}(x + 8829) + f === :DragDropWithinTarget && return Ptr{Bool}(x + 8830) + f === :DragDropSourceFlags && return Ptr{ImGuiDragDropFlags}(x + 8832) + f === :DragDropSourceFrameCount && return Ptr{Cint}(x + 8836) + f === :DragDropMouseButton && return Ptr{Cint}(x + 8840) + f === :DragDropPayload && return Ptr{ImGuiPayload}(x + 8848) + f === :DragDropTargetRect && return Ptr{ImRect}(x + 8912) + f === :DragDropTargetClipRect && return Ptr{ImRect}(x + 8928) + f === :DragDropTargetId && return Ptr{ImGuiID}(x + 8944) + f === :DragDropAcceptFlags && return Ptr{ImGuiDragDropFlags}(x + 8948) + f === :DragDropAcceptIdCurrRectSurface && return Ptr{Cfloat}(x + 8952) + f === :DragDropAcceptIdCurr && return Ptr{ImGuiID}(x + 8956) + f === :DragDropAcceptIdPrev && return Ptr{ImGuiID}(x + 8960) + f === :DragDropAcceptFrameCount && return Ptr{Cint}(x + 8964) + f === :DragDropHoldJustPressedId && return Ptr{ImGuiID}(x + 8968) + f === :DragDropPayloadBufHeap && return Ptr{ImVector_unsigned_char}(x + 8976) + f === :DragDropPayloadBufLocal && return Ptr{NTuple{16, Cuchar}}(x + 8992) + f === :ClipperTempDataStacked && return Ptr{Cint}(x + 9008) + f === :ClipperTempData && return Ptr{ImVector_ImGuiListClipperData}(x + 9016) + f === :CurrentTable && return Ptr{Ptr{ImGuiTable}}(x + 9032) + f === :DebugBreakInTable && return Ptr{ImGuiID}(x + 9040) + f === :TablesTempDataStacked && return Ptr{Cint}(x + 9044) + f === :TablesTempData && return Ptr{ImVector_ImGuiTableTempData}(x + 9048) + f === :Tables && return Ptr{ImPool_ImGuiTable}(x + 9064) + f === :TablesLastTimeActive && return Ptr{ImVector_float}(x + 9104) + f === :DrawChannelsTempMergeBuffer && return Ptr{ImVector_ImDrawChannel}(x + 9120) + f === :CurrentTabBar && return Ptr{Ptr{ImGuiTabBar}}(x + 9136) + f === :TabBars && return Ptr{ImPool_ImGuiTabBar}(x + 9144) + f === :CurrentTabBarStack && return Ptr{ImVector_ImGuiPtrOrIndex}(x + 9184) + f === :ShrinkWidthBuffer && return Ptr{ImVector_ImGuiShrinkWidthItem}(x + 9200) + f === :BoxSelectState && return Ptr{ImGuiBoxSelectState}(x + 9216) + f === :CurrentMultiSelect && return Ptr{Ptr{ImGuiMultiSelectTempData}}(x + 9320) + f === :MultiSelectTempDataStacked && return Ptr{Cint}(x + 9328) + f === :MultiSelectTempData && return Ptr{ImVector_ImGuiMultiSelectTempData}(x + 9336) + f === :MultiSelectStorage && return Ptr{ImPool_ImGuiMultiSelectState}(x + 9352) + f === :HoverItemDelayId && return Ptr{ImGuiID}(x + 9392) + f === :HoverItemDelayIdPreviousFrame && return Ptr{ImGuiID}(x + 9396) + f === :HoverItemDelayTimer && return Ptr{Cfloat}(x + 9400) + f === :HoverItemDelayClearTimer && return Ptr{Cfloat}(x + 9404) + f === :HoverItemUnlockedStationaryId && return Ptr{ImGuiID}(x + 9408) + f === :HoverWindowUnlockedStationaryId && return Ptr{ImGuiID}(x + 9412) + f === :MouseCursor && return Ptr{ImGuiMouseCursor}(x + 9416) + f === :MouseStationaryTimer && return Ptr{Cfloat}(x + 9420) + f === :MouseLastValidPos && return Ptr{ImVec2}(x + 9424) + f === :InputTextState && return Ptr{ImGuiInputTextState}(x + 9432) + f === :InputTextDeactivatedState && return Ptr{ImGuiInputTextDeactivatedState}(x + 9544) + f === :InputTextPasswordFont && return Ptr{ImFont}(x + 9568) + f === :TempInputId && return Ptr{ImGuiID}(x + 9688) + f === :DataTypeZeroValue && return Ptr{ImGuiDataTypeStorage}(x + 9692) + f === :BeginMenuDepth && return Ptr{Cint}(x + 9700) + f === :BeginComboDepth && return Ptr{Cint}(x + 9704) + f === :ColorEditOptions && return Ptr{ImGuiColorEditFlags}(x + 9708) + f === :ColorEditCurrentID && return Ptr{ImGuiID}(x + 9712) + f === :ColorEditSavedID && return Ptr{ImGuiID}(x + 9716) + f === :ColorEditSavedHue && return Ptr{Cfloat}(x + 9720) + f === :ColorEditSavedSat && return Ptr{Cfloat}(x + 9724) + f === :ColorEditSavedColor && return Ptr{ImU32}(x + 9728) + f === :ColorPickerRef && return Ptr{ImVec4}(x + 9732) + f === :ComboPreviewData && return Ptr{ImGuiComboPreviewData}(x + 9748) + f === :WindowResizeBorderExpectedRect && return Ptr{ImRect}(x + 9796) + f === :WindowResizeRelativeMode && return Ptr{Bool}(x + 9812) + f === :ScrollbarSeekMode && return Ptr{Cshort}(x + 9814) + f === :ScrollbarClickDeltaToGrabCenter && return Ptr{Cfloat}(x + 9816) + f === :SliderGrabClickOffset && return Ptr{Cfloat}(x + 9820) + f === :SliderCurrentAccum && return Ptr{Cfloat}(x + 9824) + f === :SliderCurrentAccumDirty && return Ptr{Bool}(x + 9828) + f === :DragCurrentAccumDirty && return Ptr{Bool}(x + 9829) + f === :DragCurrentAccum && return Ptr{Cfloat}(x + 9832) + f === :DragSpeedDefaultRatio && return Ptr{Cfloat}(x + 9836) + f === :DisabledAlphaBackup && return Ptr{Cfloat}(x + 9840) + f === :DisabledStackSize && return Ptr{Cshort}(x + 9844) + f === :TooltipOverrideCount && return Ptr{Cshort}(x + 9846) + f === :TooltipPreviousWindow && return Ptr{Ptr{ImGuiWindow}}(x + 9848) + f === :ClipboardHandlerData && return Ptr{ImVector_char}(x + 9856) + f === :MenusIdSubmittedThisFrame && return Ptr{ImVector_ImGuiID}(x + 9872) + f === :TypingSelectState && return Ptr{ImGuiTypingSelectState}(x + 9888) + f === :PlatformImeData && return Ptr{ImGuiPlatformImeData}(x + 9992) + f === :PlatformImeDataPrev && return Ptr{ImGuiPlatformImeData}(x + 10008) + f === :PlatformImeViewport && return Ptr{ImGuiID}(x + 10024) + f === :DockContext && return Ptr{ImGuiDockContext}(x + 10032) + f === :DockNodeWindowMenuHandler && return Ptr{Ptr{Cvoid}}(x + 10088) + f === :SettingsLoaded && return Ptr{Bool}(x + 10096) + f === :SettingsDirtyTimer && return Ptr{Cfloat}(x + 10100) + f === :SettingsIniData && return Ptr{ImGuiTextBuffer}(x + 10104) + f === :SettingsHandlers && return Ptr{ImVector_ImGuiSettingsHandler}(x + 10120) + f === :SettingsWindows && return Ptr{ImChunkStream_ImGuiWindowSettings}(x + 10136) + f === :SettingsTables && return Ptr{ImChunkStream_ImGuiTableSettings}(x + 10152) + f === :Hooks && return Ptr{ImVector_ImGuiContextHook}(x + 10168) + f === :HookIdNext && return Ptr{ImGuiID}(x + 10184) + f === :LocalizationTable && return Ptr{NTuple{13, Ptr{Cchar}}}(x + 10192) + f === :LogEnabled && return Ptr{Bool}(x + 10296) + f === :LogFlags && return Ptr{ImGuiLogFlags}(x + 10300) + f === :LogWindow && return Ptr{Ptr{ImGuiWindow}}(x + 10304) + f === :LogFile && return Ptr{ImFileHandle}(x + 10312) + f === :LogBuffer && return Ptr{ImGuiTextBuffer}(x + 10320) + f === :LogNextPrefix && return Ptr{Ptr{Cchar}}(x + 10336) + f === :LogNextSuffix && return Ptr{Ptr{Cchar}}(x + 10344) + f === :LogLinePosY && return Ptr{Cfloat}(x + 10352) + f === :LogLineFirstItem && return Ptr{Bool}(x + 10356) + f === :LogDepthRef && return Ptr{Cint}(x + 10360) + f === :LogDepthToExpand && return Ptr{Cint}(x + 10364) + f === :LogDepthToExpandDefault && return Ptr{Cint}(x + 10368) + f === :ErrorCallback && return Ptr{ImGuiErrorCallback}(x + 10376) + f === :ErrorCallbackUserData && return Ptr{Ptr{Cvoid}}(x + 10384) + f === :ErrorTooltipLockedPos && return Ptr{ImVec2}(x + 10392) + f === :ErrorFirst && return Ptr{Bool}(x + 10400) + f === :ErrorCountCurrentFrame && return Ptr{Cint}(x + 10404) + f === :StackSizesInNewFrame && return Ptr{ImGuiErrorRecoveryState}(x + 10408) + f === :StackSizesInBeginForCurrentWindow && return Ptr{Ptr{ImGuiErrorRecoveryState}}(x + 10432) + f === :DebugDrawIdConflictsCount && return Ptr{Cint}(x + 10440) + f === :DebugLogFlags && return Ptr{ImGuiDebugLogFlags}(x + 10444) + f === :DebugLogBuf && return Ptr{ImGuiTextBuffer}(x + 10448) + f === :DebugLogIndex && return Ptr{ImGuiTextIndex}(x + 10464) + f === :DebugLogSkippedErrors && return Ptr{Cint}(x + 10488) + f === :DebugLogAutoDisableFlags && return Ptr{ImGuiDebugLogFlags}(x + 10492) + f === :DebugLogAutoDisableFrames && return Ptr{ImU8}(x + 10496) + f === :DebugLocateFrames && return Ptr{ImU8}(x + 10497) + f === :DebugBreakInLocateId && return Ptr{Bool}(x + 10498) + f === :DebugBreakKeyChord && return Ptr{ImGuiKeyChord}(x + 10500) + f === :DebugBeginReturnValueCullDepth && return Ptr{ImS8}(x + 10504) + f === :DebugItemPickerActive && return Ptr{Bool}(x + 10505) + f === :DebugItemPickerMouseButton && return Ptr{ImU8}(x + 10506) + f === :DebugItemPickerBreakId && return Ptr{ImGuiID}(x + 10508) + f === :DebugFlashStyleColorTime && return Ptr{Cfloat}(x + 10512) + f === :DebugFlashStyleColorBackup && return Ptr{ImVec4}(x + 10516) + f === :DebugMetricsConfig && return Ptr{ImGuiMetricsConfig}(x + 10532) + f === :DebugIDStackTool && return Ptr{ImGuiIDStackTool}(x + 10560) + f === :DebugAllocInfo && return Ptr{ImGuiDebugAllocInfo}(x + 10600) + f === :DebugHoveredDockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 10664) + f === :FramerateSecPerFrame && return Ptr{NTuple{60, Cfloat}}(x + 10672) + f === :FramerateSecPerFrameIdx && return Ptr{Cint}(x + 10912) + f === :FramerateSecPerFrameCount && return Ptr{Cint}(x + 10916) + f === :FramerateSecPerFrameAccum && return Ptr{Cfloat}(x + 10920) + f === :WantCaptureMouseNextFrame && return Ptr{Cint}(x + 10924) + f === :WantCaptureKeyboardNextFrame && return Ptr{Cint}(x + 10928) + f === :WantTextInputNextFrame && return Ptr{Cint}(x + 10932) + f === :TempBuffer && return Ptr{ImVector_char}(x + 10936) + f === :TempKeychordName && return Ptr{NTuple{64, Cchar}}(x + 10952) return getfield(x, f) end @@ -3563,8 +3656,6 @@ struct ImVector_const_charPtr Data::Ptr{Ptr{Cchar}} end -const ImU64 = Culonglong - const ImGuiMouseButton = Cint const ImGuiTableBgTarget = Cint @@ -3669,12 +3760,13 @@ end ImGuiInputTextFlags_DisplayEmptyRefVal = 16384 ImGuiInputTextFlags_NoHorizontalScroll = 32768 ImGuiInputTextFlags_NoUndoRedo = 65536 - ImGuiInputTextFlags_CallbackCompletion = 131072 - ImGuiInputTextFlags_CallbackHistory = 262144 - ImGuiInputTextFlags_CallbackAlways = 524288 - ImGuiInputTextFlags_CallbackCharFilter = 1048576 - ImGuiInputTextFlags_CallbackResize = 2097152 - ImGuiInputTextFlags_CallbackEdit = 4194304 + ImGuiInputTextFlags_ElideLeft = 131072 + ImGuiInputTextFlags_CallbackCompletion = 262144 + ImGuiInputTextFlags_CallbackHistory = 524288 + ImGuiInputTextFlags_CallbackAlways = 1048576 + ImGuiInputTextFlags_CallbackCharFilter = 2097152 + ImGuiInputTextFlags_CallbackResize = 4194304 + ImGuiInputTextFlags_CallbackEdit = 8388608 end @cenum ImGuiTreeNodeFlags_::UInt32 begin @@ -3858,8 +3950,6 @@ end ImGuiConfigFlags_None = 0 ImGuiConfigFlags_NavEnableKeyboard = 1 ImGuiConfigFlags_NavEnableGamepad = 2 - ImGuiConfigFlags_NavEnableSetMousePos = 4 - ImGuiConfigFlags_NavNoCaptureKeyboard = 8 ImGuiConfigFlags_NoMouse = 16 ImGuiConfigFlags_NoMouseCursorChange = 32 ImGuiConfigFlags_NoKeyboard = 64 @@ -3937,7 +4027,7 @@ end ImGuiCol_TextLink = 51 ImGuiCol_TextSelectedBg = 52 ImGuiCol_DragDropTarget = 53 - ImGuiCol_NavHighlight = 54 + ImGuiCol_NavCursor = 54 ImGuiCol_NavWindowingHighlight = 55 ImGuiCol_NavWindowingDimBg = 56 ImGuiCol_ModalWindowDimBg = 57 @@ -3988,6 +4078,7 @@ end ImGuiButtonFlags_MouseButtonRight = 2 ImGuiButtonFlags_MouseButtonMiddle = 4 ImGuiButtonFlags_MouseButtonMask_ = 7 + ImGuiButtonFlags_EnableNav = 8 end @cenum ImGuiColorEditFlags_::UInt32 begin @@ -4024,11 +4115,13 @@ end @cenum ImGuiSliderFlags_::UInt32 begin ImGuiSliderFlags_None = 0 - ImGuiSliderFlags_AlwaysClamp = 16 ImGuiSliderFlags_Logarithmic = 32 ImGuiSliderFlags_NoRoundToFormat = 64 ImGuiSliderFlags_NoInput = 128 ImGuiSliderFlags_WrapAround = 256 + ImGuiSliderFlags_ClampOnInput = 512 + ImGuiSliderFlags_ClampZeroRange = 1024 + ImGuiSliderFlags_AlwaysClamp = 1536 ImGuiSliderFlags_InvalidMask_ = 1879048207 end @@ -4216,7 +4309,7 @@ end const ImGuiFocusRequestFlags = Cint -const ImGuiNavHighlightFlags = Cint +const ImGuiNavRenderCursorFlags = Cint const ImGuiSeparatorFlags = Cint @@ -4224,9 +4317,6 @@ const ImGuiTextFlags = Cint const ImGuiTooltipFlags = Cint -# typedef void ( * ImGuiErrorLogCallback ) ( void * user_data , const char * fmt , ... ) -const ImGuiErrorLogCallback = Ptr{Cvoid} - @cenum ImGuiDataTypePrivate_::UInt32 begin ImGuiDataType_String = 12 ImGuiDataType_Pointer = 13 @@ -4239,6 +4329,8 @@ end ImGuiItemFlags_MixedValue = 4096 ImGuiItemFlags_NoWindowHoverableCheck = 8192 ImGuiItemFlags_AllowOverlap = 16384 + ImGuiItemFlags_NoNavDisableMouseHover = 32768 + ImGuiItemFlags_NoMarkEdited = 65536 ImGuiItemFlags_Inputable = 1048576 ImGuiItemFlags_HasSelectionUserData = 2097152 ImGuiItemFlags_IsMultiSelect = 4194304 @@ -4268,9 +4360,8 @@ end @cenum ImGuiInputTextFlagsPrivate_::UInt32 begin ImGuiInputTextFlags_Multiline = 67108864 - ImGuiInputTextFlags_NoMarkEdited = 134217728 - ImGuiInputTextFlags_MergedItem = 268435456 - ImGuiInputTextFlags_LocalizeDecimalPoint = 536870912 + ImGuiInputTextFlags_MergedItem = 134217728 + ImGuiInputTextFlags_LocalizeDecimalPoint = 268435456 end @cenum ImGuiButtonFlagsPrivate_::UInt32 begin @@ -4280,12 +4371,10 @@ end ImGuiButtonFlags_PressedOnRelease = 128 ImGuiButtonFlags_PressedOnDoubleClick = 256 ImGuiButtonFlags_PressedOnDragDropHold = 512 - ImGuiButtonFlags_Repeat = 1024 ImGuiButtonFlags_FlattenChildren = 2048 ImGuiButtonFlags_AllowOverlap = 4096 - ImGuiButtonFlags_DontClosePopups = 8192 ImGuiButtonFlags_AlignTextBaseLine = 32768 - ImGuiButtonFlags_NoKeyModifiers = 65536 + ImGuiButtonFlags_NoKeyModsAllowed = 65536 ImGuiButtonFlags_NoHoldingActiveId = 131072 ImGuiButtonFlags_NoNavFocus = 262144 ImGuiButtonFlags_NoHoveredOnFocus = 524288 @@ -4349,6 +4438,15 @@ end ImGuiLayoutType_Vertical = 1 end +@cenum ImGuiLogFlags_::UInt32 begin + ImGuiLogFlags_None = 0 + ImGuiLogFlags_OutputTTY = 1 + ImGuiLogFlags_OutputFile = 2 + ImGuiLogFlags_OutputBuffer = 4 + ImGuiLogFlags_OutputClipboard = 8 + ImGuiLogFlags_OutputMask_ = 15 +end + @cenum ImGuiPlotType::UInt32 begin ImGuiPlotType_Lines = 0 ImGuiPlotType_Histogram = 1 @@ -4478,11 +4576,11 @@ end ImGuiScrollFlags_MaskY_ = 42 end -@cenum ImGuiNavHighlightFlags_::UInt32 begin - ImGuiNavHighlightFlags_None = 0 - ImGuiNavHighlightFlags_Compact = 2 - ImGuiNavHighlightFlags_AlwaysDraw = 4 - ImGuiNavHighlightFlags_NoRounding = 8 +@cenum ImGuiNavRenderCursorFlags_::UInt32 begin + ImGuiNavRenderCursorFlags_None = 0 + ImGuiNavRenderCursorFlags_Compact = 2 + ImGuiNavRenderCursorFlags_AlwaysDraw = 4 + ImGuiNavRenderCursorFlags_NoRounding = 8 end @cenum ImGuiNavMoveFlags_::UInt32 begin @@ -4502,7 +4600,7 @@ end ImGuiNavMoveFlags_IsPageMove = 2048 ImGuiNavMoveFlags_Activate = 4096 ImGuiNavMoveFlags_NoSelect = 8192 - ImGuiNavMoveFlags_NoSetNavHighlight = 16384 + ImGuiNavMoveFlags_NoSetNavCursorVisible = 16384 ImGuiNavMoveFlags_NoClearActiveId = 32768 end @@ -4562,17 +4660,19 @@ end @cenum ImGuiDebugLogFlags_::UInt32 begin ImGuiDebugLogFlags_None = 0 - ImGuiDebugLogFlags_EventActiveId = 1 - ImGuiDebugLogFlags_EventFocus = 2 - ImGuiDebugLogFlags_EventPopup = 4 - ImGuiDebugLogFlags_EventNav = 8 - ImGuiDebugLogFlags_EventClipper = 16 - ImGuiDebugLogFlags_EventSelection = 32 - ImGuiDebugLogFlags_EventIO = 64 - ImGuiDebugLogFlags_EventInputRouting = 128 - ImGuiDebugLogFlags_EventDocking = 256 - ImGuiDebugLogFlags_EventViewport = 512 - ImGuiDebugLogFlags_EventMask_ = 1023 + ImGuiDebugLogFlags_EventError = 1 + ImGuiDebugLogFlags_EventActiveId = 2 + ImGuiDebugLogFlags_EventFocus = 4 + ImGuiDebugLogFlags_EventPopup = 8 + ImGuiDebugLogFlags_EventNav = 16 + ImGuiDebugLogFlags_EventClipper = 32 + ImGuiDebugLogFlags_EventSelection = 64 + ImGuiDebugLogFlags_EventIO = 128 + ImGuiDebugLogFlags_EventFont = 256 + ImGuiDebugLogFlags_EventInputRouting = 512 + ImGuiDebugLogFlags_EventDocking = 1024 + ImGuiDebugLogFlags_EventViewport = 2048 + ImGuiDebugLogFlags_EventMask_ = 4095 ImGuiDebugLogFlags_OutputToTTY = 1048576 ImGuiDebugLogFlags_OutputToTestEngine = 2097152 end @@ -5937,6 +6037,10 @@ function igSetKeyboardFocusHere(offset) ccall((:igSetKeyboardFocusHere, libcimgui), Cvoid, (Cint,), offset) end +function igSetNavCursorVisible(visible) + ccall((:igSetNavCursorVisible, libcimgui), Cvoid, (Bool,), visible) +end + function igSetNextItemAllowOverlap() ccall((:igSetNextItemAllowOverlap, libcimgui), Cvoid, ()) end @@ -6922,8 +7026,8 @@ function ImDrawList_PathRect(self, rect_min, rect_max, rounding, flags) ccall((:ImDrawList_PathRect, libcimgui), Cvoid, (Ptr{ImDrawList}, ImVec2, ImVec2, Cfloat, ImDrawFlags), self, rect_min, rect_max, rounding, flags) end -function ImDrawList_AddCallback(self, callback, callback_data) - ccall((:ImDrawList_AddCallback, libcimgui), Cvoid, (Ptr{ImDrawList}, ImDrawCallback, Ptr{Cvoid}), self, callback, callback_data) +function ImDrawList_AddCallback(self, callback, userdata, userdata_size) + ccall((:ImDrawList_AddCallback, libcimgui), Cvoid, (Ptr{ImDrawList}, ImDrawCallback, Ptr{Cvoid}, Csize_t), self, callback, userdata, userdata_size) end function ImDrawList_AddDrawCmd(self) @@ -8092,20 +8196,12 @@ function ImGuiLastItemData_destroy(self) ccall((:ImGuiLastItemData_destroy, libcimgui), Cvoid, (Ptr{ImGuiLastItemData},), self) end -function ImGuiStackSizes_ImGuiStackSizes() - ccall((:ImGuiStackSizes_ImGuiStackSizes, libcimgui), Ptr{ImGuiStackSizes}, ()) -end - -function ImGuiStackSizes_destroy(self) - ccall((:ImGuiStackSizes_destroy, libcimgui), Cvoid, (Ptr{ImGuiStackSizes},), self) +function ImGuiErrorRecoveryState_ImGuiErrorRecoveryState() + ccall((:ImGuiErrorRecoveryState_ImGuiErrorRecoveryState, libcimgui), Ptr{ImGuiErrorRecoveryState}, ()) end -function ImGuiStackSizes_SetToContextState(self, ctx) - ccall((:ImGuiStackSizes_SetToContextState, libcimgui), Cvoid, (Ptr{ImGuiStackSizes}, Ptr{ImGuiContext}), self, ctx) -end - -function ImGuiStackSizes_CompareWithContextState(self, ctx) - ccall((:ImGuiStackSizes_CompareWithContextState, libcimgui), Cvoid, (Ptr{ImGuiStackSizes}, Ptr{ImGuiContext}), self, ctx) +function ImGuiErrorRecoveryState_destroy(self) + ccall((:ImGuiErrorRecoveryState_destroy, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), self) end function ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr(ptr) @@ -8528,6 +8624,14 @@ function ImGuiTableSettings_GetColumnSettings(self) ccall((:ImGuiTableSettings_GetColumnSettings, libcimgui), Ptr{ImGuiTableColumnSettings}, (Ptr{ImGuiTableSettings},), self) end +function igGetIOEx(ctx) + ccall((:igGetIOEx, libcimgui), Ptr{ImGuiIO}, (Ptr{ImGuiContext},), ctx) +end + +function igGetPlatformIOEx(ctx) + ccall((:igGetPlatformIOEx, libcimgui), Ptr{ImGuiPlatformIO}, (Ptr{ImGuiContext},), ctx) +end + function igGetCurrentWindowRead() ccall((:igGetCurrentWindowRead, libcimgui), Ptr{ImGuiWindow}, ()) end @@ -8932,8 +9036,8 @@ function igEndDisabledOverrideReenable() ccall((:igEndDisabledOverrideReenable, libcimgui), Cvoid, ()) end -function igLogBegin(type, auto_open_depth) - ccall((:igLogBegin, libcimgui), Cvoid, (ImGuiLogType, Cint), type, auto_open_depth) +function igLogBegin(flags, auto_open_depth) + ccall((:igLogBegin, libcimgui), Cvoid, (ImGuiLogFlags, Cint), flags, auto_open_depth) end function igLogToBuffer(auto_open_depth) @@ -9080,8 +9184,8 @@ function igNavClearPreferredPosForAxis(axis) ccall((:igNavClearPreferredPosForAxis, libcimgui), Cvoid, (ImGuiAxis,), axis) end -function igNavRestoreHighlightAfterMove() - ccall((:igNavRestoreHighlightAfterMove, libcimgui), Cvoid, ()) +function igSetNavCursorVisibleAfterMove() + ccall((:igSetNavCursorVisibleAfterMove, libcimgui), Cvoid, ()) end function igNavUpdateCurrentWindowIsScrollPushableX() @@ -9800,8 +9904,12 @@ function igTabBarCloseTab(tab_bar, tab) ccall((:igTabBarCloseTab, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) end -function igTabBarQueueFocus(tab_bar, tab) - ccall((:igTabBarQueueFocus, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) +function igTabBarQueueFocus_TabItemPtr(tab_bar, tab) + ccall((:igTabBarQueueFocus_TabItemPtr, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) +end + +function igTabBarQueueFocus_Str(tab_bar, tab_name) + ccall((:igTabBarQueueFocus_Str, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{Cchar}), tab_bar, tab_name) end function igTabBarQueueReorder(tab_bar, tab, offset) @@ -9868,8 +9976,8 @@ function igRenderColorRectWithAlphaCheckerboard(draw_list, p_min, p_max, fill_co ccall((:igRenderColorRectWithAlphaCheckerboard, libcimgui), Cvoid, (Ptr{ImDrawList}, ImVec2, ImVec2, ImU32, Cfloat, ImVec2, Cfloat, ImDrawFlags), draw_list, p_min, p_max, fill_col, grid_step, grid_off, rounding, flags) end -function igRenderNavHighlight(bb, id, flags) - ccall((:igRenderNavHighlight, libcimgui), Cvoid, (ImRect, ImGuiID, ImGuiNavHighlightFlags), bb, id, flags) +function igRenderNavCursor(bb, id, flags) + ccall((:igRenderNavCursor, libcimgui), Cvoid, (ImRect, ImGuiID, ImGuiNavRenderCursorFlags), bb, id, flags) end function igFindRenderedTextEnd(text, text_end) @@ -9924,8 +10032,8 @@ function igArrowButtonEx(str_id, dir, size_arg, flags) ccall((:igArrowButtonEx, libcimgui), Bool, (Ptr{Cchar}, ImGuiDir, ImVec2, ImGuiButtonFlags), str_id, dir, size_arg, flags) end -function igImageButtonEx(id, texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) - ccall((:igImageButtonEx, libcimgui), Bool, (ImGuiID, ImTextureID, ImVec2, ImVec2, ImVec2, ImVec4, ImVec4, ImGuiButtonFlags), id, texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) +function igImageButtonEx(id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) + ccall((:igImageButtonEx, libcimgui), Bool, (ImGuiID, ImTextureID, ImVec2, ImVec2, ImVec2, ImVec4, ImVec4, ImGuiButtonFlags), id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) end function igSeparatorEx(flags, thickness) @@ -9956,8 +10064,8 @@ function igScrollbar(axis) ccall((:igScrollbar, libcimgui), Cvoid, (ImGuiAxis,), axis) end -function igScrollbarEx(bb, id, axis, p_scroll_v, avail_v, contents_v, flags) - ccall((:igScrollbarEx, libcimgui), Bool, (ImRect, ImGuiID, ImGuiAxis, Ptr{ImS64}, ImS64, ImS64, ImDrawFlags), bb, id, axis, p_scroll_v, avail_v, contents_v, flags) +function igScrollbarEx(bb, id, axis, p_scroll_v, avail_v, contents_v, draw_rounding_flags) + ccall((:igScrollbarEx, libcimgui), Bool, (ImRect, ImGuiID, ImGuiAxis, Ptr{ImS64}, ImS64, ImS64, ImDrawFlags), bb, id, axis, p_scroll_v, avail_v, contents_v, draw_rounding_flags) end function igGetWindowScrollbarRect(pOut, window, axis) @@ -10036,6 +10144,10 @@ function igDataTypeClamp(data_type, p_data, p_min, p_max) ccall((:igDataTypeClamp, libcimgui), Bool, (ImGuiDataType, Ptr{Cvoid}, Ptr{Cvoid}, Ptr{Cvoid}), data_type, p_data, p_min, p_max) end +function igDataTypeIsZero(data_type, p_data) + ccall((:igDataTypeIsZero, libcimgui), Bool, (ImGuiDataType, Ptr{Cvoid}), data_type, p_data) +end + function igInputTextEx(label, hint, buf, buf_size, size_arg, flags, callback, user_data) ccall((:igInputTextEx, libcimgui), Bool, (Ptr{Cchar}, Ptr{Cchar}, Ptr{Cchar}, Cint, ImVec2, ImGuiInputTextFlags, ImGuiInputTextCallback, Ptr{Cvoid}), label, hint, buf, buf_size, size_arg, flags, callback, user_data) end @@ -10104,22 +10216,42 @@ function igGcAwakeTransientWindowBuffers(window) ccall((:igGcAwakeTransientWindowBuffers, libcimgui), Cvoid, (Ptr{ImGuiWindow},), window) end -function igDebugAllocHook(info, frame_count, ptr, size) - ccall((:igDebugAllocHook, libcimgui), Cvoid, (Ptr{ImGuiDebugAllocInfo}, Cint, Ptr{Cvoid}, Csize_t), info, frame_count, ptr, size) +function igErrorLog(msg) + ccall((:igErrorLog, libcimgui), Bool, (Ptr{Cchar},), msg) +end + +function igErrorRecoveryStoreState(state_out) + ccall((:igErrorRecoveryStoreState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_out) end -function igErrorCheckEndFrameRecover(log_callback, user_data) - ccall((:igErrorCheckEndFrameRecover, libcimgui), Cvoid, (ImGuiErrorLogCallback, Ptr{Cvoid}), log_callback, user_data) +function igErrorRecoveryTryToRecoverState(state_in) + ccall((:igErrorRecoveryTryToRecoverState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_in) end -function igErrorCheckEndWindowRecover(log_callback, user_data) - ccall((:igErrorCheckEndWindowRecover, libcimgui), Cvoid, (ImGuiErrorLogCallback, Ptr{Cvoid}), log_callback, user_data) +function igErrorRecoveryTryToRecoverWindowState(state_in) + ccall((:igErrorRecoveryTryToRecoverWindowState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_in) end function igErrorCheckUsingSetCursorPosToExtendParentBoundaries() ccall((:igErrorCheckUsingSetCursorPosToExtendParentBoundaries, libcimgui), Cvoid, ()) end +function igErrorCheckEndFrameFinalizeErrorTooltip() + ccall((:igErrorCheckEndFrameFinalizeErrorTooltip, libcimgui), Cvoid, ()) +end + +function igBeginErrorTooltip() + ccall((:igBeginErrorTooltip, libcimgui), Bool, ()) +end + +function igEndErrorTooltip() + ccall((:igEndErrorTooltip, libcimgui), Cvoid, ()) +end + +function igDebugAllocHook(info, frame_count, ptr, size) + ccall((:igDebugAllocHook, libcimgui), Cvoid, (Ptr{ImGuiDebugAllocInfo}, Cint, Ptr{Cvoid}, Csize_t), info, frame_count, ptr, size) +end + function igDebugDrawCursorPos(col) ccall((:igDebugDrawCursorPos, libcimgui), Cvoid, (ImU32,), col) end @@ -10823,11 +10955,29 @@ struct ImVector_ImU64 Data::Ptr{ImU64} end -struct ImVector_ImU8 +struct var"##Ctag#240" Size::Cint Capacity::Cint Data::Ptr{ImU8} end +function Base.getproperty(x::Ptr{var"##Ctag#240"}, f::Symbol) + f === :Size && return Ptr{Cint}(x + 0) + f === :Capacity && return Ptr{Cint}(x + 0) + f === :Data && return Ptr{Ptr{ImU8}}(x + 0) + return getfield(x, f) +end + +function Base.getproperty(x::var"##Ctag#240", f::Symbol) + r = Ref{var"##Ctag#240"}(x) + ptr = Base.unsafe_convert(Ptr{var"##Ctag#240"}, r) + fptr = getproperty(ptr, f) + GC.@preserve r unsafe_load(fptr) +end + +function Base.setproperty!(x::Ptr{var"##Ctag#240"}, f::Symbol, v) + unsafe_store!(getproperty(x, f), v) +end + const ImPlotDragToolFlags = Cint @@ -14830,6 +14980,8 @@ function ImGui_ImplOpenGL3_DestroyDeviceObjects() ccall((:ImGui_ImplOpenGL3_DestroyDeviceObjects, libcimgui), Cvoid, ()) end +const IM_UNICODE_CODEPOINT_MAX = 65535 + const IMGUI_HAS_DOCK = 1 const ImDrawCallback_ResetRenderState = ImDrawCallback(-8) diff --git a/lib/x86_64-linux-musl.jl b/lib/x86_64-linux-musl.jl index 022dc10..bbede4a 100644 --- a/lib/x86_64-linux-musl.jl +++ b/lib/x86_64-linux-musl.jl @@ -43,7 +43,9 @@ function Base.setproperty!(x::Ptr{ImVec4}, f::Symbol, v) end -const ImTextureID = Ptr{Cvoid} +const ImU64 = Culonglong + +const ImTextureID = ImU64 struct ImDrawCmd ClipRect::ImVec4 @@ -53,6 +55,8 @@ struct ImDrawCmd ElemCount::Cuint UserCallback::ImDrawCallback UserCallbackData::Ptr{Cvoid} + UserCallbackDataSize::Cint + UserCallbackDataOffset::Cint end function Base.getproperty(x::Ptr{ImDrawCmd}, f::Symbol) f === :ClipRect && return Ptr{ImVec4}(x + 0) @@ -62,6 +66,8 @@ function Base.getproperty(x::Ptr{ImDrawCmd}, f::Symbol) f === :ElemCount && return Ptr{Cuint}(x + 32) f === :UserCallback && return Ptr{ImDrawCallback}(x + 40) f === :UserCallbackData && return Ptr{Ptr{Cvoid}}(x + 48) + f === :UserCallbackDataSize && return Ptr{Cint}(x + 56) + f === :UserCallbackDataOffset && return Ptr{Cint}(x + 60) return getfield(x, f) end @@ -219,19 +225,63 @@ function Base.getproperty(x::ImVector_ImFontPtr, f::Symbol) end struct ImFontAtlasCustomRect - Width::Cushort - Height::Cushort - X::Cushort - Y::Cushort - GlyphID::Cuint - GlyphAdvanceX::Cfloat - GlyphOffset::ImVec2 - Font::Ptr{Cvoid} # Font::Ptr{ImFont} + data::NTuple{32, UInt8} +end + +function Base.getproperty(x::Ptr{ImFontAtlasCustomRect}, f::Symbol) + f === :X && return Ptr{Cushort}(x + 0) + f === :Y && return Ptr{Cushort}(x + 2) + f === :Width && return Ptr{Cushort}(x + 4) + f === :Height && return Ptr{Cushort}(x + 6) + f === :GlyphID && return (Ptr{Cuint}(x + 8), 0, 31) + f === :GlyphColored && return (Ptr{Cuint}(x + 8), 31, 1) + f === :GlyphAdvanceX && return Ptr{Cfloat}(x + 12) + f === :GlyphOffset && return Ptr{ImVec2}(x + 16) + f === :Font && return Ptr{Ptr{ImFont}}(x + 24) + return getfield(x, f) end function Base.getproperty(x::ImFontAtlasCustomRect, f::Symbol) - f === :Font && return Ptr{ImFont}(getfield(x, f)) - return getfield(x, f) + r = Ref{ImFontAtlasCustomRect}(x) + ptr = Base.unsafe_convert(Ptr{ImFontAtlasCustomRect}, r) + fptr = getproperty(ptr, f) + begin + if fptr isa Ptr + return GC.@preserve(r, unsafe_load(fptr)) + else + (baseptr, offset, width) = fptr + ty = eltype(baseptr) + baseptr32 = convert(Ptr{UInt32}, baseptr) + u64 = GC.@preserve(r, unsafe_load(baseptr32)) + if offset + width > 32 + u64 |= GC.@preserve(r, unsafe_load(baseptr32 + 4)) << 32 + end + u64 = u64 >> offset & (1 << width - 1) + return u64 % ty + end + end +end + +function Base.setproperty!(x::Ptr{ImFontAtlasCustomRect}, f::Symbol, v) + fptr = getproperty(x, f) + if fptr isa Ptr + unsafe_store!(getproperty(x, f), v) + else + (baseptr, offset, width) = fptr + baseptr32 = convert(Ptr{UInt32}, baseptr) + u64 = unsafe_load(baseptr32) + straddle = offset + width > 32 + if straddle + u64 |= unsafe_load(baseptr32 + 4) << 32 + end + mask = 1 << width - 1 + u64 &= ~(mask << offset) + u64 |= (unsigned(v) & mask) << offset + unsafe_store!(baseptr32, u64 & typemax(UInt32)) + if straddle + unsafe_store!(baseptr32 + 4, u64 >> 32) + end + end end struct ImVector_ImFontAtlasCustomRect @@ -373,9 +423,9 @@ struct ImFont ContainerAtlas::Ptr{ImFontAtlas} ConfigData::Ptr{ImFontConfig} ConfigDataCount::Cshort - FallbackChar::ImWchar - EllipsisChar::ImWchar EllipsisCharCount::Cshort + EllipsisChar::ImWchar + FallbackChar::ImWchar EllipsisWidth::Cfloat EllipsisCharStep::Cfloat DirtyLookupTables::Bool @@ -394,6 +444,7 @@ end struct ImDrawListSharedData TexUvWhitePixel::ImVec2 + TexUvLines::Ptr{ImVec4} Font::Ptr{ImFont} FontSize::Cfloat FontScale::Cfloat @@ -405,7 +456,6 @@ struct ImDrawListSharedData ArcFastVtx::NTuple{48, ImVec2} ArcFastRadiusCutoff::Cfloat CircleSegmentCounts::NTuple{64, ImU8} - TexUvLines::Ptr{ImVec4} end struct ImDrawCmdHeader @@ -438,6 +488,12 @@ struct ImVector_ImTextureID Data::Ptr{ImTextureID} end +struct ImVector_ImU8 + Size::Cint + Capacity::Cint + Data::Ptr{ImU8} +end + struct ImDrawList CmdBuffer::ImVector_ImDrawCmd IdxBuffer::ImVector_ImDrawIdx @@ -452,6 +508,7 @@ struct ImDrawList _Splitter::ImDrawListSplitter _ClipRectStack::ImVector_ImVec4 _TextureIdStack::ImVector_ImTextureID + _CallbacksDataBuf::ImVector_ImU8 _FringeScale::Cfloat _OwnerName::Ptr{Cchar} end @@ -469,8 +526,9 @@ function Base.getproperty(x::Ptr{ImDrawList}, f::Symbol) f === :_Splitter && return Ptr{ImDrawListSplitter}(x + 128) f === :_ClipRectStack && return Ptr{ImVector_ImVec4}(x + 152) f === :_TextureIdStack && return Ptr{ImVector_ImTextureID}(x + 168) - f === :_FringeScale && return Ptr{Cfloat}(x + 184) - f === :_OwnerName && return Ptr{Ptr{Cchar}}(x + 192) + f === :_CallbacksDataBuf && return Ptr{ImVector_ImU8}(x + 184) + f === :_FringeScale && return Ptr{Cfloat}(x + 200) + f === :_OwnerName && return Ptr{Ptr{Cchar}}(x + 208) return getfield(x, f) end @@ -604,8 +662,6 @@ end const ImU16 = Cushort -const ImS8 = Int8 - struct ImGuiIO ConfigFlags::ImGuiConfigFlags BackendFlags::ImGuiBackendFlags @@ -620,6 +676,13 @@ struct ImGuiIO FontAllowUserScaling::Bool FontDefault::Ptr{ImFont} DisplayFramebufferScale::ImVec2 + ConfigNavSwapGamepadButtons::Bool + ConfigNavMoveSetMousePos::Bool + ConfigNavCaptureKeyboard::Bool + ConfigNavEscapeClearFocusItem::Bool + ConfigNavEscapeClearFocusWindow::Bool + ConfigNavCursorVisibleAuto::Bool + ConfigNavCursorVisibleAlways::Bool ConfigDockingNoSplit::Bool ConfigDockingWithShift::Bool ConfigDockingAlwaysTabBar::Bool @@ -630,19 +693,24 @@ struct ImGuiIO ConfigViewportsNoDefaultParent::Bool MouseDrawCursor::Bool ConfigMacOSXBehaviors::Bool - ConfigNavSwapGamepadButtons::Bool ConfigInputTrickleEventQueue::Bool ConfigInputTextCursorBlink::Bool ConfigInputTextEnterKeepActive::Bool ConfigDragClickToInputText::Bool ConfigWindowsResizeFromEdges::Bool ConfigWindowsMoveFromTitleBarOnly::Bool + ConfigWindowsCopyContentsWithCtrlC::Bool + ConfigScrollbarScrollByPage::Bool ConfigMemoryCompactTimer::Cfloat MouseDoubleClickTime::Cfloat MouseDoubleClickMaxDist::Cfloat MouseDragThreshold::Cfloat KeyRepeatDelay::Cfloat KeyRepeatRate::Cfloat + ConfigErrorRecovery::Bool + ConfigErrorRecoveryEnableAssert::Bool + ConfigErrorRecoveryEnableDebugLog::Bool + ConfigErrorRecoveryEnableTooltip::Bool ConfigDebugIsDebuggerPresent::Bool ConfigDebugHighlightIdConflicts::Bool ConfigDebugBeginReturnValueOnce::Bool @@ -700,8 +768,6 @@ struct ImGuiIO PenPressure::Cfloat AppFocusLost::Bool AppAcceptingEvents::Bool - BackendUsingLegacyKeyArrays::ImS8 - BackendUsingLegacyNavInputArray::Bool InputQueueSurrogate::ImWchar16 InputQueueCharacters::ImVector_ImWchar end @@ -725,90 +791,100 @@ function Base.getproperty(x::Ptr{ImGuiIO}, f::Symbol) f === :FontAllowUserScaling && return Ptr{Bool}(x + 60) f === :FontDefault && return Ptr{Ptr{ImFont}}(x + 64) f === :DisplayFramebufferScale && return Ptr{ImVec2}(x + 72) - f === :ConfigDockingNoSplit && return Ptr{Bool}(x + 80) - f === :ConfigDockingWithShift && return Ptr{Bool}(x + 81) - f === :ConfigDockingAlwaysTabBar && return Ptr{Bool}(x + 82) - f === :ConfigDockingTransparentPayload && return Ptr{Bool}(x + 83) - f === :ConfigViewportsNoAutoMerge && return Ptr{Bool}(x + 84) - f === :ConfigViewportsNoTaskBarIcon && return Ptr{Bool}(x + 85) - f === :ConfigViewportsNoDecoration && return Ptr{Bool}(x + 86) - f === :ConfigViewportsNoDefaultParent && return Ptr{Bool}(x + 87) - f === :MouseDrawCursor && return Ptr{Bool}(x + 88) - f === :ConfigMacOSXBehaviors && return Ptr{Bool}(x + 89) - f === :ConfigNavSwapGamepadButtons && return Ptr{Bool}(x + 90) - f === :ConfigInputTrickleEventQueue && return Ptr{Bool}(x + 91) - f === :ConfigInputTextCursorBlink && return Ptr{Bool}(x + 92) - f === :ConfigInputTextEnterKeepActive && return Ptr{Bool}(x + 93) - f === :ConfigDragClickToInputText && return Ptr{Bool}(x + 94) - f === :ConfigWindowsResizeFromEdges && return Ptr{Bool}(x + 95) - f === :ConfigWindowsMoveFromTitleBarOnly && return Ptr{Bool}(x + 96) - f === :ConfigMemoryCompactTimer && return Ptr{Cfloat}(x + 100) - f === :MouseDoubleClickTime && return Ptr{Cfloat}(x + 104) - f === :MouseDoubleClickMaxDist && return Ptr{Cfloat}(x + 108) - f === :MouseDragThreshold && return Ptr{Cfloat}(x + 112) - f === :KeyRepeatDelay && return Ptr{Cfloat}(x + 116) - f === :KeyRepeatRate && return Ptr{Cfloat}(x + 120) - f === :ConfigDebugIsDebuggerPresent && return Ptr{Bool}(x + 124) - f === :ConfigDebugHighlightIdConflicts && return Ptr{Bool}(x + 125) - f === :ConfigDebugBeginReturnValueOnce && return Ptr{Bool}(x + 126) - f === :ConfigDebugBeginReturnValueLoop && return Ptr{Bool}(x + 127) - f === :ConfigDebugIgnoreFocusLoss && return Ptr{Bool}(x + 128) - f === :ConfigDebugIniSettings && return Ptr{Bool}(x + 129) - f === :BackendPlatformName && return Ptr{Ptr{Cchar}}(x + 136) - f === :BackendRendererName && return Ptr{Ptr{Cchar}}(x + 144) - f === :BackendPlatformUserData && return Ptr{Ptr{Cvoid}}(x + 152) - f === :BackendRendererUserData && return Ptr{Ptr{Cvoid}}(x + 160) - f === :BackendLanguageUserData && return Ptr{Ptr{Cvoid}}(x + 168) - f === :WantCaptureMouse && return Ptr{Bool}(x + 176) - f === :WantCaptureKeyboard && return Ptr{Bool}(x + 177) - f === :WantTextInput && return Ptr{Bool}(x + 178) - f === :WantSetMousePos && return Ptr{Bool}(x + 179) - f === :WantSaveIniSettings && return Ptr{Bool}(x + 180) - f === :NavActive && return Ptr{Bool}(x + 181) - f === :NavVisible && return Ptr{Bool}(x + 182) - f === :Framerate && return Ptr{Cfloat}(x + 184) - f === :MetricsRenderVertices && return Ptr{Cint}(x + 188) - f === :MetricsRenderIndices && return Ptr{Cint}(x + 192) - f === :MetricsRenderWindows && return Ptr{Cint}(x + 196) - f === :MetricsActiveWindows && return Ptr{Cint}(x + 200) - f === :MouseDelta && return Ptr{ImVec2}(x + 204) - f === :Ctx && return Ptr{Ptr{ImGuiContext}}(x + 216) - f === :MousePos && return Ptr{ImVec2}(x + 224) - f === :MouseDown && return Ptr{NTuple{5, Bool}}(x + 232) - f === :MouseWheel && return Ptr{Cfloat}(x + 240) - f === :MouseWheelH && return Ptr{Cfloat}(x + 244) - f === :MouseSource && return Ptr{ImGuiMouseSource}(x + 248) - f === :MouseHoveredViewport && return Ptr{ImGuiID}(x + 252) - f === :KeyCtrl && return Ptr{Bool}(x + 256) - f === :KeyShift && return Ptr{Bool}(x + 257) - f === :KeyAlt && return Ptr{Bool}(x + 258) - f === :KeySuper && return Ptr{Bool}(x + 259) - f === :KeyMods && return Ptr{ImGuiKeyChord}(x + 260) - f === :KeysData && return Ptr{NTuple{154, ImGuiKeyData}}(x + 264) - f === :WantCaptureMouseUnlessPopupClose && return Ptr{Bool}(x + 2728) - f === :MousePosPrev && return Ptr{ImVec2}(x + 2732) - f === :MouseClickedPos && return Ptr{NTuple{5, ImVec2}}(x + 2740) - f === :MouseClickedTime && return Ptr{NTuple{5, Cdouble}}(x + 2784) - f === :MouseClicked && return Ptr{NTuple{5, Bool}}(x + 2824) - f === :MouseDoubleClicked && return Ptr{NTuple{5, Bool}}(x + 2829) - f === :MouseClickedCount && return Ptr{NTuple{5, ImU16}}(x + 2834) - f === :MouseClickedLastCount && return Ptr{NTuple{5, ImU16}}(x + 2844) - f === :MouseReleased && return Ptr{NTuple{5, Bool}}(x + 2854) - f === :MouseDownOwned && return Ptr{NTuple{5, Bool}}(x + 2859) - f === :MouseDownOwnedUnlessPopupClose && return Ptr{NTuple{5, Bool}}(x + 2864) - f === :MouseWheelRequestAxisSwap && return Ptr{Bool}(x + 2869) - f === :MouseCtrlLeftAsRightClick && return Ptr{Bool}(x + 2870) - f === :MouseDownDuration && return Ptr{NTuple{5, Cfloat}}(x + 2872) - f === :MouseDownDurationPrev && return Ptr{NTuple{5, Cfloat}}(x + 2892) - f === :MouseDragMaxDistanceAbs && return Ptr{NTuple{5, ImVec2}}(x + 2912) - f === :MouseDragMaxDistanceSqr && return Ptr{NTuple{5, Cfloat}}(x + 2952) - f === :PenPressure && return Ptr{Cfloat}(x + 2972) - f === :AppFocusLost && return Ptr{Bool}(x + 2976) - f === :AppAcceptingEvents && return Ptr{Bool}(x + 2977) - f === :BackendUsingLegacyKeyArrays && return Ptr{ImS8}(x + 2978) - f === :BackendUsingLegacyNavInputArray && return Ptr{Bool}(x + 2979) - f === :InputQueueSurrogate && return Ptr{ImWchar16}(x + 2980) - f === :InputQueueCharacters && return Ptr{ImVector_ImWchar}(x + 2984) + f === :ConfigNavSwapGamepadButtons && return Ptr{Bool}(x + 80) + f === :ConfigNavMoveSetMousePos && return Ptr{Bool}(x + 81) + f === :ConfigNavCaptureKeyboard && return Ptr{Bool}(x + 82) + f === :ConfigNavEscapeClearFocusItem && return Ptr{Bool}(x + 83) + f === :ConfigNavEscapeClearFocusWindow && return Ptr{Bool}(x + 84) + f === :ConfigNavCursorVisibleAuto && return Ptr{Bool}(x + 85) + f === :ConfigNavCursorVisibleAlways && return Ptr{Bool}(x + 86) + f === :ConfigDockingNoSplit && return Ptr{Bool}(x + 87) + f === :ConfigDockingWithShift && return Ptr{Bool}(x + 88) + f === :ConfigDockingAlwaysTabBar && return Ptr{Bool}(x + 89) + f === :ConfigDockingTransparentPayload && return Ptr{Bool}(x + 90) + f === :ConfigViewportsNoAutoMerge && return Ptr{Bool}(x + 91) + f === :ConfigViewportsNoTaskBarIcon && return Ptr{Bool}(x + 92) + f === :ConfigViewportsNoDecoration && return Ptr{Bool}(x + 93) + f === :ConfigViewportsNoDefaultParent && return Ptr{Bool}(x + 94) + f === :MouseDrawCursor && return Ptr{Bool}(x + 95) + f === :ConfigMacOSXBehaviors && return Ptr{Bool}(x + 96) + f === :ConfigInputTrickleEventQueue && return Ptr{Bool}(x + 97) + f === :ConfigInputTextCursorBlink && return Ptr{Bool}(x + 98) + f === :ConfigInputTextEnterKeepActive && return Ptr{Bool}(x + 99) + f === :ConfigDragClickToInputText && return Ptr{Bool}(x + 100) + f === :ConfigWindowsResizeFromEdges && return Ptr{Bool}(x + 101) + f === :ConfigWindowsMoveFromTitleBarOnly && return Ptr{Bool}(x + 102) + f === :ConfigWindowsCopyContentsWithCtrlC && return Ptr{Bool}(x + 103) + f === :ConfigScrollbarScrollByPage && return Ptr{Bool}(x + 104) + f === :ConfigMemoryCompactTimer && return Ptr{Cfloat}(x + 108) + f === :MouseDoubleClickTime && return Ptr{Cfloat}(x + 112) + f === :MouseDoubleClickMaxDist && return Ptr{Cfloat}(x + 116) + f === :MouseDragThreshold && return Ptr{Cfloat}(x + 120) + f === :KeyRepeatDelay && return Ptr{Cfloat}(x + 124) + f === :KeyRepeatRate && return Ptr{Cfloat}(x + 128) + f === :ConfigErrorRecovery && return Ptr{Bool}(x + 132) + f === :ConfigErrorRecoveryEnableAssert && return Ptr{Bool}(x + 133) + f === :ConfigErrorRecoveryEnableDebugLog && return Ptr{Bool}(x + 134) + f === :ConfigErrorRecoveryEnableTooltip && return Ptr{Bool}(x + 135) + f === :ConfigDebugIsDebuggerPresent && return Ptr{Bool}(x + 136) + f === :ConfigDebugHighlightIdConflicts && return Ptr{Bool}(x + 137) + f === :ConfigDebugBeginReturnValueOnce && return Ptr{Bool}(x + 138) + f === :ConfigDebugBeginReturnValueLoop && return Ptr{Bool}(x + 139) + f === :ConfigDebugIgnoreFocusLoss && return Ptr{Bool}(x + 140) + f === :ConfigDebugIniSettings && return Ptr{Bool}(x + 141) + f === :BackendPlatformName && return Ptr{Ptr{Cchar}}(x + 144) + f === :BackendRendererName && return Ptr{Ptr{Cchar}}(x + 152) + f === :BackendPlatformUserData && return Ptr{Ptr{Cvoid}}(x + 160) + f === :BackendRendererUserData && return Ptr{Ptr{Cvoid}}(x + 168) + f === :BackendLanguageUserData && return Ptr{Ptr{Cvoid}}(x + 176) + f === :WantCaptureMouse && return Ptr{Bool}(x + 184) + f === :WantCaptureKeyboard && return Ptr{Bool}(x + 185) + f === :WantTextInput && return Ptr{Bool}(x + 186) + f === :WantSetMousePos && return Ptr{Bool}(x + 187) + f === :WantSaveIniSettings && return Ptr{Bool}(x + 188) + f === :NavActive && return Ptr{Bool}(x + 189) + f === :NavVisible && return Ptr{Bool}(x + 190) + f === :Framerate && return Ptr{Cfloat}(x + 192) + f === :MetricsRenderVertices && return Ptr{Cint}(x + 196) + f === :MetricsRenderIndices && return Ptr{Cint}(x + 200) + f === :MetricsRenderWindows && return Ptr{Cint}(x + 204) + f === :MetricsActiveWindows && return Ptr{Cint}(x + 208) + f === :MouseDelta && return Ptr{ImVec2}(x + 212) + f === :Ctx && return Ptr{Ptr{ImGuiContext}}(x + 224) + f === :MousePos && return Ptr{ImVec2}(x + 232) + f === :MouseDown && return Ptr{NTuple{5, Bool}}(x + 240) + f === :MouseWheel && return Ptr{Cfloat}(x + 248) + f === :MouseWheelH && return Ptr{Cfloat}(x + 252) + f === :MouseSource && return Ptr{ImGuiMouseSource}(x + 256) + f === :MouseHoveredViewport && return Ptr{ImGuiID}(x + 260) + f === :KeyCtrl && return Ptr{Bool}(x + 264) + f === :KeyShift && return Ptr{Bool}(x + 265) + f === :KeyAlt && return Ptr{Bool}(x + 266) + f === :KeySuper && return Ptr{Bool}(x + 267) + f === :KeyMods && return Ptr{ImGuiKeyChord}(x + 268) + f === :KeysData && return Ptr{NTuple{154, ImGuiKeyData}}(x + 272) + f === :WantCaptureMouseUnlessPopupClose && return Ptr{Bool}(x + 2736) + f === :MousePosPrev && return Ptr{ImVec2}(x + 2740) + f === :MouseClickedPos && return Ptr{NTuple{5, ImVec2}}(x + 2748) + f === :MouseClickedTime && return Ptr{NTuple{5, Cdouble}}(x + 2792) + f === :MouseClicked && return Ptr{NTuple{5, Bool}}(x + 2832) + f === :MouseDoubleClicked && return Ptr{NTuple{5, Bool}}(x + 2837) + f === :MouseClickedCount && return Ptr{NTuple{5, ImU16}}(x + 2842) + f === :MouseClickedLastCount && return Ptr{NTuple{5, ImU16}}(x + 2852) + f === :MouseReleased && return Ptr{NTuple{5, Bool}}(x + 2862) + f === :MouseDownOwned && return Ptr{NTuple{5, Bool}}(x + 2867) + f === :MouseDownOwnedUnlessPopupClose && return Ptr{NTuple{5, Bool}}(x + 2872) + f === :MouseWheelRequestAxisSwap && return Ptr{Bool}(x + 2877) + f === :MouseCtrlLeftAsRightClick && return Ptr{Bool}(x + 2878) + f === :MouseDownDuration && return Ptr{NTuple{5, Cfloat}}(x + 2880) + f === :MouseDownDurationPrev && return Ptr{NTuple{5, Cfloat}}(x + 2900) + f === :MouseDragMaxDistanceAbs && return Ptr{NTuple{5, ImVec2}}(x + 2920) + f === :MouseDragMaxDistanceSqr && return Ptr{NTuple{5, Cfloat}}(x + 2960) + f === :PenPressure && return Ptr{Cfloat}(x + 2980) + f === :AppFocusLost && return Ptr{Bool}(x + 2984) + f === :AppAcceptingEvents && return Ptr{Bool}(x + 2985) + f === :InputQueueSurrogate && return Ptr{ImWchar16}(x + 2986) + f === :InputQueueCharacters && return Ptr{ImVector_ImWchar}(x + 2992) return getfield(x, f) end @@ -860,6 +936,7 @@ struct ImGuiPlatformIO Platform_SetImeDataFn::Ptr{Cvoid} Platform_ImeUserData::Ptr{Cvoid} Platform_LocaleDecimalPoint::ImWchar + Renderer_RenderState::Ptr{Cvoid} Platform_CreateWindow::Ptr{Cvoid} Platform_DestroyWindow::Ptr{Cvoid} Platform_ShowWindow::Ptr{Cvoid} @@ -896,32 +973,33 @@ function Base.getproperty(x::Ptr{ImGuiPlatformIO}, f::Symbol) f === :Platform_SetImeDataFn && return Ptr{Ptr{Cvoid}}(x + 40) f === :Platform_ImeUserData && return Ptr{Ptr{Cvoid}}(x + 48) f === :Platform_LocaleDecimalPoint && return Ptr{ImWchar}(x + 56) - f === :Platform_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 64) - f === :Platform_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 72) - f === :Platform_ShowWindow && return Ptr{Ptr{Cvoid}}(x + 80) - f === :Platform_SetWindowPos && return Ptr{Ptr{Cvoid}}(x + 88) - f === :Platform_GetWindowPos && return Ptr{Ptr{Cvoid}}(x + 96) - f === :Platform_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 104) - f === :Platform_GetWindowSize && return Ptr{Ptr{Cvoid}}(x + 112) - f === :Platform_SetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 120) - f === :Platform_GetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 128) - f === :Platform_GetWindowMinimized && return Ptr{Ptr{Cvoid}}(x + 136) - f === :Platform_SetWindowTitle && return Ptr{Ptr{Cvoid}}(x + 144) - f === :Platform_SetWindowAlpha && return Ptr{Ptr{Cvoid}}(x + 152) - f === :Platform_UpdateWindow && return Ptr{Ptr{Cvoid}}(x + 160) - f === :Platform_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 168) - f === :Platform_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 176) - f === :Platform_GetWindowDpiScale && return Ptr{Ptr{Cvoid}}(x + 184) - f === :Platform_OnChangedViewport && return Ptr{Ptr{Cvoid}}(x + 192) - f === :Platform_GetWindowWorkAreaInsets && return Ptr{Ptr{Cvoid}}(x + 200) - f === :Platform_CreateVkSurface && return Ptr{Ptr{Cvoid}}(x + 208) - f === :Renderer_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 216) - f === :Renderer_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 224) - f === :Renderer_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 232) - f === :Renderer_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 240) - f === :Renderer_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 248) - f === :Monitors && return Ptr{ImVector_ImGuiPlatformMonitor}(x + 256) - f === :Viewports && return Ptr{ImVector_ImGuiViewportPtr}(x + 272) + f === :Renderer_RenderState && return Ptr{Ptr{Cvoid}}(x + 64) + f === :Platform_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 72) + f === :Platform_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 80) + f === :Platform_ShowWindow && return Ptr{Ptr{Cvoid}}(x + 88) + f === :Platform_SetWindowPos && return Ptr{Ptr{Cvoid}}(x + 96) + f === :Platform_GetWindowPos && return Ptr{Ptr{Cvoid}}(x + 104) + f === :Platform_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 112) + f === :Platform_GetWindowSize && return Ptr{Ptr{Cvoid}}(x + 120) + f === :Platform_SetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 128) + f === :Platform_GetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 136) + f === :Platform_GetWindowMinimized && return Ptr{Ptr{Cvoid}}(x + 144) + f === :Platform_SetWindowTitle && return Ptr{Ptr{Cvoid}}(x + 152) + f === :Platform_SetWindowAlpha && return Ptr{Ptr{Cvoid}}(x + 160) + f === :Platform_UpdateWindow && return Ptr{Ptr{Cvoid}}(x + 168) + f === :Platform_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 176) + f === :Platform_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 184) + f === :Platform_GetWindowDpiScale && return Ptr{Ptr{Cvoid}}(x + 192) + f === :Platform_OnChangedViewport && return Ptr{Ptr{Cvoid}}(x + 200) + f === :Platform_GetWindowWorkAreaInsets && return Ptr{Ptr{Cvoid}}(x + 208) + f === :Platform_CreateVkSurface && return Ptr{Ptr{Cvoid}}(x + 216) + f === :Renderer_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 224) + f === :Renderer_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 232) + f === :Renderer_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 240) + f === :Renderer_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 248) + f === :Renderer_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 256) + f === :Monitors && return Ptr{ImVector_ImGuiPlatformMonitor}(x + 264) + f === :Viewports && return Ptr{ImVector_ImGuiViewportPtr}(x + 280) return getfield(x, f) end @@ -1183,6 +1261,8 @@ function Base.getproperty(x::ImGuiViewportP, f::Symbol) return getfield(x, f) end +const ImS8 = Int8 + const ImGuiCond = Cint struct ImVector_ImGuiID @@ -1393,6 +1473,7 @@ struct ImGuiTextBuffer end struct ImGuiTabBar + Window::Ptr{Cvoid} # Window::Ptr{ImGuiWindow} Tabs::ImVector_ImGuiTabItem Flags::ImGuiTabBarFlags ID::ImGuiID @@ -1428,6 +1509,11 @@ struct ImGuiTabBar TabsNames::ImGuiTextBuffer end +function Base.getproperty(x::ImGuiTabBar, f::Symbol) + f === :Window && return Ptr{ImGuiWindow}(getfield(x, f)) + return getfield(x, f) +end + @cenum ImGuiAxis::Int32 begin ImGuiAxis_None = -1 ImGuiAxis_X = 0 @@ -1532,7 +1618,7 @@ end const ImGuiItemStatusFlags = Cint struct ImGuiWindow - data::NTuple{1168, UInt8} + data::NTuple{1184, UInt8} end function Base.getproperty(x::Ptr{ImGuiWindow}, f::Symbol) @@ -1633,33 +1719,33 @@ function Base.getproperty(x::Ptr{ImGuiWindow}, f::Symbol) f === :SettingsOffset && return Ptr{Cint}(x + 736) f === :DrawList && return Ptr{Ptr{ImDrawList}}(x + 744) f === :DrawListInst && return Ptr{ImDrawList}(x + 752) - f === :ParentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 952) - f === :ParentWindowInBeginStack && return Ptr{Ptr{ImGuiWindow}}(x + 960) - f === :RootWindow && return Ptr{Ptr{ImGuiWindow}}(x + 968) - f === :RootWindowPopupTree && return Ptr{Ptr{ImGuiWindow}}(x + 976) - f === :RootWindowDockTree && return Ptr{Ptr{ImGuiWindow}}(x + 984) - f === :RootWindowForTitleBarHighlight && return Ptr{Ptr{ImGuiWindow}}(x + 992) - f === :RootWindowForNav && return Ptr{Ptr{ImGuiWindow}}(x + 1000) - f === :ParentWindowForFocusRoute && return Ptr{Ptr{ImGuiWindow}}(x + 1008) - f === :NavLastChildNavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 1016) - f === :NavLastIds && return Ptr{NTuple{2, ImGuiID}}(x + 1024) - f === :NavRectRel && return Ptr{NTuple{2, ImRect}}(x + 1032) - f === :NavPreferredScoringPosRel && return Ptr{NTuple{2, ImVec2}}(x + 1064) - f === :NavRootFocusScopeId && return Ptr{ImGuiID}(x + 1080) - f === :MemoryDrawListIdxCapacity && return Ptr{Cint}(x + 1084) - f === :MemoryDrawListVtxCapacity && return Ptr{Cint}(x + 1088) - f === :MemoryCompacted && return Ptr{Bool}(x + 1092) - f === :DockIsActive && return (Ptr{Bool}(x + 1092), 8, 1) - f === :DockNodeIsVisible && return (Ptr{Bool}(x + 1092), 9, 1) - f === :DockTabIsVisible && return (Ptr{Bool}(x + 1092), 10, 1) - f === :DockTabWantClose && return (Ptr{Bool}(x + 1092), 11, 1) - f === :DockOrder && return Ptr{Cshort}(x + 1094) - f === :DockStyle && return Ptr{ImGuiWindowDockStyle}(x + 1096) - f === :DockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 1128) - f === :DockNodeAsHost && return Ptr{Ptr{ImGuiDockNode}}(x + 1136) - f === :DockId && return Ptr{ImGuiID}(x + 1144) - f === :DockTabItemStatusFlags && return Ptr{ImGuiItemStatusFlags}(x + 1148) - f === :DockTabItemRect && return Ptr{ImRect}(x + 1152) + f === :ParentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 968) + f === :ParentWindowInBeginStack && return Ptr{Ptr{ImGuiWindow}}(x + 976) + f === :RootWindow && return Ptr{Ptr{ImGuiWindow}}(x + 984) + f === :RootWindowPopupTree && return Ptr{Ptr{ImGuiWindow}}(x + 992) + f === :RootWindowDockTree && return Ptr{Ptr{ImGuiWindow}}(x + 1000) + f === :RootWindowForTitleBarHighlight && return Ptr{Ptr{ImGuiWindow}}(x + 1008) + f === :RootWindowForNav && return Ptr{Ptr{ImGuiWindow}}(x + 1016) + f === :ParentWindowForFocusRoute && return Ptr{Ptr{ImGuiWindow}}(x + 1024) + f === :NavLastChildNavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 1032) + f === :NavLastIds && return Ptr{NTuple{2, ImGuiID}}(x + 1040) + f === :NavRectRel && return Ptr{NTuple{2, ImRect}}(x + 1048) + f === :NavPreferredScoringPosRel && return Ptr{NTuple{2, ImVec2}}(x + 1080) + f === :NavRootFocusScopeId && return Ptr{ImGuiID}(x + 1096) + f === :MemoryDrawListIdxCapacity && return Ptr{Cint}(x + 1100) + f === :MemoryDrawListVtxCapacity && return Ptr{Cint}(x + 1104) + f === :MemoryCompacted && return Ptr{Bool}(x + 1108) + f === :DockIsActive && return (Ptr{Bool}(x + 1108), 8, 1) + f === :DockNodeIsVisible && return (Ptr{Bool}(x + 1108), 9, 1) + f === :DockTabIsVisible && return (Ptr{Bool}(x + 1108), 10, 1) + f === :DockTabWantClose && return (Ptr{Bool}(x + 1108), 11, 1) + f === :DockOrder && return Ptr{Cshort}(x + 1110) + f === :DockStyle && return Ptr{ImGuiWindowDockStyle}(x + 1112) + f === :DockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 1144) + f === :DockNodeAsHost && return Ptr{Ptr{ImGuiDockNode}}(x + 1152) + f === :DockId && return Ptr{ImGuiID}(x + 1160) + f === :DockTabItemStatusFlags && return Ptr{ImGuiItemStatusFlags}(x + 1164) + f === :DockTabItemRect && return Ptr{ImRect}(x + 1168) return getfield(x, f) end @@ -1710,7 +1796,7 @@ const ImGuiItemFlags = Cint struct ImGuiLastItemData ID::ImGuiID - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags StatusFlags::ImGuiItemStatusFlags Rect::ImRect NavRect::ImRect @@ -1719,8 +1805,10 @@ struct ImGuiLastItemData Shortcut::ImGuiKeyChord end -struct ImGuiStackSizes +struct ImGuiErrorRecoveryState + SizeOfWindowStack::Cshort SizeOfIDStack::Cshort + SizeOfTreeStack::Cshort SizeOfColorStack::Cshort SizeOfStyleVarStack::Cshort SizeOfFontStack::Cshort @@ -1734,7 +1822,7 @@ end struct ImGuiWindowStackData Window::Ptr{ImGuiWindow} ParentLastItemDataBackup::ImGuiLastItemData - StackSizesOnBegin::ImGuiStackSizes + StackSizesInBegin::ImGuiErrorRecoveryState DisabledOverrideReenable::Bool end @@ -1793,7 +1881,7 @@ struct ImGuiDataTypeStorage end struct ImGuiNextItemData - Flags::ImGuiNextItemDataFlags + HasFlags::ImGuiNextItemDataFlags ItemFlags::ImGuiItemFlags FocusScopeId::ImGuiID SelectionUserData::ImGuiSelectionUserData @@ -1942,7 +2030,7 @@ const ImGuiTreeNodeFlags = Cint struct ImGuiTreeNodeStackData ID::ImGuiID TreeFlags::ImGuiTreeNodeFlags - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags NavRect::ImRect end @@ -1965,7 +2053,7 @@ struct ImGuiNavItemData ID::ImGuiID FocusScopeId::ImGuiID RectRel::ImRect - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags DistBox::Cfloat DistCenter::Cfloat DistAxial::Cfloat @@ -1978,6 +2066,7 @@ const ImGuiScrollFlags = Cint @cenum ImGuiKey::UInt32 begin ImGuiKey_None = 0 + ImGuiKey_NamedKey_BEGIN = 512 ImGuiKey_Tab = 512 ImGuiKey_LeftArrow = 513 ImGuiKey_RightArrow = 514 @@ -2132,18 +2221,14 @@ const ImGuiScrollFlags = Cint ImGuiKey_ReservedForModShift = 663 ImGuiKey_ReservedForModAlt = 664 ImGuiKey_ReservedForModSuper = 665 - ImGuiKey_COUNT = 666 + ImGuiKey_NamedKey_END = 666 ImGuiMod_None = 0 ImGuiMod_Ctrl = 4096 ImGuiMod_Shift = 8192 ImGuiMod_Alt = 16384 ImGuiMod_Super = 32768 ImGuiMod_Mask_ = 61440 - ImGuiKey_NamedKey_BEGIN = 512 - ImGuiKey_NamedKey_END = 666 ImGuiKey_NamedKey_COUNT = 154 - ImGuiKey_KeysData_SIZE = 154 - ImGuiKey_KeysData_OFFSET = 512 end const ImGuiDragDropFlags = Cint @@ -2798,11 +2883,11 @@ struct ImGuiInputTextState Ctx::Ptr{Cvoid} # Ctx::Ptr{ImGuiContext} Stb::Ptr{ImStbTexteditState} ID::ImGuiID - CurLenA::Cint + TextLen::Cint TextA::ImVector_char - InitialTextA::ImVector_char + TextToRevertTo::ImVector_char CallbackTextBackup::ImVector_char - BufCapacityA::Cint + BufCapacity::Cint Scroll::ImVec2 CursorAnim::Cfloat CursorFollow::Bool @@ -2938,16 +3023,13 @@ struct ImVector_ImGuiContextHook Data::Ptr{ImGuiContextHook} end -@cenum ImGuiLogType::UInt32 begin - ImGuiLogType_None = 0 - ImGuiLogType_TTY = 1 - ImGuiLogType_File = 2 - ImGuiLogType_Buffer = 3 - ImGuiLogType_Clipboard = 4 -end +const ImGuiLogFlags = Cint const ImFileHandle = Ptr{Libc.FILE} +# typedef void ( * ImGuiErrorCallback ) ( ImGuiContext * ctx , void * user_data , const char * msg ) +const ImGuiErrorCallback = Ptr{Cvoid} + const ImGuiDebugLogFlags = Cint struct ImVector_int @@ -3065,313 +3147,324 @@ struct ImGuiDebugAllocInfo end struct ImGuiContext - data::NTuple{10920, UInt8} + data::NTuple{11016, UInt8} end function Base.getproperty(x::Ptr{ImGuiContext}, f::Symbol) f === :Initialized && return Ptr{Bool}(x + 0) f === :FontAtlasOwnedByContext && return Ptr{Bool}(x + 1) f === :IO && return Ptr{ImGuiIO}(x + 8) - f === :PlatformIO && return Ptr{ImGuiPlatformIO}(x + 3008) - f === :Style && return Ptr{ImGuiStyle}(x + 3296) - f === :ConfigFlagsCurrFrame && return Ptr{ImGuiConfigFlags}(x + 4488) - f === :ConfigFlagsLastFrame && return Ptr{ImGuiConfigFlags}(x + 4492) - f === :Font && return Ptr{Ptr{ImFont}}(x + 4496) - f === :FontSize && return Ptr{Cfloat}(x + 4504) - f === :FontBaseSize && return Ptr{Cfloat}(x + 4508) - f === :FontScale && return Ptr{Cfloat}(x + 4512) - f === :CurrentDpiScale && return Ptr{Cfloat}(x + 4516) - f === :DrawListSharedData && return Ptr{ImDrawListSharedData}(x + 4520) - f === :Time && return Ptr{Cdouble}(x + 5056) - f === :FrameCount && return Ptr{Cint}(x + 5064) - f === :FrameCountEnded && return Ptr{Cint}(x + 5068) - f === :FrameCountPlatformEnded && return Ptr{Cint}(x + 5072) - f === :FrameCountRendered && return Ptr{Cint}(x + 5076) - f === :WithinFrameScope && return Ptr{Bool}(x + 5080) - f === :WithinFrameScopeWithImplicitWindow && return Ptr{Bool}(x + 5081) - f === :WithinEndChild && return Ptr{Bool}(x + 5082) - f === :GcCompactAll && return Ptr{Bool}(x + 5083) - f === :TestEngineHookItems && return Ptr{Bool}(x + 5084) - f === :TestEngine && return Ptr{Ptr{Cvoid}}(x + 5088) - f === :ContextName && return Ptr{NTuple{16, Cchar}}(x + 5096) - f === :InputEventsQueue && return Ptr{ImVector_ImGuiInputEvent}(x + 5112) - f === :InputEventsTrail && return Ptr{ImVector_ImGuiInputEvent}(x + 5128) - f === :InputEventsNextMouseSource && return Ptr{ImGuiMouseSource}(x + 5144) - f === :InputEventsNextEventId && return Ptr{ImU32}(x + 5148) - f === :Windows && return Ptr{ImVector_ImGuiWindowPtr}(x + 5152) - f === :WindowsFocusOrder && return Ptr{ImVector_ImGuiWindowPtr}(x + 5168) - f === :WindowsTempSortBuffer && return Ptr{ImVector_ImGuiWindowPtr}(x + 5184) - f === :CurrentWindowStack && return Ptr{ImVector_ImGuiWindowStackData}(x + 5200) - f === :WindowsById && return Ptr{ImGuiStorage}(x + 5216) - f === :WindowsActiveCount && return Ptr{Cint}(x + 5232) - f === :WindowsHoverPadding && return Ptr{ImVec2}(x + 5236) - f === :DebugBreakInWindow && return Ptr{ImGuiID}(x + 5244) - f === :CurrentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5248) - f === :HoveredWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5256) - f === :HoveredWindowUnderMovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5264) - f === :HoveredWindowBeforeClear && return Ptr{Ptr{ImGuiWindow}}(x + 5272) - f === :MovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5280) - f === :WheelingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5288) - f === :WheelingWindowRefMousePos && return Ptr{ImVec2}(x + 5296) - f === :WheelingWindowStartFrame && return Ptr{Cint}(x + 5304) - f === :WheelingWindowScrolledFrame && return Ptr{Cint}(x + 5308) - f === :WheelingWindowReleaseTimer && return Ptr{Cfloat}(x + 5312) - f === :WheelingWindowWheelRemainder && return Ptr{ImVec2}(x + 5316) - f === :WheelingAxisAvg && return Ptr{ImVec2}(x + 5324) - f === :DebugDrawIdConflicts && return Ptr{ImGuiID}(x + 5332) - f === :DebugHookIdInfo && return Ptr{ImGuiID}(x + 5336) - f === :HoveredId && return Ptr{ImGuiID}(x + 5340) - f === :HoveredIdPreviousFrame && return Ptr{ImGuiID}(x + 5344) - f === :HoveredIdPreviousFrameItemCount && return Ptr{Cint}(x + 5348) - f === :HoveredIdTimer && return Ptr{Cfloat}(x + 5352) - f === :HoveredIdNotActiveTimer && return Ptr{Cfloat}(x + 5356) - f === :HoveredIdAllowOverlap && return Ptr{Bool}(x + 5360) - f === :HoveredIdIsDisabled && return Ptr{Bool}(x + 5361) - f === :ItemUnclipByLog && return Ptr{Bool}(x + 5362) - f === :ActiveId && return Ptr{ImGuiID}(x + 5364) - f === :ActiveIdIsAlive && return Ptr{ImGuiID}(x + 5368) - f === :ActiveIdTimer && return Ptr{Cfloat}(x + 5372) - f === :ActiveIdIsJustActivated && return Ptr{Bool}(x + 5376) - f === :ActiveIdAllowOverlap && return Ptr{Bool}(x + 5377) - f === :ActiveIdNoClearOnFocusLoss && return Ptr{Bool}(x + 5378) - f === :ActiveIdHasBeenPressedBefore && return Ptr{Bool}(x + 5379) - f === :ActiveIdHasBeenEditedBefore && return Ptr{Bool}(x + 5380) - f === :ActiveIdHasBeenEditedThisFrame && return Ptr{Bool}(x + 5381) - f === :ActiveIdFromShortcut && return Ptr{Bool}(x + 5382) - f === :ActiveIdMouseButton && return (Ptr{Cint}(x + 5380), 24, 8) - f === :ActiveIdClickOffset && return Ptr{ImVec2}(x + 5384) - f === :ActiveIdWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5392) - f === :ActiveIdSource && return Ptr{ImGuiInputSource}(x + 5400) - f === :ActiveIdPreviousFrame && return Ptr{ImGuiID}(x + 5404) - f === :ActiveIdPreviousFrameIsAlive && return Ptr{Bool}(x + 5408) - f === :ActiveIdPreviousFrameHasBeenEditedBefore && return Ptr{Bool}(x + 5409) - f === :ActiveIdPreviousFrameWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5416) - f === :LastActiveId && return Ptr{ImGuiID}(x + 5424) - f === :LastActiveIdTimer && return Ptr{Cfloat}(x + 5428) - f === :LastKeyModsChangeTime && return Ptr{Cdouble}(x + 5432) - f === :LastKeyModsChangeFromNoneTime && return Ptr{Cdouble}(x + 5440) - f === :LastKeyboardKeyPressTime && return Ptr{Cdouble}(x + 5448) - f === :KeysMayBeCharInput && return Ptr{ImBitArrayForNamedKeys}(x + 5456) - f === :KeysOwnerData && return Ptr{NTuple{154, ImGuiKeyOwnerData}}(x + 5476) - f === :KeysRoutingTable && return Ptr{ImGuiKeyRoutingTable}(x + 7328) - f === :ActiveIdUsingNavDirMask && return Ptr{ImU32}(x + 7672) - f === :ActiveIdUsingAllKeyboardKeys && return Ptr{Bool}(x + 7676) - f === :DebugBreakInShortcutRouting && return Ptr{ImGuiKeyChord}(x + 7680) - f === :CurrentFocusScopeId && return Ptr{ImGuiID}(x + 7684) - f === :CurrentItemFlags && return Ptr{ImGuiItemFlags}(x + 7688) - f === :DebugLocateId && return Ptr{ImGuiID}(x + 7692) - f === :NextItemData && return Ptr{ImGuiNextItemData}(x + 7696) - f === :LastItemData && return Ptr{ImGuiLastItemData}(x + 7752) - f === :NextWindowData && return Ptr{ImGuiNextWindowData}(x + 7832) - f === :DebugShowGroupRects && return Ptr{Bool}(x + 7992) - f === :DebugFlashStyleColorIdx && return Ptr{ImGuiCol}(x + 7996) - f === :ColorStack && return Ptr{ImVector_ImGuiColorMod}(x + 8000) - f === :StyleVarStack && return Ptr{ImVector_ImGuiStyleMod}(x + 8016) - f === :FontStack && return Ptr{ImVector_ImFontPtr}(x + 8032) - f === :FocusScopeStack && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8048) - f === :ItemFlagsStack && return Ptr{ImVector_ImGuiItemFlags}(x + 8064) - f === :GroupStack && return Ptr{ImVector_ImGuiGroupData}(x + 8080) - f === :OpenPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8096) - f === :BeginPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8112) - f === :TreeNodeStack && return Ptr{ImVector_ImGuiTreeNodeStackData}(x + 8128) - f === :Viewports && return Ptr{ImVector_ImGuiViewportPPtr}(x + 8144) - f === :CurrentViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8160) - f === :MouseViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8168) - f === :MouseLastHoveredViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8176) - f === :PlatformLastFocusedViewportId && return Ptr{ImGuiID}(x + 8184) - f === :FallbackMonitor && return Ptr{ImGuiPlatformMonitor}(x + 8192) - f === :PlatformMonitorsFullWorkRect && return Ptr{ImRect}(x + 8240) - f === :ViewportCreatedCount && return Ptr{Cint}(x + 8256) - f === :PlatformWindowsCreatedCount && return Ptr{Cint}(x + 8260) - f === :ViewportFocusedStampCount && return Ptr{Cint}(x + 8264) - f === :NavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8272) - f === :NavId && return Ptr{ImGuiID}(x + 8280) - f === :NavFocusScopeId && return Ptr{ImGuiID}(x + 8284) - f === :NavLayer && return Ptr{ImGuiNavLayer}(x + 8288) - f === :NavActivateId && return Ptr{ImGuiID}(x + 8292) - f === :NavActivateDownId && return Ptr{ImGuiID}(x + 8296) - f === :NavActivatePressedId && return Ptr{ImGuiID}(x + 8300) - f === :NavActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8304) - f === :NavFocusRoute && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8312) - f === :NavHighlightActivatedId && return Ptr{ImGuiID}(x + 8328) - f === :NavHighlightActivatedTimer && return Ptr{Cfloat}(x + 8332) - f === :NavNextActivateId && return Ptr{ImGuiID}(x + 8336) - f === :NavNextActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8340) - f === :NavInputSource && return Ptr{ImGuiInputSource}(x + 8344) - f === :NavLastValidSelectionUserData && return Ptr{ImGuiSelectionUserData}(x + 8352) - f === :NavIdIsAlive && return Ptr{Bool}(x + 8360) - f === :NavMousePosDirty && return Ptr{Bool}(x + 8361) - f === :NavDisableHighlight && return Ptr{Bool}(x + 8362) - f === :NavDisableMouseHover && return Ptr{Bool}(x + 8363) - f === :NavAnyRequest && return Ptr{Bool}(x + 8364) - f === :NavInitRequest && return Ptr{Bool}(x + 8365) - f === :NavInitRequestFromMove && return Ptr{Bool}(x + 8366) - f === :NavInitResult && return Ptr{ImGuiNavItemData}(x + 8368) - f === :NavMoveSubmitted && return Ptr{Bool}(x + 8424) - f === :NavMoveScoringItems && return Ptr{Bool}(x + 8425) - f === :NavMoveForwardToNextFrame && return Ptr{Bool}(x + 8426) - f === :NavMoveFlags && return Ptr{ImGuiNavMoveFlags}(x + 8428) - f === :NavMoveScrollFlags && return Ptr{ImGuiScrollFlags}(x + 8432) - f === :NavMoveKeyMods && return Ptr{ImGuiKeyChord}(x + 8436) - f === :NavMoveDir && return Ptr{ImGuiDir}(x + 8440) - f === :NavMoveDirForDebug && return Ptr{ImGuiDir}(x + 8444) - f === :NavMoveClipDir && return Ptr{ImGuiDir}(x + 8448) - f === :NavScoringRect && return Ptr{ImRect}(x + 8452) - f === :NavScoringNoClipRect && return Ptr{ImRect}(x + 8468) - f === :NavScoringDebugCount && return Ptr{Cint}(x + 8484) - f === :NavTabbingDir && return Ptr{Cint}(x + 8488) - f === :NavTabbingCounter && return Ptr{Cint}(x + 8492) - f === :NavMoveResultLocal && return Ptr{ImGuiNavItemData}(x + 8496) - f === :NavMoveResultLocalVisible && return Ptr{ImGuiNavItemData}(x + 8552) - f === :NavMoveResultOther && return Ptr{ImGuiNavItemData}(x + 8608) - f === :NavTabbingResultFirst && return Ptr{ImGuiNavItemData}(x + 8664) - f === :NavJustMovedFromFocusScopeId && return Ptr{ImGuiID}(x + 8720) - f === :NavJustMovedToId && return Ptr{ImGuiID}(x + 8724) - f === :NavJustMovedToFocusScopeId && return Ptr{ImGuiID}(x + 8728) - f === :NavJustMovedToKeyMods && return Ptr{ImGuiKeyChord}(x + 8732) - f === :NavJustMovedToIsTabbing && return Ptr{Bool}(x + 8736) - f === :NavJustMovedToHasSelectionData && return Ptr{Bool}(x + 8737) - f === :ConfigNavWindowingKeyNext && return Ptr{ImGuiKeyChord}(x + 8740) - f === :ConfigNavWindowingKeyPrev && return Ptr{ImGuiKeyChord}(x + 8744) - f === :NavWindowingTarget && return Ptr{Ptr{ImGuiWindow}}(x + 8752) - f === :NavWindowingTargetAnim && return Ptr{Ptr{ImGuiWindow}}(x + 8760) - f === :NavWindowingListWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8768) - f === :NavWindowingTimer && return Ptr{Cfloat}(x + 8776) - f === :NavWindowingHighlightAlpha && return Ptr{Cfloat}(x + 8780) - f === :NavWindowingToggleLayer && return Ptr{Bool}(x + 8784) - f === :NavWindowingToggleKey && return Ptr{ImGuiKey}(x + 8788) - f === :NavWindowingAccumDeltaPos && return Ptr{ImVec2}(x + 8792) - f === :NavWindowingAccumDeltaSize && return Ptr{ImVec2}(x + 8800) - f === :DimBgRatio && return Ptr{Cfloat}(x + 8808) - f === :DragDropActive && return Ptr{Bool}(x + 8812) - f === :DragDropWithinSource && return Ptr{Bool}(x + 8813) - f === :DragDropWithinTarget && return Ptr{Bool}(x + 8814) - f === :DragDropSourceFlags && return Ptr{ImGuiDragDropFlags}(x + 8816) - f === :DragDropSourceFrameCount && return Ptr{Cint}(x + 8820) - f === :DragDropMouseButton && return Ptr{Cint}(x + 8824) - f === :DragDropPayload && return Ptr{ImGuiPayload}(x + 8832) - f === :DragDropTargetRect && return Ptr{ImRect}(x + 8896) - f === :DragDropTargetClipRect && return Ptr{ImRect}(x + 8912) - f === :DragDropTargetId && return Ptr{ImGuiID}(x + 8928) - f === :DragDropAcceptFlags && return Ptr{ImGuiDragDropFlags}(x + 8932) - f === :DragDropAcceptIdCurrRectSurface && return Ptr{Cfloat}(x + 8936) - f === :DragDropAcceptIdCurr && return Ptr{ImGuiID}(x + 8940) - f === :DragDropAcceptIdPrev && return Ptr{ImGuiID}(x + 8944) - f === :DragDropAcceptFrameCount && return Ptr{Cint}(x + 8948) - f === :DragDropHoldJustPressedId && return Ptr{ImGuiID}(x + 8952) - f === :DragDropPayloadBufHeap && return Ptr{ImVector_unsigned_char}(x + 8960) - f === :DragDropPayloadBufLocal && return Ptr{NTuple{16, Cuchar}}(x + 8976) - f === :ClipperTempDataStacked && return Ptr{Cint}(x + 8992) - f === :ClipperTempData && return Ptr{ImVector_ImGuiListClipperData}(x + 9000) - f === :CurrentTable && return Ptr{Ptr{ImGuiTable}}(x + 9016) - f === :DebugBreakInTable && return Ptr{ImGuiID}(x + 9024) - f === :TablesTempDataStacked && return Ptr{Cint}(x + 9028) - f === :TablesTempData && return Ptr{ImVector_ImGuiTableTempData}(x + 9032) - f === :Tables && return Ptr{ImPool_ImGuiTable}(x + 9048) - f === :TablesLastTimeActive && return Ptr{ImVector_float}(x + 9088) - f === :DrawChannelsTempMergeBuffer && return Ptr{ImVector_ImDrawChannel}(x + 9104) - f === :CurrentTabBar && return Ptr{Ptr{ImGuiTabBar}}(x + 9120) - f === :TabBars && return Ptr{ImPool_ImGuiTabBar}(x + 9128) - f === :CurrentTabBarStack && return Ptr{ImVector_ImGuiPtrOrIndex}(x + 9168) - f === :ShrinkWidthBuffer && return Ptr{ImVector_ImGuiShrinkWidthItem}(x + 9184) - f === :BoxSelectState && return Ptr{ImGuiBoxSelectState}(x + 9200) - f === :CurrentMultiSelect && return Ptr{Ptr{ImGuiMultiSelectTempData}}(x + 9304) - f === :MultiSelectTempDataStacked && return Ptr{Cint}(x + 9312) - f === :MultiSelectTempData && return Ptr{ImVector_ImGuiMultiSelectTempData}(x + 9320) - f === :MultiSelectStorage && return Ptr{ImPool_ImGuiMultiSelectState}(x + 9336) - f === :HoverItemDelayId && return Ptr{ImGuiID}(x + 9376) - f === :HoverItemDelayIdPreviousFrame && return Ptr{ImGuiID}(x + 9380) - f === :HoverItemDelayTimer && return Ptr{Cfloat}(x + 9384) - f === :HoverItemDelayClearTimer && return Ptr{Cfloat}(x + 9388) - f === :HoverItemUnlockedStationaryId && return Ptr{ImGuiID}(x + 9392) - f === :HoverWindowUnlockedStationaryId && return Ptr{ImGuiID}(x + 9396) - f === :MouseCursor && return Ptr{ImGuiMouseCursor}(x + 9400) - f === :MouseStationaryTimer && return Ptr{Cfloat}(x + 9404) - f === :MouseLastValidPos && return Ptr{ImVec2}(x + 9408) - f === :InputTextState && return Ptr{ImGuiInputTextState}(x + 9416) - f === :InputTextDeactivatedState && return Ptr{ImGuiInputTextDeactivatedState}(x + 9528) - f === :InputTextPasswordFont && return Ptr{ImFont}(x + 9552) - f === :TempInputId && return Ptr{ImGuiID}(x + 9672) - f === :DataTypeZeroValue && return Ptr{ImGuiDataTypeStorage}(x + 9676) - f === :BeginMenuDepth && return Ptr{Cint}(x + 9684) - f === :BeginComboDepth && return Ptr{Cint}(x + 9688) - f === :ColorEditOptions && return Ptr{ImGuiColorEditFlags}(x + 9692) - f === :ColorEditCurrentID && return Ptr{ImGuiID}(x + 9696) - f === :ColorEditSavedID && return Ptr{ImGuiID}(x + 9700) - f === :ColorEditSavedHue && return Ptr{Cfloat}(x + 9704) - f === :ColorEditSavedSat && return Ptr{Cfloat}(x + 9708) - f === :ColorEditSavedColor && return Ptr{ImU32}(x + 9712) - f === :ColorPickerRef && return Ptr{ImVec4}(x + 9716) - f === :ComboPreviewData && return Ptr{ImGuiComboPreviewData}(x + 9732) - f === :WindowResizeBorderExpectedRect && return Ptr{ImRect}(x + 9780) - f === :WindowResizeRelativeMode && return Ptr{Bool}(x + 9796) - f === :ScrollbarSeekMode && return Ptr{Cshort}(x + 9798) - f === :ScrollbarClickDeltaToGrabCenter && return Ptr{Cfloat}(x + 9800) - f === :SliderGrabClickOffset && return Ptr{Cfloat}(x + 9804) - f === :SliderCurrentAccum && return Ptr{Cfloat}(x + 9808) - f === :SliderCurrentAccumDirty && return Ptr{Bool}(x + 9812) - f === :DragCurrentAccumDirty && return Ptr{Bool}(x + 9813) - f === :DragCurrentAccum && return Ptr{Cfloat}(x + 9816) - f === :DragSpeedDefaultRatio && return Ptr{Cfloat}(x + 9820) - f === :DisabledAlphaBackup && return Ptr{Cfloat}(x + 9824) - f === :DisabledStackSize && return Ptr{Cshort}(x + 9828) - f === :LockMarkEdited && return Ptr{Cshort}(x + 9830) - f === :TooltipOverrideCount && return Ptr{Cshort}(x + 9832) - f === :ClipboardHandlerData && return Ptr{ImVector_char}(x + 9840) - f === :MenusIdSubmittedThisFrame && return Ptr{ImVector_ImGuiID}(x + 9856) - f === :TypingSelectState && return Ptr{ImGuiTypingSelectState}(x + 9872) - f === :PlatformImeData && return Ptr{ImGuiPlatformImeData}(x + 9976) - f === :PlatformImeDataPrev && return Ptr{ImGuiPlatformImeData}(x + 9992) - f === :PlatformImeViewport && return Ptr{ImGuiID}(x + 10008) - f === :DockContext && return Ptr{ImGuiDockContext}(x + 10016) - f === :DockNodeWindowMenuHandler && return Ptr{Ptr{Cvoid}}(x + 10072) - f === :SettingsLoaded && return Ptr{Bool}(x + 10080) - f === :SettingsDirtyTimer && return Ptr{Cfloat}(x + 10084) - f === :SettingsIniData && return Ptr{ImGuiTextBuffer}(x + 10088) - f === :SettingsHandlers && return Ptr{ImVector_ImGuiSettingsHandler}(x + 10104) - f === :SettingsWindows && return Ptr{ImChunkStream_ImGuiWindowSettings}(x + 10120) - f === :SettingsTables && return Ptr{ImChunkStream_ImGuiTableSettings}(x + 10136) - f === :Hooks && return Ptr{ImVector_ImGuiContextHook}(x + 10152) - f === :HookIdNext && return Ptr{ImGuiID}(x + 10168) - f === :LocalizationTable && return Ptr{NTuple{13, Ptr{Cchar}}}(x + 10176) - f === :LogEnabled && return Ptr{Bool}(x + 10280) - f === :LogType && return Ptr{ImGuiLogType}(x + 10284) - f === :LogFile && return Ptr{ImFileHandle}(x + 10288) - f === :LogBuffer && return Ptr{ImGuiTextBuffer}(x + 10296) - f === :LogNextPrefix && return Ptr{Ptr{Cchar}}(x + 10312) - f === :LogNextSuffix && return Ptr{Ptr{Cchar}}(x + 10320) - f === :LogLinePosY && return Ptr{Cfloat}(x + 10328) - f === :LogLineFirstItem && return Ptr{Bool}(x + 10332) - f === :LogDepthRef && return Ptr{Cint}(x + 10336) - f === :LogDepthToExpand && return Ptr{Cint}(x + 10340) - f === :LogDepthToExpandDefault && return Ptr{Cint}(x + 10344) - f === :DebugLogFlags && return Ptr{ImGuiDebugLogFlags}(x + 10348) - f === :DebugLogBuf && return Ptr{ImGuiTextBuffer}(x + 10352) - f === :DebugLogIndex && return Ptr{ImGuiTextIndex}(x + 10368) - f === :DebugLogAutoDisableFlags && return Ptr{ImGuiDebugLogFlags}(x + 10392) - f === :DebugLogAutoDisableFrames && return Ptr{ImU8}(x + 10396) - f === :DebugLocateFrames && return Ptr{ImU8}(x + 10397) - f === :DebugBreakInLocateId && return Ptr{Bool}(x + 10398) - f === :DebugBreakKeyChord && return Ptr{ImGuiKeyChord}(x + 10400) - f === :DebugBeginReturnValueCullDepth && return Ptr{ImS8}(x + 10404) - f === :DebugItemPickerActive && return Ptr{Bool}(x + 10405) - f === :DebugItemPickerMouseButton && return Ptr{ImU8}(x + 10406) - f === :DebugItemPickerBreakId && return Ptr{ImGuiID}(x + 10408) - f === :DebugFlashStyleColorTime && return Ptr{Cfloat}(x + 10412) - f === :DebugFlashStyleColorBackup && return Ptr{ImVec4}(x + 10416) - f === :DebugMetricsConfig && return Ptr{ImGuiMetricsConfig}(x + 10432) - f === :DebugIDStackTool && return Ptr{ImGuiIDStackTool}(x + 10464) - f === :DebugAllocInfo && return Ptr{ImGuiDebugAllocInfo}(x + 10504) - f === :DebugHoveredDockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 10568) - f === :FramerateSecPerFrame && return Ptr{NTuple{60, Cfloat}}(x + 10576) - f === :FramerateSecPerFrameIdx && return Ptr{Cint}(x + 10816) - f === :FramerateSecPerFrameCount && return Ptr{Cint}(x + 10820) - f === :FramerateSecPerFrameAccum && return Ptr{Cfloat}(x + 10824) - f === :WantCaptureMouseNextFrame && return Ptr{Cint}(x + 10828) - f === :WantCaptureKeyboardNextFrame && return Ptr{Cint}(x + 10832) - f === :WantTextInputNextFrame && return Ptr{Cint}(x + 10836) - f === :TempBuffer && return Ptr{ImVector_char}(x + 10840) - f === :TempKeychordName && return Ptr{NTuple{64, Cchar}}(x + 10856) + f === :PlatformIO && return Ptr{ImGuiPlatformIO}(x + 3016) + f === :Style && return Ptr{ImGuiStyle}(x + 3312) + f === :ConfigFlagsCurrFrame && return Ptr{ImGuiConfigFlags}(x + 4504) + f === :ConfigFlagsLastFrame && return Ptr{ImGuiConfigFlags}(x + 4508) + f === :Font && return Ptr{Ptr{ImFont}}(x + 4512) + f === :FontSize && return Ptr{Cfloat}(x + 4520) + f === :FontBaseSize && return Ptr{Cfloat}(x + 4524) + f === :FontScale && return Ptr{Cfloat}(x + 4528) + f === :CurrentDpiScale && return Ptr{Cfloat}(x + 4532) + f === :DrawListSharedData && return Ptr{ImDrawListSharedData}(x + 4536) + f === :Time && return Ptr{Cdouble}(x + 5072) + f === :FrameCount && return Ptr{Cint}(x + 5080) + f === :FrameCountEnded && return Ptr{Cint}(x + 5084) + f === :FrameCountPlatformEnded && return Ptr{Cint}(x + 5088) + f === :FrameCountRendered && return Ptr{Cint}(x + 5092) + f === :WithinFrameScope && return Ptr{Bool}(x + 5096) + f === :WithinFrameScopeWithImplicitWindow && return Ptr{Bool}(x + 5097) + f === :WithinEndChild && return Ptr{Bool}(x + 5098) + f === :GcCompactAll && return Ptr{Bool}(x + 5099) + f === :TestEngineHookItems && return Ptr{Bool}(x + 5100) + f === :TestEngine && return Ptr{Ptr{Cvoid}}(x + 5104) + f === :ContextName && return Ptr{NTuple{16, Cchar}}(x + 5112) + f === :InputEventsQueue && return Ptr{ImVector_ImGuiInputEvent}(x + 5128) + f === :InputEventsTrail && return Ptr{ImVector_ImGuiInputEvent}(x + 5144) + f === :InputEventsNextMouseSource && return Ptr{ImGuiMouseSource}(x + 5160) + f === :InputEventsNextEventId && return Ptr{ImU32}(x + 5164) + f === :Windows && return Ptr{ImVector_ImGuiWindowPtr}(x + 5168) + f === :WindowsFocusOrder && return Ptr{ImVector_ImGuiWindowPtr}(x + 5184) + f === :WindowsTempSortBuffer && return Ptr{ImVector_ImGuiWindowPtr}(x + 5200) + f === :CurrentWindowStack && return Ptr{ImVector_ImGuiWindowStackData}(x + 5216) + f === :WindowsById && return Ptr{ImGuiStorage}(x + 5232) + f === :WindowsActiveCount && return Ptr{Cint}(x + 5248) + f === :WindowsHoverPadding && return Ptr{ImVec2}(x + 5252) + f === :DebugBreakInWindow && return Ptr{ImGuiID}(x + 5260) + f === :CurrentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5264) + f === :HoveredWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5272) + f === :HoveredWindowUnderMovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5280) + f === :HoveredWindowBeforeClear && return Ptr{Ptr{ImGuiWindow}}(x + 5288) + f === :MovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5296) + f === :WheelingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5304) + f === :WheelingWindowRefMousePos && return Ptr{ImVec2}(x + 5312) + f === :WheelingWindowStartFrame && return Ptr{Cint}(x + 5320) + f === :WheelingWindowScrolledFrame && return Ptr{Cint}(x + 5324) + f === :WheelingWindowReleaseTimer && return Ptr{Cfloat}(x + 5328) + f === :WheelingWindowWheelRemainder && return Ptr{ImVec2}(x + 5332) + f === :WheelingAxisAvg && return Ptr{ImVec2}(x + 5340) + f === :DebugDrawIdConflicts && return Ptr{ImGuiID}(x + 5348) + f === :DebugHookIdInfo && return Ptr{ImGuiID}(x + 5352) + f === :HoveredId && return Ptr{ImGuiID}(x + 5356) + f === :HoveredIdPreviousFrame && return Ptr{ImGuiID}(x + 5360) + f === :HoveredIdPreviousFrameItemCount && return Ptr{Cint}(x + 5364) + f === :HoveredIdTimer && return Ptr{Cfloat}(x + 5368) + f === :HoveredIdNotActiveTimer && return Ptr{Cfloat}(x + 5372) + f === :HoveredIdAllowOverlap && return Ptr{Bool}(x + 5376) + f === :HoveredIdIsDisabled && return Ptr{Bool}(x + 5377) + f === :ItemUnclipByLog && return Ptr{Bool}(x + 5378) + f === :ActiveId && return Ptr{ImGuiID}(x + 5380) + f === :ActiveIdIsAlive && return Ptr{ImGuiID}(x + 5384) + f === :ActiveIdTimer && return Ptr{Cfloat}(x + 5388) + f === :ActiveIdIsJustActivated && return Ptr{Bool}(x + 5392) + f === :ActiveIdAllowOverlap && return Ptr{Bool}(x + 5393) + f === :ActiveIdNoClearOnFocusLoss && return Ptr{Bool}(x + 5394) + f === :ActiveIdHasBeenPressedBefore && return Ptr{Bool}(x + 5395) + f === :ActiveIdHasBeenEditedBefore && return Ptr{Bool}(x + 5396) + f === :ActiveIdHasBeenEditedThisFrame && return Ptr{Bool}(x + 5397) + f === :ActiveIdFromShortcut && return Ptr{Bool}(x + 5398) + f === :ActiveIdMouseButton && return (Ptr{Cint}(x + 5396), 24, 8) + f === :ActiveIdClickOffset && return Ptr{ImVec2}(x + 5400) + f === :ActiveIdWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5408) + f === :ActiveIdSource && return Ptr{ImGuiInputSource}(x + 5416) + f === :ActiveIdPreviousFrame && return Ptr{ImGuiID}(x + 5420) + f === :ActiveIdPreviousFrameIsAlive && return Ptr{Bool}(x + 5424) + f === :ActiveIdPreviousFrameHasBeenEditedBefore && return Ptr{Bool}(x + 5425) + f === :ActiveIdPreviousFrameWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5432) + f === :LastActiveId && return Ptr{ImGuiID}(x + 5440) + f === :LastActiveIdTimer && return Ptr{Cfloat}(x + 5444) + f === :LastKeyModsChangeTime && return Ptr{Cdouble}(x + 5448) + f === :LastKeyModsChangeFromNoneTime && return Ptr{Cdouble}(x + 5456) + f === :LastKeyboardKeyPressTime && return Ptr{Cdouble}(x + 5464) + f === :KeysMayBeCharInput && return Ptr{ImBitArrayForNamedKeys}(x + 5472) + f === :KeysOwnerData && return Ptr{NTuple{154, ImGuiKeyOwnerData}}(x + 5492) + f === :KeysRoutingTable && return Ptr{ImGuiKeyRoutingTable}(x + 7344) + f === :ActiveIdUsingNavDirMask && return Ptr{ImU32}(x + 7688) + f === :ActiveIdUsingAllKeyboardKeys && return Ptr{Bool}(x + 7692) + f === :DebugBreakInShortcutRouting && return Ptr{ImGuiKeyChord}(x + 7696) + f === :CurrentFocusScopeId && return Ptr{ImGuiID}(x + 7700) + f === :CurrentItemFlags && return Ptr{ImGuiItemFlags}(x + 7704) + f === :DebugLocateId && return Ptr{ImGuiID}(x + 7708) + f === :NextItemData && return Ptr{ImGuiNextItemData}(x + 7712) + f === :LastItemData && return Ptr{ImGuiLastItemData}(x + 7768) + f === :NextWindowData && return Ptr{ImGuiNextWindowData}(x + 7848) + f === :DebugShowGroupRects && return Ptr{Bool}(x + 8008) + f === :DebugFlashStyleColorIdx && return Ptr{ImGuiCol}(x + 8012) + f === :ColorStack && return Ptr{ImVector_ImGuiColorMod}(x + 8016) + f === :StyleVarStack && return Ptr{ImVector_ImGuiStyleMod}(x + 8032) + f === :FontStack && return Ptr{ImVector_ImFontPtr}(x + 8048) + f === :FocusScopeStack && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8064) + f === :ItemFlagsStack && return Ptr{ImVector_ImGuiItemFlags}(x + 8080) + f === :GroupStack && return Ptr{ImVector_ImGuiGroupData}(x + 8096) + f === :OpenPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8112) + f === :BeginPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8128) + f === :TreeNodeStack && return Ptr{ImVector_ImGuiTreeNodeStackData}(x + 8144) + f === :Viewports && return Ptr{ImVector_ImGuiViewportPPtr}(x + 8160) + f === :CurrentViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8176) + f === :MouseViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8184) + f === :MouseLastHoveredViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8192) + f === :PlatformLastFocusedViewportId && return Ptr{ImGuiID}(x + 8200) + f === :FallbackMonitor && return Ptr{ImGuiPlatformMonitor}(x + 8208) + f === :PlatformMonitorsFullWorkRect && return Ptr{ImRect}(x + 8256) + f === :ViewportCreatedCount && return Ptr{Cint}(x + 8272) + f === :PlatformWindowsCreatedCount && return Ptr{Cint}(x + 8276) + f === :ViewportFocusedStampCount && return Ptr{Cint}(x + 8280) + f === :NavCursorVisible && return Ptr{Bool}(x + 8284) + f === :NavHighlightItemUnderNav && return Ptr{Bool}(x + 8285) + f === :NavMousePosDirty && return Ptr{Bool}(x + 8286) + f === :NavIdIsAlive && return Ptr{Bool}(x + 8287) + f === :NavId && return Ptr{ImGuiID}(x + 8288) + f === :NavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8296) + f === :NavFocusScopeId && return Ptr{ImGuiID}(x + 8304) + f === :NavLayer && return Ptr{ImGuiNavLayer}(x + 8308) + f === :NavActivateId && return Ptr{ImGuiID}(x + 8312) + f === :NavActivateDownId && return Ptr{ImGuiID}(x + 8316) + f === :NavActivatePressedId && return Ptr{ImGuiID}(x + 8320) + f === :NavActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8324) + f === :NavFocusRoute && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8328) + f === :NavHighlightActivatedId && return Ptr{ImGuiID}(x + 8344) + f === :NavHighlightActivatedTimer && return Ptr{Cfloat}(x + 8348) + f === :NavNextActivateId && return Ptr{ImGuiID}(x + 8352) + f === :NavNextActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8356) + f === :NavInputSource && return Ptr{ImGuiInputSource}(x + 8360) + f === :NavLastValidSelectionUserData && return Ptr{ImGuiSelectionUserData}(x + 8368) + f === :NavCursorHideFrames && return Ptr{ImS8}(x + 8376) + f === :NavAnyRequest && return Ptr{Bool}(x + 8377) + f === :NavInitRequest && return Ptr{Bool}(x + 8378) + f === :NavInitRequestFromMove && return Ptr{Bool}(x + 8379) + f === :NavInitResult && return Ptr{ImGuiNavItemData}(x + 8384) + f === :NavMoveSubmitted && return Ptr{Bool}(x + 8440) + f === :NavMoveScoringItems && return Ptr{Bool}(x + 8441) + f === :NavMoveForwardToNextFrame && return Ptr{Bool}(x + 8442) + f === :NavMoveFlags && return Ptr{ImGuiNavMoveFlags}(x + 8444) + f === :NavMoveScrollFlags && return Ptr{ImGuiScrollFlags}(x + 8448) + f === :NavMoveKeyMods && return Ptr{ImGuiKeyChord}(x + 8452) + f === :NavMoveDir && return Ptr{ImGuiDir}(x + 8456) + f === :NavMoveDirForDebug && return Ptr{ImGuiDir}(x + 8460) + f === :NavMoveClipDir && return Ptr{ImGuiDir}(x + 8464) + f === :NavScoringRect && return Ptr{ImRect}(x + 8468) + f === :NavScoringNoClipRect && return Ptr{ImRect}(x + 8484) + f === :NavScoringDebugCount && return Ptr{Cint}(x + 8500) + f === :NavTabbingDir && return Ptr{Cint}(x + 8504) + f === :NavTabbingCounter && return Ptr{Cint}(x + 8508) + f === :NavMoveResultLocal && return Ptr{ImGuiNavItemData}(x + 8512) + f === :NavMoveResultLocalVisible && return Ptr{ImGuiNavItemData}(x + 8568) + f === :NavMoveResultOther && return Ptr{ImGuiNavItemData}(x + 8624) + f === :NavTabbingResultFirst && return Ptr{ImGuiNavItemData}(x + 8680) + f === :NavJustMovedFromFocusScopeId && return Ptr{ImGuiID}(x + 8736) + f === :NavJustMovedToId && return Ptr{ImGuiID}(x + 8740) + f === :NavJustMovedToFocusScopeId && return Ptr{ImGuiID}(x + 8744) + f === :NavJustMovedToKeyMods && return Ptr{ImGuiKeyChord}(x + 8748) + f === :NavJustMovedToIsTabbing && return Ptr{Bool}(x + 8752) + f === :NavJustMovedToHasSelectionData && return Ptr{Bool}(x + 8753) + f === :ConfigNavWindowingKeyNext && return Ptr{ImGuiKeyChord}(x + 8756) + f === :ConfigNavWindowingKeyPrev && return Ptr{ImGuiKeyChord}(x + 8760) + f === :NavWindowingTarget && return Ptr{Ptr{ImGuiWindow}}(x + 8768) + f === :NavWindowingTargetAnim && return Ptr{Ptr{ImGuiWindow}}(x + 8776) + f === :NavWindowingListWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8784) + f === :NavWindowingTimer && return Ptr{Cfloat}(x + 8792) + f === :NavWindowingHighlightAlpha && return Ptr{Cfloat}(x + 8796) + f === :NavWindowingToggleLayer && return Ptr{Bool}(x + 8800) + f === :NavWindowingToggleKey && return Ptr{ImGuiKey}(x + 8804) + f === :NavWindowingAccumDeltaPos && return Ptr{ImVec2}(x + 8808) + f === :NavWindowingAccumDeltaSize && return Ptr{ImVec2}(x + 8816) + f === :DimBgRatio && return Ptr{Cfloat}(x + 8824) + f === :DragDropActive && return Ptr{Bool}(x + 8828) + f === :DragDropWithinSource && return Ptr{Bool}(x + 8829) + f === :DragDropWithinTarget && return Ptr{Bool}(x + 8830) + f === :DragDropSourceFlags && return Ptr{ImGuiDragDropFlags}(x + 8832) + f === :DragDropSourceFrameCount && return Ptr{Cint}(x + 8836) + f === :DragDropMouseButton && return Ptr{Cint}(x + 8840) + f === :DragDropPayload && return Ptr{ImGuiPayload}(x + 8848) + f === :DragDropTargetRect && return Ptr{ImRect}(x + 8912) + f === :DragDropTargetClipRect && return Ptr{ImRect}(x + 8928) + f === :DragDropTargetId && return Ptr{ImGuiID}(x + 8944) + f === :DragDropAcceptFlags && return Ptr{ImGuiDragDropFlags}(x + 8948) + f === :DragDropAcceptIdCurrRectSurface && return Ptr{Cfloat}(x + 8952) + f === :DragDropAcceptIdCurr && return Ptr{ImGuiID}(x + 8956) + f === :DragDropAcceptIdPrev && return Ptr{ImGuiID}(x + 8960) + f === :DragDropAcceptFrameCount && return Ptr{Cint}(x + 8964) + f === :DragDropHoldJustPressedId && return Ptr{ImGuiID}(x + 8968) + f === :DragDropPayloadBufHeap && return Ptr{ImVector_unsigned_char}(x + 8976) + f === :DragDropPayloadBufLocal && return Ptr{NTuple{16, Cuchar}}(x + 8992) + f === :ClipperTempDataStacked && return Ptr{Cint}(x + 9008) + f === :ClipperTempData && return Ptr{ImVector_ImGuiListClipperData}(x + 9016) + f === :CurrentTable && return Ptr{Ptr{ImGuiTable}}(x + 9032) + f === :DebugBreakInTable && return Ptr{ImGuiID}(x + 9040) + f === :TablesTempDataStacked && return Ptr{Cint}(x + 9044) + f === :TablesTempData && return Ptr{ImVector_ImGuiTableTempData}(x + 9048) + f === :Tables && return Ptr{ImPool_ImGuiTable}(x + 9064) + f === :TablesLastTimeActive && return Ptr{ImVector_float}(x + 9104) + f === :DrawChannelsTempMergeBuffer && return Ptr{ImVector_ImDrawChannel}(x + 9120) + f === :CurrentTabBar && return Ptr{Ptr{ImGuiTabBar}}(x + 9136) + f === :TabBars && return Ptr{ImPool_ImGuiTabBar}(x + 9144) + f === :CurrentTabBarStack && return Ptr{ImVector_ImGuiPtrOrIndex}(x + 9184) + f === :ShrinkWidthBuffer && return Ptr{ImVector_ImGuiShrinkWidthItem}(x + 9200) + f === :BoxSelectState && return Ptr{ImGuiBoxSelectState}(x + 9216) + f === :CurrentMultiSelect && return Ptr{Ptr{ImGuiMultiSelectTempData}}(x + 9320) + f === :MultiSelectTempDataStacked && return Ptr{Cint}(x + 9328) + f === :MultiSelectTempData && return Ptr{ImVector_ImGuiMultiSelectTempData}(x + 9336) + f === :MultiSelectStorage && return Ptr{ImPool_ImGuiMultiSelectState}(x + 9352) + f === :HoverItemDelayId && return Ptr{ImGuiID}(x + 9392) + f === :HoverItemDelayIdPreviousFrame && return Ptr{ImGuiID}(x + 9396) + f === :HoverItemDelayTimer && return Ptr{Cfloat}(x + 9400) + f === :HoverItemDelayClearTimer && return Ptr{Cfloat}(x + 9404) + f === :HoverItemUnlockedStationaryId && return Ptr{ImGuiID}(x + 9408) + f === :HoverWindowUnlockedStationaryId && return Ptr{ImGuiID}(x + 9412) + f === :MouseCursor && return Ptr{ImGuiMouseCursor}(x + 9416) + f === :MouseStationaryTimer && return Ptr{Cfloat}(x + 9420) + f === :MouseLastValidPos && return Ptr{ImVec2}(x + 9424) + f === :InputTextState && return Ptr{ImGuiInputTextState}(x + 9432) + f === :InputTextDeactivatedState && return Ptr{ImGuiInputTextDeactivatedState}(x + 9544) + f === :InputTextPasswordFont && return Ptr{ImFont}(x + 9568) + f === :TempInputId && return Ptr{ImGuiID}(x + 9688) + f === :DataTypeZeroValue && return Ptr{ImGuiDataTypeStorage}(x + 9692) + f === :BeginMenuDepth && return Ptr{Cint}(x + 9700) + f === :BeginComboDepth && return Ptr{Cint}(x + 9704) + f === :ColorEditOptions && return Ptr{ImGuiColorEditFlags}(x + 9708) + f === :ColorEditCurrentID && return Ptr{ImGuiID}(x + 9712) + f === :ColorEditSavedID && return Ptr{ImGuiID}(x + 9716) + f === :ColorEditSavedHue && return Ptr{Cfloat}(x + 9720) + f === :ColorEditSavedSat && return Ptr{Cfloat}(x + 9724) + f === :ColorEditSavedColor && return Ptr{ImU32}(x + 9728) + f === :ColorPickerRef && return Ptr{ImVec4}(x + 9732) + f === :ComboPreviewData && return Ptr{ImGuiComboPreviewData}(x + 9748) + f === :WindowResizeBorderExpectedRect && return Ptr{ImRect}(x + 9796) + f === :WindowResizeRelativeMode && return Ptr{Bool}(x + 9812) + f === :ScrollbarSeekMode && return Ptr{Cshort}(x + 9814) + f === :ScrollbarClickDeltaToGrabCenter && return Ptr{Cfloat}(x + 9816) + f === :SliderGrabClickOffset && return Ptr{Cfloat}(x + 9820) + f === :SliderCurrentAccum && return Ptr{Cfloat}(x + 9824) + f === :SliderCurrentAccumDirty && return Ptr{Bool}(x + 9828) + f === :DragCurrentAccumDirty && return Ptr{Bool}(x + 9829) + f === :DragCurrentAccum && return Ptr{Cfloat}(x + 9832) + f === :DragSpeedDefaultRatio && return Ptr{Cfloat}(x + 9836) + f === :DisabledAlphaBackup && return Ptr{Cfloat}(x + 9840) + f === :DisabledStackSize && return Ptr{Cshort}(x + 9844) + f === :TooltipOverrideCount && return Ptr{Cshort}(x + 9846) + f === :TooltipPreviousWindow && return Ptr{Ptr{ImGuiWindow}}(x + 9848) + f === :ClipboardHandlerData && return Ptr{ImVector_char}(x + 9856) + f === :MenusIdSubmittedThisFrame && return Ptr{ImVector_ImGuiID}(x + 9872) + f === :TypingSelectState && return Ptr{ImGuiTypingSelectState}(x + 9888) + f === :PlatformImeData && return Ptr{ImGuiPlatformImeData}(x + 9992) + f === :PlatformImeDataPrev && return Ptr{ImGuiPlatformImeData}(x + 10008) + f === :PlatformImeViewport && return Ptr{ImGuiID}(x + 10024) + f === :DockContext && return Ptr{ImGuiDockContext}(x + 10032) + f === :DockNodeWindowMenuHandler && return Ptr{Ptr{Cvoid}}(x + 10088) + f === :SettingsLoaded && return Ptr{Bool}(x + 10096) + f === :SettingsDirtyTimer && return Ptr{Cfloat}(x + 10100) + f === :SettingsIniData && return Ptr{ImGuiTextBuffer}(x + 10104) + f === :SettingsHandlers && return Ptr{ImVector_ImGuiSettingsHandler}(x + 10120) + f === :SettingsWindows && return Ptr{ImChunkStream_ImGuiWindowSettings}(x + 10136) + f === :SettingsTables && return Ptr{ImChunkStream_ImGuiTableSettings}(x + 10152) + f === :Hooks && return Ptr{ImVector_ImGuiContextHook}(x + 10168) + f === :HookIdNext && return Ptr{ImGuiID}(x + 10184) + f === :LocalizationTable && return Ptr{NTuple{13, Ptr{Cchar}}}(x + 10192) + f === :LogEnabled && return Ptr{Bool}(x + 10296) + f === :LogFlags && return Ptr{ImGuiLogFlags}(x + 10300) + f === :LogWindow && return Ptr{Ptr{ImGuiWindow}}(x + 10304) + f === :LogFile && return Ptr{ImFileHandle}(x + 10312) + f === :LogBuffer && return Ptr{ImGuiTextBuffer}(x + 10320) + f === :LogNextPrefix && return Ptr{Ptr{Cchar}}(x + 10336) + f === :LogNextSuffix && return Ptr{Ptr{Cchar}}(x + 10344) + f === :LogLinePosY && return Ptr{Cfloat}(x + 10352) + f === :LogLineFirstItem && return Ptr{Bool}(x + 10356) + f === :LogDepthRef && return Ptr{Cint}(x + 10360) + f === :LogDepthToExpand && return Ptr{Cint}(x + 10364) + f === :LogDepthToExpandDefault && return Ptr{Cint}(x + 10368) + f === :ErrorCallback && return Ptr{ImGuiErrorCallback}(x + 10376) + f === :ErrorCallbackUserData && return Ptr{Ptr{Cvoid}}(x + 10384) + f === :ErrorTooltipLockedPos && return Ptr{ImVec2}(x + 10392) + f === :ErrorFirst && return Ptr{Bool}(x + 10400) + f === :ErrorCountCurrentFrame && return Ptr{Cint}(x + 10404) + f === :StackSizesInNewFrame && return Ptr{ImGuiErrorRecoveryState}(x + 10408) + f === :StackSizesInBeginForCurrentWindow && return Ptr{Ptr{ImGuiErrorRecoveryState}}(x + 10432) + f === :DebugDrawIdConflictsCount && return Ptr{Cint}(x + 10440) + f === :DebugLogFlags && return Ptr{ImGuiDebugLogFlags}(x + 10444) + f === :DebugLogBuf && return Ptr{ImGuiTextBuffer}(x + 10448) + f === :DebugLogIndex && return Ptr{ImGuiTextIndex}(x + 10464) + f === :DebugLogSkippedErrors && return Ptr{Cint}(x + 10488) + f === :DebugLogAutoDisableFlags && return Ptr{ImGuiDebugLogFlags}(x + 10492) + f === :DebugLogAutoDisableFrames && return Ptr{ImU8}(x + 10496) + f === :DebugLocateFrames && return Ptr{ImU8}(x + 10497) + f === :DebugBreakInLocateId && return Ptr{Bool}(x + 10498) + f === :DebugBreakKeyChord && return Ptr{ImGuiKeyChord}(x + 10500) + f === :DebugBeginReturnValueCullDepth && return Ptr{ImS8}(x + 10504) + f === :DebugItemPickerActive && return Ptr{Bool}(x + 10505) + f === :DebugItemPickerMouseButton && return Ptr{ImU8}(x + 10506) + f === :DebugItemPickerBreakId && return Ptr{ImGuiID}(x + 10508) + f === :DebugFlashStyleColorTime && return Ptr{Cfloat}(x + 10512) + f === :DebugFlashStyleColorBackup && return Ptr{ImVec4}(x + 10516) + f === :DebugMetricsConfig && return Ptr{ImGuiMetricsConfig}(x + 10532) + f === :DebugIDStackTool && return Ptr{ImGuiIDStackTool}(x + 10560) + f === :DebugAllocInfo && return Ptr{ImGuiDebugAllocInfo}(x + 10600) + f === :DebugHoveredDockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 10664) + f === :FramerateSecPerFrame && return Ptr{NTuple{60, Cfloat}}(x + 10672) + f === :FramerateSecPerFrameIdx && return Ptr{Cint}(x + 10912) + f === :FramerateSecPerFrameCount && return Ptr{Cint}(x + 10916) + f === :FramerateSecPerFrameAccum && return Ptr{Cfloat}(x + 10920) + f === :WantCaptureMouseNextFrame && return Ptr{Cint}(x + 10924) + f === :WantCaptureKeyboardNextFrame && return Ptr{Cint}(x + 10928) + f === :WantTextInputNextFrame && return Ptr{Cint}(x + 10932) + f === :TempBuffer && return Ptr{ImVector_char}(x + 10936) + f === :TempKeychordName && return Ptr{NTuple{64, Cchar}}(x + 10952) return getfield(x, f) end @@ -3561,8 +3654,6 @@ struct ImVector_const_charPtr Data::Ptr{Ptr{Cchar}} end -const ImU64 = Culonglong - const ImGuiMouseButton = Cint const ImGuiTableBgTarget = Cint @@ -3667,12 +3758,13 @@ end ImGuiInputTextFlags_DisplayEmptyRefVal = 16384 ImGuiInputTextFlags_NoHorizontalScroll = 32768 ImGuiInputTextFlags_NoUndoRedo = 65536 - ImGuiInputTextFlags_CallbackCompletion = 131072 - ImGuiInputTextFlags_CallbackHistory = 262144 - ImGuiInputTextFlags_CallbackAlways = 524288 - ImGuiInputTextFlags_CallbackCharFilter = 1048576 - ImGuiInputTextFlags_CallbackResize = 2097152 - ImGuiInputTextFlags_CallbackEdit = 4194304 + ImGuiInputTextFlags_ElideLeft = 131072 + ImGuiInputTextFlags_CallbackCompletion = 262144 + ImGuiInputTextFlags_CallbackHistory = 524288 + ImGuiInputTextFlags_CallbackAlways = 1048576 + ImGuiInputTextFlags_CallbackCharFilter = 2097152 + ImGuiInputTextFlags_CallbackResize = 4194304 + ImGuiInputTextFlags_CallbackEdit = 8388608 end @cenum ImGuiTreeNodeFlags_::UInt32 begin @@ -3856,8 +3948,6 @@ end ImGuiConfigFlags_None = 0 ImGuiConfigFlags_NavEnableKeyboard = 1 ImGuiConfigFlags_NavEnableGamepad = 2 - ImGuiConfigFlags_NavEnableSetMousePos = 4 - ImGuiConfigFlags_NavNoCaptureKeyboard = 8 ImGuiConfigFlags_NoMouse = 16 ImGuiConfigFlags_NoMouseCursorChange = 32 ImGuiConfigFlags_NoKeyboard = 64 @@ -3935,7 +4025,7 @@ end ImGuiCol_TextLink = 51 ImGuiCol_TextSelectedBg = 52 ImGuiCol_DragDropTarget = 53 - ImGuiCol_NavHighlight = 54 + ImGuiCol_NavCursor = 54 ImGuiCol_NavWindowingHighlight = 55 ImGuiCol_NavWindowingDimBg = 56 ImGuiCol_ModalWindowDimBg = 57 @@ -3986,6 +4076,7 @@ end ImGuiButtonFlags_MouseButtonRight = 2 ImGuiButtonFlags_MouseButtonMiddle = 4 ImGuiButtonFlags_MouseButtonMask_ = 7 + ImGuiButtonFlags_EnableNav = 8 end @cenum ImGuiColorEditFlags_::UInt32 begin @@ -4022,11 +4113,13 @@ end @cenum ImGuiSliderFlags_::UInt32 begin ImGuiSliderFlags_None = 0 - ImGuiSliderFlags_AlwaysClamp = 16 ImGuiSliderFlags_Logarithmic = 32 ImGuiSliderFlags_NoRoundToFormat = 64 ImGuiSliderFlags_NoInput = 128 ImGuiSliderFlags_WrapAround = 256 + ImGuiSliderFlags_ClampOnInput = 512 + ImGuiSliderFlags_ClampZeroRange = 1024 + ImGuiSliderFlags_AlwaysClamp = 1536 ImGuiSliderFlags_InvalidMask_ = 1879048207 end @@ -4214,7 +4307,7 @@ end const ImGuiFocusRequestFlags = Cint -const ImGuiNavHighlightFlags = Cint +const ImGuiNavRenderCursorFlags = Cint const ImGuiSeparatorFlags = Cint @@ -4222,9 +4315,6 @@ const ImGuiTextFlags = Cint const ImGuiTooltipFlags = Cint -# typedef void ( * ImGuiErrorLogCallback ) ( void * user_data , const char * fmt , ... ) -const ImGuiErrorLogCallback = Ptr{Cvoid} - @cenum ImGuiDataTypePrivate_::UInt32 begin ImGuiDataType_String = 12 ImGuiDataType_Pointer = 13 @@ -4237,6 +4327,8 @@ end ImGuiItemFlags_MixedValue = 4096 ImGuiItemFlags_NoWindowHoverableCheck = 8192 ImGuiItemFlags_AllowOverlap = 16384 + ImGuiItemFlags_NoNavDisableMouseHover = 32768 + ImGuiItemFlags_NoMarkEdited = 65536 ImGuiItemFlags_Inputable = 1048576 ImGuiItemFlags_HasSelectionUserData = 2097152 ImGuiItemFlags_IsMultiSelect = 4194304 @@ -4266,9 +4358,8 @@ end @cenum ImGuiInputTextFlagsPrivate_::UInt32 begin ImGuiInputTextFlags_Multiline = 67108864 - ImGuiInputTextFlags_NoMarkEdited = 134217728 - ImGuiInputTextFlags_MergedItem = 268435456 - ImGuiInputTextFlags_LocalizeDecimalPoint = 536870912 + ImGuiInputTextFlags_MergedItem = 134217728 + ImGuiInputTextFlags_LocalizeDecimalPoint = 268435456 end @cenum ImGuiButtonFlagsPrivate_::UInt32 begin @@ -4278,12 +4369,10 @@ end ImGuiButtonFlags_PressedOnRelease = 128 ImGuiButtonFlags_PressedOnDoubleClick = 256 ImGuiButtonFlags_PressedOnDragDropHold = 512 - ImGuiButtonFlags_Repeat = 1024 ImGuiButtonFlags_FlattenChildren = 2048 ImGuiButtonFlags_AllowOverlap = 4096 - ImGuiButtonFlags_DontClosePopups = 8192 ImGuiButtonFlags_AlignTextBaseLine = 32768 - ImGuiButtonFlags_NoKeyModifiers = 65536 + ImGuiButtonFlags_NoKeyModsAllowed = 65536 ImGuiButtonFlags_NoHoldingActiveId = 131072 ImGuiButtonFlags_NoNavFocus = 262144 ImGuiButtonFlags_NoHoveredOnFocus = 524288 @@ -4347,6 +4436,15 @@ end ImGuiLayoutType_Vertical = 1 end +@cenum ImGuiLogFlags_::UInt32 begin + ImGuiLogFlags_None = 0 + ImGuiLogFlags_OutputTTY = 1 + ImGuiLogFlags_OutputFile = 2 + ImGuiLogFlags_OutputBuffer = 4 + ImGuiLogFlags_OutputClipboard = 8 + ImGuiLogFlags_OutputMask_ = 15 +end + @cenum ImGuiPlotType::UInt32 begin ImGuiPlotType_Lines = 0 ImGuiPlotType_Histogram = 1 @@ -4476,11 +4574,11 @@ end ImGuiScrollFlags_MaskY_ = 42 end -@cenum ImGuiNavHighlightFlags_::UInt32 begin - ImGuiNavHighlightFlags_None = 0 - ImGuiNavHighlightFlags_Compact = 2 - ImGuiNavHighlightFlags_AlwaysDraw = 4 - ImGuiNavHighlightFlags_NoRounding = 8 +@cenum ImGuiNavRenderCursorFlags_::UInt32 begin + ImGuiNavRenderCursorFlags_None = 0 + ImGuiNavRenderCursorFlags_Compact = 2 + ImGuiNavRenderCursorFlags_AlwaysDraw = 4 + ImGuiNavRenderCursorFlags_NoRounding = 8 end @cenum ImGuiNavMoveFlags_::UInt32 begin @@ -4500,7 +4598,7 @@ end ImGuiNavMoveFlags_IsPageMove = 2048 ImGuiNavMoveFlags_Activate = 4096 ImGuiNavMoveFlags_NoSelect = 8192 - ImGuiNavMoveFlags_NoSetNavHighlight = 16384 + ImGuiNavMoveFlags_NoSetNavCursorVisible = 16384 ImGuiNavMoveFlags_NoClearActiveId = 32768 end @@ -4560,17 +4658,19 @@ end @cenum ImGuiDebugLogFlags_::UInt32 begin ImGuiDebugLogFlags_None = 0 - ImGuiDebugLogFlags_EventActiveId = 1 - ImGuiDebugLogFlags_EventFocus = 2 - ImGuiDebugLogFlags_EventPopup = 4 - ImGuiDebugLogFlags_EventNav = 8 - ImGuiDebugLogFlags_EventClipper = 16 - ImGuiDebugLogFlags_EventSelection = 32 - ImGuiDebugLogFlags_EventIO = 64 - ImGuiDebugLogFlags_EventInputRouting = 128 - ImGuiDebugLogFlags_EventDocking = 256 - ImGuiDebugLogFlags_EventViewport = 512 - ImGuiDebugLogFlags_EventMask_ = 1023 + ImGuiDebugLogFlags_EventError = 1 + ImGuiDebugLogFlags_EventActiveId = 2 + ImGuiDebugLogFlags_EventFocus = 4 + ImGuiDebugLogFlags_EventPopup = 8 + ImGuiDebugLogFlags_EventNav = 16 + ImGuiDebugLogFlags_EventClipper = 32 + ImGuiDebugLogFlags_EventSelection = 64 + ImGuiDebugLogFlags_EventIO = 128 + ImGuiDebugLogFlags_EventFont = 256 + ImGuiDebugLogFlags_EventInputRouting = 512 + ImGuiDebugLogFlags_EventDocking = 1024 + ImGuiDebugLogFlags_EventViewport = 2048 + ImGuiDebugLogFlags_EventMask_ = 4095 ImGuiDebugLogFlags_OutputToTTY = 1048576 ImGuiDebugLogFlags_OutputToTestEngine = 2097152 end @@ -5935,6 +6035,10 @@ function igSetKeyboardFocusHere(offset) ccall((:igSetKeyboardFocusHere, libcimgui), Cvoid, (Cint,), offset) end +function igSetNavCursorVisible(visible) + ccall((:igSetNavCursorVisible, libcimgui), Cvoid, (Bool,), visible) +end + function igSetNextItemAllowOverlap() ccall((:igSetNextItemAllowOverlap, libcimgui), Cvoid, ()) end @@ -6920,8 +7024,8 @@ function ImDrawList_PathRect(self, rect_min, rect_max, rounding, flags) ccall((:ImDrawList_PathRect, libcimgui), Cvoid, (Ptr{ImDrawList}, ImVec2, ImVec2, Cfloat, ImDrawFlags), self, rect_min, rect_max, rounding, flags) end -function ImDrawList_AddCallback(self, callback, callback_data) - ccall((:ImDrawList_AddCallback, libcimgui), Cvoid, (Ptr{ImDrawList}, ImDrawCallback, Ptr{Cvoid}), self, callback, callback_data) +function ImDrawList_AddCallback(self, callback, userdata, userdata_size) + ccall((:ImDrawList_AddCallback, libcimgui), Cvoid, (Ptr{ImDrawList}, ImDrawCallback, Ptr{Cvoid}, Csize_t), self, callback, userdata, userdata_size) end function ImDrawList_AddDrawCmd(self) @@ -8090,20 +8194,12 @@ function ImGuiLastItemData_destroy(self) ccall((:ImGuiLastItemData_destroy, libcimgui), Cvoid, (Ptr{ImGuiLastItemData},), self) end -function ImGuiStackSizes_ImGuiStackSizes() - ccall((:ImGuiStackSizes_ImGuiStackSizes, libcimgui), Ptr{ImGuiStackSizes}, ()) -end - -function ImGuiStackSizes_destroy(self) - ccall((:ImGuiStackSizes_destroy, libcimgui), Cvoid, (Ptr{ImGuiStackSizes},), self) +function ImGuiErrorRecoveryState_ImGuiErrorRecoveryState() + ccall((:ImGuiErrorRecoveryState_ImGuiErrorRecoveryState, libcimgui), Ptr{ImGuiErrorRecoveryState}, ()) end -function ImGuiStackSizes_SetToContextState(self, ctx) - ccall((:ImGuiStackSizes_SetToContextState, libcimgui), Cvoid, (Ptr{ImGuiStackSizes}, Ptr{ImGuiContext}), self, ctx) -end - -function ImGuiStackSizes_CompareWithContextState(self, ctx) - ccall((:ImGuiStackSizes_CompareWithContextState, libcimgui), Cvoid, (Ptr{ImGuiStackSizes}, Ptr{ImGuiContext}), self, ctx) +function ImGuiErrorRecoveryState_destroy(self) + ccall((:ImGuiErrorRecoveryState_destroy, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), self) end function ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr(ptr) @@ -8526,6 +8622,14 @@ function ImGuiTableSettings_GetColumnSettings(self) ccall((:ImGuiTableSettings_GetColumnSettings, libcimgui), Ptr{ImGuiTableColumnSettings}, (Ptr{ImGuiTableSettings},), self) end +function igGetIOEx(ctx) + ccall((:igGetIOEx, libcimgui), Ptr{ImGuiIO}, (Ptr{ImGuiContext},), ctx) +end + +function igGetPlatformIOEx(ctx) + ccall((:igGetPlatformIOEx, libcimgui), Ptr{ImGuiPlatformIO}, (Ptr{ImGuiContext},), ctx) +end + function igGetCurrentWindowRead() ccall((:igGetCurrentWindowRead, libcimgui), Ptr{ImGuiWindow}, ()) end @@ -8930,8 +9034,8 @@ function igEndDisabledOverrideReenable() ccall((:igEndDisabledOverrideReenable, libcimgui), Cvoid, ()) end -function igLogBegin(type, auto_open_depth) - ccall((:igLogBegin, libcimgui), Cvoid, (ImGuiLogType, Cint), type, auto_open_depth) +function igLogBegin(flags, auto_open_depth) + ccall((:igLogBegin, libcimgui), Cvoid, (ImGuiLogFlags, Cint), flags, auto_open_depth) end function igLogToBuffer(auto_open_depth) @@ -9078,8 +9182,8 @@ function igNavClearPreferredPosForAxis(axis) ccall((:igNavClearPreferredPosForAxis, libcimgui), Cvoid, (ImGuiAxis,), axis) end -function igNavRestoreHighlightAfterMove() - ccall((:igNavRestoreHighlightAfterMove, libcimgui), Cvoid, ()) +function igSetNavCursorVisibleAfterMove() + ccall((:igSetNavCursorVisibleAfterMove, libcimgui), Cvoid, ()) end function igNavUpdateCurrentWindowIsScrollPushableX() @@ -9798,8 +9902,12 @@ function igTabBarCloseTab(tab_bar, tab) ccall((:igTabBarCloseTab, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) end -function igTabBarQueueFocus(tab_bar, tab) - ccall((:igTabBarQueueFocus, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) +function igTabBarQueueFocus_TabItemPtr(tab_bar, tab) + ccall((:igTabBarQueueFocus_TabItemPtr, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) +end + +function igTabBarQueueFocus_Str(tab_bar, tab_name) + ccall((:igTabBarQueueFocus_Str, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{Cchar}), tab_bar, tab_name) end function igTabBarQueueReorder(tab_bar, tab, offset) @@ -9866,8 +9974,8 @@ function igRenderColorRectWithAlphaCheckerboard(draw_list, p_min, p_max, fill_co ccall((:igRenderColorRectWithAlphaCheckerboard, libcimgui), Cvoid, (Ptr{ImDrawList}, ImVec2, ImVec2, ImU32, Cfloat, ImVec2, Cfloat, ImDrawFlags), draw_list, p_min, p_max, fill_col, grid_step, grid_off, rounding, flags) end -function igRenderNavHighlight(bb, id, flags) - ccall((:igRenderNavHighlight, libcimgui), Cvoid, (ImRect, ImGuiID, ImGuiNavHighlightFlags), bb, id, flags) +function igRenderNavCursor(bb, id, flags) + ccall((:igRenderNavCursor, libcimgui), Cvoid, (ImRect, ImGuiID, ImGuiNavRenderCursorFlags), bb, id, flags) end function igFindRenderedTextEnd(text, text_end) @@ -9922,8 +10030,8 @@ function igArrowButtonEx(str_id, dir, size_arg, flags) ccall((:igArrowButtonEx, libcimgui), Bool, (Ptr{Cchar}, ImGuiDir, ImVec2, ImGuiButtonFlags), str_id, dir, size_arg, flags) end -function igImageButtonEx(id, texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) - ccall((:igImageButtonEx, libcimgui), Bool, (ImGuiID, ImTextureID, ImVec2, ImVec2, ImVec2, ImVec4, ImVec4, ImGuiButtonFlags), id, texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) +function igImageButtonEx(id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) + ccall((:igImageButtonEx, libcimgui), Bool, (ImGuiID, ImTextureID, ImVec2, ImVec2, ImVec2, ImVec4, ImVec4, ImGuiButtonFlags), id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) end function igSeparatorEx(flags, thickness) @@ -9954,8 +10062,8 @@ function igScrollbar(axis) ccall((:igScrollbar, libcimgui), Cvoid, (ImGuiAxis,), axis) end -function igScrollbarEx(bb, id, axis, p_scroll_v, avail_v, contents_v, flags) - ccall((:igScrollbarEx, libcimgui), Bool, (ImRect, ImGuiID, ImGuiAxis, Ptr{ImS64}, ImS64, ImS64, ImDrawFlags), bb, id, axis, p_scroll_v, avail_v, contents_v, flags) +function igScrollbarEx(bb, id, axis, p_scroll_v, avail_v, contents_v, draw_rounding_flags) + ccall((:igScrollbarEx, libcimgui), Bool, (ImRect, ImGuiID, ImGuiAxis, Ptr{ImS64}, ImS64, ImS64, ImDrawFlags), bb, id, axis, p_scroll_v, avail_v, contents_v, draw_rounding_flags) end function igGetWindowScrollbarRect(pOut, window, axis) @@ -10034,6 +10142,10 @@ function igDataTypeClamp(data_type, p_data, p_min, p_max) ccall((:igDataTypeClamp, libcimgui), Bool, (ImGuiDataType, Ptr{Cvoid}, Ptr{Cvoid}, Ptr{Cvoid}), data_type, p_data, p_min, p_max) end +function igDataTypeIsZero(data_type, p_data) + ccall((:igDataTypeIsZero, libcimgui), Bool, (ImGuiDataType, Ptr{Cvoid}), data_type, p_data) +end + function igInputTextEx(label, hint, buf, buf_size, size_arg, flags, callback, user_data) ccall((:igInputTextEx, libcimgui), Bool, (Ptr{Cchar}, Ptr{Cchar}, Ptr{Cchar}, Cint, ImVec2, ImGuiInputTextFlags, ImGuiInputTextCallback, Ptr{Cvoid}), label, hint, buf, buf_size, size_arg, flags, callback, user_data) end @@ -10102,22 +10214,42 @@ function igGcAwakeTransientWindowBuffers(window) ccall((:igGcAwakeTransientWindowBuffers, libcimgui), Cvoid, (Ptr{ImGuiWindow},), window) end -function igDebugAllocHook(info, frame_count, ptr, size) - ccall((:igDebugAllocHook, libcimgui), Cvoid, (Ptr{ImGuiDebugAllocInfo}, Cint, Ptr{Cvoid}, Csize_t), info, frame_count, ptr, size) +function igErrorLog(msg) + ccall((:igErrorLog, libcimgui), Bool, (Ptr{Cchar},), msg) +end + +function igErrorRecoveryStoreState(state_out) + ccall((:igErrorRecoveryStoreState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_out) end -function igErrorCheckEndFrameRecover(log_callback, user_data) - ccall((:igErrorCheckEndFrameRecover, libcimgui), Cvoid, (ImGuiErrorLogCallback, Ptr{Cvoid}), log_callback, user_data) +function igErrorRecoveryTryToRecoverState(state_in) + ccall((:igErrorRecoveryTryToRecoverState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_in) end -function igErrorCheckEndWindowRecover(log_callback, user_data) - ccall((:igErrorCheckEndWindowRecover, libcimgui), Cvoid, (ImGuiErrorLogCallback, Ptr{Cvoid}), log_callback, user_data) +function igErrorRecoveryTryToRecoverWindowState(state_in) + ccall((:igErrorRecoveryTryToRecoverWindowState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_in) end function igErrorCheckUsingSetCursorPosToExtendParentBoundaries() ccall((:igErrorCheckUsingSetCursorPosToExtendParentBoundaries, libcimgui), Cvoid, ()) end +function igErrorCheckEndFrameFinalizeErrorTooltip() + ccall((:igErrorCheckEndFrameFinalizeErrorTooltip, libcimgui), Cvoid, ()) +end + +function igBeginErrorTooltip() + ccall((:igBeginErrorTooltip, libcimgui), Bool, ()) +end + +function igEndErrorTooltip() + ccall((:igEndErrorTooltip, libcimgui), Cvoid, ()) +end + +function igDebugAllocHook(info, frame_count, ptr, size) + ccall((:igDebugAllocHook, libcimgui), Cvoid, (Ptr{ImGuiDebugAllocInfo}, Cint, Ptr{Cvoid}, Csize_t), info, frame_count, ptr, size) +end + function igDebugDrawCursorPos(col) ccall((:igDebugDrawCursorPos, libcimgui), Cvoid, (ImU32,), col) end @@ -10821,11 +10953,29 @@ struct ImVector_ImU64 Data::Ptr{ImU64} end -struct ImVector_ImU8 +struct var"##Ctag#241" Size::Cint Capacity::Cint Data::Ptr{ImU8} end +function Base.getproperty(x::Ptr{var"##Ctag#241"}, f::Symbol) + f === :Size && return Ptr{Cint}(x + 0) + f === :Capacity && return Ptr{Cint}(x + 0) + f === :Data && return Ptr{Ptr{ImU8}}(x + 0) + return getfield(x, f) +end + +function Base.getproperty(x::var"##Ctag#241", f::Symbol) + r = Ref{var"##Ctag#241"}(x) + ptr = Base.unsafe_convert(Ptr{var"##Ctag#241"}, r) + fptr = getproperty(ptr, f) + GC.@preserve r unsafe_load(fptr) +end + +function Base.setproperty!(x::Ptr{var"##Ctag#241"}, f::Symbol, v) + unsafe_store!(getproperty(x, f), v) +end + const ImPlotDragToolFlags = Cint @@ -14828,6 +14978,8 @@ function ImGui_ImplOpenGL3_DestroyDeviceObjects() ccall((:ImGui_ImplOpenGL3_DestroyDeviceObjects, libcimgui), Cvoid, ()) end +const IM_UNICODE_CODEPOINT_MAX = 65535 + const IMGUI_HAS_DOCK = 1 const ImDrawCallback_ResetRenderState = ImDrawCallback(-8) diff --git a/lib/x86_64-unknown-freebsd13.2.jl b/lib/x86_64-unknown-freebsd13.2.jl index f7e4acb..3e6cccd 100644 --- a/lib/x86_64-unknown-freebsd13.2.jl +++ b/lib/x86_64-unknown-freebsd13.2.jl @@ -45,7 +45,9 @@ function Base.setproperty!(x::Ptr{ImVec4}, f::Symbol, v) end -const ImTextureID = Ptr{Cvoid} +const ImU64 = Culonglong + +const ImTextureID = ImU64 struct ImDrawCmd ClipRect::ImVec4 @@ -55,6 +57,8 @@ struct ImDrawCmd ElemCount::Cuint UserCallback::ImDrawCallback UserCallbackData::Ptr{Cvoid} + UserCallbackDataSize::Cint + UserCallbackDataOffset::Cint end function Base.getproperty(x::Ptr{ImDrawCmd}, f::Symbol) f === :ClipRect && return Ptr{ImVec4}(x + 0) @@ -64,6 +68,8 @@ function Base.getproperty(x::Ptr{ImDrawCmd}, f::Symbol) f === :ElemCount && return Ptr{Cuint}(x + 32) f === :UserCallback && return Ptr{ImDrawCallback}(x + 40) f === :UserCallbackData && return Ptr{Ptr{Cvoid}}(x + 48) + f === :UserCallbackDataSize && return Ptr{Cint}(x + 56) + f === :UserCallbackDataOffset && return Ptr{Cint}(x + 60) return getfield(x, f) end @@ -221,19 +227,63 @@ function Base.getproperty(x::ImVector_ImFontPtr, f::Symbol) end struct ImFontAtlasCustomRect - Width::Cushort - Height::Cushort - X::Cushort - Y::Cushort - GlyphID::Cuint - GlyphAdvanceX::Cfloat - GlyphOffset::ImVec2 - Font::Ptr{Cvoid} # Font::Ptr{ImFont} + data::NTuple{32, UInt8} +end + +function Base.getproperty(x::Ptr{ImFontAtlasCustomRect}, f::Symbol) + f === :X && return Ptr{Cushort}(x + 0) + f === :Y && return Ptr{Cushort}(x + 2) + f === :Width && return Ptr{Cushort}(x + 4) + f === :Height && return Ptr{Cushort}(x + 6) + f === :GlyphID && return (Ptr{Cuint}(x + 8), 0, 31) + f === :GlyphColored && return (Ptr{Cuint}(x + 8), 31, 1) + f === :GlyphAdvanceX && return Ptr{Cfloat}(x + 12) + f === :GlyphOffset && return Ptr{ImVec2}(x + 16) + f === :Font && return Ptr{Ptr{ImFont}}(x + 24) + return getfield(x, f) end function Base.getproperty(x::ImFontAtlasCustomRect, f::Symbol) - f === :Font && return Ptr{ImFont}(getfield(x, f)) - return getfield(x, f) + r = Ref{ImFontAtlasCustomRect}(x) + ptr = Base.unsafe_convert(Ptr{ImFontAtlasCustomRect}, r) + fptr = getproperty(ptr, f) + begin + if fptr isa Ptr + return GC.@preserve(r, unsafe_load(fptr)) + else + (baseptr, offset, width) = fptr + ty = eltype(baseptr) + baseptr32 = convert(Ptr{UInt32}, baseptr) + u64 = GC.@preserve(r, unsafe_load(baseptr32)) + if offset + width > 32 + u64 |= GC.@preserve(r, unsafe_load(baseptr32 + 4)) << 32 + end + u64 = u64 >> offset & (1 << width - 1) + return u64 % ty + end + end +end + +function Base.setproperty!(x::Ptr{ImFontAtlasCustomRect}, f::Symbol, v) + fptr = getproperty(x, f) + if fptr isa Ptr + unsafe_store!(getproperty(x, f), v) + else + (baseptr, offset, width) = fptr + baseptr32 = convert(Ptr{UInt32}, baseptr) + u64 = unsafe_load(baseptr32) + straddle = offset + width > 32 + if straddle + u64 |= unsafe_load(baseptr32 + 4) << 32 + end + mask = 1 << width - 1 + u64 &= ~(mask << offset) + u64 |= (unsigned(v) & mask) << offset + unsafe_store!(baseptr32, u64 & typemax(UInt32)) + if straddle + unsafe_store!(baseptr32 + 4, u64 >> 32) + end + end end struct ImVector_ImFontAtlasCustomRect @@ -375,9 +425,9 @@ struct ImFont ContainerAtlas::Ptr{ImFontAtlas} ConfigData::Ptr{ImFontConfig} ConfigDataCount::Cshort - FallbackChar::ImWchar - EllipsisChar::ImWchar EllipsisCharCount::Cshort + EllipsisChar::ImWchar + FallbackChar::ImWchar EllipsisWidth::Cfloat EllipsisCharStep::Cfloat DirtyLookupTables::Bool @@ -396,6 +446,7 @@ end struct ImDrawListSharedData TexUvWhitePixel::ImVec2 + TexUvLines::Ptr{ImVec4} Font::Ptr{ImFont} FontSize::Cfloat FontScale::Cfloat @@ -407,7 +458,6 @@ struct ImDrawListSharedData ArcFastVtx::NTuple{48, ImVec2} ArcFastRadiusCutoff::Cfloat CircleSegmentCounts::NTuple{64, ImU8} - TexUvLines::Ptr{ImVec4} end struct ImDrawCmdHeader @@ -440,6 +490,12 @@ struct ImVector_ImTextureID Data::Ptr{ImTextureID} end +struct ImVector_ImU8 + Size::Cint + Capacity::Cint + Data::Ptr{ImU8} +end + struct ImDrawList CmdBuffer::ImVector_ImDrawCmd IdxBuffer::ImVector_ImDrawIdx @@ -454,6 +510,7 @@ struct ImDrawList _Splitter::ImDrawListSplitter _ClipRectStack::ImVector_ImVec4 _TextureIdStack::ImVector_ImTextureID + _CallbacksDataBuf::ImVector_ImU8 _FringeScale::Cfloat _OwnerName::Ptr{Cchar} end @@ -471,8 +528,9 @@ function Base.getproperty(x::Ptr{ImDrawList}, f::Symbol) f === :_Splitter && return Ptr{ImDrawListSplitter}(x + 128) f === :_ClipRectStack && return Ptr{ImVector_ImVec4}(x + 152) f === :_TextureIdStack && return Ptr{ImVector_ImTextureID}(x + 168) - f === :_FringeScale && return Ptr{Cfloat}(x + 184) - f === :_OwnerName && return Ptr{Ptr{Cchar}}(x + 192) + f === :_CallbacksDataBuf && return Ptr{ImVector_ImU8}(x + 184) + f === :_FringeScale && return Ptr{Cfloat}(x + 200) + f === :_OwnerName && return Ptr{Ptr{Cchar}}(x + 208) return getfield(x, f) end @@ -606,8 +664,6 @@ end const ImU16 = Cushort -const ImS8 = Int8 - struct ImGuiIO ConfigFlags::ImGuiConfigFlags BackendFlags::ImGuiBackendFlags @@ -622,6 +678,13 @@ struct ImGuiIO FontAllowUserScaling::Bool FontDefault::Ptr{ImFont} DisplayFramebufferScale::ImVec2 + ConfigNavSwapGamepadButtons::Bool + ConfigNavMoveSetMousePos::Bool + ConfigNavCaptureKeyboard::Bool + ConfigNavEscapeClearFocusItem::Bool + ConfigNavEscapeClearFocusWindow::Bool + ConfigNavCursorVisibleAuto::Bool + ConfigNavCursorVisibleAlways::Bool ConfigDockingNoSplit::Bool ConfigDockingWithShift::Bool ConfigDockingAlwaysTabBar::Bool @@ -632,19 +695,24 @@ struct ImGuiIO ConfigViewportsNoDefaultParent::Bool MouseDrawCursor::Bool ConfigMacOSXBehaviors::Bool - ConfigNavSwapGamepadButtons::Bool ConfigInputTrickleEventQueue::Bool ConfigInputTextCursorBlink::Bool ConfigInputTextEnterKeepActive::Bool ConfigDragClickToInputText::Bool ConfigWindowsResizeFromEdges::Bool ConfigWindowsMoveFromTitleBarOnly::Bool + ConfigWindowsCopyContentsWithCtrlC::Bool + ConfigScrollbarScrollByPage::Bool ConfigMemoryCompactTimer::Cfloat MouseDoubleClickTime::Cfloat MouseDoubleClickMaxDist::Cfloat MouseDragThreshold::Cfloat KeyRepeatDelay::Cfloat KeyRepeatRate::Cfloat + ConfigErrorRecovery::Bool + ConfigErrorRecoveryEnableAssert::Bool + ConfigErrorRecoveryEnableDebugLog::Bool + ConfigErrorRecoveryEnableTooltip::Bool ConfigDebugIsDebuggerPresent::Bool ConfigDebugHighlightIdConflicts::Bool ConfigDebugBeginReturnValueOnce::Bool @@ -702,8 +770,6 @@ struct ImGuiIO PenPressure::Cfloat AppFocusLost::Bool AppAcceptingEvents::Bool - BackendUsingLegacyKeyArrays::ImS8 - BackendUsingLegacyNavInputArray::Bool InputQueueSurrogate::ImWchar16 InputQueueCharacters::ImVector_ImWchar end @@ -727,90 +793,100 @@ function Base.getproperty(x::Ptr{ImGuiIO}, f::Symbol) f === :FontAllowUserScaling && return Ptr{Bool}(x + 60) f === :FontDefault && return Ptr{Ptr{ImFont}}(x + 64) f === :DisplayFramebufferScale && return Ptr{ImVec2}(x + 72) - f === :ConfigDockingNoSplit && return Ptr{Bool}(x + 80) - f === :ConfigDockingWithShift && return Ptr{Bool}(x + 81) - f === :ConfigDockingAlwaysTabBar && return Ptr{Bool}(x + 82) - f === :ConfigDockingTransparentPayload && return Ptr{Bool}(x + 83) - f === :ConfigViewportsNoAutoMerge && return Ptr{Bool}(x + 84) - f === :ConfigViewportsNoTaskBarIcon && return Ptr{Bool}(x + 85) - f === :ConfigViewportsNoDecoration && return Ptr{Bool}(x + 86) - f === :ConfigViewportsNoDefaultParent && return Ptr{Bool}(x + 87) - f === :MouseDrawCursor && return Ptr{Bool}(x + 88) - f === :ConfigMacOSXBehaviors && return Ptr{Bool}(x + 89) - f === :ConfigNavSwapGamepadButtons && return Ptr{Bool}(x + 90) - f === :ConfigInputTrickleEventQueue && return Ptr{Bool}(x + 91) - f === :ConfigInputTextCursorBlink && return Ptr{Bool}(x + 92) - f === :ConfigInputTextEnterKeepActive && return Ptr{Bool}(x + 93) - f === :ConfigDragClickToInputText && return Ptr{Bool}(x + 94) - f === :ConfigWindowsResizeFromEdges && return Ptr{Bool}(x + 95) - f === :ConfigWindowsMoveFromTitleBarOnly && return Ptr{Bool}(x + 96) - f === :ConfigMemoryCompactTimer && return Ptr{Cfloat}(x + 100) - f === :MouseDoubleClickTime && return Ptr{Cfloat}(x + 104) - f === :MouseDoubleClickMaxDist && return Ptr{Cfloat}(x + 108) - f === :MouseDragThreshold && return Ptr{Cfloat}(x + 112) - f === :KeyRepeatDelay && return Ptr{Cfloat}(x + 116) - f === :KeyRepeatRate && return Ptr{Cfloat}(x + 120) - f === :ConfigDebugIsDebuggerPresent && return Ptr{Bool}(x + 124) - f === :ConfigDebugHighlightIdConflicts && return Ptr{Bool}(x + 125) - f === :ConfigDebugBeginReturnValueOnce && return Ptr{Bool}(x + 126) - f === :ConfigDebugBeginReturnValueLoop && return Ptr{Bool}(x + 127) - f === :ConfigDebugIgnoreFocusLoss && return Ptr{Bool}(x + 128) - f === :ConfigDebugIniSettings && return Ptr{Bool}(x + 129) - f === :BackendPlatformName && return Ptr{Ptr{Cchar}}(x + 136) - f === :BackendRendererName && return Ptr{Ptr{Cchar}}(x + 144) - f === :BackendPlatformUserData && return Ptr{Ptr{Cvoid}}(x + 152) - f === :BackendRendererUserData && return Ptr{Ptr{Cvoid}}(x + 160) - f === :BackendLanguageUserData && return Ptr{Ptr{Cvoid}}(x + 168) - f === :WantCaptureMouse && return Ptr{Bool}(x + 176) - f === :WantCaptureKeyboard && return Ptr{Bool}(x + 177) - f === :WantTextInput && return Ptr{Bool}(x + 178) - f === :WantSetMousePos && return Ptr{Bool}(x + 179) - f === :WantSaveIniSettings && return Ptr{Bool}(x + 180) - f === :NavActive && return Ptr{Bool}(x + 181) - f === :NavVisible && return Ptr{Bool}(x + 182) - f === :Framerate && return Ptr{Cfloat}(x + 184) - f === :MetricsRenderVertices && return Ptr{Cint}(x + 188) - f === :MetricsRenderIndices && return Ptr{Cint}(x + 192) - f === :MetricsRenderWindows && return Ptr{Cint}(x + 196) - f === :MetricsActiveWindows && return Ptr{Cint}(x + 200) - f === :MouseDelta && return Ptr{ImVec2}(x + 204) - f === :Ctx && return Ptr{Ptr{ImGuiContext}}(x + 216) - f === :MousePos && return Ptr{ImVec2}(x + 224) - f === :MouseDown && return Ptr{NTuple{5, Bool}}(x + 232) - f === :MouseWheel && return Ptr{Cfloat}(x + 240) - f === :MouseWheelH && return Ptr{Cfloat}(x + 244) - f === :MouseSource && return Ptr{ImGuiMouseSource}(x + 248) - f === :MouseHoveredViewport && return Ptr{ImGuiID}(x + 252) - f === :KeyCtrl && return Ptr{Bool}(x + 256) - f === :KeyShift && return Ptr{Bool}(x + 257) - f === :KeyAlt && return Ptr{Bool}(x + 258) - f === :KeySuper && return Ptr{Bool}(x + 259) - f === :KeyMods && return Ptr{ImGuiKeyChord}(x + 260) - f === :KeysData && return Ptr{NTuple{154, ImGuiKeyData}}(x + 264) - f === :WantCaptureMouseUnlessPopupClose && return Ptr{Bool}(x + 2728) - f === :MousePosPrev && return Ptr{ImVec2}(x + 2732) - f === :MouseClickedPos && return Ptr{NTuple{5, ImVec2}}(x + 2740) - f === :MouseClickedTime && return Ptr{NTuple{5, Cdouble}}(x + 2784) - f === :MouseClicked && return Ptr{NTuple{5, Bool}}(x + 2824) - f === :MouseDoubleClicked && return Ptr{NTuple{5, Bool}}(x + 2829) - f === :MouseClickedCount && return Ptr{NTuple{5, ImU16}}(x + 2834) - f === :MouseClickedLastCount && return Ptr{NTuple{5, ImU16}}(x + 2844) - f === :MouseReleased && return Ptr{NTuple{5, Bool}}(x + 2854) - f === :MouseDownOwned && return Ptr{NTuple{5, Bool}}(x + 2859) - f === :MouseDownOwnedUnlessPopupClose && return Ptr{NTuple{5, Bool}}(x + 2864) - f === :MouseWheelRequestAxisSwap && return Ptr{Bool}(x + 2869) - f === :MouseCtrlLeftAsRightClick && return Ptr{Bool}(x + 2870) - f === :MouseDownDuration && return Ptr{NTuple{5, Cfloat}}(x + 2872) - f === :MouseDownDurationPrev && return Ptr{NTuple{5, Cfloat}}(x + 2892) - f === :MouseDragMaxDistanceAbs && return Ptr{NTuple{5, ImVec2}}(x + 2912) - f === :MouseDragMaxDistanceSqr && return Ptr{NTuple{5, Cfloat}}(x + 2952) - f === :PenPressure && return Ptr{Cfloat}(x + 2972) - f === :AppFocusLost && return Ptr{Bool}(x + 2976) - f === :AppAcceptingEvents && return Ptr{Bool}(x + 2977) - f === :BackendUsingLegacyKeyArrays && return Ptr{ImS8}(x + 2978) - f === :BackendUsingLegacyNavInputArray && return Ptr{Bool}(x + 2979) - f === :InputQueueSurrogate && return Ptr{ImWchar16}(x + 2980) - f === :InputQueueCharacters && return Ptr{ImVector_ImWchar}(x + 2984) + f === :ConfigNavSwapGamepadButtons && return Ptr{Bool}(x + 80) + f === :ConfigNavMoveSetMousePos && return Ptr{Bool}(x + 81) + f === :ConfigNavCaptureKeyboard && return Ptr{Bool}(x + 82) + f === :ConfigNavEscapeClearFocusItem && return Ptr{Bool}(x + 83) + f === :ConfigNavEscapeClearFocusWindow && return Ptr{Bool}(x + 84) + f === :ConfigNavCursorVisibleAuto && return Ptr{Bool}(x + 85) + f === :ConfigNavCursorVisibleAlways && return Ptr{Bool}(x + 86) + f === :ConfigDockingNoSplit && return Ptr{Bool}(x + 87) + f === :ConfigDockingWithShift && return Ptr{Bool}(x + 88) + f === :ConfigDockingAlwaysTabBar && return Ptr{Bool}(x + 89) + f === :ConfigDockingTransparentPayload && return Ptr{Bool}(x + 90) + f === :ConfigViewportsNoAutoMerge && return Ptr{Bool}(x + 91) + f === :ConfigViewportsNoTaskBarIcon && return Ptr{Bool}(x + 92) + f === :ConfigViewportsNoDecoration && return Ptr{Bool}(x + 93) + f === :ConfigViewportsNoDefaultParent && return Ptr{Bool}(x + 94) + f === :MouseDrawCursor && return Ptr{Bool}(x + 95) + f === :ConfigMacOSXBehaviors && return Ptr{Bool}(x + 96) + f === :ConfigInputTrickleEventQueue && return Ptr{Bool}(x + 97) + f === :ConfigInputTextCursorBlink && return Ptr{Bool}(x + 98) + f === :ConfigInputTextEnterKeepActive && return Ptr{Bool}(x + 99) + f === :ConfigDragClickToInputText && return Ptr{Bool}(x + 100) + f === :ConfigWindowsResizeFromEdges && return Ptr{Bool}(x + 101) + f === :ConfigWindowsMoveFromTitleBarOnly && return Ptr{Bool}(x + 102) + f === :ConfigWindowsCopyContentsWithCtrlC && return Ptr{Bool}(x + 103) + f === :ConfigScrollbarScrollByPage && return Ptr{Bool}(x + 104) + f === :ConfigMemoryCompactTimer && return Ptr{Cfloat}(x + 108) + f === :MouseDoubleClickTime && return Ptr{Cfloat}(x + 112) + f === :MouseDoubleClickMaxDist && return Ptr{Cfloat}(x + 116) + f === :MouseDragThreshold && return Ptr{Cfloat}(x + 120) + f === :KeyRepeatDelay && return Ptr{Cfloat}(x + 124) + f === :KeyRepeatRate && return Ptr{Cfloat}(x + 128) + f === :ConfigErrorRecovery && return Ptr{Bool}(x + 132) + f === :ConfigErrorRecoveryEnableAssert && return Ptr{Bool}(x + 133) + f === :ConfigErrorRecoveryEnableDebugLog && return Ptr{Bool}(x + 134) + f === :ConfigErrorRecoveryEnableTooltip && return Ptr{Bool}(x + 135) + f === :ConfigDebugIsDebuggerPresent && return Ptr{Bool}(x + 136) + f === :ConfigDebugHighlightIdConflicts && return Ptr{Bool}(x + 137) + f === :ConfigDebugBeginReturnValueOnce && return Ptr{Bool}(x + 138) + f === :ConfigDebugBeginReturnValueLoop && return Ptr{Bool}(x + 139) + f === :ConfigDebugIgnoreFocusLoss && return Ptr{Bool}(x + 140) + f === :ConfigDebugIniSettings && return Ptr{Bool}(x + 141) + f === :BackendPlatformName && return Ptr{Ptr{Cchar}}(x + 144) + f === :BackendRendererName && return Ptr{Ptr{Cchar}}(x + 152) + f === :BackendPlatformUserData && return Ptr{Ptr{Cvoid}}(x + 160) + f === :BackendRendererUserData && return Ptr{Ptr{Cvoid}}(x + 168) + f === :BackendLanguageUserData && return Ptr{Ptr{Cvoid}}(x + 176) + f === :WantCaptureMouse && return Ptr{Bool}(x + 184) + f === :WantCaptureKeyboard && return Ptr{Bool}(x + 185) + f === :WantTextInput && return Ptr{Bool}(x + 186) + f === :WantSetMousePos && return Ptr{Bool}(x + 187) + f === :WantSaveIniSettings && return Ptr{Bool}(x + 188) + f === :NavActive && return Ptr{Bool}(x + 189) + f === :NavVisible && return Ptr{Bool}(x + 190) + f === :Framerate && return Ptr{Cfloat}(x + 192) + f === :MetricsRenderVertices && return Ptr{Cint}(x + 196) + f === :MetricsRenderIndices && return Ptr{Cint}(x + 200) + f === :MetricsRenderWindows && return Ptr{Cint}(x + 204) + f === :MetricsActiveWindows && return Ptr{Cint}(x + 208) + f === :MouseDelta && return Ptr{ImVec2}(x + 212) + f === :Ctx && return Ptr{Ptr{ImGuiContext}}(x + 224) + f === :MousePos && return Ptr{ImVec2}(x + 232) + f === :MouseDown && return Ptr{NTuple{5, Bool}}(x + 240) + f === :MouseWheel && return Ptr{Cfloat}(x + 248) + f === :MouseWheelH && return Ptr{Cfloat}(x + 252) + f === :MouseSource && return Ptr{ImGuiMouseSource}(x + 256) + f === :MouseHoveredViewport && return Ptr{ImGuiID}(x + 260) + f === :KeyCtrl && return Ptr{Bool}(x + 264) + f === :KeyShift && return Ptr{Bool}(x + 265) + f === :KeyAlt && return Ptr{Bool}(x + 266) + f === :KeySuper && return Ptr{Bool}(x + 267) + f === :KeyMods && return Ptr{ImGuiKeyChord}(x + 268) + f === :KeysData && return Ptr{NTuple{154, ImGuiKeyData}}(x + 272) + f === :WantCaptureMouseUnlessPopupClose && return Ptr{Bool}(x + 2736) + f === :MousePosPrev && return Ptr{ImVec2}(x + 2740) + f === :MouseClickedPos && return Ptr{NTuple{5, ImVec2}}(x + 2748) + f === :MouseClickedTime && return Ptr{NTuple{5, Cdouble}}(x + 2792) + f === :MouseClicked && return Ptr{NTuple{5, Bool}}(x + 2832) + f === :MouseDoubleClicked && return Ptr{NTuple{5, Bool}}(x + 2837) + f === :MouseClickedCount && return Ptr{NTuple{5, ImU16}}(x + 2842) + f === :MouseClickedLastCount && return Ptr{NTuple{5, ImU16}}(x + 2852) + f === :MouseReleased && return Ptr{NTuple{5, Bool}}(x + 2862) + f === :MouseDownOwned && return Ptr{NTuple{5, Bool}}(x + 2867) + f === :MouseDownOwnedUnlessPopupClose && return Ptr{NTuple{5, Bool}}(x + 2872) + f === :MouseWheelRequestAxisSwap && return Ptr{Bool}(x + 2877) + f === :MouseCtrlLeftAsRightClick && return Ptr{Bool}(x + 2878) + f === :MouseDownDuration && return Ptr{NTuple{5, Cfloat}}(x + 2880) + f === :MouseDownDurationPrev && return Ptr{NTuple{5, Cfloat}}(x + 2900) + f === :MouseDragMaxDistanceAbs && return Ptr{NTuple{5, ImVec2}}(x + 2920) + f === :MouseDragMaxDistanceSqr && return Ptr{NTuple{5, Cfloat}}(x + 2960) + f === :PenPressure && return Ptr{Cfloat}(x + 2980) + f === :AppFocusLost && return Ptr{Bool}(x + 2984) + f === :AppAcceptingEvents && return Ptr{Bool}(x + 2985) + f === :InputQueueSurrogate && return Ptr{ImWchar16}(x + 2986) + f === :InputQueueCharacters && return Ptr{ImVector_ImWchar}(x + 2992) return getfield(x, f) end @@ -862,6 +938,7 @@ struct ImGuiPlatformIO Platform_SetImeDataFn::Ptr{Cvoid} Platform_ImeUserData::Ptr{Cvoid} Platform_LocaleDecimalPoint::ImWchar + Renderer_RenderState::Ptr{Cvoid} Platform_CreateWindow::Ptr{Cvoid} Platform_DestroyWindow::Ptr{Cvoid} Platform_ShowWindow::Ptr{Cvoid} @@ -898,32 +975,33 @@ function Base.getproperty(x::Ptr{ImGuiPlatformIO}, f::Symbol) f === :Platform_SetImeDataFn && return Ptr{Ptr{Cvoid}}(x + 40) f === :Platform_ImeUserData && return Ptr{Ptr{Cvoid}}(x + 48) f === :Platform_LocaleDecimalPoint && return Ptr{ImWchar}(x + 56) - f === :Platform_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 64) - f === :Platform_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 72) - f === :Platform_ShowWindow && return Ptr{Ptr{Cvoid}}(x + 80) - f === :Platform_SetWindowPos && return Ptr{Ptr{Cvoid}}(x + 88) - f === :Platform_GetWindowPos && return Ptr{Ptr{Cvoid}}(x + 96) - f === :Platform_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 104) - f === :Platform_GetWindowSize && return Ptr{Ptr{Cvoid}}(x + 112) - f === :Platform_SetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 120) - f === :Platform_GetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 128) - f === :Platform_GetWindowMinimized && return Ptr{Ptr{Cvoid}}(x + 136) - f === :Platform_SetWindowTitle && return Ptr{Ptr{Cvoid}}(x + 144) - f === :Platform_SetWindowAlpha && return Ptr{Ptr{Cvoid}}(x + 152) - f === :Platform_UpdateWindow && return Ptr{Ptr{Cvoid}}(x + 160) - f === :Platform_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 168) - f === :Platform_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 176) - f === :Platform_GetWindowDpiScale && return Ptr{Ptr{Cvoid}}(x + 184) - f === :Platform_OnChangedViewport && return Ptr{Ptr{Cvoid}}(x + 192) - f === :Platform_GetWindowWorkAreaInsets && return Ptr{Ptr{Cvoid}}(x + 200) - f === :Platform_CreateVkSurface && return Ptr{Ptr{Cvoid}}(x + 208) - f === :Renderer_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 216) - f === :Renderer_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 224) - f === :Renderer_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 232) - f === :Renderer_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 240) - f === :Renderer_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 248) - f === :Monitors && return Ptr{ImVector_ImGuiPlatformMonitor}(x + 256) - f === :Viewports && return Ptr{ImVector_ImGuiViewportPtr}(x + 272) + f === :Renderer_RenderState && return Ptr{Ptr{Cvoid}}(x + 64) + f === :Platform_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 72) + f === :Platform_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 80) + f === :Platform_ShowWindow && return Ptr{Ptr{Cvoid}}(x + 88) + f === :Platform_SetWindowPos && return Ptr{Ptr{Cvoid}}(x + 96) + f === :Platform_GetWindowPos && return Ptr{Ptr{Cvoid}}(x + 104) + f === :Platform_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 112) + f === :Platform_GetWindowSize && return Ptr{Ptr{Cvoid}}(x + 120) + f === :Platform_SetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 128) + f === :Platform_GetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 136) + f === :Platform_GetWindowMinimized && return Ptr{Ptr{Cvoid}}(x + 144) + f === :Platform_SetWindowTitle && return Ptr{Ptr{Cvoid}}(x + 152) + f === :Platform_SetWindowAlpha && return Ptr{Ptr{Cvoid}}(x + 160) + f === :Platform_UpdateWindow && return Ptr{Ptr{Cvoid}}(x + 168) + f === :Platform_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 176) + f === :Platform_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 184) + f === :Platform_GetWindowDpiScale && return Ptr{Ptr{Cvoid}}(x + 192) + f === :Platform_OnChangedViewport && return Ptr{Ptr{Cvoid}}(x + 200) + f === :Platform_GetWindowWorkAreaInsets && return Ptr{Ptr{Cvoid}}(x + 208) + f === :Platform_CreateVkSurface && return Ptr{Ptr{Cvoid}}(x + 216) + f === :Renderer_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 224) + f === :Renderer_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 232) + f === :Renderer_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 240) + f === :Renderer_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 248) + f === :Renderer_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 256) + f === :Monitors && return Ptr{ImVector_ImGuiPlatformMonitor}(x + 264) + f === :Viewports && return Ptr{ImVector_ImGuiViewportPtr}(x + 280) return getfield(x, f) end @@ -1185,6 +1263,8 @@ function Base.getproperty(x::ImGuiViewportP, f::Symbol) return getfield(x, f) end +const ImS8 = Int8 + const ImGuiCond = Cint struct ImVector_ImGuiID @@ -1395,6 +1475,7 @@ struct ImGuiTextBuffer end struct ImGuiTabBar + Window::Ptr{Cvoid} # Window::Ptr{ImGuiWindow} Tabs::ImVector_ImGuiTabItem Flags::ImGuiTabBarFlags ID::ImGuiID @@ -1430,6 +1511,11 @@ struct ImGuiTabBar TabsNames::ImGuiTextBuffer end +function Base.getproperty(x::ImGuiTabBar, f::Symbol) + f === :Window && return Ptr{ImGuiWindow}(getfield(x, f)) + return getfield(x, f) +end + @cenum ImGuiAxis::Int32 begin ImGuiAxis_None = -1 ImGuiAxis_X = 0 @@ -1534,7 +1620,7 @@ end const ImGuiItemStatusFlags = Cint struct ImGuiWindow - data::NTuple{1168, UInt8} + data::NTuple{1184, UInt8} end function Base.getproperty(x::Ptr{ImGuiWindow}, f::Symbol) @@ -1635,33 +1721,33 @@ function Base.getproperty(x::Ptr{ImGuiWindow}, f::Symbol) f === :SettingsOffset && return Ptr{Cint}(x + 736) f === :DrawList && return Ptr{Ptr{ImDrawList}}(x + 744) f === :DrawListInst && return Ptr{ImDrawList}(x + 752) - f === :ParentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 952) - f === :ParentWindowInBeginStack && return Ptr{Ptr{ImGuiWindow}}(x + 960) - f === :RootWindow && return Ptr{Ptr{ImGuiWindow}}(x + 968) - f === :RootWindowPopupTree && return Ptr{Ptr{ImGuiWindow}}(x + 976) - f === :RootWindowDockTree && return Ptr{Ptr{ImGuiWindow}}(x + 984) - f === :RootWindowForTitleBarHighlight && return Ptr{Ptr{ImGuiWindow}}(x + 992) - f === :RootWindowForNav && return Ptr{Ptr{ImGuiWindow}}(x + 1000) - f === :ParentWindowForFocusRoute && return Ptr{Ptr{ImGuiWindow}}(x + 1008) - f === :NavLastChildNavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 1016) - f === :NavLastIds && return Ptr{NTuple{2, ImGuiID}}(x + 1024) - f === :NavRectRel && return Ptr{NTuple{2, ImRect}}(x + 1032) - f === :NavPreferredScoringPosRel && return Ptr{NTuple{2, ImVec2}}(x + 1064) - f === :NavRootFocusScopeId && return Ptr{ImGuiID}(x + 1080) - f === :MemoryDrawListIdxCapacity && return Ptr{Cint}(x + 1084) - f === :MemoryDrawListVtxCapacity && return Ptr{Cint}(x + 1088) - f === :MemoryCompacted && return Ptr{Bool}(x + 1092) - f === :DockIsActive && return (Ptr{Bool}(x + 1092), 8, 1) - f === :DockNodeIsVisible && return (Ptr{Bool}(x + 1092), 9, 1) - f === :DockTabIsVisible && return (Ptr{Bool}(x + 1092), 10, 1) - f === :DockTabWantClose && return (Ptr{Bool}(x + 1092), 11, 1) - f === :DockOrder && return Ptr{Cshort}(x + 1094) - f === :DockStyle && return Ptr{ImGuiWindowDockStyle}(x + 1096) - f === :DockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 1128) - f === :DockNodeAsHost && return Ptr{Ptr{ImGuiDockNode}}(x + 1136) - f === :DockId && return Ptr{ImGuiID}(x + 1144) - f === :DockTabItemStatusFlags && return Ptr{ImGuiItemStatusFlags}(x + 1148) - f === :DockTabItemRect && return Ptr{ImRect}(x + 1152) + f === :ParentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 968) + f === :ParentWindowInBeginStack && return Ptr{Ptr{ImGuiWindow}}(x + 976) + f === :RootWindow && return Ptr{Ptr{ImGuiWindow}}(x + 984) + f === :RootWindowPopupTree && return Ptr{Ptr{ImGuiWindow}}(x + 992) + f === :RootWindowDockTree && return Ptr{Ptr{ImGuiWindow}}(x + 1000) + f === :RootWindowForTitleBarHighlight && return Ptr{Ptr{ImGuiWindow}}(x + 1008) + f === :RootWindowForNav && return Ptr{Ptr{ImGuiWindow}}(x + 1016) + f === :ParentWindowForFocusRoute && return Ptr{Ptr{ImGuiWindow}}(x + 1024) + f === :NavLastChildNavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 1032) + f === :NavLastIds && return Ptr{NTuple{2, ImGuiID}}(x + 1040) + f === :NavRectRel && return Ptr{NTuple{2, ImRect}}(x + 1048) + f === :NavPreferredScoringPosRel && return Ptr{NTuple{2, ImVec2}}(x + 1080) + f === :NavRootFocusScopeId && return Ptr{ImGuiID}(x + 1096) + f === :MemoryDrawListIdxCapacity && return Ptr{Cint}(x + 1100) + f === :MemoryDrawListVtxCapacity && return Ptr{Cint}(x + 1104) + f === :MemoryCompacted && return Ptr{Bool}(x + 1108) + f === :DockIsActive && return (Ptr{Bool}(x + 1108), 8, 1) + f === :DockNodeIsVisible && return (Ptr{Bool}(x + 1108), 9, 1) + f === :DockTabIsVisible && return (Ptr{Bool}(x + 1108), 10, 1) + f === :DockTabWantClose && return (Ptr{Bool}(x + 1108), 11, 1) + f === :DockOrder && return Ptr{Cshort}(x + 1110) + f === :DockStyle && return Ptr{ImGuiWindowDockStyle}(x + 1112) + f === :DockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 1144) + f === :DockNodeAsHost && return Ptr{Ptr{ImGuiDockNode}}(x + 1152) + f === :DockId && return Ptr{ImGuiID}(x + 1160) + f === :DockTabItemStatusFlags && return Ptr{ImGuiItemStatusFlags}(x + 1164) + f === :DockTabItemRect && return Ptr{ImRect}(x + 1168) return getfield(x, f) end @@ -1712,7 +1798,7 @@ const ImGuiItemFlags = Cint struct ImGuiLastItemData ID::ImGuiID - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags StatusFlags::ImGuiItemStatusFlags Rect::ImRect NavRect::ImRect @@ -1721,8 +1807,10 @@ struct ImGuiLastItemData Shortcut::ImGuiKeyChord end -struct ImGuiStackSizes +struct ImGuiErrorRecoveryState + SizeOfWindowStack::Cshort SizeOfIDStack::Cshort + SizeOfTreeStack::Cshort SizeOfColorStack::Cshort SizeOfStyleVarStack::Cshort SizeOfFontStack::Cshort @@ -1736,7 +1824,7 @@ end struct ImGuiWindowStackData Window::Ptr{ImGuiWindow} ParentLastItemDataBackup::ImGuiLastItemData - StackSizesOnBegin::ImGuiStackSizes + StackSizesInBegin::ImGuiErrorRecoveryState DisabledOverrideReenable::Bool end @@ -1795,7 +1883,7 @@ struct ImGuiDataTypeStorage end struct ImGuiNextItemData - Flags::ImGuiNextItemDataFlags + HasFlags::ImGuiNextItemDataFlags ItemFlags::ImGuiItemFlags FocusScopeId::ImGuiID SelectionUserData::ImGuiSelectionUserData @@ -1944,7 +2032,7 @@ const ImGuiTreeNodeFlags = Cint struct ImGuiTreeNodeStackData ID::ImGuiID TreeFlags::ImGuiTreeNodeFlags - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags NavRect::ImRect end @@ -1967,7 +2055,7 @@ struct ImGuiNavItemData ID::ImGuiID FocusScopeId::ImGuiID RectRel::ImRect - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags DistBox::Cfloat DistCenter::Cfloat DistAxial::Cfloat @@ -1980,6 +2068,7 @@ const ImGuiScrollFlags = Cint @cenum ImGuiKey::UInt32 begin ImGuiKey_None = 0 + ImGuiKey_NamedKey_BEGIN = 512 ImGuiKey_Tab = 512 ImGuiKey_LeftArrow = 513 ImGuiKey_RightArrow = 514 @@ -2134,18 +2223,14 @@ const ImGuiScrollFlags = Cint ImGuiKey_ReservedForModShift = 663 ImGuiKey_ReservedForModAlt = 664 ImGuiKey_ReservedForModSuper = 665 - ImGuiKey_COUNT = 666 + ImGuiKey_NamedKey_END = 666 ImGuiMod_None = 0 ImGuiMod_Ctrl = 4096 ImGuiMod_Shift = 8192 ImGuiMod_Alt = 16384 ImGuiMod_Super = 32768 ImGuiMod_Mask_ = 61440 - ImGuiKey_NamedKey_BEGIN = 512 - ImGuiKey_NamedKey_END = 666 ImGuiKey_NamedKey_COUNT = 154 - ImGuiKey_KeysData_SIZE = 154 - ImGuiKey_KeysData_OFFSET = 512 end const ImGuiDragDropFlags = Cint @@ -2800,11 +2885,11 @@ struct ImGuiInputTextState Ctx::Ptr{Cvoid} # Ctx::Ptr{ImGuiContext} Stb::Ptr{ImStbTexteditState} ID::ImGuiID - CurLenA::Cint + TextLen::Cint TextA::ImVector_char - InitialTextA::ImVector_char + TextToRevertTo::ImVector_char CallbackTextBackup::ImVector_char - BufCapacityA::Cint + BufCapacity::Cint Scroll::ImVec2 CursorAnim::Cfloat CursorFollow::Bool @@ -2940,16 +3025,13 @@ struct ImVector_ImGuiContextHook Data::Ptr{ImGuiContextHook} end -@cenum ImGuiLogType::UInt32 begin - ImGuiLogType_None = 0 - ImGuiLogType_TTY = 1 - ImGuiLogType_File = 2 - ImGuiLogType_Buffer = 3 - ImGuiLogType_Clipboard = 4 -end +const ImGuiLogFlags = Cint const ImFileHandle = Ptr{Libc.FILE} +# typedef void ( * ImGuiErrorCallback ) ( ImGuiContext * ctx , void * user_data , const char * msg ) +const ImGuiErrorCallback = Ptr{Cvoid} + const ImGuiDebugLogFlags = Cint struct ImVector_int @@ -3067,313 +3149,324 @@ struct ImGuiDebugAllocInfo end struct ImGuiContext - data::NTuple{10920, UInt8} + data::NTuple{11016, UInt8} end function Base.getproperty(x::Ptr{ImGuiContext}, f::Symbol) f === :Initialized && return Ptr{Bool}(x + 0) f === :FontAtlasOwnedByContext && return Ptr{Bool}(x + 1) f === :IO && return Ptr{ImGuiIO}(x + 8) - f === :PlatformIO && return Ptr{ImGuiPlatformIO}(x + 3008) - f === :Style && return Ptr{ImGuiStyle}(x + 3296) - f === :ConfigFlagsCurrFrame && return Ptr{ImGuiConfigFlags}(x + 4488) - f === :ConfigFlagsLastFrame && return Ptr{ImGuiConfigFlags}(x + 4492) - f === :Font && return Ptr{Ptr{ImFont}}(x + 4496) - f === :FontSize && return Ptr{Cfloat}(x + 4504) - f === :FontBaseSize && return Ptr{Cfloat}(x + 4508) - f === :FontScale && return Ptr{Cfloat}(x + 4512) - f === :CurrentDpiScale && return Ptr{Cfloat}(x + 4516) - f === :DrawListSharedData && return Ptr{ImDrawListSharedData}(x + 4520) - f === :Time && return Ptr{Cdouble}(x + 5056) - f === :FrameCount && return Ptr{Cint}(x + 5064) - f === :FrameCountEnded && return Ptr{Cint}(x + 5068) - f === :FrameCountPlatformEnded && return Ptr{Cint}(x + 5072) - f === :FrameCountRendered && return Ptr{Cint}(x + 5076) - f === :WithinFrameScope && return Ptr{Bool}(x + 5080) - f === :WithinFrameScopeWithImplicitWindow && return Ptr{Bool}(x + 5081) - f === :WithinEndChild && return Ptr{Bool}(x + 5082) - f === :GcCompactAll && return Ptr{Bool}(x + 5083) - f === :TestEngineHookItems && return Ptr{Bool}(x + 5084) - f === :TestEngine && return Ptr{Ptr{Cvoid}}(x + 5088) - f === :ContextName && return Ptr{NTuple{16, Cchar}}(x + 5096) - f === :InputEventsQueue && return Ptr{ImVector_ImGuiInputEvent}(x + 5112) - f === :InputEventsTrail && return Ptr{ImVector_ImGuiInputEvent}(x + 5128) - f === :InputEventsNextMouseSource && return Ptr{ImGuiMouseSource}(x + 5144) - f === :InputEventsNextEventId && return Ptr{ImU32}(x + 5148) - f === :Windows && return Ptr{ImVector_ImGuiWindowPtr}(x + 5152) - f === :WindowsFocusOrder && return Ptr{ImVector_ImGuiWindowPtr}(x + 5168) - f === :WindowsTempSortBuffer && return Ptr{ImVector_ImGuiWindowPtr}(x + 5184) - f === :CurrentWindowStack && return Ptr{ImVector_ImGuiWindowStackData}(x + 5200) - f === :WindowsById && return Ptr{ImGuiStorage}(x + 5216) - f === :WindowsActiveCount && return Ptr{Cint}(x + 5232) - f === :WindowsHoverPadding && return Ptr{ImVec2}(x + 5236) - f === :DebugBreakInWindow && return Ptr{ImGuiID}(x + 5244) - f === :CurrentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5248) - f === :HoveredWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5256) - f === :HoveredWindowUnderMovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5264) - f === :HoveredWindowBeforeClear && return Ptr{Ptr{ImGuiWindow}}(x + 5272) - f === :MovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5280) - f === :WheelingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5288) - f === :WheelingWindowRefMousePos && return Ptr{ImVec2}(x + 5296) - f === :WheelingWindowStartFrame && return Ptr{Cint}(x + 5304) - f === :WheelingWindowScrolledFrame && return Ptr{Cint}(x + 5308) - f === :WheelingWindowReleaseTimer && return Ptr{Cfloat}(x + 5312) - f === :WheelingWindowWheelRemainder && return Ptr{ImVec2}(x + 5316) - f === :WheelingAxisAvg && return Ptr{ImVec2}(x + 5324) - f === :DebugDrawIdConflicts && return Ptr{ImGuiID}(x + 5332) - f === :DebugHookIdInfo && return Ptr{ImGuiID}(x + 5336) - f === :HoveredId && return Ptr{ImGuiID}(x + 5340) - f === :HoveredIdPreviousFrame && return Ptr{ImGuiID}(x + 5344) - f === :HoveredIdPreviousFrameItemCount && return Ptr{Cint}(x + 5348) - f === :HoveredIdTimer && return Ptr{Cfloat}(x + 5352) - f === :HoveredIdNotActiveTimer && return Ptr{Cfloat}(x + 5356) - f === :HoveredIdAllowOverlap && return Ptr{Bool}(x + 5360) - f === :HoveredIdIsDisabled && return Ptr{Bool}(x + 5361) - f === :ItemUnclipByLog && return Ptr{Bool}(x + 5362) - f === :ActiveId && return Ptr{ImGuiID}(x + 5364) - f === :ActiveIdIsAlive && return Ptr{ImGuiID}(x + 5368) - f === :ActiveIdTimer && return Ptr{Cfloat}(x + 5372) - f === :ActiveIdIsJustActivated && return Ptr{Bool}(x + 5376) - f === :ActiveIdAllowOverlap && return Ptr{Bool}(x + 5377) - f === :ActiveIdNoClearOnFocusLoss && return Ptr{Bool}(x + 5378) - f === :ActiveIdHasBeenPressedBefore && return Ptr{Bool}(x + 5379) - f === :ActiveIdHasBeenEditedBefore && return Ptr{Bool}(x + 5380) - f === :ActiveIdHasBeenEditedThisFrame && return Ptr{Bool}(x + 5381) - f === :ActiveIdFromShortcut && return Ptr{Bool}(x + 5382) - f === :ActiveIdMouseButton && return (Ptr{Cint}(x + 5380), 24, 8) - f === :ActiveIdClickOffset && return Ptr{ImVec2}(x + 5384) - f === :ActiveIdWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5392) - f === :ActiveIdSource && return Ptr{ImGuiInputSource}(x + 5400) - f === :ActiveIdPreviousFrame && return Ptr{ImGuiID}(x + 5404) - f === :ActiveIdPreviousFrameIsAlive && return Ptr{Bool}(x + 5408) - f === :ActiveIdPreviousFrameHasBeenEditedBefore && return Ptr{Bool}(x + 5409) - f === :ActiveIdPreviousFrameWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5416) - f === :LastActiveId && return Ptr{ImGuiID}(x + 5424) - f === :LastActiveIdTimer && return Ptr{Cfloat}(x + 5428) - f === :LastKeyModsChangeTime && return Ptr{Cdouble}(x + 5432) - f === :LastKeyModsChangeFromNoneTime && return Ptr{Cdouble}(x + 5440) - f === :LastKeyboardKeyPressTime && return Ptr{Cdouble}(x + 5448) - f === :KeysMayBeCharInput && return Ptr{ImBitArrayForNamedKeys}(x + 5456) - f === :KeysOwnerData && return Ptr{NTuple{154, ImGuiKeyOwnerData}}(x + 5476) - f === :KeysRoutingTable && return Ptr{ImGuiKeyRoutingTable}(x + 7328) - f === :ActiveIdUsingNavDirMask && return Ptr{ImU32}(x + 7672) - f === :ActiveIdUsingAllKeyboardKeys && return Ptr{Bool}(x + 7676) - f === :DebugBreakInShortcutRouting && return Ptr{ImGuiKeyChord}(x + 7680) - f === :CurrentFocusScopeId && return Ptr{ImGuiID}(x + 7684) - f === :CurrentItemFlags && return Ptr{ImGuiItemFlags}(x + 7688) - f === :DebugLocateId && return Ptr{ImGuiID}(x + 7692) - f === :NextItemData && return Ptr{ImGuiNextItemData}(x + 7696) - f === :LastItemData && return Ptr{ImGuiLastItemData}(x + 7752) - f === :NextWindowData && return Ptr{ImGuiNextWindowData}(x + 7832) - f === :DebugShowGroupRects && return Ptr{Bool}(x + 7992) - f === :DebugFlashStyleColorIdx && return Ptr{ImGuiCol}(x + 7996) - f === :ColorStack && return Ptr{ImVector_ImGuiColorMod}(x + 8000) - f === :StyleVarStack && return Ptr{ImVector_ImGuiStyleMod}(x + 8016) - f === :FontStack && return Ptr{ImVector_ImFontPtr}(x + 8032) - f === :FocusScopeStack && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8048) - f === :ItemFlagsStack && return Ptr{ImVector_ImGuiItemFlags}(x + 8064) - f === :GroupStack && return Ptr{ImVector_ImGuiGroupData}(x + 8080) - f === :OpenPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8096) - f === :BeginPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8112) - f === :TreeNodeStack && return Ptr{ImVector_ImGuiTreeNodeStackData}(x + 8128) - f === :Viewports && return Ptr{ImVector_ImGuiViewportPPtr}(x + 8144) - f === :CurrentViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8160) - f === :MouseViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8168) - f === :MouseLastHoveredViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8176) - f === :PlatformLastFocusedViewportId && return Ptr{ImGuiID}(x + 8184) - f === :FallbackMonitor && return Ptr{ImGuiPlatformMonitor}(x + 8192) - f === :PlatformMonitorsFullWorkRect && return Ptr{ImRect}(x + 8240) - f === :ViewportCreatedCount && return Ptr{Cint}(x + 8256) - f === :PlatformWindowsCreatedCount && return Ptr{Cint}(x + 8260) - f === :ViewportFocusedStampCount && return Ptr{Cint}(x + 8264) - f === :NavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8272) - f === :NavId && return Ptr{ImGuiID}(x + 8280) - f === :NavFocusScopeId && return Ptr{ImGuiID}(x + 8284) - f === :NavLayer && return Ptr{ImGuiNavLayer}(x + 8288) - f === :NavActivateId && return Ptr{ImGuiID}(x + 8292) - f === :NavActivateDownId && return Ptr{ImGuiID}(x + 8296) - f === :NavActivatePressedId && return Ptr{ImGuiID}(x + 8300) - f === :NavActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8304) - f === :NavFocusRoute && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8312) - f === :NavHighlightActivatedId && return Ptr{ImGuiID}(x + 8328) - f === :NavHighlightActivatedTimer && return Ptr{Cfloat}(x + 8332) - f === :NavNextActivateId && return Ptr{ImGuiID}(x + 8336) - f === :NavNextActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8340) - f === :NavInputSource && return Ptr{ImGuiInputSource}(x + 8344) - f === :NavLastValidSelectionUserData && return Ptr{ImGuiSelectionUserData}(x + 8352) - f === :NavIdIsAlive && return Ptr{Bool}(x + 8360) - f === :NavMousePosDirty && return Ptr{Bool}(x + 8361) - f === :NavDisableHighlight && return Ptr{Bool}(x + 8362) - f === :NavDisableMouseHover && return Ptr{Bool}(x + 8363) - f === :NavAnyRequest && return Ptr{Bool}(x + 8364) - f === :NavInitRequest && return Ptr{Bool}(x + 8365) - f === :NavInitRequestFromMove && return Ptr{Bool}(x + 8366) - f === :NavInitResult && return Ptr{ImGuiNavItemData}(x + 8368) - f === :NavMoveSubmitted && return Ptr{Bool}(x + 8424) - f === :NavMoveScoringItems && return Ptr{Bool}(x + 8425) - f === :NavMoveForwardToNextFrame && return Ptr{Bool}(x + 8426) - f === :NavMoveFlags && return Ptr{ImGuiNavMoveFlags}(x + 8428) - f === :NavMoveScrollFlags && return Ptr{ImGuiScrollFlags}(x + 8432) - f === :NavMoveKeyMods && return Ptr{ImGuiKeyChord}(x + 8436) - f === :NavMoveDir && return Ptr{ImGuiDir}(x + 8440) - f === :NavMoveDirForDebug && return Ptr{ImGuiDir}(x + 8444) - f === :NavMoveClipDir && return Ptr{ImGuiDir}(x + 8448) - f === :NavScoringRect && return Ptr{ImRect}(x + 8452) - f === :NavScoringNoClipRect && return Ptr{ImRect}(x + 8468) - f === :NavScoringDebugCount && return Ptr{Cint}(x + 8484) - f === :NavTabbingDir && return Ptr{Cint}(x + 8488) - f === :NavTabbingCounter && return Ptr{Cint}(x + 8492) - f === :NavMoveResultLocal && return Ptr{ImGuiNavItemData}(x + 8496) - f === :NavMoveResultLocalVisible && return Ptr{ImGuiNavItemData}(x + 8552) - f === :NavMoveResultOther && return Ptr{ImGuiNavItemData}(x + 8608) - f === :NavTabbingResultFirst && return Ptr{ImGuiNavItemData}(x + 8664) - f === :NavJustMovedFromFocusScopeId && return Ptr{ImGuiID}(x + 8720) - f === :NavJustMovedToId && return Ptr{ImGuiID}(x + 8724) - f === :NavJustMovedToFocusScopeId && return Ptr{ImGuiID}(x + 8728) - f === :NavJustMovedToKeyMods && return Ptr{ImGuiKeyChord}(x + 8732) - f === :NavJustMovedToIsTabbing && return Ptr{Bool}(x + 8736) - f === :NavJustMovedToHasSelectionData && return Ptr{Bool}(x + 8737) - f === :ConfigNavWindowingKeyNext && return Ptr{ImGuiKeyChord}(x + 8740) - f === :ConfigNavWindowingKeyPrev && return Ptr{ImGuiKeyChord}(x + 8744) - f === :NavWindowingTarget && return Ptr{Ptr{ImGuiWindow}}(x + 8752) - f === :NavWindowingTargetAnim && return Ptr{Ptr{ImGuiWindow}}(x + 8760) - f === :NavWindowingListWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8768) - f === :NavWindowingTimer && return Ptr{Cfloat}(x + 8776) - f === :NavWindowingHighlightAlpha && return Ptr{Cfloat}(x + 8780) - f === :NavWindowingToggleLayer && return Ptr{Bool}(x + 8784) - f === :NavWindowingToggleKey && return Ptr{ImGuiKey}(x + 8788) - f === :NavWindowingAccumDeltaPos && return Ptr{ImVec2}(x + 8792) - f === :NavWindowingAccumDeltaSize && return Ptr{ImVec2}(x + 8800) - f === :DimBgRatio && return Ptr{Cfloat}(x + 8808) - f === :DragDropActive && return Ptr{Bool}(x + 8812) - f === :DragDropWithinSource && return Ptr{Bool}(x + 8813) - f === :DragDropWithinTarget && return Ptr{Bool}(x + 8814) - f === :DragDropSourceFlags && return Ptr{ImGuiDragDropFlags}(x + 8816) - f === :DragDropSourceFrameCount && return Ptr{Cint}(x + 8820) - f === :DragDropMouseButton && return Ptr{Cint}(x + 8824) - f === :DragDropPayload && return Ptr{ImGuiPayload}(x + 8832) - f === :DragDropTargetRect && return Ptr{ImRect}(x + 8896) - f === :DragDropTargetClipRect && return Ptr{ImRect}(x + 8912) - f === :DragDropTargetId && return Ptr{ImGuiID}(x + 8928) - f === :DragDropAcceptFlags && return Ptr{ImGuiDragDropFlags}(x + 8932) - f === :DragDropAcceptIdCurrRectSurface && return Ptr{Cfloat}(x + 8936) - f === :DragDropAcceptIdCurr && return Ptr{ImGuiID}(x + 8940) - f === :DragDropAcceptIdPrev && return Ptr{ImGuiID}(x + 8944) - f === :DragDropAcceptFrameCount && return Ptr{Cint}(x + 8948) - f === :DragDropHoldJustPressedId && return Ptr{ImGuiID}(x + 8952) - f === :DragDropPayloadBufHeap && return Ptr{ImVector_unsigned_char}(x + 8960) - f === :DragDropPayloadBufLocal && return Ptr{NTuple{16, Cuchar}}(x + 8976) - f === :ClipperTempDataStacked && return Ptr{Cint}(x + 8992) - f === :ClipperTempData && return Ptr{ImVector_ImGuiListClipperData}(x + 9000) - f === :CurrentTable && return Ptr{Ptr{ImGuiTable}}(x + 9016) - f === :DebugBreakInTable && return Ptr{ImGuiID}(x + 9024) - f === :TablesTempDataStacked && return Ptr{Cint}(x + 9028) - f === :TablesTempData && return Ptr{ImVector_ImGuiTableTempData}(x + 9032) - f === :Tables && return Ptr{ImPool_ImGuiTable}(x + 9048) - f === :TablesLastTimeActive && return Ptr{ImVector_float}(x + 9088) - f === :DrawChannelsTempMergeBuffer && return Ptr{ImVector_ImDrawChannel}(x + 9104) - f === :CurrentTabBar && return Ptr{Ptr{ImGuiTabBar}}(x + 9120) - f === :TabBars && return Ptr{ImPool_ImGuiTabBar}(x + 9128) - f === :CurrentTabBarStack && return Ptr{ImVector_ImGuiPtrOrIndex}(x + 9168) - f === :ShrinkWidthBuffer && return Ptr{ImVector_ImGuiShrinkWidthItem}(x + 9184) - f === :BoxSelectState && return Ptr{ImGuiBoxSelectState}(x + 9200) - f === :CurrentMultiSelect && return Ptr{Ptr{ImGuiMultiSelectTempData}}(x + 9304) - f === :MultiSelectTempDataStacked && return Ptr{Cint}(x + 9312) - f === :MultiSelectTempData && return Ptr{ImVector_ImGuiMultiSelectTempData}(x + 9320) - f === :MultiSelectStorage && return Ptr{ImPool_ImGuiMultiSelectState}(x + 9336) - f === :HoverItemDelayId && return Ptr{ImGuiID}(x + 9376) - f === :HoverItemDelayIdPreviousFrame && return Ptr{ImGuiID}(x + 9380) - f === :HoverItemDelayTimer && return Ptr{Cfloat}(x + 9384) - f === :HoverItemDelayClearTimer && return Ptr{Cfloat}(x + 9388) - f === :HoverItemUnlockedStationaryId && return Ptr{ImGuiID}(x + 9392) - f === :HoverWindowUnlockedStationaryId && return Ptr{ImGuiID}(x + 9396) - f === :MouseCursor && return Ptr{ImGuiMouseCursor}(x + 9400) - f === :MouseStationaryTimer && return Ptr{Cfloat}(x + 9404) - f === :MouseLastValidPos && return Ptr{ImVec2}(x + 9408) - f === :InputTextState && return Ptr{ImGuiInputTextState}(x + 9416) - f === :InputTextDeactivatedState && return Ptr{ImGuiInputTextDeactivatedState}(x + 9528) - f === :InputTextPasswordFont && return Ptr{ImFont}(x + 9552) - f === :TempInputId && return Ptr{ImGuiID}(x + 9672) - f === :DataTypeZeroValue && return Ptr{ImGuiDataTypeStorage}(x + 9676) - f === :BeginMenuDepth && return Ptr{Cint}(x + 9684) - f === :BeginComboDepth && return Ptr{Cint}(x + 9688) - f === :ColorEditOptions && return Ptr{ImGuiColorEditFlags}(x + 9692) - f === :ColorEditCurrentID && return Ptr{ImGuiID}(x + 9696) - f === :ColorEditSavedID && return Ptr{ImGuiID}(x + 9700) - f === :ColorEditSavedHue && return Ptr{Cfloat}(x + 9704) - f === :ColorEditSavedSat && return Ptr{Cfloat}(x + 9708) - f === :ColorEditSavedColor && return Ptr{ImU32}(x + 9712) - f === :ColorPickerRef && return Ptr{ImVec4}(x + 9716) - f === :ComboPreviewData && return Ptr{ImGuiComboPreviewData}(x + 9732) - f === :WindowResizeBorderExpectedRect && return Ptr{ImRect}(x + 9780) - f === :WindowResizeRelativeMode && return Ptr{Bool}(x + 9796) - f === :ScrollbarSeekMode && return Ptr{Cshort}(x + 9798) - f === :ScrollbarClickDeltaToGrabCenter && return Ptr{Cfloat}(x + 9800) - f === :SliderGrabClickOffset && return Ptr{Cfloat}(x + 9804) - f === :SliderCurrentAccum && return Ptr{Cfloat}(x + 9808) - f === :SliderCurrentAccumDirty && return Ptr{Bool}(x + 9812) - f === :DragCurrentAccumDirty && return Ptr{Bool}(x + 9813) - f === :DragCurrentAccum && return Ptr{Cfloat}(x + 9816) - f === :DragSpeedDefaultRatio && return Ptr{Cfloat}(x + 9820) - f === :DisabledAlphaBackup && return Ptr{Cfloat}(x + 9824) - f === :DisabledStackSize && return Ptr{Cshort}(x + 9828) - f === :LockMarkEdited && return Ptr{Cshort}(x + 9830) - f === :TooltipOverrideCount && return Ptr{Cshort}(x + 9832) - f === :ClipboardHandlerData && return Ptr{ImVector_char}(x + 9840) - f === :MenusIdSubmittedThisFrame && return Ptr{ImVector_ImGuiID}(x + 9856) - f === :TypingSelectState && return Ptr{ImGuiTypingSelectState}(x + 9872) - f === :PlatformImeData && return Ptr{ImGuiPlatformImeData}(x + 9976) - f === :PlatformImeDataPrev && return Ptr{ImGuiPlatformImeData}(x + 9992) - f === :PlatformImeViewport && return Ptr{ImGuiID}(x + 10008) - f === :DockContext && return Ptr{ImGuiDockContext}(x + 10016) - f === :DockNodeWindowMenuHandler && return Ptr{Ptr{Cvoid}}(x + 10072) - f === :SettingsLoaded && return Ptr{Bool}(x + 10080) - f === :SettingsDirtyTimer && return Ptr{Cfloat}(x + 10084) - f === :SettingsIniData && return Ptr{ImGuiTextBuffer}(x + 10088) - f === :SettingsHandlers && return Ptr{ImVector_ImGuiSettingsHandler}(x + 10104) - f === :SettingsWindows && return Ptr{ImChunkStream_ImGuiWindowSettings}(x + 10120) - f === :SettingsTables && return Ptr{ImChunkStream_ImGuiTableSettings}(x + 10136) - f === :Hooks && return Ptr{ImVector_ImGuiContextHook}(x + 10152) - f === :HookIdNext && return Ptr{ImGuiID}(x + 10168) - f === :LocalizationTable && return Ptr{NTuple{13, Ptr{Cchar}}}(x + 10176) - f === :LogEnabled && return Ptr{Bool}(x + 10280) - f === :LogType && return Ptr{ImGuiLogType}(x + 10284) - f === :LogFile && return Ptr{ImFileHandle}(x + 10288) - f === :LogBuffer && return Ptr{ImGuiTextBuffer}(x + 10296) - f === :LogNextPrefix && return Ptr{Ptr{Cchar}}(x + 10312) - f === :LogNextSuffix && return Ptr{Ptr{Cchar}}(x + 10320) - f === :LogLinePosY && return Ptr{Cfloat}(x + 10328) - f === :LogLineFirstItem && return Ptr{Bool}(x + 10332) - f === :LogDepthRef && return Ptr{Cint}(x + 10336) - f === :LogDepthToExpand && return Ptr{Cint}(x + 10340) - f === :LogDepthToExpandDefault && return Ptr{Cint}(x + 10344) - f === :DebugLogFlags && return Ptr{ImGuiDebugLogFlags}(x + 10348) - f === :DebugLogBuf && return Ptr{ImGuiTextBuffer}(x + 10352) - f === :DebugLogIndex && return Ptr{ImGuiTextIndex}(x + 10368) - f === :DebugLogAutoDisableFlags && return Ptr{ImGuiDebugLogFlags}(x + 10392) - f === :DebugLogAutoDisableFrames && return Ptr{ImU8}(x + 10396) - f === :DebugLocateFrames && return Ptr{ImU8}(x + 10397) - f === :DebugBreakInLocateId && return Ptr{Bool}(x + 10398) - f === :DebugBreakKeyChord && return Ptr{ImGuiKeyChord}(x + 10400) - f === :DebugBeginReturnValueCullDepth && return Ptr{ImS8}(x + 10404) - f === :DebugItemPickerActive && return Ptr{Bool}(x + 10405) - f === :DebugItemPickerMouseButton && return Ptr{ImU8}(x + 10406) - f === :DebugItemPickerBreakId && return Ptr{ImGuiID}(x + 10408) - f === :DebugFlashStyleColorTime && return Ptr{Cfloat}(x + 10412) - f === :DebugFlashStyleColorBackup && return Ptr{ImVec4}(x + 10416) - f === :DebugMetricsConfig && return Ptr{ImGuiMetricsConfig}(x + 10432) - f === :DebugIDStackTool && return Ptr{ImGuiIDStackTool}(x + 10464) - f === :DebugAllocInfo && return Ptr{ImGuiDebugAllocInfo}(x + 10504) - f === :DebugHoveredDockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 10568) - f === :FramerateSecPerFrame && return Ptr{NTuple{60, Cfloat}}(x + 10576) - f === :FramerateSecPerFrameIdx && return Ptr{Cint}(x + 10816) - f === :FramerateSecPerFrameCount && return Ptr{Cint}(x + 10820) - f === :FramerateSecPerFrameAccum && return Ptr{Cfloat}(x + 10824) - f === :WantCaptureMouseNextFrame && return Ptr{Cint}(x + 10828) - f === :WantCaptureKeyboardNextFrame && return Ptr{Cint}(x + 10832) - f === :WantTextInputNextFrame && return Ptr{Cint}(x + 10836) - f === :TempBuffer && return Ptr{ImVector_char}(x + 10840) - f === :TempKeychordName && return Ptr{NTuple{64, Cchar}}(x + 10856) + f === :PlatformIO && return Ptr{ImGuiPlatformIO}(x + 3016) + f === :Style && return Ptr{ImGuiStyle}(x + 3312) + f === :ConfigFlagsCurrFrame && return Ptr{ImGuiConfigFlags}(x + 4504) + f === :ConfigFlagsLastFrame && return Ptr{ImGuiConfigFlags}(x + 4508) + f === :Font && return Ptr{Ptr{ImFont}}(x + 4512) + f === :FontSize && return Ptr{Cfloat}(x + 4520) + f === :FontBaseSize && return Ptr{Cfloat}(x + 4524) + f === :FontScale && return Ptr{Cfloat}(x + 4528) + f === :CurrentDpiScale && return Ptr{Cfloat}(x + 4532) + f === :DrawListSharedData && return Ptr{ImDrawListSharedData}(x + 4536) + f === :Time && return Ptr{Cdouble}(x + 5072) + f === :FrameCount && return Ptr{Cint}(x + 5080) + f === :FrameCountEnded && return Ptr{Cint}(x + 5084) + f === :FrameCountPlatformEnded && return Ptr{Cint}(x + 5088) + f === :FrameCountRendered && return Ptr{Cint}(x + 5092) + f === :WithinFrameScope && return Ptr{Bool}(x + 5096) + f === :WithinFrameScopeWithImplicitWindow && return Ptr{Bool}(x + 5097) + f === :WithinEndChild && return Ptr{Bool}(x + 5098) + f === :GcCompactAll && return Ptr{Bool}(x + 5099) + f === :TestEngineHookItems && return Ptr{Bool}(x + 5100) + f === :TestEngine && return Ptr{Ptr{Cvoid}}(x + 5104) + f === :ContextName && return Ptr{NTuple{16, Cchar}}(x + 5112) + f === :InputEventsQueue && return Ptr{ImVector_ImGuiInputEvent}(x + 5128) + f === :InputEventsTrail && return Ptr{ImVector_ImGuiInputEvent}(x + 5144) + f === :InputEventsNextMouseSource && return Ptr{ImGuiMouseSource}(x + 5160) + f === :InputEventsNextEventId && return Ptr{ImU32}(x + 5164) + f === :Windows && return Ptr{ImVector_ImGuiWindowPtr}(x + 5168) + f === :WindowsFocusOrder && return Ptr{ImVector_ImGuiWindowPtr}(x + 5184) + f === :WindowsTempSortBuffer && return Ptr{ImVector_ImGuiWindowPtr}(x + 5200) + f === :CurrentWindowStack && return Ptr{ImVector_ImGuiWindowStackData}(x + 5216) + f === :WindowsById && return Ptr{ImGuiStorage}(x + 5232) + f === :WindowsActiveCount && return Ptr{Cint}(x + 5248) + f === :WindowsHoverPadding && return Ptr{ImVec2}(x + 5252) + f === :DebugBreakInWindow && return Ptr{ImGuiID}(x + 5260) + f === :CurrentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5264) + f === :HoveredWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5272) + f === :HoveredWindowUnderMovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5280) + f === :HoveredWindowBeforeClear && return Ptr{Ptr{ImGuiWindow}}(x + 5288) + f === :MovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5296) + f === :WheelingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5304) + f === :WheelingWindowRefMousePos && return Ptr{ImVec2}(x + 5312) + f === :WheelingWindowStartFrame && return Ptr{Cint}(x + 5320) + f === :WheelingWindowScrolledFrame && return Ptr{Cint}(x + 5324) + f === :WheelingWindowReleaseTimer && return Ptr{Cfloat}(x + 5328) + f === :WheelingWindowWheelRemainder && return Ptr{ImVec2}(x + 5332) + f === :WheelingAxisAvg && return Ptr{ImVec2}(x + 5340) + f === :DebugDrawIdConflicts && return Ptr{ImGuiID}(x + 5348) + f === :DebugHookIdInfo && return Ptr{ImGuiID}(x + 5352) + f === :HoveredId && return Ptr{ImGuiID}(x + 5356) + f === :HoveredIdPreviousFrame && return Ptr{ImGuiID}(x + 5360) + f === :HoveredIdPreviousFrameItemCount && return Ptr{Cint}(x + 5364) + f === :HoveredIdTimer && return Ptr{Cfloat}(x + 5368) + f === :HoveredIdNotActiveTimer && return Ptr{Cfloat}(x + 5372) + f === :HoveredIdAllowOverlap && return Ptr{Bool}(x + 5376) + f === :HoveredIdIsDisabled && return Ptr{Bool}(x + 5377) + f === :ItemUnclipByLog && return Ptr{Bool}(x + 5378) + f === :ActiveId && return Ptr{ImGuiID}(x + 5380) + f === :ActiveIdIsAlive && return Ptr{ImGuiID}(x + 5384) + f === :ActiveIdTimer && return Ptr{Cfloat}(x + 5388) + f === :ActiveIdIsJustActivated && return Ptr{Bool}(x + 5392) + f === :ActiveIdAllowOverlap && return Ptr{Bool}(x + 5393) + f === :ActiveIdNoClearOnFocusLoss && return Ptr{Bool}(x + 5394) + f === :ActiveIdHasBeenPressedBefore && return Ptr{Bool}(x + 5395) + f === :ActiveIdHasBeenEditedBefore && return Ptr{Bool}(x + 5396) + f === :ActiveIdHasBeenEditedThisFrame && return Ptr{Bool}(x + 5397) + f === :ActiveIdFromShortcut && return Ptr{Bool}(x + 5398) + f === :ActiveIdMouseButton && return (Ptr{Cint}(x + 5396), 24, 8) + f === :ActiveIdClickOffset && return Ptr{ImVec2}(x + 5400) + f === :ActiveIdWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5408) + f === :ActiveIdSource && return Ptr{ImGuiInputSource}(x + 5416) + f === :ActiveIdPreviousFrame && return Ptr{ImGuiID}(x + 5420) + f === :ActiveIdPreviousFrameIsAlive && return Ptr{Bool}(x + 5424) + f === :ActiveIdPreviousFrameHasBeenEditedBefore && return Ptr{Bool}(x + 5425) + f === :ActiveIdPreviousFrameWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5432) + f === :LastActiveId && return Ptr{ImGuiID}(x + 5440) + f === :LastActiveIdTimer && return Ptr{Cfloat}(x + 5444) + f === :LastKeyModsChangeTime && return Ptr{Cdouble}(x + 5448) + f === :LastKeyModsChangeFromNoneTime && return Ptr{Cdouble}(x + 5456) + f === :LastKeyboardKeyPressTime && return Ptr{Cdouble}(x + 5464) + f === :KeysMayBeCharInput && return Ptr{ImBitArrayForNamedKeys}(x + 5472) + f === :KeysOwnerData && return Ptr{NTuple{154, ImGuiKeyOwnerData}}(x + 5492) + f === :KeysRoutingTable && return Ptr{ImGuiKeyRoutingTable}(x + 7344) + f === :ActiveIdUsingNavDirMask && return Ptr{ImU32}(x + 7688) + f === :ActiveIdUsingAllKeyboardKeys && return Ptr{Bool}(x + 7692) + f === :DebugBreakInShortcutRouting && return Ptr{ImGuiKeyChord}(x + 7696) + f === :CurrentFocusScopeId && return Ptr{ImGuiID}(x + 7700) + f === :CurrentItemFlags && return Ptr{ImGuiItemFlags}(x + 7704) + f === :DebugLocateId && return Ptr{ImGuiID}(x + 7708) + f === :NextItemData && return Ptr{ImGuiNextItemData}(x + 7712) + f === :LastItemData && return Ptr{ImGuiLastItemData}(x + 7768) + f === :NextWindowData && return Ptr{ImGuiNextWindowData}(x + 7848) + f === :DebugShowGroupRects && return Ptr{Bool}(x + 8008) + f === :DebugFlashStyleColorIdx && return Ptr{ImGuiCol}(x + 8012) + f === :ColorStack && return Ptr{ImVector_ImGuiColorMod}(x + 8016) + f === :StyleVarStack && return Ptr{ImVector_ImGuiStyleMod}(x + 8032) + f === :FontStack && return Ptr{ImVector_ImFontPtr}(x + 8048) + f === :FocusScopeStack && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8064) + f === :ItemFlagsStack && return Ptr{ImVector_ImGuiItemFlags}(x + 8080) + f === :GroupStack && return Ptr{ImVector_ImGuiGroupData}(x + 8096) + f === :OpenPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8112) + f === :BeginPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8128) + f === :TreeNodeStack && return Ptr{ImVector_ImGuiTreeNodeStackData}(x + 8144) + f === :Viewports && return Ptr{ImVector_ImGuiViewportPPtr}(x + 8160) + f === :CurrentViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8176) + f === :MouseViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8184) + f === :MouseLastHoveredViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8192) + f === :PlatformLastFocusedViewportId && return Ptr{ImGuiID}(x + 8200) + f === :FallbackMonitor && return Ptr{ImGuiPlatformMonitor}(x + 8208) + f === :PlatformMonitorsFullWorkRect && return Ptr{ImRect}(x + 8256) + f === :ViewportCreatedCount && return Ptr{Cint}(x + 8272) + f === :PlatformWindowsCreatedCount && return Ptr{Cint}(x + 8276) + f === :ViewportFocusedStampCount && return Ptr{Cint}(x + 8280) + f === :NavCursorVisible && return Ptr{Bool}(x + 8284) + f === :NavHighlightItemUnderNav && return Ptr{Bool}(x + 8285) + f === :NavMousePosDirty && return Ptr{Bool}(x + 8286) + f === :NavIdIsAlive && return Ptr{Bool}(x + 8287) + f === :NavId && return Ptr{ImGuiID}(x + 8288) + f === :NavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8296) + f === :NavFocusScopeId && return Ptr{ImGuiID}(x + 8304) + f === :NavLayer && return Ptr{ImGuiNavLayer}(x + 8308) + f === :NavActivateId && return Ptr{ImGuiID}(x + 8312) + f === :NavActivateDownId && return Ptr{ImGuiID}(x + 8316) + f === :NavActivatePressedId && return Ptr{ImGuiID}(x + 8320) + f === :NavActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8324) + f === :NavFocusRoute && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8328) + f === :NavHighlightActivatedId && return Ptr{ImGuiID}(x + 8344) + f === :NavHighlightActivatedTimer && return Ptr{Cfloat}(x + 8348) + f === :NavNextActivateId && return Ptr{ImGuiID}(x + 8352) + f === :NavNextActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8356) + f === :NavInputSource && return Ptr{ImGuiInputSource}(x + 8360) + f === :NavLastValidSelectionUserData && return Ptr{ImGuiSelectionUserData}(x + 8368) + f === :NavCursorHideFrames && return Ptr{ImS8}(x + 8376) + f === :NavAnyRequest && return Ptr{Bool}(x + 8377) + f === :NavInitRequest && return Ptr{Bool}(x + 8378) + f === :NavInitRequestFromMove && return Ptr{Bool}(x + 8379) + f === :NavInitResult && return Ptr{ImGuiNavItemData}(x + 8384) + f === :NavMoveSubmitted && return Ptr{Bool}(x + 8440) + f === :NavMoveScoringItems && return Ptr{Bool}(x + 8441) + f === :NavMoveForwardToNextFrame && return Ptr{Bool}(x + 8442) + f === :NavMoveFlags && return Ptr{ImGuiNavMoveFlags}(x + 8444) + f === :NavMoveScrollFlags && return Ptr{ImGuiScrollFlags}(x + 8448) + f === :NavMoveKeyMods && return Ptr{ImGuiKeyChord}(x + 8452) + f === :NavMoveDir && return Ptr{ImGuiDir}(x + 8456) + f === :NavMoveDirForDebug && return Ptr{ImGuiDir}(x + 8460) + f === :NavMoveClipDir && return Ptr{ImGuiDir}(x + 8464) + f === :NavScoringRect && return Ptr{ImRect}(x + 8468) + f === :NavScoringNoClipRect && return Ptr{ImRect}(x + 8484) + f === :NavScoringDebugCount && return Ptr{Cint}(x + 8500) + f === :NavTabbingDir && return Ptr{Cint}(x + 8504) + f === :NavTabbingCounter && return Ptr{Cint}(x + 8508) + f === :NavMoveResultLocal && return Ptr{ImGuiNavItemData}(x + 8512) + f === :NavMoveResultLocalVisible && return Ptr{ImGuiNavItemData}(x + 8568) + f === :NavMoveResultOther && return Ptr{ImGuiNavItemData}(x + 8624) + f === :NavTabbingResultFirst && return Ptr{ImGuiNavItemData}(x + 8680) + f === :NavJustMovedFromFocusScopeId && return Ptr{ImGuiID}(x + 8736) + f === :NavJustMovedToId && return Ptr{ImGuiID}(x + 8740) + f === :NavJustMovedToFocusScopeId && return Ptr{ImGuiID}(x + 8744) + f === :NavJustMovedToKeyMods && return Ptr{ImGuiKeyChord}(x + 8748) + f === :NavJustMovedToIsTabbing && return Ptr{Bool}(x + 8752) + f === :NavJustMovedToHasSelectionData && return Ptr{Bool}(x + 8753) + f === :ConfigNavWindowingKeyNext && return Ptr{ImGuiKeyChord}(x + 8756) + f === :ConfigNavWindowingKeyPrev && return Ptr{ImGuiKeyChord}(x + 8760) + f === :NavWindowingTarget && return Ptr{Ptr{ImGuiWindow}}(x + 8768) + f === :NavWindowingTargetAnim && return Ptr{Ptr{ImGuiWindow}}(x + 8776) + f === :NavWindowingListWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8784) + f === :NavWindowingTimer && return Ptr{Cfloat}(x + 8792) + f === :NavWindowingHighlightAlpha && return Ptr{Cfloat}(x + 8796) + f === :NavWindowingToggleLayer && return Ptr{Bool}(x + 8800) + f === :NavWindowingToggleKey && return Ptr{ImGuiKey}(x + 8804) + f === :NavWindowingAccumDeltaPos && return Ptr{ImVec2}(x + 8808) + f === :NavWindowingAccumDeltaSize && return Ptr{ImVec2}(x + 8816) + f === :DimBgRatio && return Ptr{Cfloat}(x + 8824) + f === :DragDropActive && return Ptr{Bool}(x + 8828) + f === :DragDropWithinSource && return Ptr{Bool}(x + 8829) + f === :DragDropWithinTarget && return Ptr{Bool}(x + 8830) + f === :DragDropSourceFlags && return Ptr{ImGuiDragDropFlags}(x + 8832) + f === :DragDropSourceFrameCount && return Ptr{Cint}(x + 8836) + f === :DragDropMouseButton && return Ptr{Cint}(x + 8840) + f === :DragDropPayload && return Ptr{ImGuiPayload}(x + 8848) + f === :DragDropTargetRect && return Ptr{ImRect}(x + 8912) + f === :DragDropTargetClipRect && return Ptr{ImRect}(x + 8928) + f === :DragDropTargetId && return Ptr{ImGuiID}(x + 8944) + f === :DragDropAcceptFlags && return Ptr{ImGuiDragDropFlags}(x + 8948) + f === :DragDropAcceptIdCurrRectSurface && return Ptr{Cfloat}(x + 8952) + f === :DragDropAcceptIdCurr && return Ptr{ImGuiID}(x + 8956) + f === :DragDropAcceptIdPrev && return Ptr{ImGuiID}(x + 8960) + f === :DragDropAcceptFrameCount && return Ptr{Cint}(x + 8964) + f === :DragDropHoldJustPressedId && return Ptr{ImGuiID}(x + 8968) + f === :DragDropPayloadBufHeap && return Ptr{ImVector_unsigned_char}(x + 8976) + f === :DragDropPayloadBufLocal && return Ptr{NTuple{16, Cuchar}}(x + 8992) + f === :ClipperTempDataStacked && return Ptr{Cint}(x + 9008) + f === :ClipperTempData && return Ptr{ImVector_ImGuiListClipperData}(x + 9016) + f === :CurrentTable && return Ptr{Ptr{ImGuiTable}}(x + 9032) + f === :DebugBreakInTable && return Ptr{ImGuiID}(x + 9040) + f === :TablesTempDataStacked && return Ptr{Cint}(x + 9044) + f === :TablesTempData && return Ptr{ImVector_ImGuiTableTempData}(x + 9048) + f === :Tables && return Ptr{ImPool_ImGuiTable}(x + 9064) + f === :TablesLastTimeActive && return Ptr{ImVector_float}(x + 9104) + f === :DrawChannelsTempMergeBuffer && return Ptr{ImVector_ImDrawChannel}(x + 9120) + f === :CurrentTabBar && return Ptr{Ptr{ImGuiTabBar}}(x + 9136) + f === :TabBars && return Ptr{ImPool_ImGuiTabBar}(x + 9144) + f === :CurrentTabBarStack && return Ptr{ImVector_ImGuiPtrOrIndex}(x + 9184) + f === :ShrinkWidthBuffer && return Ptr{ImVector_ImGuiShrinkWidthItem}(x + 9200) + f === :BoxSelectState && return Ptr{ImGuiBoxSelectState}(x + 9216) + f === :CurrentMultiSelect && return Ptr{Ptr{ImGuiMultiSelectTempData}}(x + 9320) + f === :MultiSelectTempDataStacked && return Ptr{Cint}(x + 9328) + f === :MultiSelectTempData && return Ptr{ImVector_ImGuiMultiSelectTempData}(x + 9336) + f === :MultiSelectStorage && return Ptr{ImPool_ImGuiMultiSelectState}(x + 9352) + f === :HoverItemDelayId && return Ptr{ImGuiID}(x + 9392) + f === :HoverItemDelayIdPreviousFrame && return Ptr{ImGuiID}(x + 9396) + f === :HoverItemDelayTimer && return Ptr{Cfloat}(x + 9400) + f === :HoverItemDelayClearTimer && return Ptr{Cfloat}(x + 9404) + f === :HoverItemUnlockedStationaryId && return Ptr{ImGuiID}(x + 9408) + f === :HoverWindowUnlockedStationaryId && return Ptr{ImGuiID}(x + 9412) + f === :MouseCursor && return Ptr{ImGuiMouseCursor}(x + 9416) + f === :MouseStationaryTimer && return Ptr{Cfloat}(x + 9420) + f === :MouseLastValidPos && return Ptr{ImVec2}(x + 9424) + f === :InputTextState && return Ptr{ImGuiInputTextState}(x + 9432) + f === :InputTextDeactivatedState && return Ptr{ImGuiInputTextDeactivatedState}(x + 9544) + f === :InputTextPasswordFont && return Ptr{ImFont}(x + 9568) + f === :TempInputId && return Ptr{ImGuiID}(x + 9688) + f === :DataTypeZeroValue && return Ptr{ImGuiDataTypeStorage}(x + 9692) + f === :BeginMenuDepth && return Ptr{Cint}(x + 9700) + f === :BeginComboDepth && return Ptr{Cint}(x + 9704) + f === :ColorEditOptions && return Ptr{ImGuiColorEditFlags}(x + 9708) + f === :ColorEditCurrentID && return Ptr{ImGuiID}(x + 9712) + f === :ColorEditSavedID && return Ptr{ImGuiID}(x + 9716) + f === :ColorEditSavedHue && return Ptr{Cfloat}(x + 9720) + f === :ColorEditSavedSat && return Ptr{Cfloat}(x + 9724) + f === :ColorEditSavedColor && return Ptr{ImU32}(x + 9728) + f === :ColorPickerRef && return Ptr{ImVec4}(x + 9732) + f === :ComboPreviewData && return Ptr{ImGuiComboPreviewData}(x + 9748) + f === :WindowResizeBorderExpectedRect && return Ptr{ImRect}(x + 9796) + f === :WindowResizeRelativeMode && return Ptr{Bool}(x + 9812) + f === :ScrollbarSeekMode && return Ptr{Cshort}(x + 9814) + f === :ScrollbarClickDeltaToGrabCenter && return Ptr{Cfloat}(x + 9816) + f === :SliderGrabClickOffset && return Ptr{Cfloat}(x + 9820) + f === :SliderCurrentAccum && return Ptr{Cfloat}(x + 9824) + f === :SliderCurrentAccumDirty && return Ptr{Bool}(x + 9828) + f === :DragCurrentAccumDirty && return Ptr{Bool}(x + 9829) + f === :DragCurrentAccum && return Ptr{Cfloat}(x + 9832) + f === :DragSpeedDefaultRatio && return Ptr{Cfloat}(x + 9836) + f === :DisabledAlphaBackup && return Ptr{Cfloat}(x + 9840) + f === :DisabledStackSize && return Ptr{Cshort}(x + 9844) + f === :TooltipOverrideCount && return Ptr{Cshort}(x + 9846) + f === :TooltipPreviousWindow && return Ptr{Ptr{ImGuiWindow}}(x + 9848) + f === :ClipboardHandlerData && return Ptr{ImVector_char}(x + 9856) + f === :MenusIdSubmittedThisFrame && return Ptr{ImVector_ImGuiID}(x + 9872) + f === :TypingSelectState && return Ptr{ImGuiTypingSelectState}(x + 9888) + f === :PlatformImeData && return Ptr{ImGuiPlatformImeData}(x + 9992) + f === :PlatformImeDataPrev && return Ptr{ImGuiPlatformImeData}(x + 10008) + f === :PlatformImeViewport && return Ptr{ImGuiID}(x + 10024) + f === :DockContext && return Ptr{ImGuiDockContext}(x + 10032) + f === :DockNodeWindowMenuHandler && return Ptr{Ptr{Cvoid}}(x + 10088) + f === :SettingsLoaded && return Ptr{Bool}(x + 10096) + f === :SettingsDirtyTimer && return Ptr{Cfloat}(x + 10100) + f === :SettingsIniData && return Ptr{ImGuiTextBuffer}(x + 10104) + f === :SettingsHandlers && return Ptr{ImVector_ImGuiSettingsHandler}(x + 10120) + f === :SettingsWindows && return Ptr{ImChunkStream_ImGuiWindowSettings}(x + 10136) + f === :SettingsTables && return Ptr{ImChunkStream_ImGuiTableSettings}(x + 10152) + f === :Hooks && return Ptr{ImVector_ImGuiContextHook}(x + 10168) + f === :HookIdNext && return Ptr{ImGuiID}(x + 10184) + f === :LocalizationTable && return Ptr{NTuple{13, Ptr{Cchar}}}(x + 10192) + f === :LogEnabled && return Ptr{Bool}(x + 10296) + f === :LogFlags && return Ptr{ImGuiLogFlags}(x + 10300) + f === :LogWindow && return Ptr{Ptr{ImGuiWindow}}(x + 10304) + f === :LogFile && return Ptr{ImFileHandle}(x + 10312) + f === :LogBuffer && return Ptr{ImGuiTextBuffer}(x + 10320) + f === :LogNextPrefix && return Ptr{Ptr{Cchar}}(x + 10336) + f === :LogNextSuffix && return Ptr{Ptr{Cchar}}(x + 10344) + f === :LogLinePosY && return Ptr{Cfloat}(x + 10352) + f === :LogLineFirstItem && return Ptr{Bool}(x + 10356) + f === :LogDepthRef && return Ptr{Cint}(x + 10360) + f === :LogDepthToExpand && return Ptr{Cint}(x + 10364) + f === :LogDepthToExpandDefault && return Ptr{Cint}(x + 10368) + f === :ErrorCallback && return Ptr{ImGuiErrorCallback}(x + 10376) + f === :ErrorCallbackUserData && return Ptr{Ptr{Cvoid}}(x + 10384) + f === :ErrorTooltipLockedPos && return Ptr{ImVec2}(x + 10392) + f === :ErrorFirst && return Ptr{Bool}(x + 10400) + f === :ErrorCountCurrentFrame && return Ptr{Cint}(x + 10404) + f === :StackSizesInNewFrame && return Ptr{ImGuiErrorRecoveryState}(x + 10408) + f === :StackSizesInBeginForCurrentWindow && return Ptr{Ptr{ImGuiErrorRecoveryState}}(x + 10432) + f === :DebugDrawIdConflictsCount && return Ptr{Cint}(x + 10440) + f === :DebugLogFlags && return Ptr{ImGuiDebugLogFlags}(x + 10444) + f === :DebugLogBuf && return Ptr{ImGuiTextBuffer}(x + 10448) + f === :DebugLogIndex && return Ptr{ImGuiTextIndex}(x + 10464) + f === :DebugLogSkippedErrors && return Ptr{Cint}(x + 10488) + f === :DebugLogAutoDisableFlags && return Ptr{ImGuiDebugLogFlags}(x + 10492) + f === :DebugLogAutoDisableFrames && return Ptr{ImU8}(x + 10496) + f === :DebugLocateFrames && return Ptr{ImU8}(x + 10497) + f === :DebugBreakInLocateId && return Ptr{Bool}(x + 10498) + f === :DebugBreakKeyChord && return Ptr{ImGuiKeyChord}(x + 10500) + f === :DebugBeginReturnValueCullDepth && return Ptr{ImS8}(x + 10504) + f === :DebugItemPickerActive && return Ptr{Bool}(x + 10505) + f === :DebugItemPickerMouseButton && return Ptr{ImU8}(x + 10506) + f === :DebugItemPickerBreakId && return Ptr{ImGuiID}(x + 10508) + f === :DebugFlashStyleColorTime && return Ptr{Cfloat}(x + 10512) + f === :DebugFlashStyleColorBackup && return Ptr{ImVec4}(x + 10516) + f === :DebugMetricsConfig && return Ptr{ImGuiMetricsConfig}(x + 10532) + f === :DebugIDStackTool && return Ptr{ImGuiIDStackTool}(x + 10560) + f === :DebugAllocInfo && return Ptr{ImGuiDebugAllocInfo}(x + 10600) + f === :DebugHoveredDockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 10664) + f === :FramerateSecPerFrame && return Ptr{NTuple{60, Cfloat}}(x + 10672) + f === :FramerateSecPerFrameIdx && return Ptr{Cint}(x + 10912) + f === :FramerateSecPerFrameCount && return Ptr{Cint}(x + 10916) + f === :FramerateSecPerFrameAccum && return Ptr{Cfloat}(x + 10920) + f === :WantCaptureMouseNextFrame && return Ptr{Cint}(x + 10924) + f === :WantCaptureKeyboardNextFrame && return Ptr{Cint}(x + 10928) + f === :WantTextInputNextFrame && return Ptr{Cint}(x + 10932) + f === :TempBuffer && return Ptr{ImVector_char}(x + 10936) + f === :TempKeychordName && return Ptr{NTuple{64, Cchar}}(x + 10952) return getfield(x, f) end @@ -3563,8 +3656,6 @@ struct ImVector_const_charPtr Data::Ptr{Ptr{Cchar}} end -const ImU64 = Culonglong - const ImGuiMouseButton = Cint const ImGuiTableBgTarget = Cint @@ -3669,12 +3760,13 @@ end ImGuiInputTextFlags_DisplayEmptyRefVal = 16384 ImGuiInputTextFlags_NoHorizontalScroll = 32768 ImGuiInputTextFlags_NoUndoRedo = 65536 - ImGuiInputTextFlags_CallbackCompletion = 131072 - ImGuiInputTextFlags_CallbackHistory = 262144 - ImGuiInputTextFlags_CallbackAlways = 524288 - ImGuiInputTextFlags_CallbackCharFilter = 1048576 - ImGuiInputTextFlags_CallbackResize = 2097152 - ImGuiInputTextFlags_CallbackEdit = 4194304 + ImGuiInputTextFlags_ElideLeft = 131072 + ImGuiInputTextFlags_CallbackCompletion = 262144 + ImGuiInputTextFlags_CallbackHistory = 524288 + ImGuiInputTextFlags_CallbackAlways = 1048576 + ImGuiInputTextFlags_CallbackCharFilter = 2097152 + ImGuiInputTextFlags_CallbackResize = 4194304 + ImGuiInputTextFlags_CallbackEdit = 8388608 end @cenum ImGuiTreeNodeFlags_::UInt32 begin @@ -3858,8 +3950,6 @@ end ImGuiConfigFlags_None = 0 ImGuiConfigFlags_NavEnableKeyboard = 1 ImGuiConfigFlags_NavEnableGamepad = 2 - ImGuiConfigFlags_NavEnableSetMousePos = 4 - ImGuiConfigFlags_NavNoCaptureKeyboard = 8 ImGuiConfigFlags_NoMouse = 16 ImGuiConfigFlags_NoMouseCursorChange = 32 ImGuiConfigFlags_NoKeyboard = 64 @@ -3937,7 +4027,7 @@ end ImGuiCol_TextLink = 51 ImGuiCol_TextSelectedBg = 52 ImGuiCol_DragDropTarget = 53 - ImGuiCol_NavHighlight = 54 + ImGuiCol_NavCursor = 54 ImGuiCol_NavWindowingHighlight = 55 ImGuiCol_NavWindowingDimBg = 56 ImGuiCol_ModalWindowDimBg = 57 @@ -3988,6 +4078,7 @@ end ImGuiButtonFlags_MouseButtonRight = 2 ImGuiButtonFlags_MouseButtonMiddle = 4 ImGuiButtonFlags_MouseButtonMask_ = 7 + ImGuiButtonFlags_EnableNav = 8 end @cenum ImGuiColorEditFlags_::UInt32 begin @@ -4024,11 +4115,13 @@ end @cenum ImGuiSliderFlags_::UInt32 begin ImGuiSliderFlags_None = 0 - ImGuiSliderFlags_AlwaysClamp = 16 ImGuiSliderFlags_Logarithmic = 32 ImGuiSliderFlags_NoRoundToFormat = 64 ImGuiSliderFlags_NoInput = 128 ImGuiSliderFlags_WrapAround = 256 + ImGuiSliderFlags_ClampOnInput = 512 + ImGuiSliderFlags_ClampZeroRange = 1024 + ImGuiSliderFlags_AlwaysClamp = 1536 ImGuiSliderFlags_InvalidMask_ = 1879048207 end @@ -4216,7 +4309,7 @@ end const ImGuiFocusRequestFlags = Cint -const ImGuiNavHighlightFlags = Cint +const ImGuiNavRenderCursorFlags = Cint const ImGuiSeparatorFlags = Cint @@ -4224,9 +4317,6 @@ const ImGuiTextFlags = Cint const ImGuiTooltipFlags = Cint -# typedef void ( * ImGuiErrorLogCallback ) ( void * user_data , const char * fmt , ... ) -const ImGuiErrorLogCallback = Ptr{Cvoid} - @cenum ImGuiDataTypePrivate_::UInt32 begin ImGuiDataType_String = 12 ImGuiDataType_Pointer = 13 @@ -4239,6 +4329,8 @@ end ImGuiItemFlags_MixedValue = 4096 ImGuiItemFlags_NoWindowHoverableCheck = 8192 ImGuiItemFlags_AllowOverlap = 16384 + ImGuiItemFlags_NoNavDisableMouseHover = 32768 + ImGuiItemFlags_NoMarkEdited = 65536 ImGuiItemFlags_Inputable = 1048576 ImGuiItemFlags_HasSelectionUserData = 2097152 ImGuiItemFlags_IsMultiSelect = 4194304 @@ -4268,9 +4360,8 @@ end @cenum ImGuiInputTextFlagsPrivate_::UInt32 begin ImGuiInputTextFlags_Multiline = 67108864 - ImGuiInputTextFlags_NoMarkEdited = 134217728 - ImGuiInputTextFlags_MergedItem = 268435456 - ImGuiInputTextFlags_LocalizeDecimalPoint = 536870912 + ImGuiInputTextFlags_MergedItem = 134217728 + ImGuiInputTextFlags_LocalizeDecimalPoint = 268435456 end @cenum ImGuiButtonFlagsPrivate_::UInt32 begin @@ -4280,12 +4371,10 @@ end ImGuiButtonFlags_PressedOnRelease = 128 ImGuiButtonFlags_PressedOnDoubleClick = 256 ImGuiButtonFlags_PressedOnDragDropHold = 512 - ImGuiButtonFlags_Repeat = 1024 ImGuiButtonFlags_FlattenChildren = 2048 ImGuiButtonFlags_AllowOverlap = 4096 - ImGuiButtonFlags_DontClosePopups = 8192 ImGuiButtonFlags_AlignTextBaseLine = 32768 - ImGuiButtonFlags_NoKeyModifiers = 65536 + ImGuiButtonFlags_NoKeyModsAllowed = 65536 ImGuiButtonFlags_NoHoldingActiveId = 131072 ImGuiButtonFlags_NoNavFocus = 262144 ImGuiButtonFlags_NoHoveredOnFocus = 524288 @@ -4349,6 +4438,15 @@ end ImGuiLayoutType_Vertical = 1 end +@cenum ImGuiLogFlags_::UInt32 begin + ImGuiLogFlags_None = 0 + ImGuiLogFlags_OutputTTY = 1 + ImGuiLogFlags_OutputFile = 2 + ImGuiLogFlags_OutputBuffer = 4 + ImGuiLogFlags_OutputClipboard = 8 + ImGuiLogFlags_OutputMask_ = 15 +end + @cenum ImGuiPlotType::UInt32 begin ImGuiPlotType_Lines = 0 ImGuiPlotType_Histogram = 1 @@ -4478,11 +4576,11 @@ end ImGuiScrollFlags_MaskY_ = 42 end -@cenum ImGuiNavHighlightFlags_::UInt32 begin - ImGuiNavHighlightFlags_None = 0 - ImGuiNavHighlightFlags_Compact = 2 - ImGuiNavHighlightFlags_AlwaysDraw = 4 - ImGuiNavHighlightFlags_NoRounding = 8 +@cenum ImGuiNavRenderCursorFlags_::UInt32 begin + ImGuiNavRenderCursorFlags_None = 0 + ImGuiNavRenderCursorFlags_Compact = 2 + ImGuiNavRenderCursorFlags_AlwaysDraw = 4 + ImGuiNavRenderCursorFlags_NoRounding = 8 end @cenum ImGuiNavMoveFlags_::UInt32 begin @@ -4502,7 +4600,7 @@ end ImGuiNavMoveFlags_IsPageMove = 2048 ImGuiNavMoveFlags_Activate = 4096 ImGuiNavMoveFlags_NoSelect = 8192 - ImGuiNavMoveFlags_NoSetNavHighlight = 16384 + ImGuiNavMoveFlags_NoSetNavCursorVisible = 16384 ImGuiNavMoveFlags_NoClearActiveId = 32768 end @@ -4562,17 +4660,19 @@ end @cenum ImGuiDebugLogFlags_::UInt32 begin ImGuiDebugLogFlags_None = 0 - ImGuiDebugLogFlags_EventActiveId = 1 - ImGuiDebugLogFlags_EventFocus = 2 - ImGuiDebugLogFlags_EventPopup = 4 - ImGuiDebugLogFlags_EventNav = 8 - ImGuiDebugLogFlags_EventClipper = 16 - ImGuiDebugLogFlags_EventSelection = 32 - ImGuiDebugLogFlags_EventIO = 64 - ImGuiDebugLogFlags_EventInputRouting = 128 - ImGuiDebugLogFlags_EventDocking = 256 - ImGuiDebugLogFlags_EventViewport = 512 - ImGuiDebugLogFlags_EventMask_ = 1023 + ImGuiDebugLogFlags_EventError = 1 + ImGuiDebugLogFlags_EventActiveId = 2 + ImGuiDebugLogFlags_EventFocus = 4 + ImGuiDebugLogFlags_EventPopup = 8 + ImGuiDebugLogFlags_EventNav = 16 + ImGuiDebugLogFlags_EventClipper = 32 + ImGuiDebugLogFlags_EventSelection = 64 + ImGuiDebugLogFlags_EventIO = 128 + ImGuiDebugLogFlags_EventFont = 256 + ImGuiDebugLogFlags_EventInputRouting = 512 + ImGuiDebugLogFlags_EventDocking = 1024 + ImGuiDebugLogFlags_EventViewport = 2048 + ImGuiDebugLogFlags_EventMask_ = 4095 ImGuiDebugLogFlags_OutputToTTY = 1048576 ImGuiDebugLogFlags_OutputToTestEngine = 2097152 end @@ -5937,6 +6037,10 @@ function igSetKeyboardFocusHere(offset) ccall((:igSetKeyboardFocusHere, libcimgui), Cvoid, (Cint,), offset) end +function igSetNavCursorVisible(visible) + ccall((:igSetNavCursorVisible, libcimgui), Cvoid, (Bool,), visible) +end + function igSetNextItemAllowOverlap() ccall((:igSetNextItemAllowOverlap, libcimgui), Cvoid, ()) end @@ -6922,8 +7026,8 @@ function ImDrawList_PathRect(self, rect_min, rect_max, rounding, flags) ccall((:ImDrawList_PathRect, libcimgui), Cvoid, (Ptr{ImDrawList}, ImVec2, ImVec2, Cfloat, ImDrawFlags), self, rect_min, rect_max, rounding, flags) end -function ImDrawList_AddCallback(self, callback, callback_data) - ccall((:ImDrawList_AddCallback, libcimgui), Cvoid, (Ptr{ImDrawList}, ImDrawCallback, Ptr{Cvoid}), self, callback, callback_data) +function ImDrawList_AddCallback(self, callback, userdata, userdata_size) + ccall((:ImDrawList_AddCallback, libcimgui), Cvoid, (Ptr{ImDrawList}, ImDrawCallback, Ptr{Cvoid}, Csize_t), self, callback, userdata, userdata_size) end function ImDrawList_AddDrawCmd(self) @@ -8092,20 +8196,12 @@ function ImGuiLastItemData_destroy(self) ccall((:ImGuiLastItemData_destroy, libcimgui), Cvoid, (Ptr{ImGuiLastItemData},), self) end -function ImGuiStackSizes_ImGuiStackSizes() - ccall((:ImGuiStackSizes_ImGuiStackSizes, libcimgui), Ptr{ImGuiStackSizes}, ()) -end - -function ImGuiStackSizes_destroy(self) - ccall((:ImGuiStackSizes_destroy, libcimgui), Cvoid, (Ptr{ImGuiStackSizes},), self) +function ImGuiErrorRecoveryState_ImGuiErrorRecoveryState() + ccall((:ImGuiErrorRecoveryState_ImGuiErrorRecoveryState, libcimgui), Ptr{ImGuiErrorRecoveryState}, ()) end -function ImGuiStackSizes_SetToContextState(self, ctx) - ccall((:ImGuiStackSizes_SetToContextState, libcimgui), Cvoid, (Ptr{ImGuiStackSizes}, Ptr{ImGuiContext}), self, ctx) -end - -function ImGuiStackSizes_CompareWithContextState(self, ctx) - ccall((:ImGuiStackSizes_CompareWithContextState, libcimgui), Cvoid, (Ptr{ImGuiStackSizes}, Ptr{ImGuiContext}), self, ctx) +function ImGuiErrorRecoveryState_destroy(self) + ccall((:ImGuiErrorRecoveryState_destroy, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), self) end function ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr(ptr) @@ -8528,6 +8624,14 @@ function ImGuiTableSettings_GetColumnSettings(self) ccall((:ImGuiTableSettings_GetColumnSettings, libcimgui), Ptr{ImGuiTableColumnSettings}, (Ptr{ImGuiTableSettings},), self) end +function igGetIOEx(ctx) + ccall((:igGetIOEx, libcimgui), Ptr{ImGuiIO}, (Ptr{ImGuiContext},), ctx) +end + +function igGetPlatformIOEx(ctx) + ccall((:igGetPlatformIOEx, libcimgui), Ptr{ImGuiPlatformIO}, (Ptr{ImGuiContext},), ctx) +end + function igGetCurrentWindowRead() ccall((:igGetCurrentWindowRead, libcimgui), Ptr{ImGuiWindow}, ()) end @@ -8932,8 +9036,8 @@ function igEndDisabledOverrideReenable() ccall((:igEndDisabledOverrideReenable, libcimgui), Cvoid, ()) end -function igLogBegin(type, auto_open_depth) - ccall((:igLogBegin, libcimgui), Cvoid, (ImGuiLogType, Cint), type, auto_open_depth) +function igLogBegin(flags, auto_open_depth) + ccall((:igLogBegin, libcimgui), Cvoid, (ImGuiLogFlags, Cint), flags, auto_open_depth) end function igLogToBuffer(auto_open_depth) @@ -9080,8 +9184,8 @@ function igNavClearPreferredPosForAxis(axis) ccall((:igNavClearPreferredPosForAxis, libcimgui), Cvoid, (ImGuiAxis,), axis) end -function igNavRestoreHighlightAfterMove() - ccall((:igNavRestoreHighlightAfterMove, libcimgui), Cvoid, ()) +function igSetNavCursorVisibleAfterMove() + ccall((:igSetNavCursorVisibleAfterMove, libcimgui), Cvoid, ()) end function igNavUpdateCurrentWindowIsScrollPushableX() @@ -9800,8 +9904,12 @@ function igTabBarCloseTab(tab_bar, tab) ccall((:igTabBarCloseTab, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) end -function igTabBarQueueFocus(tab_bar, tab) - ccall((:igTabBarQueueFocus, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) +function igTabBarQueueFocus_TabItemPtr(tab_bar, tab) + ccall((:igTabBarQueueFocus_TabItemPtr, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) +end + +function igTabBarQueueFocus_Str(tab_bar, tab_name) + ccall((:igTabBarQueueFocus_Str, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{Cchar}), tab_bar, tab_name) end function igTabBarQueueReorder(tab_bar, tab, offset) @@ -9868,8 +9976,8 @@ function igRenderColorRectWithAlphaCheckerboard(draw_list, p_min, p_max, fill_co ccall((:igRenderColorRectWithAlphaCheckerboard, libcimgui), Cvoid, (Ptr{ImDrawList}, ImVec2, ImVec2, ImU32, Cfloat, ImVec2, Cfloat, ImDrawFlags), draw_list, p_min, p_max, fill_col, grid_step, grid_off, rounding, flags) end -function igRenderNavHighlight(bb, id, flags) - ccall((:igRenderNavHighlight, libcimgui), Cvoid, (ImRect, ImGuiID, ImGuiNavHighlightFlags), bb, id, flags) +function igRenderNavCursor(bb, id, flags) + ccall((:igRenderNavCursor, libcimgui), Cvoid, (ImRect, ImGuiID, ImGuiNavRenderCursorFlags), bb, id, flags) end function igFindRenderedTextEnd(text, text_end) @@ -9924,8 +10032,8 @@ function igArrowButtonEx(str_id, dir, size_arg, flags) ccall((:igArrowButtonEx, libcimgui), Bool, (Ptr{Cchar}, ImGuiDir, ImVec2, ImGuiButtonFlags), str_id, dir, size_arg, flags) end -function igImageButtonEx(id, texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) - ccall((:igImageButtonEx, libcimgui), Bool, (ImGuiID, ImTextureID, ImVec2, ImVec2, ImVec2, ImVec4, ImVec4, ImGuiButtonFlags), id, texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) +function igImageButtonEx(id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) + ccall((:igImageButtonEx, libcimgui), Bool, (ImGuiID, ImTextureID, ImVec2, ImVec2, ImVec2, ImVec4, ImVec4, ImGuiButtonFlags), id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) end function igSeparatorEx(flags, thickness) @@ -9956,8 +10064,8 @@ function igScrollbar(axis) ccall((:igScrollbar, libcimgui), Cvoid, (ImGuiAxis,), axis) end -function igScrollbarEx(bb, id, axis, p_scroll_v, avail_v, contents_v, flags) - ccall((:igScrollbarEx, libcimgui), Bool, (ImRect, ImGuiID, ImGuiAxis, Ptr{ImS64}, ImS64, ImS64, ImDrawFlags), bb, id, axis, p_scroll_v, avail_v, contents_v, flags) +function igScrollbarEx(bb, id, axis, p_scroll_v, avail_v, contents_v, draw_rounding_flags) + ccall((:igScrollbarEx, libcimgui), Bool, (ImRect, ImGuiID, ImGuiAxis, Ptr{ImS64}, ImS64, ImS64, ImDrawFlags), bb, id, axis, p_scroll_v, avail_v, contents_v, draw_rounding_flags) end function igGetWindowScrollbarRect(pOut, window, axis) @@ -10036,6 +10144,10 @@ function igDataTypeClamp(data_type, p_data, p_min, p_max) ccall((:igDataTypeClamp, libcimgui), Bool, (ImGuiDataType, Ptr{Cvoid}, Ptr{Cvoid}, Ptr{Cvoid}), data_type, p_data, p_min, p_max) end +function igDataTypeIsZero(data_type, p_data) + ccall((:igDataTypeIsZero, libcimgui), Bool, (ImGuiDataType, Ptr{Cvoid}), data_type, p_data) +end + function igInputTextEx(label, hint, buf, buf_size, size_arg, flags, callback, user_data) ccall((:igInputTextEx, libcimgui), Bool, (Ptr{Cchar}, Ptr{Cchar}, Ptr{Cchar}, Cint, ImVec2, ImGuiInputTextFlags, ImGuiInputTextCallback, Ptr{Cvoid}), label, hint, buf, buf_size, size_arg, flags, callback, user_data) end @@ -10104,22 +10216,42 @@ function igGcAwakeTransientWindowBuffers(window) ccall((:igGcAwakeTransientWindowBuffers, libcimgui), Cvoid, (Ptr{ImGuiWindow},), window) end -function igDebugAllocHook(info, frame_count, ptr, size) - ccall((:igDebugAllocHook, libcimgui), Cvoid, (Ptr{ImGuiDebugAllocInfo}, Cint, Ptr{Cvoid}, Csize_t), info, frame_count, ptr, size) +function igErrorLog(msg) + ccall((:igErrorLog, libcimgui), Bool, (Ptr{Cchar},), msg) +end + +function igErrorRecoveryStoreState(state_out) + ccall((:igErrorRecoveryStoreState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_out) end -function igErrorCheckEndFrameRecover(log_callback, user_data) - ccall((:igErrorCheckEndFrameRecover, libcimgui), Cvoid, (ImGuiErrorLogCallback, Ptr{Cvoid}), log_callback, user_data) +function igErrorRecoveryTryToRecoverState(state_in) + ccall((:igErrorRecoveryTryToRecoverState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_in) end -function igErrorCheckEndWindowRecover(log_callback, user_data) - ccall((:igErrorCheckEndWindowRecover, libcimgui), Cvoid, (ImGuiErrorLogCallback, Ptr{Cvoid}), log_callback, user_data) +function igErrorRecoveryTryToRecoverWindowState(state_in) + ccall((:igErrorRecoveryTryToRecoverWindowState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_in) end function igErrorCheckUsingSetCursorPosToExtendParentBoundaries() ccall((:igErrorCheckUsingSetCursorPosToExtendParentBoundaries, libcimgui), Cvoid, ()) end +function igErrorCheckEndFrameFinalizeErrorTooltip() + ccall((:igErrorCheckEndFrameFinalizeErrorTooltip, libcimgui), Cvoid, ()) +end + +function igBeginErrorTooltip() + ccall((:igBeginErrorTooltip, libcimgui), Bool, ()) +end + +function igEndErrorTooltip() + ccall((:igEndErrorTooltip, libcimgui), Cvoid, ()) +end + +function igDebugAllocHook(info, frame_count, ptr, size) + ccall((:igDebugAllocHook, libcimgui), Cvoid, (Ptr{ImGuiDebugAllocInfo}, Cint, Ptr{Cvoid}, Csize_t), info, frame_count, ptr, size) +end + function igDebugDrawCursorPos(col) ccall((:igDebugDrawCursorPos, libcimgui), Cvoid, (ImU32,), col) end @@ -10823,11 +10955,29 @@ struct ImVector_ImU64 Data::Ptr{ImU64} end -struct ImVector_ImU8 +struct var"##Ctag#242" Size::Cint Capacity::Cint Data::Ptr{ImU8} end +function Base.getproperty(x::Ptr{var"##Ctag#242"}, f::Symbol) + f === :Size && return Ptr{Cint}(x + 0) + f === :Capacity && return Ptr{Cint}(x + 0) + f === :Data && return Ptr{Ptr{ImU8}}(x + 0) + return getfield(x, f) +end + +function Base.getproperty(x::var"##Ctag#242", f::Symbol) + r = Ref{var"##Ctag#242"}(x) + ptr = Base.unsafe_convert(Ptr{var"##Ctag#242"}, r) + fptr = getproperty(ptr, f) + GC.@preserve r unsafe_load(fptr) +end + +function Base.setproperty!(x::Ptr{var"##Ctag#242"}, f::Symbol, v) + unsafe_store!(getproperty(x, f), v) +end + const ImPlotDragToolFlags = Cint @@ -14830,6 +14980,8 @@ function ImGui_ImplOpenGL3_DestroyDeviceObjects() ccall((:ImGui_ImplOpenGL3_DestroyDeviceObjects, libcimgui), Cvoid, ()) end +const IM_UNICODE_CODEPOINT_MAX = 65535 + const IMGUI_HAS_DOCK = 1 const ImDrawCallback_ResetRenderState = ImDrawCallback(-8) diff --git a/lib/x86_64-w64-mingw32.jl b/lib/x86_64-w64-mingw32.jl index 4e4a883..a08bfac 100644 --- a/lib/x86_64-w64-mingw32.jl +++ b/lib/x86_64-w64-mingw32.jl @@ -59,7 +59,9 @@ function Base.setproperty!(x::Ptr{ImVec4}, f::Symbol, v) end -const ImTextureID = Ptr{Cvoid} +const ImU64 = Culonglong + +const ImTextureID = ImU64 struct ImDrawCmd ClipRect::ImVec4 @@ -69,6 +71,8 @@ struct ImDrawCmd ElemCount::Cuint UserCallback::ImDrawCallback UserCallbackData::Ptr{Cvoid} + UserCallbackDataSize::Cint + UserCallbackDataOffset::Cint end function Base.getproperty(x::Ptr{ImDrawCmd}, f::Symbol) f === :ClipRect && return Ptr{ImVec4}(x + 0) @@ -78,6 +82,8 @@ function Base.getproperty(x::Ptr{ImDrawCmd}, f::Symbol) f === :ElemCount && return Ptr{Cuint}(x + 32) f === :UserCallback && return Ptr{ImDrawCallback}(x + 40) f === :UserCallbackData && return Ptr{Ptr{Cvoid}}(x + 48) + f === :UserCallbackDataSize && return Ptr{Cint}(x + 56) + f === :UserCallbackDataOffset && return Ptr{Cint}(x + 60) return getfield(x, f) end @@ -235,19 +241,63 @@ function Base.getproperty(x::ImVector_ImFontPtr, f::Symbol) end struct ImFontAtlasCustomRect - Width::Cushort - Height::Cushort - X::Cushort - Y::Cushort - GlyphID::Cuint - GlyphAdvanceX::Cfloat - GlyphOffset::ImVec2 - Font::Ptr{Cvoid} # Font::Ptr{ImFont} + data::NTuple{32, UInt8} +end + +function Base.getproperty(x::Ptr{ImFontAtlasCustomRect}, f::Symbol) + f === :X && return Ptr{Cushort}(x + 0) + f === :Y && return Ptr{Cushort}(x + 2) + f === :Width && return Ptr{Cushort}(x + 4) + f === :Height && return Ptr{Cushort}(x + 6) + f === :GlyphID && return (Ptr{Cuint}(x + 8), 0, 31) + f === :GlyphColored && return (Ptr{Cuint}(x + 8), 31, 1) + f === :GlyphAdvanceX && return Ptr{Cfloat}(x + 12) + f === :GlyphOffset && return Ptr{ImVec2}(x + 16) + f === :Font && return Ptr{Ptr{ImFont}}(x + 24) + return getfield(x, f) end function Base.getproperty(x::ImFontAtlasCustomRect, f::Symbol) - f === :Font && return Ptr{ImFont}(getfield(x, f)) - return getfield(x, f) + r = Ref{ImFontAtlasCustomRect}(x) + ptr = Base.unsafe_convert(Ptr{ImFontAtlasCustomRect}, r) + fptr = getproperty(ptr, f) + begin + if fptr isa Ptr + return GC.@preserve(r, unsafe_load(fptr)) + else + (baseptr, offset, width) = fptr + ty = eltype(baseptr) + baseptr32 = convert(Ptr{UInt32}, baseptr) + u64 = GC.@preserve(r, unsafe_load(baseptr32)) + if offset + width > 32 + u64 |= GC.@preserve(r, unsafe_load(baseptr32 + 4)) << 32 + end + u64 = u64 >> offset & (1 << width - 1) + return u64 % ty + end + end +end + +function Base.setproperty!(x::Ptr{ImFontAtlasCustomRect}, f::Symbol, v) + fptr = getproperty(x, f) + if fptr isa Ptr + unsafe_store!(getproperty(x, f), v) + else + (baseptr, offset, width) = fptr + baseptr32 = convert(Ptr{UInt32}, baseptr) + u64 = unsafe_load(baseptr32) + straddle = offset + width > 32 + if straddle + u64 |= unsafe_load(baseptr32 + 4) << 32 + end + mask = 1 << width - 1 + u64 &= ~(mask << offset) + u64 |= (unsigned(v) & mask) << offset + unsafe_store!(baseptr32, u64 & typemax(UInt32)) + if straddle + unsafe_store!(baseptr32 + 4, u64 >> 32) + end + end end struct ImVector_ImFontAtlasCustomRect @@ -389,9 +439,9 @@ struct ImFont ContainerAtlas::Ptr{ImFontAtlas} ConfigData::Ptr{ImFontConfig} ConfigDataCount::Cshort - FallbackChar::ImWchar - EllipsisChar::ImWchar EllipsisCharCount::Cshort + EllipsisChar::ImWchar + FallbackChar::ImWchar EllipsisWidth::Cfloat EllipsisCharStep::Cfloat DirtyLookupTables::Bool @@ -410,6 +460,7 @@ end struct ImDrawListSharedData TexUvWhitePixel::ImVec2 + TexUvLines::Ptr{ImVec4} Font::Ptr{ImFont} FontSize::Cfloat FontScale::Cfloat @@ -421,7 +472,6 @@ struct ImDrawListSharedData ArcFastVtx::NTuple{48, ImVec2} ArcFastRadiusCutoff::Cfloat CircleSegmentCounts::NTuple{64, ImU8} - TexUvLines::Ptr{ImVec4} end struct ImDrawCmdHeader @@ -454,6 +504,12 @@ struct ImVector_ImTextureID Data::Ptr{ImTextureID} end +struct ImVector_ImU8 + Size::Cint + Capacity::Cint + Data::Ptr{ImU8} +end + struct ImDrawList CmdBuffer::ImVector_ImDrawCmd IdxBuffer::ImVector_ImDrawIdx @@ -468,6 +524,7 @@ struct ImDrawList _Splitter::ImDrawListSplitter _ClipRectStack::ImVector_ImVec4 _TextureIdStack::ImVector_ImTextureID + _CallbacksDataBuf::ImVector_ImU8 _FringeScale::Cfloat _OwnerName::Ptr{Cchar} end @@ -485,8 +542,9 @@ function Base.getproperty(x::Ptr{ImDrawList}, f::Symbol) f === :_Splitter && return Ptr{ImDrawListSplitter}(x + 128) f === :_ClipRectStack && return Ptr{ImVector_ImVec4}(x + 152) f === :_TextureIdStack && return Ptr{ImVector_ImTextureID}(x + 168) - f === :_FringeScale && return Ptr{Cfloat}(x + 184) - f === :_OwnerName && return Ptr{Ptr{Cchar}}(x + 192) + f === :_CallbacksDataBuf && return Ptr{ImVector_ImU8}(x + 184) + f === :_FringeScale && return Ptr{Cfloat}(x + 200) + f === :_OwnerName && return Ptr{Ptr{Cchar}}(x + 208) return getfield(x, f) end @@ -620,8 +678,6 @@ end const ImU16 = Cushort -const ImS8 = Int8 - struct ImGuiIO ConfigFlags::ImGuiConfigFlags BackendFlags::ImGuiBackendFlags @@ -636,6 +692,13 @@ struct ImGuiIO FontAllowUserScaling::Bool FontDefault::Ptr{ImFont} DisplayFramebufferScale::ImVec2 + ConfigNavSwapGamepadButtons::Bool + ConfigNavMoveSetMousePos::Bool + ConfigNavCaptureKeyboard::Bool + ConfigNavEscapeClearFocusItem::Bool + ConfigNavEscapeClearFocusWindow::Bool + ConfigNavCursorVisibleAuto::Bool + ConfigNavCursorVisibleAlways::Bool ConfigDockingNoSplit::Bool ConfigDockingWithShift::Bool ConfigDockingAlwaysTabBar::Bool @@ -646,19 +709,24 @@ struct ImGuiIO ConfigViewportsNoDefaultParent::Bool MouseDrawCursor::Bool ConfigMacOSXBehaviors::Bool - ConfigNavSwapGamepadButtons::Bool ConfigInputTrickleEventQueue::Bool ConfigInputTextCursorBlink::Bool ConfigInputTextEnterKeepActive::Bool ConfigDragClickToInputText::Bool ConfigWindowsResizeFromEdges::Bool ConfigWindowsMoveFromTitleBarOnly::Bool + ConfigWindowsCopyContentsWithCtrlC::Bool + ConfigScrollbarScrollByPage::Bool ConfigMemoryCompactTimer::Cfloat MouseDoubleClickTime::Cfloat MouseDoubleClickMaxDist::Cfloat MouseDragThreshold::Cfloat KeyRepeatDelay::Cfloat KeyRepeatRate::Cfloat + ConfigErrorRecovery::Bool + ConfigErrorRecoveryEnableAssert::Bool + ConfigErrorRecoveryEnableDebugLog::Bool + ConfigErrorRecoveryEnableTooltip::Bool ConfigDebugIsDebuggerPresent::Bool ConfigDebugHighlightIdConflicts::Bool ConfigDebugBeginReturnValueOnce::Bool @@ -716,8 +784,6 @@ struct ImGuiIO PenPressure::Cfloat AppFocusLost::Bool AppAcceptingEvents::Bool - BackendUsingLegacyKeyArrays::ImS8 - BackendUsingLegacyNavInputArray::Bool InputQueueSurrogate::ImWchar16 InputQueueCharacters::ImVector_ImWchar end @@ -741,90 +807,100 @@ function Base.getproperty(x::Ptr{ImGuiIO}, f::Symbol) f === :FontAllowUserScaling && return Ptr{Bool}(x + 60) f === :FontDefault && return Ptr{Ptr{ImFont}}(x + 64) f === :DisplayFramebufferScale && return Ptr{ImVec2}(x + 72) - f === :ConfigDockingNoSplit && return Ptr{Bool}(x + 80) - f === :ConfigDockingWithShift && return Ptr{Bool}(x + 81) - f === :ConfigDockingAlwaysTabBar && return Ptr{Bool}(x + 82) - f === :ConfigDockingTransparentPayload && return Ptr{Bool}(x + 83) - f === :ConfigViewportsNoAutoMerge && return Ptr{Bool}(x + 84) - f === :ConfigViewportsNoTaskBarIcon && return Ptr{Bool}(x + 85) - f === :ConfigViewportsNoDecoration && return Ptr{Bool}(x + 86) - f === :ConfigViewportsNoDefaultParent && return Ptr{Bool}(x + 87) - f === :MouseDrawCursor && return Ptr{Bool}(x + 88) - f === :ConfigMacOSXBehaviors && return Ptr{Bool}(x + 89) - f === :ConfigNavSwapGamepadButtons && return Ptr{Bool}(x + 90) - f === :ConfigInputTrickleEventQueue && return Ptr{Bool}(x + 91) - f === :ConfigInputTextCursorBlink && return Ptr{Bool}(x + 92) - f === :ConfigInputTextEnterKeepActive && return Ptr{Bool}(x + 93) - f === :ConfigDragClickToInputText && return Ptr{Bool}(x + 94) - f === :ConfigWindowsResizeFromEdges && return Ptr{Bool}(x + 95) - f === :ConfigWindowsMoveFromTitleBarOnly && return Ptr{Bool}(x + 96) - f === :ConfigMemoryCompactTimer && return Ptr{Cfloat}(x + 100) - f === :MouseDoubleClickTime && return Ptr{Cfloat}(x + 104) - f === :MouseDoubleClickMaxDist && return Ptr{Cfloat}(x + 108) - f === :MouseDragThreshold && return Ptr{Cfloat}(x + 112) - f === :KeyRepeatDelay && return Ptr{Cfloat}(x + 116) - f === :KeyRepeatRate && return Ptr{Cfloat}(x + 120) - f === :ConfigDebugIsDebuggerPresent && return Ptr{Bool}(x + 124) - f === :ConfigDebugHighlightIdConflicts && return Ptr{Bool}(x + 125) - f === :ConfigDebugBeginReturnValueOnce && return Ptr{Bool}(x + 126) - f === :ConfigDebugBeginReturnValueLoop && return Ptr{Bool}(x + 127) - f === :ConfigDebugIgnoreFocusLoss && return Ptr{Bool}(x + 128) - f === :ConfigDebugIniSettings && return Ptr{Bool}(x + 129) - f === :BackendPlatformName && return Ptr{Ptr{Cchar}}(x + 136) - f === :BackendRendererName && return Ptr{Ptr{Cchar}}(x + 144) - f === :BackendPlatformUserData && return Ptr{Ptr{Cvoid}}(x + 152) - f === :BackendRendererUserData && return Ptr{Ptr{Cvoid}}(x + 160) - f === :BackendLanguageUserData && return Ptr{Ptr{Cvoid}}(x + 168) - f === :WantCaptureMouse && return Ptr{Bool}(x + 176) - f === :WantCaptureKeyboard && return Ptr{Bool}(x + 177) - f === :WantTextInput && return Ptr{Bool}(x + 178) - f === :WantSetMousePos && return Ptr{Bool}(x + 179) - f === :WantSaveIniSettings && return Ptr{Bool}(x + 180) - f === :NavActive && return Ptr{Bool}(x + 181) - f === :NavVisible && return Ptr{Bool}(x + 182) - f === :Framerate && return Ptr{Cfloat}(x + 184) - f === :MetricsRenderVertices && return Ptr{Cint}(x + 188) - f === :MetricsRenderIndices && return Ptr{Cint}(x + 192) - f === :MetricsRenderWindows && return Ptr{Cint}(x + 196) - f === :MetricsActiveWindows && return Ptr{Cint}(x + 200) - f === :MouseDelta && return Ptr{ImVec2}(x + 204) - f === :Ctx && return Ptr{Ptr{ImGuiContext}}(x + 216) - f === :MousePos && return Ptr{ImVec2}(x + 224) - f === :MouseDown && return Ptr{NTuple{5, Bool}}(x + 232) - f === :MouseWheel && return Ptr{Cfloat}(x + 240) - f === :MouseWheelH && return Ptr{Cfloat}(x + 244) - f === :MouseSource && return Ptr{ImGuiMouseSource}(x + 248) - f === :MouseHoveredViewport && return Ptr{ImGuiID}(x + 252) - f === :KeyCtrl && return Ptr{Bool}(x + 256) - f === :KeyShift && return Ptr{Bool}(x + 257) - f === :KeyAlt && return Ptr{Bool}(x + 258) - f === :KeySuper && return Ptr{Bool}(x + 259) - f === :KeyMods && return Ptr{ImGuiKeyChord}(x + 260) - f === :KeysData && return Ptr{NTuple{154, ImGuiKeyData}}(x + 264) - f === :WantCaptureMouseUnlessPopupClose && return Ptr{Bool}(x + 2728) - f === :MousePosPrev && return Ptr{ImVec2}(x + 2732) - f === :MouseClickedPos && return Ptr{NTuple{5, ImVec2}}(x + 2740) - f === :MouseClickedTime && return Ptr{NTuple{5, Cdouble}}(x + 2784) - f === :MouseClicked && return Ptr{NTuple{5, Bool}}(x + 2824) - f === :MouseDoubleClicked && return Ptr{NTuple{5, Bool}}(x + 2829) - f === :MouseClickedCount && return Ptr{NTuple{5, ImU16}}(x + 2834) - f === :MouseClickedLastCount && return Ptr{NTuple{5, ImU16}}(x + 2844) - f === :MouseReleased && return Ptr{NTuple{5, Bool}}(x + 2854) - f === :MouseDownOwned && return Ptr{NTuple{5, Bool}}(x + 2859) - f === :MouseDownOwnedUnlessPopupClose && return Ptr{NTuple{5, Bool}}(x + 2864) - f === :MouseWheelRequestAxisSwap && return Ptr{Bool}(x + 2869) - f === :MouseCtrlLeftAsRightClick && return Ptr{Bool}(x + 2870) - f === :MouseDownDuration && return Ptr{NTuple{5, Cfloat}}(x + 2872) - f === :MouseDownDurationPrev && return Ptr{NTuple{5, Cfloat}}(x + 2892) - f === :MouseDragMaxDistanceAbs && return Ptr{NTuple{5, ImVec2}}(x + 2912) - f === :MouseDragMaxDistanceSqr && return Ptr{NTuple{5, Cfloat}}(x + 2952) - f === :PenPressure && return Ptr{Cfloat}(x + 2972) - f === :AppFocusLost && return Ptr{Bool}(x + 2976) - f === :AppAcceptingEvents && return Ptr{Bool}(x + 2977) - f === :BackendUsingLegacyKeyArrays && return Ptr{ImS8}(x + 2978) - f === :BackendUsingLegacyNavInputArray && return Ptr{Bool}(x + 2979) - f === :InputQueueSurrogate && return Ptr{ImWchar16}(x + 2980) - f === :InputQueueCharacters && return Ptr{ImVector_ImWchar}(x + 2984) + f === :ConfigNavSwapGamepadButtons && return Ptr{Bool}(x + 80) + f === :ConfigNavMoveSetMousePos && return Ptr{Bool}(x + 81) + f === :ConfigNavCaptureKeyboard && return Ptr{Bool}(x + 82) + f === :ConfigNavEscapeClearFocusItem && return Ptr{Bool}(x + 83) + f === :ConfigNavEscapeClearFocusWindow && return Ptr{Bool}(x + 84) + f === :ConfigNavCursorVisibleAuto && return Ptr{Bool}(x + 85) + f === :ConfigNavCursorVisibleAlways && return Ptr{Bool}(x + 86) + f === :ConfigDockingNoSplit && return Ptr{Bool}(x + 87) + f === :ConfigDockingWithShift && return Ptr{Bool}(x + 88) + f === :ConfigDockingAlwaysTabBar && return Ptr{Bool}(x + 89) + f === :ConfigDockingTransparentPayload && return Ptr{Bool}(x + 90) + f === :ConfigViewportsNoAutoMerge && return Ptr{Bool}(x + 91) + f === :ConfigViewportsNoTaskBarIcon && return Ptr{Bool}(x + 92) + f === :ConfigViewportsNoDecoration && return Ptr{Bool}(x + 93) + f === :ConfigViewportsNoDefaultParent && return Ptr{Bool}(x + 94) + f === :MouseDrawCursor && return Ptr{Bool}(x + 95) + f === :ConfigMacOSXBehaviors && return Ptr{Bool}(x + 96) + f === :ConfigInputTrickleEventQueue && return Ptr{Bool}(x + 97) + f === :ConfigInputTextCursorBlink && return Ptr{Bool}(x + 98) + f === :ConfigInputTextEnterKeepActive && return Ptr{Bool}(x + 99) + f === :ConfigDragClickToInputText && return Ptr{Bool}(x + 100) + f === :ConfigWindowsResizeFromEdges && return Ptr{Bool}(x + 101) + f === :ConfigWindowsMoveFromTitleBarOnly && return Ptr{Bool}(x + 102) + f === :ConfigWindowsCopyContentsWithCtrlC && return Ptr{Bool}(x + 103) + f === :ConfigScrollbarScrollByPage && return Ptr{Bool}(x + 104) + f === :ConfigMemoryCompactTimer && return Ptr{Cfloat}(x + 108) + f === :MouseDoubleClickTime && return Ptr{Cfloat}(x + 112) + f === :MouseDoubleClickMaxDist && return Ptr{Cfloat}(x + 116) + f === :MouseDragThreshold && return Ptr{Cfloat}(x + 120) + f === :KeyRepeatDelay && return Ptr{Cfloat}(x + 124) + f === :KeyRepeatRate && return Ptr{Cfloat}(x + 128) + f === :ConfigErrorRecovery && return Ptr{Bool}(x + 132) + f === :ConfigErrorRecoveryEnableAssert && return Ptr{Bool}(x + 133) + f === :ConfigErrorRecoveryEnableDebugLog && return Ptr{Bool}(x + 134) + f === :ConfigErrorRecoveryEnableTooltip && return Ptr{Bool}(x + 135) + f === :ConfigDebugIsDebuggerPresent && return Ptr{Bool}(x + 136) + f === :ConfigDebugHighlightIdConflicts && return Ptr{Bool}(x + 137) + f === :ConfigDebugBeginReturnValueOnce && return Ptr{Bool}(x + 138) + f === :ConfigDebugBeginReturnValueLoop && return Ptr{Bool}(x + 139) + f === :ConfigDebugIgnoreFocusLoss && return Ptr{Bool}(x + 140) + f === :ConfigDebugIniSettings && return Ptr{Bool}(x + 141) + f === :BackendPlatformName && return Ptr{Ptr{Cchar}}(x + 144) + f === :BackendRendererName && return Ptr{Ptr{Cchar}}(x + 152) + f === :BackendPlatformUserData && return Ptr{Ptr{Cvoid}}(x + 160) + f === :BackendRendererUserData && return Ptr{Ptr{Cvoid}}(x + 168) + f === :BackendLanguageUserData && return Ptr{Ptr{Cvoid}}(x + 176) + f === :WantCaptureMouse && return Ptr{Bool}(x + 184) + f === :WantCaptureKeyboard && return Ptr{Bool}(x + 185) + f === :WantTextInput && return Ptr{Bool}(x + 186) + f === :WantSetMousePos && return Ptr{Bool}(x + 187) + f === :WantSaveIniSettings && return Ptr{Bool}(x + 188) + f === :NavActive && return Ptr{Bool}(x + 189) + f === :NavVisible && return Ptr{Bool}(x + 190) + f === :Framerate && return Ptr{Cfloat}(x + 192) + f === :MetricsRenderVertices && return Ptr{Cint}(x + 196) + f === :MetricsRenderIndices && return Ptr{Cint}(x + 200) + f === :MetricsRenderWindows && return Ptr{Cint}(x + 204) + f === :MetricsActiveWindows && return Ptr{Cint}(x + 208) + f === :MouseDelta && return Ptr{ImVec2}(x + 212) + f === :Ctx && return Ptr{Ptr{ImGuiContext}}(x + 224) + f === :MousePos && return Ptr{ImVec2}(x + 232) + f === :MouseDown && return Ptr{NTuple{5, Bool}}(x + 240) + f === :MouseWheel && return Ptr{Cfloat}(x + 248) + f === :MouseWheelH && return Ptr{Cfloat}(x + 252) + f === :MouseSource && return Ptr{ImGuiMouseSource}(x + 256) + f === :MouseHoveredViewport && return Ptr{ImGuiID}(x + 260) + f === :KeyCtrl && return Ptr{Bool}(x + 264) + f === :KeyShift && return Ptr{Bool}(x + 265) + f === :KeyAlt && return Ptr{Bool}(x + 266) + f === :KeySuper && return Ptr{Bool}(x + 267) + f === :KeyMods && return Ptr{ImGuiKeyChord}(x + 268) + f === :KeysData && return Ptr{NTuple{154, ImGuiKeyData}}(x + 272) + f === :WantCaptureMouseUnlessPopupClose && return Ptr{Bool}(x + 2736) + f === :MousePosPrev && return Ptr{ImVec2}(x + 2740) + f === :MouseClickedPos && return Ptr{NTuple{5, ImVec2}}(x + 2748) + f === :MouseClickedTime && return Ptr{NTuple{5, Cdouble}}(x + 2792) + f === :MouseClicked && return Ptr{NTuple{5, Bool}}(x + 2832) + f === :MouseDoubleClicked && return Ptr{NTuple{5, Bool}}(x + 2837) + f === :MouseClickedCount && return Ptr{NTuple{5, ImU16}}(x + 2842) + f === :MouseClickedLastCount && return Ptr{NTuple{5, ImU16}}(x + 2852) + f === :MouseReleased && return Ptr{NTuple{5, Bool}}(x + 2862) + f === :MouseDownOwned && return Ptr{NTuple{5, Bool}}(x + 2867) + f === :MouseDownOwnedUnlessPopupClose && return Ptr{NTuple{5, Bool}}(x + 2872) + f === :MouseWheelRequestAxisSwap && return Ptr{Bool}(x + 2877) + f === :MouseCtrlLeftAsRightClick && return Ptr{Bool}(x + 2878) + f === :MouseDownDuration && return Ptr{NTuple{5, Cfloat}}(x + 2880) + f === :MouseDownDurationPrev && return Ptr{NTuple{5, Cfloat}}(x + 2900) + f === :MouseDragMaxDistanceAbs && return Ptr{NTuple{5, ImVec2}}(x + 2920) + f === :MouseDragMaxDistanceSqr && return Ptr{NTuple{5, Cfloat}}(x + 2960) + f === :PenPressure && return Ptr{Cfloat}(x + 2980) + f === :AppFocusLost && return Ptr{Bool}(x + 2984) + f === :AppAcceptingEvents && return Ptr{Bool}(x + 2985) + f === :InputQueueSurrogate && return Ptr{ImWchar16}(x + 2986) + f === :InputQueueCharacters && return Ptr{ImVector_ImWchar}(x + 2992) return getfield(x, f) end @@ -876,6 +952,7 @@ struct ImGuiPlatformIO Platform_SetImeDataFn::Ptr{Cvoid} Platform_ImeUserData::Ptr{Cvoid} Platform_LocaleDecimalPoint::ImWchar + Renderer_RenderState::Ptr{Cvoid} Platform_CreateWindow::Ptr{Cvoid} Platform_DestroyWindow::Ptr{Cvoid} Platform_ShowWindow::Ptr{Cvoid} @@ -912,32 +989,33 @@ function Base.getproperty(x::Ptr{ImGuiPlatformIO}, f::Symbol) f === :Platform_SetImeDataFn && return Ptr{Ptr{Cvoid}}(x + 40) f === :Platform_ImeUserData && return Ptr{Ptr{Cvoid}}(x + 48) f === :Platform_LocaleDecimalPoint && return Ptr{ImWchar}(x + 56) - f === :Platform_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 64) - f === :Platform_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 72) - f === :Platform_ShowWindow && return Ptr{Ptr{Cvoid}}(x + 80) - f === :Platform_SetWindowPos && return Ptr{Ptr{Cvoid}}(x + 88) - f === :Platform_GetWindowPos && return Ptr{Ptr{Cvoid}}(x + 96) - f === :Platform_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 104) - f === :Platform_GetWindowSize && return Ptr{Ptr{Cvoid}}(x + 112) - f === :Platform_SetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 120) - f === :Platform_GetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 128) - f === :Platform_GetWindowMinimized && return Ptr{Ptr{Cvoid}}(x + 136) - f === :Platform_SetWindowTitle && return Ptr{Ptr{Cvoid}}(x + 144) - f === :Platform_SetWindowAlpha && return Ptr{Ptr{Cvoid}}(x + 152) - f === :Platform_UpdateWindow && return Ptr{Ptr{Cvoid}}(x + 160) - f === :Platform_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 168) - f === :Platform_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 176) - f === :Platform_GetWindowDpiScale && return Ptr{Ptr{Cvoid}}(x + 184) - f === :Platform_OnChangedViewport && return Ptr{Ptr{Cvoid}}(x + 192) - f === :Platform_GetWindowWorkAreaInsets && return Ptr{Ptr{Cvoid}}(x + 200) - f === :Platform_CreateVkSurface && return Ptr{Ptr{Cvoid}}(x + 208) - f === :Renderer_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 216) - f === :Renderer_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 224) - f === :Renderer_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 232) - f === :Renderer_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 240) - f === :Renderer_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 248) - f === :Monitors && return Ptr{ImVector_ImGuiPlatformMonitor}(x + 256) - f === :Viewports && return Ptr{ImVector_ImGuiViewportPtr}(x + 272) + f === :Renderer_RenderState && return Ptr{Ptr{Cvoid}}(x + 64) + f === :Platform_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 72) + f === :Platform_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 80) + f === :Platform_ShowWindow && return Ptr{Ptr{Cvoid}}(x + 88) + f === :Platform_SetWindowPos && return Ptr{Ptr{Cvoid}}(x + 96) + f === :Platform_GetWindowPos && return Ptr{Ptr{Cvoid}}(x + 104) + f === :Platform_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 112) + f === :Platform_GetWindowSize && return Ptr{Ptr{Cvoid}}(x + 120) + f === :Platform_SetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 128) + f === :Platform_GetWindowFocus && return Ptr{Ptr{Cvoid}}(x + 136) + f === :Platform_GetWindowMinimized && return Ptr{Ptr{Cvoid}}(x + 144) + f === :Platform_SetWindowTitle && return Ptr{Ptr{Cvoid}}(x + 152) + f === :Platform_SetWindowAlpha && return Ptr{Ptr{Cvoid}}(x + 160) + f === :Platform_UpdateWindow && return Ptr{Ptr{Cvoid}}(x + 168) + f === :Platform_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 176) + f === :Platform_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 184) + f === :Platform_GetWindowDpiScale && return Ptr{Ptr{Cvoid}}(x + 192) + f === :Platform_OnChangedViewport && return Ptr{Ptr{Cvoid}}(x + 200) + f === :Platform_GetWindowWorkAreaInsets && return Ptr{Ptr{Cvoid}}(x + 208) + f === :Platform_CreateVkSurface && return Ptr{Ptr{Cvoid}}(x + 216) + f === :Renderer_CreateWindow && return Ptr{Ptr{Cvoid}}(x + 224) + f === :Renderer_DestroyWindow && return Ptr{Ptr{Cvoid}}(x + 232) + f === :Renderer_SetWindowSize && return Ptr{Ptr{Cvoid}}(x + 240) + f === :Renderer_RenderWindow && return Ptr{Ptr{Cvoid}}(x + 248) + f === :Renderer_SwapBuffers && return Ptr{Ptr{Cvoid}}(x + 256) + f === :Monitors && return Ptr{ImVector_ImGuiPlatformMonitor}(x + 264) + f === :Viewports && return Ptr{ImVector_ImGuiViewportPtr}(x + 280) return getfield(x, f) end @@ -1199,6 +1277,8 @@ function Base.getproperty(x::ImGuiViewportP, f::Symbol) return getfield(x, f) end +const ImS8 = Int8 + const ImGuiCond = Cint struct ImVector_ImGuiID @@ -1409,6 +1489,7 @@ struct ImGuiTextBuffer end struct ImGuiTabBar + Window::Ptr{Cvoid} # Window::Ptr{ImGuiWindow} Tabs::ImVector_ImGuiTabItem Flags::ImGuiTabBarFlags ID::ImGuiID @@ -1444,6 +1525,11 @@ struct ImGuiTabBar TabsNames::ImGuiTextBuffer end +function Base.getproperty(x::ImGuiTabBar, f::Symbol) + f === :Window && return Ptr{ImGuiWindow}(getfield(x, f)) + return getfield(x, f) +end + @cenum ImGuiAxis::Int32 begin ImGuiAxis_None = -1 ImGuiAxis_X = 0 @@ -1548,7 +1634,7 @@ end const ImGuiItemStatusFlags = Cint struct ImGuiWindow - data::NTuple{1168, UInt8} + data::NTuple{1184, UInt8} end function Base.getproperty(x::Ptr{ImGuiWindow}, f::Symbol) @@ -1649,33 +1735,33 @@ function Base.getproperty(x::Ptr{ImGuiWindow}, f::Symbol) f === :SettingsOffset && return Ptr{Cint}(x + 736) f === :DrawList && return Ptr{Ptr{ImDrawList}}(x + 744) f === :DrawListInst && return Ptr{ImDrawList}(x + 752) - f === :ParentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 952) - f === :ParentWindowInBeginStack && return Ptr{Ptr{ImGuiWindow}}(x + 960) - f === :RootWindow && return Ptr{Ptr{ImGuiWindow}}(x + 968) - f === :RootWindowPopupTree && return Ptr{Ptr{ImGuiWindow}}(x + 976) - f === :RootWindowDockTree && return Ptr{Ptr{ImGuiWindow}}(x + 984) - f === :RootWindowForTitleBarHighlight && return Ptr{Ptr{ImGuiWindow}}(x + 992) - f === :RootWindowForNav && return Ptr{Ptr{ImGuiWindow}}(x + 1000) - f === :ParentWindowForFocusRoute && return Ptr{Ptr{ImGuiWindow}}(x + 1008) - f === :NavLastChildNavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 1016) - f === :NavLastIds && return Ptr{NTuple{2, ImGuiID}}(x + 1024) - f === :NavRectRel && return Ptr{NTuple{2, ImRect}}(x + 1032) - f === :NavPreferredScoringPosRel && return Ptr{NTuple{2, ImVec2}}(x + 1064) - f === :NavRootFocusScopeId && return Ptr{ImGuiID}(x + 1080) - f === :MemoryDrawListIdxCapacity && return Ptr{Cint}(x + 1084) - f === :MemoryDrawListVtxCapacity && return Ptr{Cint}(x + 1088) - f === :MemoryCompacted && return Ptr{Bool}(x + 1092) - f === :DockIsActive && return (Ptr{Bool}(x + 1092), 8, 1) - f === :DockNodeIsVisible && return (Ptr{Bool}(x + 1092), 9, 1) - f === :DockTabIsVisible && return (Ptr{Bool}(x + 1092), 10, 1) - f === :DockTabWantClose && return (Ptr{Bool}(x + 1092), 11, 1) - f === :DockOrder && return Ptr{Cshort}(x + 1094) - f === :DockStyle && return Ptr{ImGuiWindowDockStyle}(x + 1096) - f === :DockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 1128) - f === :DockNodeAsHost && return Ptr{Ptr{ImGuiDockNode}}(x + 1136) - f === :DockId && return Ptr{ImGuiID}(x + 1144) - f === :DockTabItemStatusFlags && return Ptr{ImGuiItemStatusFlags}(x + 1148) - f === :DockTabItemRect && return Ptr{ImRect}(x + 1152) + f === :ParentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 968) + f === :ParentWindowInBeginStack && return Ptr{Ptr{ImGuiWindow}}(x + 976) + f === :RootWindow && return Ptr{Ptr{ImGuiWindow}}(x + 984) + f === :RootWindowPopupTree && return Ptr{Ptr{ImGuiWindow}}(x + 992) + f === :RootWindowDockTree && return Ptr{Ptr{ImGuiWindow}}(x + 1000) + f === :RootWindowForTitleBarHighlight && return Ptr{Ptr{ImGuiWindow}}(x + 1008) + f === :RootWindowForNav && return Ptr{Ptr{ImGuiWindow}}(x + 1016) + f === :ParentWindowForFocusRoute && return Ptr{Ptr{ImGuiWindow}}(x + 1024) + f === :NavLastChildNavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 1032) + f === :NavLastIds && return Ptr{NTuple{2, ImGuiID}}(x + 1040) + f === :NavRectRel && return Ptr{NTuple{2, ImRect}}(x + 1048) + f === :NavPreferredScoringPosRel && return Ptr{NTuple{2, ImVec2}}(x + 1080) + f === :NavRootFocusScopeId && return Ptr{ImGuiID}(x + 1096) + f === :MemoryDrawListIdxCapacity && return Ptr{Cint}(x + 1100) + f === :MemoryDrawListVtxCapacity && return Ptr{Cint}(x + 1104) + f === :MemoryCompacted && return Ptr{Bool}(x + 1108) + f === :DockIsActive && return (Ptr{Bool}(x + 1108), 8, 1) + f === :DockNodeIsVisible && return (Ptr{Bool}(x + 1108), 9, 1) + f === :DockTabIsVisible && return (Ptr{Bool}(x + 1108), 10, 1) + f === :DockTabWantClose && return (Ptr{Bool}(x + 1108), 11, 1) + f === :DockOrder && return Ptr{Cshort}(x + 1110) + f === :DockStyle && return Ptr{ImGuiWindowDockStyle}(x + 1112) + f === :DockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 1144) + f === :DockNodeAsHost && return Ptr{Ptr{ImGuiDockNode}}(x + 1152) + f === :DockId && return Ptr{ImGuiID}(x + 1160) + f === :DockTabItemStatusFlags && return Ptr{ImGuiItemStatusFlags}(x + 1164) + f === :DockTabItemRect && return Ptr{ImRect}(x + 1168) return getfield(x, f) end @@ -1726,7 +1812,7 @@ const ImGuiItemFlags = Cint struct ImGuiLastItemData ID::ImGuiID - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags StatusFlags::ImGuiItemStatusFlags Rect::ImRect NavRect::ImRect @@ -1735,8 +1821,10 @@ struct ImGuiLastItemData Shortcut::ImGuiKeyChord end -struct ImGuiStackSizes +struct ImGuiErrorRecoveryState + SizeOfWindowStack::Cshort SizeOfIDStack::Cshort + SizeOfTreeStack::Cshort SizeOfColorStack::Cshort SizeOfStyleVarStack::Cshort SizeOfFontStack::Cshort @@ -1750,7 +1838,7 @@ end struct ImGuiWindowStackData Window::Ptr{ImGuiWindow} ParentLastItemDataBackup::ImGuiLastItemData - StackSizesOnBegin::ImGuiStackSizes + StackSizesInBegin::ImGuiErrorRecoveryState DisabledOverrideReenable::Bool end @@ -1809,7 +1897,7 @@ struct ImGuiDataTypeStorage end struct ImGuiNextItemData - Flags::ImGuiNextItemDataFlags + HasFlags::ImGuiNextItemDataFlags ItemFlags::ImGuiItemFlags FocusScopeId::ImGuiID SelectionUserData::ImGuiSelectionUserData @@ -1958,7 +2046,7 @@ const ImGuiTreeNodeFlags = Cint struct ImGuiTreeNodeStackData ID::ImGuiID TreeFlags::ImGuiTreeNodeFlags - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags NavRect::ImRect end @@ -1981,7 +2069,7 @@ struct ImGuiNavItemData ID::ImGuiID FocusScopeId::ImGuiID RectRel::ImRect - InFlags::ImGuiItemFlags + ItemFlags::ImGuiItemFlags DistBox::Cfloat DistCenter::Cfloat DistAxial::Cfloat @@ -1994,6 +2082,7 @@ const ImGuiScrollFlags = Cint @cenum ImGuiKey::UInt32 begin ImGuiKey_None = 0 + ImGuiKey_NamedKey_BEGIN = 512 ImGuiKey_Tab = 512 ImGuiKey_LeftArrow = 513 ImGuiKey_RightArrow = 514 @@ -2148,18 +2237,14 @@ const ImGuiScrollFlags = Cint ImGuiKey_ReservedForModShift = 663 ImGuiKey_ReservedForModAlt = 664 ImGuiKey_ReservedForModSuper = 665 - ImGuiKey_COUNT = 666 + ImGuiKey_NamedKey_END = 666 ImGuiMod_None = 0 ImGuiMod_Ctrl = 4096 ImGuiMod_Shift = 8192 ImGuiMod_Alt = 16384 ImGuiMod_Super = 32768 ImGuiMod_Mask_ = 61440 - ImGuiKey_NamedKey_BEGIN = 512 - ImGuiKey_NamedKey_END = 666 ImGuiKey_NamedKey_COUNT = 154 - ImGuiKey_KeysData_SIZE = 154 - ImGuiKey_KeysData_OFFSET = 512 end const ImGuiDragDropFlags = Cint @@ -2814,11 +2899,11 @@ struct ImGuiInputTextState Ctx::Ptr{Cvoid} # Ctx::Ptr{ImGuiContext} Stb::Ptr{ImStbTexteditState} ID::ImGuiID - CurLenA::Cint + TextLen::Cint TextA::ImVector_char - InitialTextA::ImVector_char + TextToRevertTo::ImVector_char CallbackTextBackup::ImVector_char - BufCapacityA::Cint + BufCapacity::Cint Scroll::ImVec2 CursorAnim::Cfloat CursorFollow::Bool @@ -2954,16 +3039,13 @@ struct ImVector_ImGuiContextHook Data::Ptr{ImGuiContextHook} end -@cenum ImGuiLogType::UInt32 begin - ImGuiLogType_None = 0 - ImGuiLogType_TTY = 1 - ImGuiLogType_File = 2 - ImGuiLogType_Buffer = 3 - ImGuiLogType_Clipboard = 4 -end +const ImGuiLogFlags = Cint const ImFileHandle = Ptr{Libc.FILE} +# typedef void ( * ImGuiErrorCallback ) ( ImGuiContext * ctx , void * user_data , const char * msg ) +const ImGuiErrorCallback = Ptr{Cvoid} + const ImGuiDebugLogFlags = Cint struct ImVector_int @@ -3081,313 +3163,324 @@ struct ImGuiDebugAllocInfo end struct ImGuiContext - data::NTuple{10928, UInt8} + data::NTuple{11024, UInt8} end function Base.getproperty(x::Ptr{ImGuiContext}, f::Symbol) f === :Initialized && return Ptr{Bool}(x + 0) f === :FontAtlasOwnedByContext && return Ptr{Bool}(x + 1) f === :IO && return Ptr{ImGuiIO}(x + 8) - f === :PlatformIO && return Ptr{ImGuiPlatformIO}(x + 3008) - f === :Style && return Ptr{ImGuiStyle}(x + 3296) - f === :ConfigFlagsCurrFrame && return Ptr{ImGuiConfigFlags}(x + 4488) - f === :ConfigFlagsLastFrame && return Ptr{ImGuiConfigFlags}(x + 4492) - f === :Font && return Ptr{Ptr{ImFont}}(x + 4496) - f === :FontSize && return Ptr{Cfloat}(x + 4504) - f === :FontBaseSize && return Ptr{Cfloat}(x + 4508) - f === :FontScale && return Ptr{Cfloat}(x + 4512) - f === :CurrentDpiScale && return Ptr{Cfloat}(x + 4516) - f === :DrawListSharedData && return Ptr{ImDrawListSharedData}(x + 4520) - f === :Time && return Ptr{Cdouble}(x + 5056) - f === :FrameCount && return Ptr{Cint}(x + 5064) - f === :FrameCountEnded && return Ptr{Cint}(x + 5068) - f === :FrameCountPlatformEnded && return Ptr{Cint}(x + 5072) - f === :FrameCountRendered && return Ptr{Cint}(x + 5076) - f === :WithinFrameScope && return Ptr{Bool}(x + 5080) - f === :WithinFrameScopeWithImplicitWindow && return Ptr{Bool}(x + 5081) - f === :WithinEndChild && return Ptr{Bool}(x + 5082) - f === :GcCompactAll && return Ptr{Bool}(x + 5083) - f === :TestEngineHookItems && return Ptr{Bool}(x + 5084) - f === :TestEngine && return Ptr{Ptr{Cvoid}}(x + 5088) - f === :ContextName && return Ptr{NTuple{16, Cchar}}(x + 5096) - f === :InputEventsQueue && return Ptr{ImVector_ImGuiInputEvent}(x + 5112) - f === :InputEventsTrail && return Ptr{ImVector_ImGuiInputEvent}(x + 5128) - f === :InputEventsNextMouseSource && return Ptr{ImGuiMouseSource}(x + 5144) - f === :InputEventsNextEventId && return Ptr{ImU32}(x + 5148) - f === :Windows && return Ptr{ImVector_ImGuiWindowPtr}(x + 5152) - f === :WindowsFocusOrder && return Ptr{ImVector_ImGuiWindowPtr}(x + 5168) - f === :WindowsTempSortBuffer && return Ptr{ImVector_ImGuiWindowPtr}(x + 5184) - f === :CurrentWindowStack && return Ptr{ImVector_ImGuiWindowStackData}(x + 5200) - f === :WindowsById && return Ptr{ImGuiStorage}(x + 5216) - f === :WindowsActiveCount && return Ptr{Cint}(x + 5232) - f === :WindowsHoverPadding && return Ptr{ImVec2}(x + 5236) - f === :DebugBreakInWindow && return Ptr{ImGuiID}(x + 5244) - f === :CurrentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5248) - f === :HoveredWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5256) - f === :HoveredWindowUnderMovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5264) - f === :HoveredWindowBeforeClear && return Ptr{Ptr{ImGuiWindow}}(x + 5272) - f === :MovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5280) - f === :WheelingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5288) - f === :WheelingWindowRefMousePos && return Ptr{ImVec2}(x + 5296) - f === :WheelingWindowStartFrame && return Ptr{Cint}(x + 5304) - f === :WheelingWindowScrolledFrame && return Ptr{Cint}(x + 5308) - f === :WheelingWindowReleaseTimer && return Ptr{Cfloat}(x + 5312) - f === :WheelingWindowWheelRemainder && return Ptr{ImVec2}(x + 5316) - f === :WheelingAxisAvg && return Ptr{ImVec2}(x + 5324) - f === :DebugDrawIdConflicts && return Ptr{ImGuiID}(x + 5332) - f === :DebugHookIdInfo && return Ptr{ImGuiID}(x + 5336) - f === :HoveredId && return Ptr{ImGuiID}(x + 5340) - f === :HoveredIdPreviousFrame && return Ptr{ImGuiID}(x + 5344) - f === :HoveredIdPreviousFrameItemCount && return Ptr{Cint}(x + 5348) - f === :HoveredIdTimer && return Ptr{Cfloat}(x + 5352) - f === :HoveredIdNotActiveTimer && return Ptr{Cfloat}(x + 5356) - f === :HoveredIdAllowOverlap && return Ptr{Bool}(x + 5360) - f === :HoveredIdIsDisabled && return Ptr{Bool}(x + 5361) - f === :ItemUnclipByLog && return Ptr{Bool}(x + 5362) - f === :ActiveId && return Ptr{ImGuiID}(x + 5364) - f === :ActiveIdIsAlive && return Ptr{ImGuiID}(x + 5368) - f === :ActiveIdTimer && return Ptr{Cfloat}(x + 5372) - f === :ActiveIdIsJustActivated && return Ptr{Bool}(x + 5376) - f === :ActiveIdAllowOverlap && return Ptr{Bool}(x + 5377) - f === :ActiveIdNoClearOnFocusLoss && return Ptr{Bool}(x + 5378) - f === :ActiveIdHasBeenPressedBefore && return Ptr{Bool}(x + 5379) - f === :ActiveIdHasBeenEditedBefore && return Ptr{Bool}(x + 5380) - f === :ActiveIdHasBeenEditedThisFrame && return Ptr{Bool}(x + 5381) - f === :ActiveIdFromShortcut && return Ptr{Bool}(x + 5382) - f === :ActiveIdMouseButton && return (Ptr{Cint}(x + 5384), 0, 8) - f === :ActiveIdClickOffset && return Ptr{ImVec2}(x + 5388) - f === :ActiveIdWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5400) - f === :ActiveIdSource && return Ptr{ImGuiInputSource}(x + 5408) - f === :ActiveIdPreviousFrame && return Ptr{ImGuiID}(x + 5412) - f === :ActiveIdPreviousFrameIsAlive && return Ptr{Bool}(x + 5416) - f === :ActiveIdPreviousFrameHasBeenEditedBefore && return Ptr{Bool}(x + 5417) - f === :ActiveIdPreviousFrameWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5424) - f === :LastActiveId && return Ptr{ImGuiID}(x + 5432) - f === :LastActiveIdTimer && return Ptr{Cfloat}(x + 5436) - f === :LastKeyModsChangeTime && return Ptr{Cdouble}(x + 5440) - f === :LastKeyModsChangeFromNoneTime && return Ptr{Cdouble}(x + 5448) - f === :LastKeyboardKeyPressTime && return Ptr{Cdouble}(x + 5456) - f === :KeysMayBeCharInput && return Ptr{ImBitArrayForNamedKeys}(x + 5464) - f === :KeysOwnerData && return Ptr{NTuple{154, ImGuiKeyOwnerData}}(x + 5484) - f === :KeysRoutingTable && return Ptr{ImGuiKeyRoutingTable}(x + 7336) - f === :ActiveIdUsingNavDirMask && return Ptr{ImU32}(x + 7680) - f === :ActiveIdUsingAllKeyboardKeys && return Ptr{Bool}(x + 7684) - f === :DebugBreakInShortcutRouting && return Ptr{ImGuiKeyChord}(x + 7688) - f === :CurrentFocusScopeId && return Ptr{ImGuiID}(x + 7692) - f === :CurrentItemFlags && return Ptr{ImGuiItemFlags}(x + 7696) - f === :DebugLocateId && return Ptr{ImGuiID}(x + 7700) - f === :NextItemData && return Ptr{ImGuiNextItemData}(x + 7704) - f === :LastItemData && return Ptr{ImGuiLastItemData}(x + 7760) - f === :NextWindowData && return Ptr{ImGuiNextWindowData}(x + 7840) - f === :DebugShowGroupRects && return Ptr{Bool}(x + 8000) - f === :DebugFlashStyleColorIdx && return Ptr{ImGuiCol}(x + 8004) - f === :ColorStack && return Ptr{ImVector_ImGuiColorMod}(x + 8008) - f === :StyleVarStack && return Ptr{ImVector_ImGuiStyleMod}(x + 8024) - f === :FontStack && return Ptr{ImVector_ImFontPtr}(x + 8040) - f === :FocusScopeStack && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8056) - f === :ItemFlagsStack && return Ptr{ImVector_ImGuiItemFlags}(x + 8072) - f === :GroupStack && return Ptr{ImVector_ImGuiGroupData}(x + 8088) - f === :OpenPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8104) - f === :BeginPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8120) - f === :TreeNodeStack && return Ptr{ImVector_ImGuiTreeNodeStackData}(x + 8136) - f === :Viewports && return Ptr{ImVector_ImGuiViewportPPtr}(x + 8152) - f === :CurrentViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8168) - f === :MouseViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8176) - f === :MouseLastHoveredViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8184) - f === :PlatformLastFocusedViewportId && return Ptr{ImGuiID}(x + 8192) - f === :FallbackMonitor && return Ptr{ImGuiPlatformMonitor}(x + 8200) - f === :PlatformMonitorsFullWorkRect && return Ptr{ImRect}(x + 8248) - f === :ViewportCreatedCount && return Ptr{Cint}(x + 8264) - f === :PlatformWindowsCreatedCount && return Ptr{Cint}(x + 8268) - f === :ViewportFocusedStampCount && return Ptr{Cint}(x + 8272) - f === :NavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8280) - f === :NavId && return Ptr{ImGuiID}(x + 8288) - f === :NavFocusScopeId && return Ptr{ImGuiID}(x + 8292) - f === :NavLayer && return Ptr{ImGuiNavLayer}(x + 8296) - f === :NavActivateId && return Ptr{ImGuiID}(x + 8300) - f === :NavActivateDownId && return Ptr{ImGuiID}(x + 8304) - f === :NavActivatePressedId && return Ptr{ImGuiID}(x + 8308) - f === :NavActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8312) - f === :NavFocusRoute && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8320) - f === :NavHighlightActivatedId && return Ptr{ImGuiID}(x + 8336) - f === :NavHighlightActivatedTimer && return Ptr{Cfloat}(x + 8340) - f === :NavNextActivateId && return Ptr{ImGuiID}(x + 8344) - f === :NavNextActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8348) - f === :NavInputSource && return Ptr{ImGuiInputSource}(x + 8352) - f === :NavLastValidSelectionUserData && return Ptr{ImGuiSelectionUserData}(x + 8360) - f === :NavIdIsAlive && return Ptr{Bool}(x + 8368) - f === :NavMousePosDirty && return Ptr{Bool}(x + 8369) - f === :NavDisableHighlight && return Ptr{Bool}(x + 8370) - f === :NavDisableMouseHover && return Ptr{Bool}(x + 8371) - f === :NavAnyRequest && return Ptr{Bool}(x + 8372) - f === :NavInitRequest && return Ptr{Bool}(x + 8373) - f === :NavInitRequestFromMove && return Ptr{Bool}(x + 8374) - f === :NavInitResult && return Ptr{ImGuiNavItemData}(x + 8376) - f === :NavMoveSubmitted && return Ptr{Bool}(x + 8432) - f === :NavMoveScoringItems && return Ptr{Bool}(x + 8433) - f === :NavMoveForwardToNextFrame && return Ptr{Bool}(x + 8434) - f === :NavMoveFlags && return Ptr{ImGuiNavMoveFlags}(x + 8436) - f === :NavMoveScrollFlags && return Ptr{ImGuiScrollFlags}(x + 8440) - f === :NavMoveKeyMods && return Ptr{ImGuiKeyChord}(x + 8444) - f === :NavMoveDir && return Ptr{ImGuiDir}(x + 8448) - f === :NavMoveDirForDebug && return Ptr{ImGuiDir}(x + 8452) - f === :NavMoveClipDir && return Ptr{ImGuiDir}(x + 8456) - f === :NavScoringRect && return Ptr{ImRect}(x + 8460) - f === :NavScoringNoClipRect && return Ptr{ImRect}(x + 8476) - f === :NavScoringDebugCount && return Ptr{Cint}(x + 8492) - f === :NavTabbingDir && return Ptr{Cint}(x + 8496) - f === :NavTabbingCounter && return Ptr{Cint}(x + 8500) - f === :NavMoveResultLocal && return Ptr{ImGuiNavItemData}(x + 8504) - f === :NavMoveResultLocalVisible && return Ptr{ImGuiNavItemData}(x + 8560) - f === :NavMoveResultOther && return Ptr{ImGuiNavItemData}(x + 8616) - f === :NavTabbingResultFirst && return Ptr{ImGuiNavItemData}(x + 8672) - f === :NavJustMovedFromFocusScopeId && return Ptr{ImGuiID}(x + 8728) - f === :NavJustMovedToId && return Ptr{ImGuiID}(x + 8732) - f === :NavJustMovedToFocusScopeId && return Ptr{ImGuiID}(x + 8736) - f === :NavJustMovedToKeyMods && return Ptr{ImGuiKeyChord}(x + 8740) - f === :NavJustMovedToIsTabbing && return Ptr{Bool}(x + 8744) - f === :NavJustMovedToHasSelectionData && return Ptr{Bool}(x + 8745) - f === :ConfigNavWindowingKeyNext && return Ptr{ImGuiKeyChord}(x + 8748) - f === :ConfigNavWindowingKeyPrev && return Ptr{ImGuiKeyChord}(x + 8752) - f === :NavWindowingTarget && return Ptr{Ptr{ImGuiWindow}}(x + 8760) - f === :NavWindowingTargetAnim && return Ptr{Ptr{ImGuiWindow}}(x + 8768) - f === :NavWindowingListWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8776) - f === :NavWindowingTimer && return Ptr{Cfloat}(x + 8784) - f === :NavWindowingHighlightAlpha && return Ptr{Cfloat}(x + 8788) - f === :NavWindowingToggleLayer && return Ptr{Bool}(x + 8792) - f === :NavWindowingToggleKey && return Ptr{ImGuiKey}(x + 8796) - f === :NavWindowingAccumDeltaPos && return Ptr{ImVec2}(x + 8800) - f === :NavWindowingAccumDeltaSize && return Ptr{ImVec2}(x + 8808) - f === :DimBgRatio && return Ptr{Cfloat}(x + 8816) - f === :DragDropActive && return Ptr{Bool}(x + 8820) - f === :DragDropWithinSource && return Ptr{Bool}(x + 8821) - f === :DragDropWithinTarget && return Ptr{Bool}(x + 8822) - f === :DragDropSourceFlags && return Ptr{ImGuiDragDropFlags}(x + 8824) - f === :DragDropSourceFrameCount && return Ptr{Cint}(x + 8828) - f === :DragDropMouseButton && return Ptr{Cint}(x + 8832) - f === :DragDropPayload && return Ptr{ImGuiPayload}(x + 8840) - f === :DragDropTargetRect && return Ptr{ImRect}(x + 8904) - f === :DragDropTargetClipRect && return Ptr{ImRect}(x + 8920) - f === :DragDropTargetId && return Ptr{ImGuiID}(x + 8936) - f === :DragDropAcceptFlags && return Ptr{ImGuiDragDropFlags}(x + 8940) - f === :DragDropAcceptIdCurrRectSurface && return Ptr{Cfloat}(x + 8944) - f === :DragDropAcceptIdCurr && return Ptr{ImGuiID}(x + 8948) - f === :DragDropAcceptIdPrev && return Ptr{ImGuiID}(x + 8952) - f === :DragDropAcceptFrameCount && return Ptr{Cint}(x + 8956) - f === :DragDropHoldJustPressedId && return Ptr{ImGuiID}(x + 8960) - f === :DragDropPayloadBufHeap && return Ptr{ImVector_unsigned_char}(x + 8968) - f === :DragDropPayloadBufLocal && return Ptr{NTuple{16, Cuchar}}(x + 8984) - f === :ClipperTempDataStacked && return Ptr{Cint}(x + 9000) - f === :ClipperTempData && return Ptr{ImVector_ImGuiListClipperData}(x + 9008) - f === :CurrentTable && return Ptr{Ptr{ImGuiTable}}(x + 9024) - f === :DebugBreakInTable && return Ptr{ImGuiID}(x + 9032) - f === :TablesTempDataStacked && return Ptr{Cint}(x + 9036) - f === :TablesTempData && return Ptr{ImVector_ImGuiTableTempData}(x + 9040) - f === :Tables && return Ptr{ImPool_ImGuiTable}(x + 9056) - f === :TablesLastTimeActive && return Ptr{ImVector_float}(x + 9096) - f === :DrawChannelsTempMergeBuffer && return Ptr{ImVector_ImDrawChannel}(x + 9112) - f === :CurrentTabBar && return Ptr{Ptr{ImGuiTabBar}}(x + 9128) - f === :TabBars && return Ptr{ImPool_ImGuiTabBar}(x + 9136) - f === :CurrentTabBarStack && return Ptr{ImVector_ImGuiPtrOrIndex}(x + 9176) - f === :ShrinkWidthBuffer && return Ptr{ImVector_ImGuiShrinkWidthItem}(x + 9192) - f === :BoxSelectState && return Ptr{ImGuiBoxSelectState}(x + 9208) - f === :CurrentMultiSelect && return Ptr{Ptr{ImGuiMultiSelectTempData}}(x + 9312) - f === :MultiSelectTempDataStacked && return Ptr{Cint}(x + 9320) - f === :MultiSelectTempData && return Ptr{ImVector_ImGuiMultiSelectTempData}(x + 9328) - f === :MultiSelectStorage && return Ptr{ImPool_ImGuiMultiSelectState}(x + 9344) - f === :HoverItemDelayId && return Ptr{ImGuiID}(x + 9384) - f === :HoverItemDelayIdPreviousFrame && return Ptr{ImGuiID}(x + 9388) - f === :HoverItemDelayTimer && return Ptr{Cfloat}(x + 9392) - f === :HoverItemDelayClearTimer && return Ptr{Cfloat}(x + 9396) - f === :HoverItemUnlockedStationaryId && return Ptr{ImGuiID}(x + 9400) - f === :HoverWindowUnlockedStationaryId && return Ptr{ImGuiID}(x + 9404) - f === :MouseCursor && return Ptr{ImGuiMouseCursor}(x + 9408) - f === :MouseStationaryTimer && return Ptr{Cfloat}(x + 9412) - f === :MouseLastValidPos && return Ptr{ImVec2}(x + 9416) - f === :InputTextState && return Ptr{ImGuiInputTextState}(x + 9424) - f === :InputTextDeactivatedState && return Ptr{ImGuiInputTextDeactivatedState}(x + 9536) - f === :InputTextPasswordFont && return Ptr{ImFont}(x + 9560) - f === :TempInputId && return Ptr{ImGuiID}(x + 9680) - f === :DataTypeZeroValue && return Ptr{ImGuiDataTypeStorage}(x + 9684) - f === :BeginMenuDepth && return Ptr{Cint}(x + 9692) - f === :BeginComboDepth && return Ptr{Cint}(x + 9696) - f === :ColorEditOptions && return Ptr{ImGuiColorEditFlags}(x + 9700) - f === :ColorEditCurrentID && return Ptr{ImGuiID}(x + 9704) - f === :ColorEditSavedID && return Ptr{ImGuiID}(x + 9708) - f === :ColorEditSavedHue && return Ptr{Cfloat}(x + 9712) - f === :ColorEditSavedSat && return Ptr{Cfloat}(x + 9716) - f === :ColorEditSavedColor && return Ptr{ImU32}(x + 9720) - f === :ColorPickerRef && return Ptr{ImVec4}(x + 9724) - f === :ComboPreviewData && return Ptr{ImGuiComboPreviewData}(x + 9740) - f === :WindowResizeBorderExpectedRect && return Ptr{ImRect}(x + 9788) - f === :WindowResizeRelativeMode && return Ptr{Bool}(x + 9804) - f === :ScrollbarSeekMode && return Ptr{Cshort}(x + 9806) - f === :ScrollbarClickDeltaToGrabCenter && return Ptr{Cfloat}(x + 9808) - f === :SliderGrabClickOffset && return Ptr{Cfloat}(x + 9812) - f === :SliderCurrentAccum && return Ptr{Cfloat}(x + 9816) - f === :SliderCurrentAccumDirty && return Ptr{Bool}(x + 9820) - f === :DragCurrentAccumDirty && return Ptr{Bool}(x + 9821) - f === :DragCurrentAccum && return Ptr{Cfloat}(x + 9824) - f === :DragSpeedDefaultRatio && return Ptr{Cfloat}(x + 9828) - f === :DisabledAlphaBackup && return Ptr{Cfloat}(x + 9832) - f === :DisabledStackSize && return Ptr{Cshort}(x + 9836) - f === :LockMarkEdited && return Ptr{Cshort}(x + 9838) - f === :TooltipOverrideCount && return Ptr{Cshort}(x + 9840) - f === :ClipboardHandlerData && return Ptr{ImVector_char}(x + 9848) - f === :MenusIdSubmittedThisFrame && return Ptr{ImVector_ImGuiID}(x + 9864) - f === :TypingSelectState && return Ptr{ImGuiTypingSelectState}(x + 9880) - f === :PlatformImeData && return Ptr{ImGuiPlatformImeData}(x + 9984) - f === :PlatformImeDataPrev && return Ptr{ImGuiPlatformImeData}(x + 10000) - f === :PlatformImeViewport && return Ptr{ImGuiID}(x + 10016) - f === :DockContext && return Ptr{ImGuiDockContext}(x + 10024) - f === :DockNodeWindowMenuHandler && return Ptr{Ptr{Cvoid}}(x + 10080) - f === :SettingsLoaded && return Ptr{Bool}(x + 10088) - f === :SettingsDirtyTimer && return Ptr{Cfloat}(x + 10092) - f === :SettingsIniData && return Ptr{ImGuiTextBuffer}(x + 10096) - f === :SettingsHandlers && return Ptr{ImVector_ImGuiSettingsHandler}(x + 10112) - f === :SettingsWindows && return Ptr{ImChunkStream_ImGuiWindowSettings}(x + 10128) - f === :SettingsTables && return Ptr{ImChunkStream_ImGuiTableSettings}(x + 10144) - f === :Hooks && return Ptr{ImVector_ImGuiContextHook}(x + 10160) - f === :HookIdNext && return Ptr{ImGuiID}(x + 10176) - f === :LocalizationTable && return Ptr{NTuple{13, Ptr{Cchar}}}(x + 10184) - f === :LogEnabled && return Ptr{Bool}(x + 10288) - f === :LogType && return Ptr{ImGuiLogType}(x + 10292) - f === :LogFile && return Ptr{ImFileHandle}(x + 10296) - f === :LogBuffer && return Ptr{ImGuiTextBuffer}(x + 10304) - f === :LogNextPrefix && return Ptr{Ptr{Cchar}}(x + 10320) - f === :LogNextSuffix && return Ptr{Ptr{Cchar}}(x + 10328) - f === :LogLinePosY && return Ptr{Cfloat}(x + 10336) - f === :LogLineFirstItem && return Ptr{Bool}(x + 10340) - f === :LogDepthRef && return Ptr{Cint}(x + 10344) - f === :LogDepthToExpand && return Ptr{Cint}(x + 10348) - f === :LogDepthToExpandDefault && return Ptr{Cint}(x + 10352) - f === :DebugLogFlags && return Ptr{ImGuiDebugLogFlags}(x + 10356) - f === :DebugLogBuf && return Ptr{ImGuiTextBuffer}(x + 10360) - f === :DebugLogIndex && return Ptr{ImGuiTextIndex}(x + 10376) - f === :DebugLogAutoDisableFlags && return Ptr{ImGuiDebugLogFlags}(x + 10400) - f === :DebugLogAutoDisableFrames && return Ptr{ImU8}(x + 10404) - f === :DebugLocateFrames && return Ptr{ImU8}(x + 10405) - f === :DebugBreakInLocateId && return Ptr{Bool}(x + 10406) - f === :DebugBreakKeyChord && return Ptr{ImGuiKeyChord}(x + 10408) - f === :DebugBeginReturnValueCullDepth && return Ptr{ImS8}(x + 10412) - f === :DebugItemPickerActive && return Ptr{Bool}(x + 10413) - f === :DebugItemPickerMouseButton && return Ptr{ImU8}(x + 10414) - f === :DebugItemPickerBreakId && return Ptr{ImGuiID}(x + 10416) - f === :DebugFlashStyleColorTime && return Ptr{Cfloat}(x + 10420) - f === :DebugFlashStyleColorBackup && return Ptr{ImVec4}(x + 10424) - f === :DebugMetricsConfig && return Ptr{ImGuiMetricsConfig}(x + 10440) - f === :DebugIDStackTool && return Ptr{ImGuiIDStackTool}(x + 10472) - f === :DebugAllocInfo && return Ptr{ImGuiDebugAllocInfo}(x + 10512) - f === :DebugHoveredDockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 10576) - f === :FramerateSecPerFrame && return Ptr{NTuple{60, Cfloat}}(x + 10584) - f === :FramerateSecPerFrameIdx && return Ptr{Cint}(x + 10824) - f === :FramerateSecPerFrameCount && return Ptr{Cint}(x + 10828) - f === :FramerateSecPerFrameAccum && return Ptr{Cfloat}(x + 10832) - f === :WantCaptureMouseNextFrame && return Ptr{Cint}(x + 10836) - f === :WantCaptureKeyboardNextFrame && return Ptr{Cint}(x + 10840) - f === :WantTextInputNextFrame && return Ptr{Cint}(x + 10844) - f === :TempBuffer && return Ptr{ImVector_char}(x + 10848) - f === :TempKeychordName && return Ptr{NTuple{64, Cchar}}(x + 10864) + f === :PlatformIO && return Ptr{ImGuiPlatformIO}(x + 3016) + f === :Style && return Ptr{ImGuiStyle}(x + 3312) + f === :ConfigFlagsCurrFrame && return Ptr{ImGuiConfigFlags}(x + 4504) + f === :ConfigFlagsLastFrame && return Ptr{ImGuiConfigFlags}(x + 4508) + f === :Font && return Ptr{Ptr{ImFont}}(x + 4512) + f === :FontSize && return Ptr{Cfloat}(x + 4520) + f === :FontBaseSize && return Ptr{Cfloat}(x + 4524) + f === :FontScale && return Ptr{Cfloat}(x + 4528) + f === :CurrentDpiScale && return Ptr{Cfloat}(x + 4532) + f === :DrawListSharedData && return Ptr{ImDrawListSharedData}(x + 4536) + f === :Time && return Ptr{Cdouble}(x + 5072) + f === :FrameCount && return Ptr{Cint}(x + 5080) + f === :FrameCountEnded && return Ptr{Cint}(x + 5084) + f === :FrameCountPlatformEnded && return Ptr{Cint}(x + 5088) + f === :FrameCountRendered && return Ptr{Cint}(x + 5092) + f === :WithinFrameScope && return Ptr{Bool}(x + 5096) + f === :WithinFrameScopeWithImplicitWindow && return Ptr{Bool}(x + 5097) + f === :WithinEndChild && return Ptr{Bool}(x + 5098) + f === :GcCompactAll && return Ptr{Bool}(x + 5099) + f === :TestEngineHookItems && return Ptr{Bool}(x + 5100) + f === :TestEngine && return Ptr{Ptr{Cvoid}}(x + 5104) + f === :ContextName && return Ptr{NTuple{16, Cchar}}(x + 5112) + f === :InputEventsQueue && return Ptr{ImVector_ImGuiInputEvent}(x + 5128) + f === :InputEventsTrail && return Ptr{ImVector_ImGuiInputEvent}(x + 5144) + f === :InputEventsNextMouseSource && return Ptr{ImGuiMouseSource}(x + 5160) + f === :InputEventsNextEventId && return Ptr{ImU32}(x + 5164) + f === :Windows && return Ptr{ImVector_ImGuiWindowPtr}(x + 5168) + f === :WindowsFocusOrder && return Ptr{ImVector_ImGuiWindowPtr}(x + 5184) + f === :WindowsTempSortBuffer && return Ptr{ImVector_ImGuiWindowPtr}(x + 5200) + f === :CurrentWindowStack && return Ptr{ImVector_ImGuiWindowStackData}(x + 5216) + f === :WindowsById && return Ptr{ImGuiStorage}(x + 5232) + f === :WindowsActiveCount && return Ptr{Cint}(x + 5248) + f === :WindowsHoverPadding && return Ptr{ImVec2}(x + 5252) + f === :DebugBreakInWindow && return Ptr{ImGuiID}(x + 5260) + f === :CurrentWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5264) + f === :HoveredWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5272) + f === :HoveredWindowUnderMovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5280) + f === :HoveredWindowBeforeClear && return Ptr{Ptr{ImGuiWindow}}(x + 5288) + f === :MovingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5296) + f === :WheelingWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5304) + f === :WheelingWindowRefMousePos && return Ptr{ImVec2}(x + 5312) + f === :WheelingWindowStartFrame && return Ptr{Cint}(x + 5320) + f === :WheelingWindowScrolledFrame && return Ptr{Cint}(x + 5324) + f === :WheelingWindowReleaseTimer && return Ptr{Cfloat}(x + 5328) + f === :WheelingWindowWheelRemainder && return Ptr{ImVec2}(x + 5332) + f === :WheelingAxisAvg && return Ptr{ImVec2}(x + 5340) + f === :DebugDrawIdConflicts && return Ptr{ImGuiID}(x + 5348) + f === :DebugHookIdInfo && return Ptr{ImGuiID}(x + 5352) + f === :HoveredId && return Ptr{ImGuiID}(x + 5356) + f === :HoveredIdPreviousFrame && return Ptr{ImGuiID}(x + 5360) + f === :HoveredIdPreviousFrameItemCount && return Ptr{Cint}(x + 5364) + f === :HoveredIdTimer && return Ptr{Cfloat}(x + 5368) + f === :HoveredIdNotActiveTimer && return Ptr{Cfloat}(x + 5372) + f === :HoveredIdAllowOverlap && return Ptr{Bool}(x + 5376) + f === :HoveredIdIsDisabled && return Ptr{Bool}(x + 5377) + f === :ItemUnclipByLog && return Ptr{Bool}(x + 5378) + f === :ActiveId && return Ptr{ImGuiID}(x + 5380) + f === :ActiveIdIsAlive && return Ptr{ImGuiID}(x + 5384) + f === :ActiveIdTimer && return Ptr{Cfloat}(x + 5388) + f === :ActiveIdIsJustActivated && return Ptr{Bool}(x + 5392) + f === :ActiveIdAllowOverlap && return Ptr{Bool}(x + 5393) + f === :ActiveIdNoClearOnFocusLoss && return Ptr{Bool}(x + 5394) + f === :ActiveIdHasBeenPressedBefore && return Ptr{Bool}(x + 5395) + f === :ActiveIdHasBeenEditedBefore && return Ptr{Bool}(x + 5396) + f === :ActiveIdHasBeenEditedThisFrame && return Ptr{Bool}(x + 5397) + f === :ActiveIdFromShortcut && return Ptr{Bool}(x + 5398) + f === :ActiveIdMouseButton && return (Ptr{Cint}(x + 5400), 0, 8) + f === :ActiveIdClickOffset && return Ptr{ImVec2}(x + 5404) + f === :ActiveIdWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5416) + f === :ActiveIdSource && return Ptr{ImGuiInputSource}(x + 5424) + f === :ActiveIdPreviousFrame && return Ptr{ImGuiID}(x + 5428) + f === :ActiveIdPreviousFrameIsAlive && return Ptr{Bool}(x + 5432) + f === :ActiveIdPreviousFrameHasBeenEditedBefore && return Ptr{Bool}(x + 5433) + f === :ActiveIdPreviousFrameWindow && return Ptr{Ptr{ImGuiWindow}}(x + 5440) + f === :LastActiveId && return Ptr{ImGuiID}(x + 5448) + f === :LastActiveIdTimer && return Ptr{Cfloat}(x + 5452) + f === :LastKeyModsChangeTime && return Ptr{Cdouble}(x + 5456) + f === :LastKeyModsChangeFromNoneTime && return Ptr{Cdouble}(x + 5464) + f === :LastKeyboardKeyPressTime && return Ptr{Cdouble}(x + 5472) + f === :KeysMayBeCharInput && return Ptr{ImBitArrayForNamedKeys}(x + 5480) + f === :KeysOwnerData && return Ptr{NTuple{154, ImGuiKeyOwnerData}}(x + 5500) + f === :KeysRoutingTable && return Ptr{ImGuiKeyRoutingTable}(x + 7352) + f === :ActiveIdUsingNavDirMask && return Ptr{ImU32}(x + 7696) + f === :ActiveIdUsingAllKeyboardKeys && return Ptr{Bool}(x + 7700) + f === :DebugBreakInShortcutRouting && return Ptr{ImGuiKeyChord}(x + 7704) + f === :CurrentFocusScopeId && return Ptr{ImGuiID}(x + 7708) + f === :CurrentItemFlags && return Ptr{ImGuiItemFlags}(x + 7712) + f === :DebugLocateId && return Ptr{ImGuiID}(x + 7716) + f === :NextItemData && return Ptr{ImGuiNextItemData}(x + 7720) + f === :LastItemData && return Ptr{ImGuiLastItemData}(x + 7776) + f === :NextWindowData && return Ptr{ImGuiNextWindowData}(x + 7856) + f === :DebugShowGroupRects && return Ptr{Bool}(x + 8016) + f === :DebugFlashStyleColorIdx && return Ptr{ImGuiCol}(x + 8020) + f === :ColorStack && return Ptr{ImVector_ImGuiColorMod}(x + 8024) + f === :StyleVarStack && return Ptr{ImVector_ImGuiStyleMod}(x + 8040) + f === :FontStack && return Ptr{ImVector_ImFontPtr}(x + 8056) + f === :FocusScopeStack && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8072) + f === :ItemFlagsStack && return Ptr{ImVector_ImGuiItemFlags}(x + 8088) + f === :GroupStack && return Ptr{ImVector_ImGuiGroupData}(x + 8104) + f === :OpenPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8120) + f === :BeginPopupStack && return Ptr{ImVector_ImGuiPopupData}(x + 8136) + f === :TreeNodeStack && return Ptr{ImVector_ImGuiTreeNodeStackData}(x + 8152) + f === :Viewports && return Ptr{ImVector_ImGuiViewportPPtr}(x + 8168) + f === :CurrentViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8184) + f === :MouseViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8192) + f === :MouseLastHoveredViewport && return Ptr{Ptr{ImGuiViewportP}}(x + 8200) + f === :PlatformLastFocusedViewportId && return Ptr{ImGuiID}(x + 8208) + f === :FallbackMonitor && return Ptr{ImGuiPlatformMonitor}(x + 8216) + f === :PlatformMonitorsFullWorkRect && return Ptr{ImRect}(x + 8264) + f === :ViewportCreatedCount && return Ptr{Cint}(x + 8280) + f === :PlatformWindowsCreatedCount && return Ptr{Cint}(x + 8284) + f === :ViewportFocusedStampCount && return Ptr{Cint}(x + 8288) + f === :NavCursorVisible && return Ptr{Bool}(x + 8292) + f === :NavHighlightItemUnderNav && return Ptr{Bool}(x + 8293) + f === :NavMousePosDirty && return Ptr{Bool}(x + 8294) + f === :NavIdIsAlive && return Ptr{Bool}(x + 8295) + f === :NavId && return Ptr{ImGuiID}(x + 8296) + f === :NavWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8304) + f === :NavFocusScopeId && return Ptr{ImGuiID}(x + 8312) + f === :NavLayer && return Ptr{ImGuiNavLayer}(x + 8316) + f === :NavActivateId && return Ptr{ImGuiID}(x + 8320) + f === :NavActivateDownId && return Ptr{ImGuiID}(x + 8324) + f === :NavActivatePressedId && return Ptr{ImGuiID}(x + 8328) + f === :NavActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8332) + f === :NavFocusRoute && return Ptr{ImVector_ImGuiFocusScopeData}(x + 8336) + f === :NavHighlightActivatedId && return Ptr{ImGuiID}(x + 8352) + f === :NavHighlightActivatedTimer && return Ptr{Cfloat}(x + 8356) + f === :NavNextActivateId && return Ptr{ImGuiID}(x + 8360) + f === :NavNextActivateFlags && return Ptr{ImGuiActivateFlags}(x + 8364) + f === :NavInputSource && return Ptr{ImGuiInputSource}(x + 8368) + f === :NavLastValidSelectionUserData && return Ptr{ImGuiSelectionUserData}(x + 8376) + f === :NavCursorHideFrames && return Ptr{ImS8}(x + 8384) + f === :NavAnyRequest && return Ptr{Bool}(x + 8385) + f === :NavInitRequest && return Ptr{Bool}(x + 8386) + f === :NavInitRequestFromMove && return Ptr{Bool}(x + 8387) + f === :NavInitResult && return Ptr{ImGuiNavItemData}(x + 8392) + f === :NavMoveSubmitted && return Ptr{Bool}(x + 8448) + f === :NavMoveScoringItems && return Ptr{Bool}(x + 8449) + f === :NavMoveForwardToNextFrame && return Ptr{Bool}(x + 8450) + f === :NavMoveFlags && return Ptr{ImGuiNavMoveFlags}(x + 8452) + f === :NavMoveScrollFlags && return Ptr{ImGuiScrollFlags}(x + 8456) + f === :NavMoveKeyMods && return Ptr{ImGuiKeyChord}(x + 8460) + f === :NavMoveDir && return Ptr{ImGuiDir}(x + 8464) + f === :NavMoveDirForDebug && return Ptr{ImGuiDir}(x + 8468) + f === :NavMoveClipDir && return Ptr{ImGuiDir}(x + 8472) + f === :NavScoringRect && return Ptr{ImRect}(x + 8476) + f === :NavScoringNoClipRect && return Ptr{ImRect}(x + 8492) + f === :NavScoringDebugCount && return Ptr{Cint}(x + 8508) + f === :NavTabbingDir && return Ptr{Cint}(x + 8512) + f === :NavTabbingCounter && return Ptr{Cint}(x + 8516) + f === :NavMoveResultLocal && return Ptr{ImGuiNavItemData}(x + 8520) + f === :NavMoveResultLocalVisible && return Ptr{ImGuiNavItemData}(x + 8576) + f === :NavMoveResultOther && return Ptr{ImGuiNavItemData}(x + 8632) + f === :NavTabbingResultFirst && return Ptr{ImGuiNavItemData}(x + 8688) + f === :NavJustMovedFromFocusScopeId && return Ptr{ImGuiID}(x + 8744) + f === :NavJustMovedToId && return Ptr{ImGuiID}(x + 8748) + f === :NavJustMovedToFocusScopeId && return Ptr{ImGuiID}(x + 8752) + f === :NavJustMovedToKeyMods && return Ptr{ImGuiKeyChord}(x + 8756) + f === :NavJustMovedToIsTabbing && return Ptr{Bool}(x + 8760) + f === :NavJustMovedToHasSelectionData && return Ptr{Bool}(x + 8761) + f === :ConfigNavWindowingKeyNext && return Ptr{ImGuiKeyChord}(x + 8764) + f === :ConfigNavWindowingKeyPrev && return Ptr{ImGuiKeyChord}(x + 8768) + f === :NavWindowingTarget && return Ptr{Ptr{ImGuiWindow}}(x + 8776) + f === :NavWindowingTargetAnim && return Ptr{Ptr{ImGuiWindow}}(x + 8784) + f === :NavWindowingListWindow && return Ptr{Ptr{ImGuiWindow}}(x + 8792) + f === :NavWindowingTimer && return Ptr{Cfloat}(x + 8800) + f === :NavWindowingHighlightAlpha && return Ptr{Cfloat}(x + 8804) + f === :NavWindowingToggleLayer && return Ptr{Bool}(x + 8808) + f === :NavWindowingToggleKey && return Ptr{ImGuiKey}(x + 8812) + f === :NavWindowingAccumDeltaPos && return Ptr{ImVec2}(x + 8816) + f === :NavWindowingAccumDeltaSize && return Ptr{ImVec2}(x + 8824) + f === :DimBgRatio && return Ptr{Cfloat}(x + 8832) + f === :DragDropActive && return Ptr{Bool}(x + 8836) + f === :DragDropWithinSource && return Ptr{Bool}(x + 8837) + f === :DragDropWithinTarget && return Ptr{Bool}(x + 8838) + f === :DragDropSourceFlags && return Ptr{ImGuiDragDropFlags}(x + 8840) + f === :DragDropSourceFrameCount && return Ptr{Cint}(x + 8844) + f === :DragDropMouseButton && return Ptr{Cint}(x + 8848) + f === :DragDropPayload && return Ptr{ImGuiPayload}(x + 8856) + f === :DragDropTargetRect && return Ptr{ImRect}(x + 8920) + f === :DragDropTargetClipRect && return Ptr{ImRect}(x + 8936) + f === :DragDropTargetId && return Ptr{ImGuiID}(x + 8952) + f === :DragDropAcceptFlags && return Ptr{ImGuiDragDropFlags}(x + 8956) + f === :DragDropAcceptIdCurrRectSurface && return Ptr{Cfloat}(x + 8960) + f === :DragDropAcceptIdCurr && return Ptr{ImGuiID}(x + 8964) + f === :DragDropAcceptIdPrev && return Ptr{ImGuiID}(x + 8968) + f === :DragDropAcceptFrameCount && return Ptr{Cint}(x + 8972) + f === :DragDropHoldJustPressedId && return Ptr{ImGuiID}(x + 8976) + f === :DragDropPayloadBufHeap && return Ptr{ImVector_unsigned_char}(x + 8984) + f === :DragDropPayloadBufLocal && return Ptr{NTuple{16, Cuchar}}(x + 9000) + f === :ClipperTempDataStacked && return Ptr{Cint}(x + 9016) + f === :ClipperTempData && return Ptr{ImVector_ImGuiListClipperData}(x + 9024) + f === :CurrentTable && return Ptr{Ptr{ImGuiTable}}(x + 9040) + f === :DebugBreakInTable && return Ptr{ImGuiID}(x + 9048) + f === :TablesTempDataStacked && return Ptr{Cint}(x + 9052) + f === :TablesTempData && return Ptr{ImVector_ImGuiTableTempData}(x + 9056) + f === :Tables && return Ptr{ImPool_ImGuiTable}(x + 9072) + f === :TablesLastTimeActive && return Ptr{ImVector_float}(x + 9112) + f === :DrawChannelsTempMergeBuffer && return Ptr{ImVector_ImDrawChannel}(x + 9128) + f === :CurrentTabBar && return Ptr{Ptr{ImGuiTabBar}}(x + 9144) + f === :TabBars && return Ptr{ImPool_ImGuiTabBar}(x + 9152) + f === :CurrentTabBarStack && return Ptr{ImVector_ImGuiPtrOrIndex}(x + 9192) + f === :ShrinkWidthBuffer && return Ptr{ImVector_ImGuiShrinkWidthItem}(x + 9208) + f === :BoxSelectState && return Ptr{ImGuiBoxSelectState}(x + 9224) + f === :CurrentMultiSelect && return Ptr{Ptr{ImGuiMultiSelectTempData}}(x + 9328) + f === :MultiSelectTempDataStacked && return Ptr{Cint}(x + 9336) + f === :MultiSelectTempData && return Ptr{ImVector_ImGuiMultiSelectTempData}(x + 9344) + f === :MultiSelectStorage && return Ptr{ImPool_ImGuiMultiSelectState}(x + 9360) + f === :HoverItemDelayId && return Ptr{ImGuiID}(x + 9400) + f === :HoverItemDelayIdPreviousFrame && return Ptr{ImGuiID}(x + 9404) + f === :HoverItemDelayTimer && return Ptr{Cfloat}(x + 9408) + f === :HoverItemDelayClearTimer && return Ptr{Cfloat}(x + 9412) + f === :HoverItemUnlockedStationaryId && return Ptr{ImGuiID}(x + 9416) + f === :HoverWindowUnlockedStationaryId && return Ptr{ImGuiID}(x + 9420) + f === :MouseCursor && return Ptr{ImGuiMouseCursor}(x + 9424) + f === :MouseStationaryTimer && return Ptr{Cfloat}(x + 9428) + f === :MouseLastValidPos && return Ptr{ImVec2}(x + 9432) + f === :InputTextState && return Ptr{ImGuiInputTextState}(x + 9440) + f === :InputTextDeactivatedState && return Ptr{ImGuiInputTextDeactivatedState}(x + 9552) + f === :InputTextPasswordFont && return Ptr{ImFont}(x + 9576) + f === :TempInputId && return Ptr{ImGuiID}(x + 9696) + f === :DataTypeZeroValue && return Ptr{ImGuiDataTypeStorage}(x + 9700) + f === :BeginMenuDepth && return Ptr{Cint}(x + 9708) + f === :BeginComboDepth && return Ptr{Cint}(x + 9712) + f === :ColorEditOptions && return Ptr{ImGuiColorEditFlags}(x + 9716) + f === :ColorEditCurrentID && return Ptr{ImGuiID}(x + 9720) + f === :ColorEditSavedID && return Ptr{ImGuiID}(x + 9724) + f === :ColorEditSavedHue && return Ptr{Cfloat}(x + 9728) + f === :ColorEditSavedSat && return Ptr{Cfloat}(x + 9732) + f === :ColorEditSavedColor && return Ptr{ImU32}(x + 9736) + f === :ColorPickerRef && return Ptr{ImVec4}(x + 9740) + f === :ComboPreviewData && return Ptr{ImGuiComboPreviewData}(x + 9756) + f === :WindowResizeBorderExpectedRect && return Ptr{ImRect}(x + 9804) + f === :WindowResizeRelativeMode && return Ptr{Bool}(x + 9820) + f === :ScrollbarSeekMode && return Ptr{Cshort}(x + 9822) + f === :ScrollbarClickDeltaToGrabCenter && return Ptr{Cfloat}(x + 9824) + f === :SliderGrabClickOffset && return Ptr{Cfloat}(x + 9828) + f === :SliderCurrentAccum && return Ptr{Cfloat}(x + 9832) + f === :SliderCurrentAccumDirty && return Ptr{Bool}(x + 9836) + f === :DragCurrentAccumDirty && return Ptr{Bool}(x + 9837) + f === :DragCurrentAccum && return Ptr{Cfloat}(x + 9840) + f === :DragSpeedDefaultRatio && return Ptr{Cfloat}(x + 9844) + f === :DisabledAlphaBackup && return Ptr{Cfloat}(x + 9848) + f === :DisabledStackSize && return Ptr{Cshort}(x + 9852) + f === :TooltipOverrideCount && return Ptr{Cshort}(x + 9854) + f === :TooltipPreviousWindow && return Ptr{Ptr{ImGuiWindow}}(x + 9856) + f === :ClipboardHandlerData && return Ptr{ImVector_char}(x + 9864) + f === :MenusIdSubmittedThisFrame && return Ptr{ImVector_ImGuiID}(x + 9880) + f === :TypingSelectState && return Ptr{ImGuiTypingSelectState}(x + 9896) + f === :PlatformImeData && return Ptr{ImGuiPlatformImeData}(x + 10000) + f === :PlatformImeDataPrev && return Ptr{ImGuiPlatformImeData}(x + 10016) + f === :PlatformImeViewport && return Ptr{ImGuiID}(x + 10032) + f === :DockContext && return Ptr{ImGuiDockContext}(x + 10040) + f === :DockNodeWindowMenuHandler && return Ptr{Ptr{Cvoid}}(x + 10096) + f === :SettingsLoaded && return Ptr{Bool}(x + 10104) + f === :SettingsDirtyTimer && return Ptr{Cfloat}(x + 10108) + f === :SettingsIniData && return Ptr{ImGuiTextBuffer}(x + 10112) + f === :SettingsHandlers && return Ptr{ImVector_ImGuiSettingsHandler}(x + 10128) + f === :SettingsWindows && return Ptr{ImChunkStream_ImGuiWindowSettings}(x + 10144) + f === :SettingsTables && return Ptr{ImChunkStream_ImGuiTableSettings}(x + 10160) + f === :Hooks && return Ptr{ImVector_ImGuiContextHook}(x + 10176) + f === :HookIdNext && return Ptr{ImGuiID}(x + 10192) + f === :LocalizationTable && return Ptr{NTuple{13, Ptr{Cchar}}}(x + 10200) + f === :LogEnabled && return Ptr{Bool}(x + 10304) + f === :LogFlags && return Ptr{ImGuiLogFlags}(x + 10308) + f === :LogWindow && return Ptr{Ptr{ImGuiWindow}}(x + 10312) + f === :LogFile && return Ptr{ImFileHandle}(x + 10320) + f === :LogBuffer && return Ptr{ImGuiTextBuffer}(x + 10328) + f === :LogNextPrefix && return Ptr{Ptr{Cchar}}(x + 10344) + f === :LogNextSuffix && return Ptr{Ptr{Cchar}}(x + 10352) + f === :LogLinePosY && return Ptr{Cfloat}(x + 10360) + f === :LogLineFirstItem && return Ptr{Bool}(x + 10364) + f === :LogDepthRef && return Ptr{Cint}(x + 10368) + f === :LogDepthToExpand && return Ptr{Cint}(x + 10372) + f === :LogDepthToExpandDefault && return Ptr{Cint}(x + 10376) + f === :ErrorCallback && return Ptr{ImGuiErrorCallback}(x + 10384) + f === :ErrorCallbackUserData && return Ptr{Ptr{Cvoid}}(x + 10392) + f === :ErrorTooltipLockedPos && return Ptr{ImVec2}(x + 10400) + f === :ErrorFirst && return Ptr{Bool}(x + 10408) + f === :ErrorCountCurrentFrame && return Ptr{Cint}(x + 10412) + f === :StackSizesInNewFrame && return Ptr{ImGuiErrorRecoveryState}(x + 10416) + f === :StackSizesInBeginForCurrentWindow && return Ptr{Ptr{ImGuiErrorRecoveryState}}(x + 10440) + f === :DebugDrawIdConflictsCount && return Ptr{Cint}(x + 10448) + f === :DebugLogFlags && return Ptr{ImGuiDebugLogFlags}(x + 10452) + f === :DebugLogBuf && return Ptr{ImGuiTextBuffer}(x + 10456) + f === :DebugLogIndex && return Ptr{ImGuiTextIndex}(x + 10472) + f === :DebugLogSkippedErrors && return Ptr{Cint}(x + 10496) + f === :DebugLogAutoDisableFlags && return Ptr{ImGuiDebugLogFlags}(x + 10500) + f === :DebugLogAutoDisableFrames && return Ptr{ImU8}(x + 10504) + f === :DebugLocateFrames && return Ptr{ImU8}(x + 10505) + f === :DebugBreakInLocateId && return Ptr{Bool}(x + 10506) + f === :DebugBreakKeyChord && return Ptr{ImGuiKeyChord}(x + 10508) + f === :DebugBeginReturnValueCullDepth && return Ptr{ImS8}(x + 10512) + f === :DebugItemPickerActive && return Ptr{Bool}(x + 10513) + f === :DebugItemPickerMouseButton && return Ptr{ImU8}(x + 10514) + f === :DebugItemPickerBreakId && return Ptr{ImGuiID}(x + 10516) + f === :DebugFlashStyleColorTime && return Ptr{Cfloat}(x + 10520) + f === :DebugFlashStyleColorBackup && return Ptr{ImVec4}(x + 10524) + f === :DebugMetricsConfig && return Ptr{ImGuiMetricsConfig}(x + 10540) + f === :DebugIDStackTool && return Ptr{ImGuiIDStackTool}(x + 10568) + f === :DebugAllocInfo && return Ptr{ImGuiDebugAllocInfo}(x + 10608) + f === :DebugHoveredDockNode && return Ptr{Ptr{ImGuiDockNode}}(x + 10672) + f === :FramerateSecPerFrame && return Ptr{NTuple{60, Cfloat}}(x + 10680) + f === :FramerateSecPerFrameIdx && return Ptr{Cint}(x + 10920) + f === :FramerateSecPerFrameCount && return Ptr{Cint}(x + 10924) + f === :FramerateSecPerFrameAccum && return Ptr{Cfloat}(x + 10928) + f === :WantCaptureMouseNextFrame && return Ptr{Cint}(x + 10932) + f === :WantCaptureKeyboardNextFrame && return Ptr{Cint}(x + 10936) + f === :WantTextInputNextFrame && return Ptr{Cint}(x + 10940) + f === :TempBuffer && return Ptr{ImVector_char}(x + 10944) + f === :TempKeychordName && return Ptr{NTuple{64, Cchar}}(x + 10960) return getfield(x, f) end @@ -3577,8 +3670,6 @@ struct ImVector_const_charPtr Data::Ptr{Ptr{Cchar}} end -const ImU64 = Culonglong - const ImGuiMouseButton = Cint const ImGuiTableBgTarget = Cint @@ -3683,12 +3774,13 @@ end ImGuiInputTextFlags_DisplayEmptyRefVal = 16384 ImGuiInputTextFlags_NoHorizontalScroll = 32768 ImGuiInputTextFlags_NoUndoRedo = 65536 - ImGuiInputTextFlags_CallbackCompletion = 131072 - ImGuiInputTextFlags_CallbackHistory = 262144 - ImGuiInputTextFlags_CallbackAlways = 524288 - ImGuiInputTextFlags_CallbackCharFilter = 1048576 - ImGuiInputTextFlags_CallbackResize = 2097152 - ImGuiInputTextFlags_CallbackEdit = 4194304 + ImGuiInputTextFlags_ElideLeft = 131072 + ImGuiInputTextFlags_CallbackCompletion = 262144 + ImGuiInputTextFlags_CallbackHistory = 524288 + ImGuiInputTextFlags_CallbackAlways = 1048576 + ImGuiInputTextFlags_CallbackCharFilter = 2097152 + ImGuiInputTextFlags_CallbackResize = 4194304 + ImGuiInputTextFlags_CallbackEdit = 8388608 end @cenum ImGuiTreeNodeFlags_::UInt32 begin @@ -3872,8 +3964,6 @@ end ImGuiConfigFlags_None = 0 ImGuiConfigFlags_NavEnableKeyboard = 1 ImGuiConfigFlags_NavEnableGamepad = 2 - ImGuiConfigFlags_NavEnableSetMousePos = 4 - ImGuiConfigFlags_NavNoCaptureKeyboard = 8 ImGuiConfigFlags_NoMouse = 16 ImGuiConfigFlags_NoMouseCursorChange = 32 ImGuiConfigFlags_NoKeyboard = 64 @@ -3951,7 +4041,7 @@ end ImGuiCol_TextLink = 51 ImGuiCol_TextSelectedBg = 52 ImGuiCol_DragDropTarget = 53 - ImGuiCol_NavHighlight = 54 + ImGuiCol_NavCursor = 54 ImGuiCol_NavWindowingHighlight = 55 ImGuiCol_NavWindowingDimBg = 56 ImGuiCol_ModalWindowDimBg = 57 @@ -4002,6 +4092,7 @@ end ImGuiButtonFlags_MouseButtonRight = 2 ImGuiButtonFlags_MouseButtonMiddle = 4 ImGuiButtonFlags_MouseButtonMask_ = 7 + ImGuiButtonFlags_EnableNav = 8 end @cenum ImGuiColorEditFlags_::UInt32 begin @@ -4038,11 +4129,13 @@ end @cenum ImGuiSliderFlags_::UInt32 begin ImGuiSliderFlags_None = 0 - ImGuiSliderFlags_AlwaysClamp = 16 ImGuiSliderFlags_Logarithmic = 32 ImGuiSliderFlags_NoRoundToFormat = 64 ImGuiSliderFlags_NoInput = 128 ImGuiSliderFlags_WrapAround = 256 + ImGuiSliderFlags_ClampOnInput = 512 + ImGuiSliderFlags_ClampZeroRange = 1024 + ImGuiSliderFlags_AlwaysClamp = 1536 ImGuiSliderFlags_InvalidMask_ = 1879048207 end @@ -4230,7 +4323,7 @@ end const ImGuiFocusRequestFlags = Cint -const ImGuiNavHighlightFlags = Cint +const ImGuiNavRenderCursorFlags = Cint const ImGuiSeparatorFlags = Cint @@ -4238,9 +4331,6 @@ const ImGuiTextFlags = Cint const ImGuiTooltipFlags = Cint -# typedef void ( * ImGuiErrorLogCallback ) ( void * user_data , const char * fmt , ... ) -const ImGuiErrorLogCallback = Ptr{Cvoid} - @cenum ImGuiDataTypePrivate_::UInt32 begin ImGuiDataType_String = 12 ImGuiDataType_Pointer = 13 @@ -4253,6 +4343,8 @@ end ImGuiItemFlags_MixedValue = 4096 ImGuiItemFlags_NoWindowHoverableCheck = 8192 ImGuiItemFlags_AllowOverlap = 16384 + ImGuiItemFlags_NoNavDisableMouseHover = 32768 + ImGuiItemFlags_NoMarkEdited = 65536 ImGuiItemFlags_Inputable = 1048576 ImGuiItemFlags_HasSelectionUserData = 2097152 ImGuiItemFlags_IsMultiSelect = 4194304 @@ -4282,9 +4374,8 @@ end @cenum ImGuiInputTextFlagsPrivate_::UInt32 begin ImGuiInputTextFlags_Multiline = 67108864 - ImGuiInputTextFlags_NoMarkEdited = 134217728 - ImGuiInputTextFlags_MergedItem = 268435456 - ImGuiInputTextFlags_LocalizeDecimalPoint = 536870912 + ImGuiInputTextFlags_MergedItem = 134217728 + ImGuiInputTextFlags_LocalizeDecimalPoint = 268435456 end @cenum ImGuiButtonFlagsPrivate_::UInt32 begin @@ -4294,12 +4385,10 @@ end ImGuiButtonFlags_PressedOnRelease = 128 ImGuiButtonFlags_PressedOnDoubleClick = 256 ImGuiButtonFlags_PressedOnDragDropHold = 512 - ImGuiButtonFlags_Repeat = 1024 ImGuiButtonFlags_FlattenChildren = 2048 ImGuiButtonFlags_AllowOverlap = 4096 - ImGuiButtonFlags_DontClosePopups = 8192 ImGuiButtonFlags_AlignTextBaseLine = 32768 - ImGuiButtonFlags_NoKeyModifiers = 65536 + ImGuiButtonFlags_NoKeyModsAllowed = 65536 ImGuiButtonFlags_NoHoldingActiveId = 131072 ImGuiButtonFlags_NoNavFocus = 262144 ImGuiButtonFlags_NoHoveredOnFocus = 524288 @@ -4363,6 +4452,15 @@ end ImGuiLayoutType_Vertical = 1 end +@cenum ImGuiLogFlags_::UInt32 begin + ImGuiLogFlags_None = 0 + ImGuiLogFlags_OutputTTY = 1 + ImGuiLogFlags_OutputFile = 2 + ImGuiLogFlags_OutputBuffer = 4 + ImGuiLogFlags_OutputClipboard = 8 + ImGuiLogFlags_OutputMask_ = 15 +end + @cenum ImGuiPlotType::UInt32 begin ImGuiPlotType_Lines = 0 ImGuiPlotType_Histogram = 1 @@ -4492,11 +4590,11 @@ end ImGuiScrollFlags_MaskY_ = 42 end -@cenum ImGuiNavHighlightFlags_::UInt32 begin - ImGuiNavHighlightFlags_None = 0 - ImGuiNavHighlightFlags_Compact = 2 - ImGuiNavHighlightFlags_AlwaysDraw = 4 - ImGuiNavHighlightFlags_NoRounding = 8 +@cenum ImGuiNavRenderCursorFlags_::UInt32 begin + ImGuiNavRenderCursorFlags_None = 0 + ImGuiNavRenderCursorFlags_Compact = 2 + ImGuiNavRenderCursorFlags_AlwaysDraw = 4 + ImGuiNavRenderCursorFlags_NoRounding = 8 end @cenum ImGuiNavMoveFlags_::UInt32 begin @@ -4516,7 +4614,7 @@ end ImGuiNavMoveFlags_IsPageMove = 2048 ImGuiNavMoveFlags_Activate = 4096 ImGuiNavMoveFlags_NoSelect = 8192 - ImGuiNavMoveFlags_NoSetNavHighlight = 16384 + ImGuiNavMoveFlags_NoSetNavCursorVisible = 16384 ImGuiNavMoveFlags_NoClearActiveId = 32768 end @@ -4576,17 +4674,19 @@ end @cenum ImGuiDebugLogFlags_::UInt32 begin ImGuiDebugLogFlags_None = 0 - ImGuiDebugLogFlags_EventActiveId = 1 - ImGuiDebugLogFlags_EventFocus = 2 - ImGuiDebugLogFlags_EventPopup = 4 - ImGuiDebugLogFlags_EventNav = 8 - ImGuiDebugLogFlags_EventClipper = 16 - ImGuiDebugLogFlags_EventSelection = 32 - ImGuiDebugLogFlags_EventIO = 64 - ImGuiDebugLogFlags_EventInputRouting = 128 - ImGuiDebugLogFlags_EventDocking = 256 - ImGuiDebugLogFlags_EventViewport = 512 - ImGuiDebugLogFlags_EventMask_ = 1023 + ImGuiDebugLogFlags_EventError = 1 + ImGuiDebugLogFlags_EventActiveId = 2 + ImGuiDebugLogFlags_EventFocus = 4 + ImGuiDebugLogFlags_EventPopup = 8 + ImGuiDebugLogFlags_EventNav = 16 + ImGuiDebugLogFlags_EventClipper = 32 + ImGuiDebugLogFlags_EventSelection = 64 + ImGuiDebugLogFlags_EventIO = 128 + ImGuiDebugLogFlags_EventFont = 256 + ImGuiDebugLogFlags_EventInputRouting = 512 + ImGuiDebugLogFlags_EventDocking = 1024 + ImGuiDebugLogFlags_EventViewport = 2048 + ImGuiDebugLogFlags_EventMask_ = 4095 ImGuiDebugLogFlags_OutputToTTY = 1048576 ImGuiDebugLogFlags_OutputToTestEngine = 2097152 end @@ -5951,6 +6051,10 @@ function igSetKeyboardFocusHere(offset) ccall((:igSetKeyboardFocusHere, libcimgui), Cvoid, (Cint,), offset) end +function igSetNavCursorVisible(visible) + ccall((:igSetNavCursorVisible, libcimgui), Cvoid, (Bool,), visible) +end + function igSetNextItemAllowOverlap() ccall((:igSetNextItemAllowOverlap, libcimgui), Cvoid, ()) end @@ -6936,8 +7040,8 @@ function ImDrawList_PathRect(self, rect_min, rect_max, rounding, flags) ccall((:ImDrawList_PathRect, libcimgui), Cvoid, (Ptr{ImDrawList}, ImVec2, ImVec2, Cfloat, ImDrawFlags), self, rect_min, rect_max, rounding, flags) end -function ImDrawList_AddCallback(self, callback, callback_data) - ccall((:ImDrawList_AddCallback, libcimgui), Cvoid, (Ptr{ImDrawList}, ImDrawCallback, Ptr{Cvoid}), self, callback, callback_data) +function ImDrawList_AddCallback(self, callback, userdata, userdata_size) + ccall((:ImDrawList_AddCallback, libcimgui), Cvoid, (Ptr{ImDrawList}, ImDrawCallback, Ptr{Cvoid}, Csize_t), self, callback, userdata, userdata_size) end function ImDrawList_AddDrawCmd(self) @@ -8106,20 +8210,12 @@ function ImGuiLastItemData_destroy(self) ccall((:ImGuiLastItemData_destroy, libcimgui), Cvoid, (Ptr{ImGuiLastItemData},), self) end -function ImGuiStackSizes_ImGuiStackSizes() - ccall((:ImGuiStackSizes_ImGuiStackSizes, libcimgui), Ptr{ImGuiStackSizes}, ()) -end - -function ImGuiStackSizes_destroy(self) - ccall((:ImGuiStackSizes_destroy, libcimgui), Cvoid, (Ptr{ImGuiStackSizes},), self) +function ImGuiErrorRecoveryState_ImGuiErrorRecoveryState() + ccall((:ImGuiErrorRecoveryState_ImGuiErrorRecoveryState, libcimgui), Ptr{ImGuiErrorRecoveryState}, ()) end -function ImGuiStackSizes_SetToContextState(self, ctx) - ccall((:ImGuiStackSizes_SetToContextState, libcimgui), Cvoid, (Ptr{ImGuiStackSizes}, Ptr{ImGuiContext}), self, ctx) -end - -function ImGuiStackSizes_CompareWithContextState(self, ctx) - ccall((:ImGuiStackSizes_CompareWithContextState, libcimgui), Cvoid, (Ptr{ImGuiStackSizes}, Ptr{ImGuiContext}), self, ctx) +function ImGuiErrorRecoveryState_destroy(self) + ccall((:ImGuiErrorRecoveryState_destroy, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), self) end function ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr(ptr) @@ -8542,6 +8638,14 @@ function ImGuiTableSettings_GetColumnSettings(self) ccall((:ImGuiTableSettings_GetColumnSettings, libcimgui), Ptr{ImGuiTableColumnSettings}, (Ptr{ImGuiTableSettings},), self) end +function igGetIOEx(ctx) + ccall((:igGetIOEx, libcimgui), Ptr{ImGuiIO}, (Ptr{ImGuiContext},), ctx) +end + +function igGetPlatformIOEx(ctx) + ccall((:igGetPlatformIOEx, libcimgui), Ptr{ImGuiPlatformIO}, (Ptr{ImGuiContext},), ctx) +end + function igGetCurrentWindowRead() ccall((:igGetCurrentWindowRead, libcimgui), Ptr{ImGuiWindow}, ()) end @@ -8946,8 +9050,8 @@ function igEndDisabledOverrideReenable() ccall((:igEndDisabledOverrideReenable, libcimgui), Cvoid, ()) end -function igLogBegin(type, auto_open_depth) - ccall((:igLogBegin, libcimgui), Cvoid, (ImGuiLogType, Cint), type, auto_open_depth) +function igLogBegin(flags, auto_open_depth) + ccall((:igLogBegin, libcimgui), Cvoid, (ImGuiLogFlags, Cint), flags, auto_open_depth) end function igLogToBuffer(auto_open_depth) @@ -9094,8 +9198,8 @@ function igNavClearPreferredPosForAxis(axis) ccall((:igNavClearPreferredPosForAxis, libcimgui), Cvoid, (ImGuiAxis,), axis) end -function igNavRestoreHighlightAfterMove() - ccall((:igNavRestoreHighlightAfterMove, libcimgui), Cvoid, ()) +function igSetNavCursorVisibleAfterMove() + ccall((:igSetNavCursorVisibleAfterMove, libcimgui), Cvoid, ()) end function igNavUpdateCurrentWindowIsScrollPushableX() @@ -9814,8 +9918,12 @@ function igTabBarCloseTab(tab_bar, tab) ccall((:igTabBarCloseTab, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) end -function igTabBarQueueFocus(tab_bar, tab) - ccall((:igTabBarQueueFocus, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) +function igTabBarQueueFocus_TabItemPtr(tab_bar, tab) + ccall((:igTabBarQueueFocus_TabItemPtr, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{ImGuiTabItem}), tab_bar, tab) +end + +function igTabBarQueueFocus_Str(tab_bar, tab_name) + ccall((:igTabBarQueueFocus_Str, libcimgui), Cvoid, (Ptr{ImGuiTabBar}, Ptr{Cchar}), tab_bar, tab_name) end function igTabBarQueueReorder(tab_bar, tab, offset) @@ -9882,8 +9990,8 @@ function igRenderColorRectWithAlphaCheckerboard(draw_list, p_min, p_max, fill_co ccall((:igRenderColorRectWithAlphaCheckerboard, libcimgui), Cvoid, (Ptr{ImDrawList}, ImVec2, ImVec2, ImU32, Cfloat, ImVec2, Cfloat, ImDrawFlags), draw_list, p_min, p_max, fill_col, grid_step, grid_off, rounding, flags) end -function igRenderNavHighlight(bb, id, flags) - ccall((:igRenderNavHighlight, libcimgui), Cvoid, (ImRect, ImGuiID, ImGuiNavHighlightFlags), bb, id, flags) +function igRenderNavCursor(bb, id, flags) + ccall((:igRenderNavCursor, libcimgui), Cvoid, (ImRect, ImGuiID, ImGuiNavRenderCursorFlags), bb, id, flags) end function igFindRenderedTextEnd(text, text_end) @@ -9938,8 +10046,8 @@ function igArrowButtonEx(str_id, dir, size_arg, flags) ccall((:igArrowButtonEx, libcimgui), Bool, (Ptr{Cchar}, ImGuiDir, ImVec2, ImGuiButtonFlags), str_id, dir, size_arg, flags) end -function igImageButtonEx(id, texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) - ccall((:igImageButtonEx, libcimgui), Bool, (ImGuiID, ImTextureID, ImVec2, ImVec2, ImVec2, ImVec4, ImVec4, ImGuiButtonFlags), id, texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) +function igImageButtonEx(id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) + ccall((:igImageButtonEx, libcimgui), Bool, (ImGuiID, ImTextureID, ImVec2, ImVec2, ImVec2, ImVec4, ImVec4, ImGuiButtonFlags), id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) end function igSeparatorEx(flags, thickness) @@ -9970,8 +10078,8 @@ function igScrollbar(axis) ccall((:igScrollbar, libcimgui), Cvoid, (ImGuiAxis,), axis) end -function igScrollbarEx(bb, id, axis, p_scroll_v, avail_v, contents_v, flags) - ccall((:igScrollbarEx, libcimgui), Bool, (ImRect, ImGuiID, ImGuiAxis, Ptr{ImS64}, ImS64, ImS64, ImDrawFlags), bb, id, axis, p_scroll_v, avail_v, contents_v, flags) +function igScrollbarEx(bb, id, axis, p_scroll_v, avail_v, contents_v, draw_rounding_flags) + ccall((:igScrollbarEx, libcimgui), Bool, (ImRect, ImGuiID, ImGuiAxis, Ptr{ImS64}, ImS64, ImS64, ImDrawFlags), bb, id, axis, p_scroll_v, avail_v, contents_v, draw_rounding_flags) end function igGetWindowScrollbarRect(pOut, window, axis) @@ -10050,6 +10158,10 @@ function igDataTypeClamp(data_type, p_data, p_min, p_max) ccall((:igDataTypeClamp, libcimgui), Bool, (ImGuiDataType, Ptr{Cvoid}, Ptr{Cvoid}, Ptr{Cvoid}), data_type, p_data, p_min, p_max) end +function igDataTypeIsZero(data_type, p_data) + ccall((:igDataTypeIsZero, libcimgui), Bool, (ImGuiDataType, Ptr{Cvoid}), data_type, p_data) +end + function igInputTextEx(label, hint, buf, buf_size, size_arg, flags, callback, user_data) ccall((:igInputTextEx, libcimgui), Bool, (Ptr{Cchar}, Ptr{Cchar}, Ptr{Cchar}, Cint, ImVec2, ImGuiInputTextFlags, ImGuiInputTextCallback, Ptr{Cvoid}), label, hint, buf, buf_size, size_arg, flags, callback, user_data) end @@ -10118,22 +10230,42 @@ function igGcAwakeTransientWindowBuffers(window) ccall((:igGcAwakeTransientWindowBuffers, libcimgui), Cvoid, (Ptr{ImGuiWindow},), window) end -function igDebugAllocHook(info, frame_count, ptr, size) - ccall((:igDebugAllocHook, libcimgui), Cvoid, (Ptr{ImGuiDebugAllocInfo}, Cint, Ptr{Cvoid}, Csize_t), info, frame_count, ptr, size) +function igErrorLog(msg) + ccall((:igErrorLog, libcimgui), Bool, (Ptr{Cchar},), msg) +end + +function igErrorRecoveryStoreState(state_out) + ccall((:igErrorRecoveryStoreState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_out) end -function igErrorCheckEndFrameRecover(log_callback, user_data) - ccall((:igErrorCheckEndFrameRecover, libcimgui), Cvoid, (ImGuiErrorLogCallback, Ptr{Cvoid}), log_callback, user_data) +function igErrorRecoveryTryToRecoverState(state_in) + ccall((:igErrorRecoveryTryToRecoverState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_in) end -function igErrorCheckEndWindowRecover(log_callback, user_data) - ccall((:igErrorCheckEndWindowRecover, libcimgui), Cvoid, (ImGuiErrorLogCallback, Ptr{Cvoid}), log_callback, user_data) +function igErrorRecoveryTryToRecoverWindowState(state_in) + ccall((:igErrorRecoveryTryToRecoverWindowState, libcimgui), Cvoid, (Ptr{ImGuiErrorRecoveryState},), state_in) end function igErrorCheckUsingSetCursorPosToExtendParentBoundaries() ccall((:igErrorCheckUsingSetCursorPosToExtendParentBoundaries, libcimgui), Cvoid, ()) end +function igErrorCheckEndFrameFinalizeErrorTooltip() + ccall((:igErrorCheckEndFrameFinalizeErrorTooltip, libcimgui), Cvoid, ()) +end + +function igBeginErrorTooltip() + ccall((:igBeginErrorTooltip, libcimgui), Bool, ()) +end + +function igEndErrorTooltip() + ccall((:igEndErrorTooltip, libcimgui), Cvoid, ()) +end + +function igDebugAllocHook(info, frame_count, ptr, size) + ccall((:igDebugAllocHook, libcimgui), Cvoid, (Ptr{ImGuiDebugAllocInfo}, Cint, Ptr{Cvoid}, Csize_t), info, frame_count, ptr, size) +end + function igDebugDrawCursorPos(col) ccall((:igDebugDrawCursorPos, libcimgui), Cvoid, (ImU32,), col) end @@ -10837,11 +10969,29 @@ struct ImVector_ImU64 Data::Ptr{ImU64} end -struct ImVector_ImU8 +struct var"##Ctag#243" Size::Cint Capacity::Cint Data::Ptr{ImU8} end +function Base.getproperty(x::Ptr{var"##Ctag#243"}, f::Symbol) + f === :Size && return Ptr{Cint}(x + 0) + f === :Capacity && return Ptr{Cint}(x + 0) + f === :Data && return Ptr{Ptr{ImU8}}(x + 0) + return getfield(x, f) +end + +function Base.getproperty(x::var"##Ctag#243", f::Symbol) + r = Ref{var"##Ctag#243"}(x) + ptr = Base.unsafe_convert(Ptr{var"##Ctag#243"}, r) + fptr = getproperty(ptr, f) + GC.@preserve r unsafe_load(fptr) +end + +function Base.setproperty!(x::Ptr{var"##Ctag#243"}, f::Symbol, v) + unsafe_store!(getproperty(x, f), v) +end + const ImPlotDragToolFlags = Cint @@ -14844,6 +14994,8 @@ function ImGui_ImplOpenGL3_DestroyDeviceObjects() ccall((:ImGui_ImplOpenGL3_DestroyDeviceObjects, libcimgui), Cvoid, ()) end +const IM_UNICODE_CODEPOINT_MAX = 65535 + const IMGUI_HAS_DOCK = 1 const ImDrawCallback_ResetRenderState = ImDrawCallback(-8) diff --git a/src/wrapper.jl b/src/wrapper.jl index 0ee2600..2a3fe8c 100644 --- a/src/wrapper.jl +++ b/src/wrapper.jl @@ -14,7 +14,7 @@ Destroy(self::Ptr{ImVec4}) = ImVec4_destroy(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L328). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L331). """ CreateContext(shared_font_atlas::VoidablePtrOrRef{ImFontAtlas} = C_NULL) = igCreateContext(shared_font_atlas) @@ -23,21 +23,21 @@ $(TYPEDSIGNATURES) NULL = destroy current context. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L329). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L332). """ DestroyContext(ctx::VoidablePtrOrRef{ImGuiContext} = C_NULL) = igDestroyContext(ctx) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L330). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L333). """ GetCurrentContext() = igGetCurrentContext() """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L331). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L334). """ SetCurrentContext(ctx::VoidablePtrOrRef{ImGuiContext}) = igSetCurrentContext(ctx) @@ -46,7 +46,7 @@ $(TYPEDSIGNATURES) Access the ImGuiIO structure (mouse/keyboard/gamepad inputs, time, various configuration options/flags). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L334). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L337). """ GetIO() = igGetIO() @@ -55,7 +55,7 @@ $(TYPEDSIGNATURES) Access the ImGuiPlatformIO structure (mostly hooks/functions to connect to platform/renderer and OS Clipboard, IME etc.). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L335). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L338). """ GetPlatformIO() = igGetPlatformIO() @@ -64,7 +64,7 @@ $(TYPEDSIGNATURES) Access the Style structure (colors, sizes). Always use PushStyleColor(), PushStyleVar() to modify style mid-frame! -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L336). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L339). """ GetStyle() = igGetStyle() @@ -73,7 +73,7 @@ $(TYPEDSIGNATURES) Start a new Dear ImGui frame, you can submit any command from this point until Render()/EndFrame(). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L337). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L340). """ NewFrame() = igNewFrame() @@ -82,7 +82,7 @@ $(TYPEDSIGNATURES) Ends the Dear ImGui frame. automatically called by Render(). If you don't need to render data (skipping rendering) you may call EndFrame() without Render()... but you'll have wasted CPU already! If you don't need to render, better to not create any windows and not call NewFrame() at all! -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L338). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L341). """ EndFrame() = igEndFrame() @@ -91,7 +91,7 @@ $(TYPEDSIGNATURES) Ends the Dear ImGui frame, finalize the draw data. You can then get call GetDrawData(). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L339). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L342). """ Render() = igRender() @@ -100,7 +100,7 @@ $(TYPEDSIGNATURES) Valid after Render() and until the next call to NewFrame(). this is what you have to render. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L340). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L343). """ GetDrawData() = igGetDrawData() @@ -109,7 +109,7 @@ $(TYPEDSIGNATURES) Create Demo window. demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application! -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L343). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L346). """ ShowDemoWindow(p_open = C_NULL) = igShowDemoWindow(p_open) @@ -118,7 +118,7 @@ $(TYPEDSIGNATURES) Create Metrics/Debugger window. display Dear ImGui internals: windows, draw commands, various internal state, etc. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L344). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L347). """ ShowMetricsWindow(p_open = C_NULL) = igShowMetricsWindow(p_open) @@ -127,7 +127,7 @@ $(TYPEDSIGNATURES) Create Debug Log window. display a simplified log of important dear imgui events. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L345). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L348). """ ShowDebugLogWindow(p_open = C_NULL) = igShowDebugLogWindow(p_open) @@ -136,7 +136,7 @@ $(TYPEDSIGNATURES) Create Stack Tool window. hover items with mouse to query information about the source of their unique ID. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L346). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L349). """ ShowIDStackToolWindow(p_open = C_NULL) = igShowIDStackToolWindow(p_open) @@ -145,7 +145,7 @@ $(TYPEDSIGNATURES) Create About window. display Dear ImGui version, credits and build/system information. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L347). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L350). """ ShowAboutWindow(p_open = C_NULL) = igShowAboutWindow(p_open) @@ -154,7 +154,7 @@ $(TYPEDSIGNATURES) Add style editor block (not a window). you can pass in a reference ImGuiStyle structure to compare to, revert to and save to (else it uses the default style). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L348). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L351). """ ShowStyleEditor(ref::VoidablePtrOrRef{ImGuiStyle} = C_NULL) = igShowStyleEditor(ref) @@ -163,7 +163,7 @@ $(TYPEDSIGNATURES) Add style selector block (not a window), essentially a combo listing the default styles. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L349). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L352). """ ShowStyleSelector(label) = igShowStyleSelector(label) @@ -172,7 +172,7 @@ $(TYPEDSIGNATURES) Add font selector block (not a window), essentially a combo listing the loaded fonts. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L350). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L353). """ ShowFontSelector(label) = igShowFontSelector(label) @@ -181,7 +181,7 @@ $(TYPEDSIGNATURES) Add basic help/info block (not a window): how to manipulate ImGui as an end-user (mouse/keyboard controls). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L351). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L354). """ ShowUserGuide() = igShowUserGuide() @@ -190,7 +190,7 @@ $(TYPEDSIGNATURES) Get the compiled version string e.g. "1.80 WIP" (essentially the value for IMGUI_VERSION from the compiled version of imgui.cpp). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L352). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L355). """ GetVersion() = igGetVersion() @@ -199,7 +199,7 @@ $(TYPEDSIGNATURES) New, recommended style (default). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L355). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L358). """ StyleColorsDark(dst::VoidablePtrOrRef{ImGuiStyle} = C_NULL) = igStyleColorsDark(dst) @@ -208,7 +208,7 @@ $(TYPEDSIGNATURES) Best used with borders and a custom, thicker font. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L356). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L359). """ StyleColorsLight(dst::VoidablePtrOrRef{ImGuiStyle} = C_NULL) = igStyleColorsLight(dst) @@ -217,14 +217,14 @@ $(TYPEDSIGNATURES) Classic imgui style. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L357). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L360). """ StyleColorsClassic(dst::VoidablePtrOrRef{ImGuiStyle} = C_NULL) = igStyleColorsClassic(dst) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L371). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L374). """ Begin( name::Union{String,Ptr{Cchar},Ptr{Cvoid}}, @@ -235,14 +235,14 @@ Begin( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L372). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L375). """ End() = igEnd() """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L392). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L395). """ BeginChild( str_id::Union{String,Ptr{Cchar},Ptr{Cvoid}}, @@ -254,7 +254,7 @@ BeginChild( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L393). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L396). """ BeginChild( id::Union{ImGuiID,Integer}, @@ -266,21 +266,21 @@ BeginChild( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L394). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L397). """ EndChild() = igEndChild() """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L398). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L401). """ IsWindowAppearing() = igIsWindowAppearing() """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L399). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L402). """ IsWindowCollapsed() = igIsWindowCollapsed() @@ -289,7 +289,7 @@ $(TYPEDSIGNATURES) Is current window focused? or its root/child, depending on flags. see flags for options. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L400). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L403). """ IsWindowFocused(flags::Union{ImGuiFocusedFlags,ImGuiFocusedFlags_,Integer} = 0) = igIsWindowFocused(flags) @@ -298,7 +298,7 @@ $(TYPEDSIGNATURES) Is current window hovered and hoverable (e.g. not blocked by a popup/modal)? See ImGuiHoveredFlags_ for options. IMPORTANT: If you are trying to check whether your mouse should be dispatched to Dear ImGui or to your underlying app, you should not use this function! Use the 'io.WantCaptureMouse' boolean for that! Refer to FAQ entry "How can I tell whether to dispatch mouse/keyboard to Dear ImGui or my application?" for details. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L401). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L404). """ IsWindowHovered(flags::Union{ImGuiHoveredFlags,ImGuiHoveredFlags_,Integer} = 0) = igIsWindowHovered(flags) @@ -307,7 +307,7 @@ $(TYPEDSIGNATURES) Get draw list associated to the current window, to append your own drawing primitives. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L402). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L405). """ GetWindowDrawList() = igGetWindowDrawList() @@ -316,7 +316,7 @@ $(TYPEDSIGNATURES) Get DPI scale currently associated to the current window's viewport. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L403). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L406). """ GetWindowDpiScale() = igGetWindowDpiScale() @@ -325,7 +325,7 @@ $(TYPEDSIGNATURES) Get current window position in screen space (IT IS UNLIKELY YOU EVER NEED TO USE THIS. Consider always using GetCursorScreenPos() and GetContentRegionAvail() instead). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L404). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L407). """ function GetWindowPos() pOut = Ref{ImVec2}() @@ -338,7 +338,7 @@ $(TYPEDSIGNATURES) Get current window size (IT IS UNLIKELY YOU EVER NEED TO USE THIS. Consider always using GetCursorScreenPos() and GetContentRegionAvail() instead). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L405). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L408). """ function GetWindowSize() pOut = Ref{ImVec2}() @@ -351,7 +351,7 @@ $(TYPEDSIGNATURES) Get current window width (IT IS UNLIKELY YOU EVER NEED TO USE THIS). Shortcut for GetWindowSize().x. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L406). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L409). """ GetWindowWidth() = igGetWindowWidth() @@ -360,7 +360,7 @@ $(TYPEDSIGNATURES) Get current window height (IT IS UNLIKELY YOU EVER NEED TO USE THIS). Shortcut for GetWindowSize().y. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L407). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L410). """ GetWindowHeight() = igGetWindowHeight() @@ -369,7 +369,7 @@ $(TYPEDSIGNATURES) Get viewport currently associated to the current window. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L408). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L411). """ GetWindowViewport() = igGetWindowViewport() @@ -378,7 +378,7 @@ $(TYPEDSIGNATURES) Set next window position. call before Begin(). use pivot=(0.5f,0.5f) to center on given point, etc. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L412). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L415). """ SetNextWindowPos( pos::Union{ImVec2,NTuple{2}}, @@ -391,7 +391,7 @@ $(TYPEDSIGNATURES) Set next window size. set axis to 0.0f to force an auto-fit on this axis. call before Begin(). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L413). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L416). """ SetNextWindowSize(size::Union{ImVec2,NTuple{2}}, cond::Union{ImGuiCond,ImGuiCond_,Integer} = 0) = igSetNextWindowSize(size, cond) @@ -401,7 +401,7 @@ $(TYPEDSIGNATURES) Set next window size limits. use 0.0f or FLT_MAX if you don't want limits. Use -1 for both min and max of same axis to preserve current size (which itself is a constraint). Use callback to apply non-trivial programmatic constraints. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L414). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L417). """ SetNextWindowSizeConstraints( size_min::Union{ImVec2,NTuple{2}}, @@ -415,7 +415,7 @@ $(TYPEDSIGNATURES) Set next window content size (~ scrollable client area, which enforce the range of scrollbars). Not including window decorations (title bar, menu bar, etc.) nor WindowPadding. set an axis to 0.0f to leave it automatic. call before Begin(). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L415). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L418). """ SetNextWindowContentSize(size::Union{ImVec2,NTuple{2}}) = igSetNextWindowContentSize(size) @@ -424,7 +424,7 @@ $(TYPEDSIGNATURES) Set next window collapsed state. call before Begin(). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L416). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L419). """ SetNextWindowCollapsed(collapsed, cond::Union{ImGuiCond,ImGuiCond_,Integer} = 0) = igSetNextWindowCollapsed(collapsed, cond) @@ -434,7 +434,7 @@ $(TYPEDSIGNATURES) Set next window to be focused / top-most. call before Begin(). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L417). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L420). """ SetNextWindowFocus() = igSetNextWindowFocus() @@ -443,7 +443,7 @@ $(TYPEDSIGNATURES) Set next window scrolling value (use < 0.0f to not affect a given axis). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L418). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L421). """ SetNextWindowScroll(scroll::Union{ImVec2,NTuple{2}}) = igSetNextWindowScroll(scroll) @@ -452,7 +452,7 @@ $(TYPEDSIGNATURES) Set next window background color alpha. helper to easily override the Alpha component of ImGuiCol_WindowBg/ChildBg/PopupBg. you may also use ImGuiWindowFlags_NoBackground. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L419). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L422). """ SetNextWindowBgAlpha(alpha) = igSetNextWindowBgAlpha(alpha) @@ -461,7 +461,7 @@ $(TYPEDSIGNATURES) Set next window viewport. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L420). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L423). """ SetNextWindowViewport(viewport_id::Union{ImGuiID,Integer}) = igSetNextWindowViewport(viewport_id) @@ -470,7 +470,7 @@ $(TYPEDSIGNATURES) (not recommended) set current window position - call within Begin()/End(). prefer using SetNextWindowPos(), as this may incur tearing and side-effects. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L421). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L424). """ SetWindowPos(pos::Union{ImVec2,NTuple{2}}, cond::Union{ImGuiCond,ImGuiCond_,Integer} = 0) = igSetWindowPos_Vec2(pos, cond) @@ -480,7 +480,7 @@ $(TYPEDSIGNATURES) (not recommended) set current window size - call within Begin()/End(). set to ImVec2(0, 0) to force an auto-fit. prefer using SetNextWindowSize(), as this may incur tearing and minor side-effects. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L422). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L425). """ SetWindowSize(size::Union{ImVec2,NTuple{2}}, cond::Union{ImGuiCond,ImGuiCond_,Integer} = 0) = igSetWindowSize_Vec2(size, cond) @@ -490,7 +490,7 @@ $(TYPEDSIGNATURES) (not recommended) set current window collapsed state. prefer using SetNextWindowCollapsed(). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L423). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L426). """ SetWindowCollapsed(collapsed::Bool, cond::Union{ImGuiCond,ImGuiCond_,Integer} = 0) = igSetWindowCollapsed_Bool(collapsed, cond) @@ -500,7 +500,7 @@ $(TYPEDSIGNATURES) (not recommended) set current window to be focused / top-most. prefer using SetNextWindowFocus(). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L424). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L427). """ SetWindowFocus() = igSetWindowFocus_Nil() @@ -509,7 +509,7 @@ $(TYPEDSIGNATURES) [OBSOLETE] set font scale. Adjust IO.FontGlobalScale if you want to scale all windows. This is an old API! For correct scaling, prefer to reload font + rebuild ImFontAtlas + call style.ScaleAllSizes(). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L425). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L428). """ SetWindowFontScale(scale) = igSetWindowFontScale(scale) @@ -518,7 +518,7 @@ $(TYPEDSIGNATURES) Set named window position. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L426). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L429). """ SetWindowPos( name::Union{String,Ptr{Cchar}}, @@ -531,7 +531,7 @@ $(TYPEDSIGNATURES) Set named window size. set axis to 0.0f to force an auto-fit on this axis. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L427). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L430). """ SetWindowSize( name::Union{String,Ptr{Cchar}}, @@ -544,7 +544,7 @@ $(TYPEDSIGNATURES) Set named window collapsed state. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L428). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L431). """ SetWindowCollapsed(name::Union{String,Ptr{Cchar}}, collapsed::Bool, cond::Union{ImGuiCond,ImGuiCond_,Integer} = 0) = igSetWindowCollapsed_Str(name, collapsed, cond) @@ -554,7 +554,7 @@ $(TYPEDSIGNATURES) Set named window to be focused / top-most. use NULL to remove focus. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L429). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L432). """ SetWindowFocus(name::Union{String,Ptr{Cchar},Ptr{Cvoid}}) = igSetWindowFocus_Str(name) @@ -563,7 +563,7 @@ $(TYPEDSIGNATURES) Get scrolling amount [0 .. GetScrollMaxX()]. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L434). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L437). """ GetScrollX() = igGetScrollX() @@ -572,7 +572,7 @@ $(TYPEDSIGNATURES) Get scrolling amount [0 .. GetScrollMaxY()]. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L435). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L438). """ GetScrollY() = igGetScrollY() @@ -581,7 +581,7 @@ $(TYPEDSIGNATURES) Set scrolling amount [0 .. GetScrollMaxX()]. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L436). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L439). """ SetScrollX(scroll_x::Real) = igSetScrollX_Float(scroll_x) @@ -590,7 +590,7 @@ $(TYPEDSIGNATURES) Set scrolling amount [0 .. GetScrollMaxY()]. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L437). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L440). """ SetScrollY(scroll_y::Real) = igSetScrollY_Float(scroll_y) @@ -599,7 +599,7 @@ $(TYPEDSIGNATURES) Get maximum scrolling amount ~~ ContentSize.x - WindowSize.x - DecorationsSize.x. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L438). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L441). """ GetScrollMaxX() = igGetScrollMaxX() @@ -608,7 +608,7 @@ $(TYPEDSIGNATURES) Get maximum scrolling amount ~~ ContentSize.y - WindowSize.y - DecorationsSize.y. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L439). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L442). """ GetScrollMaxY() = igGetScrollMaxY() @@ -617,7 +617,7 @@ $(TYPEDSIGNATURES) Adjust scrolling amount to make current cursor position visible. center_x_ratio=0.0: left, 0.5: center, 1.0: right. When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L440). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L443). """ SetScrollHereX(center_x_ratio = 0.5f0) = igSetScrollHereX(center_x_ratio) @@ -626,7 +626,7 @@ $(TYPEDSIGNATURES) Adjust scrolling amount to make current cursor position visible. center_y_ratio=0.0: top, 0.5: center, 1.0: bottom. When using to make a "default/current item" visible, consider using SetItemDefaultFocus() instead. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L441). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L444). """ SetScrollHereY(center_y_ratio = 0.5f0) = igSetScrollHereY(center_y_ratio) @@ -635,7 +635,7 @@ $(TYPEDSIGNATURES) Adjust scrolling amount to make given position visible. Generally GetCursorStartPos() + offset to compute a valid position. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L442). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L445). """ SetScrollFromPosX(local_x::Real, center_x_ratio::Real = 0.5f0) = igSetScrollFromPosX_Float(local_x, center_x_ratio) @@ -644,7 +644,7 @@ $(TYPEDSIGNATURES) Adjust scrolling amount to make given position visible. Generally GetCursorStartPos() + offset to compute a valid position. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L443). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L446). """ SetScrollFromPosY(local_y::Real, center_y_ratio::Real = 0.5f0) = igSetScrollFromPosY_Float(local_y, center_y_ratio) @@ -653,14 +653,14 @@ $(TYPEDSIGNATURES) Use NULL as a shortcut to push default font. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L446). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L449). """ PushFont(font::VoidablePtrOrRef{ImFont}) = igPushFont(font) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L447). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L450). """ PopFont() = igPopFont() @@ -669,21 +669,21 @@ $(TYPEDSIGNATURES) Modify a style color. always use this if you modify the style after NewFrame(). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L448). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L451). """ PushStyleColor(idx::Union{ImGuiCol,ImGuiCol_,Integer}, col::Union{ImU32,Integer}) = igPushStyleColor_U32(idx, col) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L449). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L452). """ PushStyleColor(idx::Union{ImGuiCol,ImGuiCol_,Integer}, col::Union{ImVec4,NTuple{4}}) = igPushStyleColor_Vec4(idx, col) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L450). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L453). """ PopStyleColor(count = 1) = igPopStyleColor(count) @@ -692,7 +692,7 @@ $(TYPEDSIGNATURES) Modify a style float variable. always use this if you modify the style after NewFrame()! -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L451). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L454). """ PushStyleVar(idx::Union{ImGuiStyleVar,ImGuiStyleVar_,Integer}, val::Real) = igPushStyleVar_Float(idx, val) @@ -701,7 +701,7 @@ $(TYPEDSIGNATURES) Modify a style ImVec2 variable. ". -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L452). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L455). """ PushStyleVar(idx::Union{ImGuiStyleVar,ImGuiStyleVar_,Integer}, val::Union{ImVec2,NTuple{2}}) = igPushStyleVar_Vec2(idx, val) @@ -711,7 +711,7 @@ $(TYPEDSIGNATURES) Modify X component of a style ImVec2 variable. ". -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L453). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L456). """ PushStyleVarX(idx::Union{ImGuiStyleVar,ImGuiStyleVar_,Integer}, val_x) = igPushStyleVarX(idx, val_x) @@ -720,14 +720,14 @@ $(TYPEDSIGNATURES) Modify Y component of a style ImVec2 variable. ". -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L454). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L457). """ PushStyleVarY(idx::Union{ImGuiStyleVar,ImGuiStyleVar_,Integer}, val_y) = igPushStyleVarY(idx, val_y) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L455). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L458). """ PopStyleVar(count = 1) = igPopStyleVar(count) @@ -736,14 +736,14 @@ $(TYPEDSIGNATURES) Modify specified shared item flag, e.g. PushItemFlag(ImGuiItemFlags_NoTabStop, true). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L456). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L459). """ PushItemFlag(option::Union{ImGuiItemFlags,ImGuiItemFlags_,Integer}, enabled) = igPushItemFlag(option, enabled) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L457). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L460). """ PopItemFlag() = igPopItemFlag() @@ -752,14 +752,14 @@ $(TYPEDSIGNATURES) Push width of items for common large "item+label" widgets. >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -FLT_MIN always align width to the right side). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L460). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L463). """ PushItemWidth(item_width) = igPushItemWidth(item_width) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L461). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L464). """ PopItemWidth() = igPopItemWidth() @@ -768,7 +768,7 @@ $(TYPEDSIGNATURES) Set width of the _next_ common large "item+label" widget. >0.0f: width in pixels, <0.0f align xx pixels to the right of window (so -FLT_MIN always align width to the right side). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L462). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L465). """ SetNextItemWidth(item_width) = igSetNextItemWidth(item_width) @@ -777,7 +777,7 @@ $(TYPEDSIGNATURES) Width of item given pushed settings and current cursor position. NOT necessarily the width of last item unlike most 'Item' functions. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L463). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L466). """ CalcItemWidth() = igCalcItemWidth() @@ -786,14 +786,14 @@ $(TYPEDSIGNATURES) Push word-wrapping position for Text*() commands. < 0.0f: no wrapping; 0.0f: wrap to end of window (or column); > 0.0f: wrap at 'wrap_pos_x' position in window local space. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L464). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L467). """ PushTextWrapPos(wrap_local_pos_x = 0.0f0) = igPushTextWrapPos(wrap_local_pos_x) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L465). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L468). """ PopTextWrapPos() = igPopTextWrapPos() @@ -802,7 +802,7 @@ $(TYPEDSIGNATURES) Get current font. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L469). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L472). """ GetFont() = igGetFont() @@ -811,7 +811,7 @@ $(TYPEDSIGNATURES) Get current font size (= height in pixels) of current font with current scale applied. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L470). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L473). """ GetFontSize() = igGetFontSize() @@ -820,7 +820,7 @@ $(TYPEDSIGNATURES) Get UV coordinate for a white pixel, useful to draw custom shapes via the ImDrawList API. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L471). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L474). """ function GetFontTexUvWhitePixel() pOut = Ref{ImVec2}() @@ -833,7 +833,7 @@ $(TYPEDSIGNATURES) Retrieve given style color with style alpha applied and optional extra alpha multiplier, packed as a 32-bit value suitable for ImDrawList. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L472). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L475). """ GetColorU32(idx::Union{ImGuiCol,ImGuiCol_,Integer}, alpha_mul::Real = 1.0f0) = igGetColorU32_Col(idx, alpha_mul) @@ -842,7 +842,7 @@ $(TYPEDSIGNATURES) Retrieve given color with style alpha applied, packed as a 32-bit value suitable for ImDrawList. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L473). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L476). """ GetColorU32(col::Union{ImVec4,NTuple{4}}) = igGetColorU32_Vec4(col) @@ -851,7 +851,7 @@ $(TYPEDSIGNATURES) Retrieve given color with style alpha applied, packed as a 32-bit value suitable for ImDrawList. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L474). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L477). """ GetColorU32(col::Union{ImU32,Integer}, alpha_mul::Real = 1.0f0) = igGetColorU32_U32(col, alpha_mul) @@ -860,7 +860,7 @@ $(TYPEDSIGNATURES) Retrieve style color as stored in ImGuiStyle structure. use to feed back into PushStyleColor(), otherwise use GetColorU32() to get style color with style alpha baked in. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L475). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L478). """ GetStyleColorVec4(idx::Union{ImGuiCol,ImGuiCol_,Integer}) = igGetStyleColorVec4(idx) @@ -869,7 +869,7 @@ $(TYPEDSIGNATURES) Cursor position, absolute coordinates. THIS IS YOUR BEST FRIEND (prefer using this rather than GetCursorPos(), also more useful to work with ImDrawList API). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L487). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L490). """ function GetCursorScreenPos() pOut = Ref{ImVec2}() @@ -882,7 +882,7 @@ $(TYPEDSIGNATURES) Cursor position, absolute coordinates. THIS IS YOUR BEST FRIEND. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L488). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L491). """ SetCursorScreenPos(pos::Union{ImVec2,NTuple{2}}) = igSetCursorScreenPos(pos) @@ -891,7 +891,7 @@ $(TYPEDSIGNATURES) Available space from current position. THIS IS YOUR BEST FRIEND. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L489). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L492). """ function GetContentRegionAvail() pOut = Ref{ImVec2}() @@ -904,7 +904,7 @@ $(TYPEDSIGNATURES) [window-local] cursor position in window-local coordinates. This is not your best friend. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L490). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L493). """ function GetCursorPos() pOut = Ref{ImVec2}() @@ -917,7 +917,7 @@ $(TYPEDSIGNATURES) [window-local] ". -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L491). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L494). """ GetCursorPosX() = igGetCursorPosX() @@ -926,7 +926,7 @@ $(TYPEDSIGNATURES) [window-local] ". -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L492). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L495). """ GetCursorPosY() = igGetCursorPosY() @@ -935,7 +935,7 @@ $(TYPEDSIGNATURES) [window-local] ". -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L493). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L496). """ SetCursorPos(local_pos::Union{ImVec2,NTuple{2}}) = igSetCursorPos(local_pos) @@ -944,7 +944,7 @@ $(TYPEDSIGNATURES) [window-local] ". -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L494). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L497). """ SetCursorPosX(local_x) = igSetCursorPosX(local_x) @@ -953,7 +953,7 @@ $(TYPEDSIGNATURES) [window-local] ". -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L495). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L498). """ SetCursorPosY(local_y) = igSetCursorPosY(local_y) @@ -962,7 +962,7 @@ $(TYPEDSIGNATURES) [window-local] initial cursor position, in window-local coordinates. Call GetCursorScreenPos() after Begin() to get the absolute coordinates version. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L496). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L499). """ function GetCursorStartPos() pOut = Ref{ImVec2}() @@ -975,7 +975,7 @@ $(TYPEDSIGNATURES) Separator, generally horizontal. inside a menu bar or in horizontal layout mode, this becomes a vertical separator. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L499). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L502). """ Separator() = igSeparator() @@ -984,7 +984,7 @@ $(TYPEDSIGNATURES) Call between widgets or groups to layout them horizontally. X position given in window coordinates. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L500). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L503). """ SameLine(offset_from_start_x = 0.0f0, spacing = -1.0f0) = igSameLine(offset_from_start_x, spacing) @@ -993,7 +993,7 @@ $(TYPEDSIGNATURES) Undo a SameLine() or force a new line when in a horizontal-layout context. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L501). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L504). """ NewLine() = igNewLine() @@ -1002,7 +1002,7 @@ $(TYPEDSIGNATURES) Add vertical spacing. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L502). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L505). """ Spacing() = igSpacing() @@ -1011,7 +1011,7 @@ $(TYPEDSIGNATURES) Add a dummy item of given size. unlike InvisibleButton(), Dummy() won't take the mouse click or be navigable into. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L503). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L506). """ Dummy(size::Union{ImVec2,NTuple{2}}) = igDummy(size) @@ -1020,7 +1020,7 @@ $(TYPEDSIGNATURES) Move content position toward the right, by indent_w, or style.IndentSpacing if indent_w <= 0. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L504). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L507). """ Indent(indent_w = 0.0f0) = igIndent(indent_w) @@ -1029,7 +1029,7 @@ $(TYPEDSIGNATURES) Move content position back to the left, by indent_w, or style.IndentSpacing if indent_w <= 0. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L505). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L508). """ Unindent(indent_w = 0.0f0) = igUnindent(indent_w) @@ -1038,7 +1038,7 @@ $(TYPEDSIGNATURES) Lock horizontal starting position. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L506). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L509). """ BeginGroup() = igBeginGroup() @@ -1047,7 +1047,7 @@ $(TYPEDSIGNATURES) Unlock horizontal starting position + capture the whole group bounding box into one "item" (so you can use IsItemHovered() or layout primitives such as SameLine() on whole group, etc.). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L507). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L510). """ EndGroup() = igEndGroup() @@ -1056,7 +1056,7 @@ $(TYPEDSIGNATURES) Vertically align upcoming text baseline to FramePadding.y so that it will align properly to regularly framed items (call if you have text on a line before a framed item). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L508). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L511). """ AlignTextToFramePadding() = igAlignTextToFramePadding() @@ -1065,7 +1065,7 @@ $(TYPEDSIGNATURES) ~ FontSize. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L509). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L512). """ GetTextLineHeight() = igGetTextLineHeight() @@ -1074,7 +1074,7 @@ $(TYPEDSIGNATURES) ~ FontSize + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of text). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L510). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L513). """ GetTextLineHeightWithSpacing() = igGetTextLineHeightWithSpacing() @@ -1083,7 +1083,7 @@ $(TYPEDSIGNATURES) ~ FontSize + style.FramePadding.y * 2. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L511). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L514). """ GetFrameHeight() = igGetFrameHeight() @@ -1092,7 +1092,7 @@ $(TYPEDSIGNATURES) ~ FontSize + style.FramePadding.y * 2 + style.ItemSpacing.y (distance in pixels between 2 consecutive lines of framed widgets). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L512). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L515). """ GetFrameHeightWithSpacing() = igGetFrameHeightWithSpacing() @@ -1101,7 +1101,7 @@ $(TYPEDSIGNATURES) Push string into the ID stack (will hash string). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L525). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L528). """ PushID(str_id::Union{String,Ptr{Cchar}}) = igPushID_Str(str_id) @@ -1110,7 +1110,7 @@ $(TYPEDSIGNATURES) Push string into the ID stack (will hash string). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L526). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L529). """ PushID(str_id_begin::Union{String,Ptr{Cchar}}, str_id_end::Union{String,Ptr{Cchar},Ptr{Cvoid}}) = igPushID_StrStr(str_id_begin, str_id_end) @@ -1120,7 +1120,7 @@ $(TYPEDSIGNATURES) Push pointer into the ID stack (will hash pointer). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L527). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L530). """ PushID(ptr_id::PtrOrRef{Cvoid}) = igPushID_Ptr(ptr_id) @@ -1129,7 +1129,7 @@ $(TYPEDSIGNATURES) Push integer into the ID stack (will hash integer). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L528). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L531). """ PushID(int_id::Integer) = igPushID_Int(int_id) @@ -1138,7 +1138,7 @@ $(TYPEDSIGNATURES) Pop from the ID stack. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L529). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L532). """ PopID() = igPopID() @@ -1147,14 +1147,14 @@ $(TYPEDSIGNATURES) Calculate unique ID (hash of whole ID stack + given parameter). e.g. if you want to query into ImGuiStorage yourself. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L530). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L533). """ GetID(str_id::Union{String,Ptr{Cchar}}) = igGetID_Str(str_id) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L531). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L534). """ GetID(str_id_begin::Union{String,Ptr{Cchar}}, str_id_end::Union{String,Ptr{Cchar},Ptr{Cvoid}}) = igGetID_StrStr(str_id_begin, str_id_end) @@ -1162,14 +1162,14 @@ GetID(str_id_begin::Union{String,Ptr{Cchar}}, str_id_end::Union{String,Ptr{Cchar """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L532). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L535). """ GetID(ptr_id::PtrOrRef{Cvoid}) = igGetID_Ptr(ptr_id) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L533). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L536). """ GetID(int_id::Integer) = igGetID_Int(int_id) @@ -1178,7 +1178,7 @@ $(TYPEDSIGNATURES) Raw text without formatting. Roughly equivalent to Text("%s", text) but: A) doesn't require null terminated string if 'text_end' is specified, B) it's faster, no memory copy is done, no buffer size limits, recommended for long chunks of text. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L536). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L539). """ TextUnformatted(text, text_end = C_NULL) = igTextUnformatted(text, text_end) @@ -1187,7 +1187,7 @@ $(TYPEDSIGNATURES) Formatted text. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L537). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L540). """ Text(fmt) = igText(fmt) @@ -1196,7 +1196,7 @@ $(TYPEDSIGNATURES) Shortcut for PushStyleColor(ImGuiCol_Text, col); Text(fmt, ...); PopStyleColor();. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L539). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L542). """ TextColored(col::Union{ImVec4,NTuple{4}}, fmt) = igTextColored(col, fmt) @@ -1205,7 +1205,7 @@ $(TYPEDSIGNATURES) Shortcut for PushStyleColor(ImGuiCol_Text, style.Colors[ImGuiCol_TextDisabled]); Text(fmt, ...); PopStyleColor();. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L541). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L544). """ TextDisabled(fmt) = igTextDisabled(fmt) @@ -1214,7 +1214,7 @@ $(TYPEDSIGNATURES) Shortcut for PushTextWrapPos(0.0f); Text(fmt, ...); PopTextWrapPos();. Note that this won't work on an auto-resizing window if there's no other widgets to extend the window width, yoy may need to set a size using SetNextWindowSize(). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L543). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L546). """ TextWrapped(fmt) = igTextWrapped(fmt) @@ -1223,7 +1223,7 @@ $(TYPEDSIGNATURES) Display text+label aligned the same way as value+label widgets. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L545). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L548). """ LabelText(label, fmt) = igLabelText(label, fmt) @@ -1232,7 +1232,7 @@ $(TYPEDSIGNATURES) Shortcut for Bullet()+Text(). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L547). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L550). """ BulletText(fmt) = igBulletText(fmt) @@ -1241,7 +1241,7 @@ $(TYPEDSIGNATURES) Currently: formatted text with an horizontal line. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L549). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L552). """ SeparatorText(label) = igSeparatorText(label) @@ -1250,7 +1250,7 @@ $(TYPEDSIGNATURES) Button. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L554). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L557). """ Button(label, size::Union{ImVec2,NTuple{2}} = ImVec2(0, 0)) = igButton(label, size) @@ -1259,7 +1259,7 @@ $(TYPEDSIGNATURES) Button with (FramePadding.y == 0) to easily embed within text. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L555). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L558). """ SmallButton(label) = igSmallButton(label) @@ -1268,7 +1268,7 @@ $(TYPEDSIGNATURES) Flexible button behavior without the visuals, frequently useful to build custom behaviors using the public api (along with IsItemActive, IsItemHovered, etc.). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L556). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L559). """ InvisibleButton(str_id, size::Union{ImVec2,NTuple{2}}, flags::Union{ImGuiButtonFlags,ImGuiButtonFlags_,Integer} = 0) = igInvisibleButton(str_id, size, flags) @@ -1278,21 +1278,21 @@ $(TYPEDSIGNATURES) Square button with an arrow shape. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L557). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L560). """ ArrowButton(str_id, dir::ImGuiDir) = igArrowButton(str_id, dir) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L558). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L561). """ Checkbox(label, v) = igCheckbox(label, v) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L559). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L562). """ CheckboxFlags(label::Union{String,Ptr{Cchar},Ptr{Cvoid}}, flags::PtrOrRef{Int32}, flags_value) = igCheckboxFlags_IntPtr(label, flags, flags_value) @@ -1300,7 +1300,7 @@ CheckboxFlags(label::Union{String,Ptr{Cchar},Ptr{Cvoid}}, flags::PtrOrRef{Int32} """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L560). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L563). """ CheckboxFlags(label::Union{String,Ptr{Cchar},Ptr{Cvoid}}, flags::PtrOrRef{UInt32}, flags_value) = igCheckboxFlags_UintPtr(label, flags, flags_value) @@ -1310,7 +1310,7 @@ $(TYPEDSIGNATURES) Use with e.g. if (RadioButton("one", my_value==1)) my_value = 1;. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L561). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L564). """ RadioButton(label::Union{String,Ptr{Cchar},Ptr{Cvoid}}, active::Bool) = igRadioButton_Bool(label, active) @@ -1319,7 +1319,7 @@ $(TYPEDSIGNATURES) Shortcut to handle the above pattern when value is an integer. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L562). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L565). """ RadioButton(label::Union{String,Ptr{Cchar},Ptr{Cvoid}}, v::VoidablePtrOrRef{Int32}, v_button::Integer) = igRadioButton_IntPtr(label, v, v_button) @@ -1327,7 +1327,7 @@ RadioButton(label::Union{String,Ptr{Cchar},Ptr{Cvoid}}, v::VoidablePtrOrRef{Int3 """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L563). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L566). """ ProgressBar(fraction, size_arg::Union{ImVec2,NTuple{2}} = ImVec2(-FLT_MIN, 0), overlay = C_NULL) = igProgressBar(fraction, size_arg, overlay) @@ -1337,7 +1337,7 @@ $(TYPEDSIGNATURES) Draw a small circle + keep the cursor on the same line. advance cursor x position by GetTreeNodeToLabelSpacing(), same distance that TreeNode() uses. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L564). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L567). """ Bullet() = igBullet() @@ -1346,7 +1346,7 @@ $(TYPEDSIGNATURES) Hyperlink text button, return true when clicked. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L565). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L568). """ TextLink(label) = igTextLink(label) @@ -1355,14 +1355,14 @@ $(TYPEDSIGNATURES) Hyperlink text button, automatically open file/url when clicked. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L566). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L569). """ TextLinkOpenURL(label, url = C_NULL) = igTextLinkOpenURL(label, url) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L572). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L576). """ Image( user_texture_id::ImTextureID, @@ -1376,7 +1376,7 @@ Image( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L573). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L577). """ ImageButton( str_id, @@ -1391,7 +1391,7 @@ ImageButton( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L578). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L582). """ BeginCombo(label, preview_value, flags::Union{ImGuiComboFlags,ImGuiComboFlags_,Integer} = 0) = igBeginCombo(label, preview_value, flags) @@ -1401,14 +1401,14 @@ $(TYPEDSIGNATURES) Only call EndCombo() if BeginCombo() returns true! -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L579). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L583). """ EndCombo() = igEndCombo() """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L580). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L584). """ Combo( label::Union{String,Ptr{Cchar},Ptr{Cvoid}}, @@ -1422,7 +1422,7 @@ $(TYPEDSIGNATURES) Separate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0". -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L581). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L585). """ Combo( label::Union{String,Ptr{Cchar},Ptr{Cvoid}}, @@ -1436,7 +1436,7 @@ $(TYPEDSIGNATURES) If v_min >= v_max we have no bound. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L596). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L600). """ DragFloat( label, @@ -1451,7 +1451,7 @@ DragFloat( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L597). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L601). """ DragFloat2( label, @@ -1466,7 +1466,7 @@ DragFloat2( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L598). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L602). """ DragFloat3( label, @@ -1481,7 +1481,7 @@ DragFloat3( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L599). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L603). """ DragFloat4( label, @@ -1496,7 +1496,7 @@ DragFloat4( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L600). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L604). """ DragFloatRange2( label, @@ -1515,7 +1515,7 @@ $(TYPEDSIGNATURES) If v_min >= v_max we have no bound. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L601). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L605). """ DragInt( label, @@ -1530,7 +1530,7 @@ DragInt( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L602). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L606). """ DragInt2( label, @@ -1545,7 +1545,7 @@ DragInt2( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L603). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L607). """ DragInt3( label, @@ -1560,7 +1560,7 @@ DragInt3( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L604). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L608). """ DragInt4( label, @@ -1575,7 +1575,7 @@ DragInt4( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L605). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L609). """ DragIntRange2( label, @@ -1592,7 +1592,7 @@ DragIntRange2( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L606). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L610). """ DragScalar( label, @@ -1608,7 +1608,7 @@ DragScalar( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L607). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L611). """ DragScalarN( label, @@ -1627,7 +1627,7 @@ $(TYPEDSIGNATURES) Adjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L615). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L619). """ SliderFloat(label, v, v_min, v_max, format = "%.3f0", flags::Union{ImGuiSliderFlags,ImGuiSliderFlags_,Integer} = 0) = igSliderFloat(label, v, v_min, v_max, format, flags) @@ -1635,7 +1635,7 @@ SliderFloat(label, v, v_min, v_max, format = "%.3f0", flags::Union{ImGuiSliderFl """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L616). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L620). """ SliderFloat2(label, v, v_min, v_max, format = "%.3f0", flags::Union{ImGuiSliderFlags,ImGuiSliderFlags_,Integer} = 0) = igSliderFloat2(label, v, v_min, v_max, format, flags) @@ -1643,7 +1643,7 @@ SliderFloat2(label, v, v_min, v_max, format = "%.3f0", flags::Union{ImGuiSliderF """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L617). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L621). """ SliderFloat3(label, v, v_min, v_max, format = "%.3f0", flags::Union{ImGuiSliderFlags,ImGuiSliderFlags_,Integer} = 0) = igSliderFloat3(label, v, v_min, v_max, format, flags) @@ -1651,7 +1651,7 @@ SliderFloat3(label, v, v_min, v_max, format = "%.3f0", flags::Union{ImGuiSliderF """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L618). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L622). """ SliderFloat4(label, v, v_min, v_max, format = "%.3f0", flags::Union{ImGuiSliderFlags,ImGuiSliderFlags_,Integer} = 0) = igSliderFloat4(label, v, v_min, v_max, format, flags) @@ -1659,7 +1659,7 @@ SliderFloat4(label, v, v_min, v_max, format = "%.3f0", flags::Union{ImGuiSliderF """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L619). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L623). """ SliderAngle( label, @@ -1673,7 +1673,7 @@ SliderAngle( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L620). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L624). """ SliderInt(label, v, v_min, v_max, format = "%d", flags::Union{ImGuiSliderFlags,ImGuiSliderFlags_,Integer} = 0) = igSliderInt(label, v, v_min, v_max, format, flags) @@ -1681,7 +1681,7 @@ SliderInt(label, v, v_min, v_max, format = "%d", flags::Union{ImGuiSliderFlags,I """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L621). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L625). """ SliderInt2(label, v, v_min, v_max, format = "%d", flags::Union{ImGuiSliderFlags,ImGuiSliderFlags_,Integer} = 0) = igSliderInt2(label, v, v_min, v_max, format, flags) @@ -1689,7 +1689,7 @@ SliderInt2(label, v, v_min, v_max, format = "%d", flags::Union{ImGuiSliderFlags, """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L622). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L626). """ SliderInt3(label, v, v_min, v_max, format = "%d", flags::Union{ImGuiSliderFlags,ImGuiSliderFlags_,Integer} = 0) = igSliderInt3(label, v, v_min, v_max, format, flags) @@ -1697,7 +1697,7 @@ SliderInt3(label, v, v_min, v_max, format = "%d", flags::Union{ImGuiSliderFlags, """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L623). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L627). """ SliderInt4(label, v, v_min, v_max, format = "%d", flags::Union{ImGuiSliderFlags,ImGuiSliderFlags_,Integer} = 0) = igSliderInt4(label, v, v_min, v_max, format, flags) @@ -1705,7 +1705,7 @@ SliderInt4(label, v, v_min, v_max, format = "%d", flags::Union{ImGuiSliderFlags, """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L624). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L628). """ SliderScalar( label, @@ -1720,7 +1720,7 @@ SliderScalar( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L625). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L629). """ SliderScalarN( label, @@ -1736,7 +1736,7 @@ SliderScalarN( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L626). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L630). """ VSliderFloat( label, @@ -1751,7 +1751,7 @@ VSliderFloat( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L627). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L631). """ VSliderInt( label, @@ -1766,7 +1766,7 @@ VSliderInt( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L628). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L632). """ VSliderScalar( label, @@ -1782,7 +1782,7 @@ VSliderScalar( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L633). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L637). """ InputText( label, @@ -1796,7 +1796,7 @@ InputText( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L634). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L638). """ InputTextMultiline( label, @@ -1811,7 +1811,7 @@ InputTextMultiline( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L635). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L639). """ InputTextWithHint( label, @@ -1826,7 +1826,7 @@ InputTextWithHint( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L636). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L640). """ InputFloat( label, @@ -1840,7 +1840,7 @@ InputFloat( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L637). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L641). """ InputFloat2(label, v, format = "%.3f0", flags::Union{ImGuiInputTextFlags,ImGuiInputTextFlags_,Integer} = 0) = igInputFloat2(label, v, format, flags) @@ -1848,7 +1848,7 @@ InputFloat2(label, v, format = "%.3f0", flags::Union{ImGuiInputTextFlags,ImGuiIn """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L638). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L642). """ InputFloat3(label, v, format = "%.3f0", flags::Union{ImGuiInputTextFlags,ImGuiInputTextFlags_,Integer} = 0) = igInputFloat3(label, v, format, flags) @@ -1856,7 +1856,7 @@ InputFloat3(label, v, format = "%.3f0", flags::Union{ImGuiInputTextFlags,ImGuiIn """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L639). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L643). """ InputFloat4(label, v, format = "%.3f0", flags::Union{ImGuiInputTextFlags,ImGuiInputTextFlags_,Integer} = 0) = igInputFloat4(label, v, format, flags) @@ -1864,7 +1864,7 @@ InputFloat4(label, v, format = "%.3f0", flags::Union{ImGuiInputTextFlags,ImGuiIn """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L640). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L644). """ InputInt(label, v, step = 1, step_fast = 100, flags::Union{ImGuiInputTextFlags,ImGuiInputTextFlags_,Integer} = 0) = igInputInt(label, v, step, step_fast, flags) @@ -1872,28 +1872,28 @@ InputInt(label, v, step = 1, step_fast = 100, flags::Union{ImGuiInputTextFlags,I """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L641). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L645). """ InputInt2(label, v, flags::Union{ImGuiInputTextFlags,ImGuiInputTextFlags_,Integer} = 0) = igInputInt2(label, v, flags) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L642). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L646). """ InputInt3(label, v, flags::Union{ImGuiInputTextFlags,ImGuiInputTextFlags_,Integer} = 0) = igInputInt3(label, v, flags) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L643). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L647). """ InputInt4(label, v, flags::Union{ImGuiInputTextFlags,ImGuiInputTextFlags_,Integer} = 0) = igInputInt4(label, v, flags) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L644). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L648). """ InputDouble( label, @@ -1907,7 +1907,7 @@ InputDouble( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L645). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L649). """ InputScalar( label, @@ -1922,7 +1922,7 @@ InputScalar( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L646). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L650). """ InputScalarN( label, @@ -1938,7 +1938,7 @@ InputScalarN( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L651). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L655). """ ColorEdit3(label, col, flags::Union{ImGuiColorEditFlags,ImGuiColorEditFlags_,Integer} = 0) = igColorEdit3(label, col, flags) @@ -1946,7 +1946,7 @@ ColorEdit3(label, col, flags::Union{ImGuiColorEditFlags,ImGuiColorEditFlags_,Int """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L652). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L656). """ ColorEdit4(label, col, flags::Union{ImGuiColorEditFlags,ImGuiColorEditFlags_,Integer} = 0) = igColorEdit4(label, col, flags) @@ -1954,7 +1954,7 @@ ColorEdit4(label, col, flags::Union{ImGuiColorEditFlags,ImGuiColorEditFlags_,Int """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L653). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L657). """ ColorPicker3(label, col, flags::Union{ImGuiColorEditFlags,ImGuiColorEditFlags_,Integer} = 0) = igColorPicker3(label, col, flags) @@ -1962,7 +1962,7 @@ ColorPicker3(label, col, flags::Union{ImGuiColorEditFlags,ImGuiColorEditFlags_,I """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L654). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L658). """ ColorPicker4(label, col, flags::Union{ImGuiColorEditFlags,ImGuiColorEditFlags_,Integer} = 0, ref_col = C_NULL) = igColorPicker4(label, col, flags, ref_col) @@ -1972,7 +1972,7 @@ $(TYPEDSIGNATURES) Display a color square/button, hover for details, return true when pressed. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L655). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L659). """ ColorButton( desc_id, @@ -1986,14 +1986,14 @@ $(TYPEDSIGNATURES) Initialize current options (generally on application startup) if you want to select a default format, picker type, etc. User will be able to change many settings, unless you pass the _NoOptions flag to your calls. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L656). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L660). """ SetColorEditOptions(flags::Union{ImGuiColorEditFlags,ImGuiColorEditFlags_,Integer}) = igSetColorEditOptions(flags) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L660). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L664). """ TreeNode(label::Union{String,Ptr{Cchar}}) = igTreeNode_Str(label) @@ -2002,7 +2002,7 @@ $(TYPEDSIGNATURES) Helper variation to easily decorelate the id from the displayed string. Read the FAQ about why and how to use ID. to align arbitrary text at the same level as a TreeNode() you can use Bullet(). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L661). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L665). """ TreeNode(str_id::Union{String,Ptr{Cchar}}, fmt::Union{String,Ptr{Cchar},Ptr{Cvoid}}) = igTreeNode_StrStr(str_id, fmt) @@ -2011,14 +2011,14 @@ $(TYPEDSIGNATURES) ". -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L662). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L666). """ TreeNode(ptr_id::PtrOrRef{Cvoid}, fmt::Union{String,Ptr{Cchar},Ptr{Cvoid}}) = igTreeNode_Ptr(ptr_id, fmt) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L665). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L669). """ TreeNodeEx(label::Union{String,Ptr{Cchar}}, flags::Union{ImGuiTreeNodeFlags,ImGuiTreeNodeFlags_,Integer} = 0) = igTreeNodeEx_Str(label, flags) @@ -2026,7 +2026,7 @@ TreeNodeEx(label::Union{String,Ptr{Cchar}}, flags::Union{ImGuiTreeNodeFlags,ImGu """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L666). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L670). """ TreeNodeEx( str_id::Union{String,Ptr{Cchar}}, @@ -2037,7 +2037,7 @@ TreeNodeEx( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L667). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L671). """ TreeNodeEx( ptr_id::PtrOrRef{Cvoid}, @@ -2050,7 +2050,7 @@ $(TYPEDSIGNATURES) ~ Indent()+PushID(). Already called by TreeNode() when returning true, but you can call TreePush/TreePop yourself if desired. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L670). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L674). """ TreePush(str_id::Union{String,Ptr{Cchar}}) = igTreePush_Str(str_id) @@ -2059,7 +2059,7 @@ $(TYPEDSIGNATURES) ". -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L671). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L675). """ TreePush(ptr_id::PtrOrRef{Cvoid}) = igTreePush_Ptr(ptr_id) @@ -2068,7 +2068,7 @@ $(TYPEDSIGNATURES) ~ Unindent()+PopID(). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L672). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L676). """ TreePop() = igTreePop() @@ -2077,7 +2077,7 @@ $(TYPEDSIGNATURES) Horizontal distance preceding label when using TreeNode*() or Bullet() == (g.FontSize + style.FramePadding.x*2) for a regular unframed TreeNode. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L673). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L677). """ GetTreeNodeToLabelSpacing() = igGetTreeNodeToLabelSpacing() @@ -2086,7 +2086,7 @@ $(TYPEDSIGNATURES) If returning 'true' the header is open. doesn't indent nor push on ID stack. user doesn't have to call TreePop(). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L674). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L678). """ CollapsingHeader( label::Union{String,Ptr{Cchar},Ptr{Cvoid}}, @@ -2098,7 +2098,7 @@ $(TYPEDSIGNATURES) When 'p_visible != NULL': if '*p_visible==true' display an additional small close button on upper right of the header which will set the bool to false when clicked, if '*p_visible==false' don't display the header. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L675). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L679). """ CollapsingHeader( label::Union{String,Ptr{Cchar},Ptr{Cvoid}}, @@ -2111,7 +2111,7 @@ $(TYPEDSIGNATURES) Set next TreeNode/CollapsingHeader open state. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L676). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L680). """ SetNextItemOpen(is_open, cond::Union{ImGuiCond,ImGuiCond_,Integer} = 0) = igSetNextItemOpen(is_open, cond) @@ -2120,7 +2120,7 @@ $(TYPEDSIGNATURES) Set id to use for open/close storage (default to same as item id). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L677). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L681). """ SetNextItemStorageID(storage_id::Union{ImGuiID,Integer}) = igSetNextItemStorageID(storage_id) @@ -2129,7 +2129,7 @@ $(TYPEDSIGNATURES) "bool selected" carry the selection state (read-only). Selectable() is clicked is returns true so you can modify your selection state. size.x==0.0: use remaining width, size.x>0.0: specify width. size.y==0.0: use label height, size.y>0.0: specify height. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L682). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L686). """ Selectable( label::Union{String,Ptr{Cchar},Ptr{Cvoid}}, @@ -2143,7 +2143,7 @@ $(TYPEDSIGNATURES) "bool* p_selected" point to the selection state (read-write), as a convenient helper. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L683). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L687). """ Selectable( label::Union{String,Ptr{Cchar},Ptr{Cvoid}}, @@ -2155,7 +2155,7 @@ Selectable( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L692). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L696). """ BeginMultiSelect( flags::Union{ImGuiMultiSelectFlags,ImGuiMultiSelectFlags_,Integer}, @@ -2166,14 +2166,14 @@ BeginMultiSelect( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L693). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L697). """ EndMultiSelect() = igEndMultiSelect() """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L694). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L698). """ SetNextItemSelectionUserData(selection_user_data::ImGuiSelectionUserData) = igSetNextItemSelectionUserData(selection_user_data) @@ -2183,7 +2183,7 @@ $(TYPEDSIGNATURES) Was the last item selection state toggled? Useful if you need the per-item information _before_ reaching EndMultiSelect(). We only returns toggle _event_ in order to handle clipping correctly. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L695). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L699). """ IsItemToggledSelection() = igIsItemToggledSelection() @@ -2192,7 +2192,7 @@ $(TYPEDSIGNATURES) Open a framed scrolling region. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L703). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L707). """ BeginListBox(label, size::Union{ImVec2,NTuple{2}} = ImVec2(0, 0)) = igBeginListBox(label, size) @@ -2201,14 +2201,14 @@ $(TYPEDSIGNATURES) Only call EndListBox() if BeginListBox() returned true! -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L704). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L708). """ EndListBox() = igEndListBox() """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L705). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L709). """ ListBox( label::Union{String,Ptr{Cchar},Ptr{Cvoid}}, @@ -2220,28 +2220,28 @@ ListBox( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L717). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L721). """ Value(prefix::Union{String,Ptr{Cchar},Ptr{Cvoid}}, b::Bool) = igValue_Bool(prefix, b) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L718). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L722). """ Value(prefix::Union{String,Ptr{Cchar},Ptr{Cvoid}}, v::Int) = igValue_Int(prefix, v) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L719). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L723). """ Value(prefix::Union{String,Ptr{Cchar},Ptr{Cvoid}}, v::UInt) = igValue_Uint(prefix, v) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L720). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L724). """ Value( prefix::Union{String,Ptr{Cchar},Ptr{Cvoid}}, @@ -2254,7 +2254,7 @@ $(TYPEDSIGNATURES) Append to menu-bar of current window (requires ImGuiWindowFlags_MenuBar flag set on parent window). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L727). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L731). """ BeginMenuBar() = igBeginMenuBar() @@ -2263,7 +2263,7 @@ $(TYPEDSIGNATURES) Only call EndMenuBar() if BeginMenuBar() returns true! -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L728). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L732). """ EndMenuBar() = igEndMenuBar() @@ -2272,7 +2272,7 @@ $(TYPEDSIGNATURES) Create and append to a full screen menu-bar. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L729). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L733). """ BeginMainMenuBar() = igBeginMainMenuBar() @@ -2281,7 +2281,7 @@ $(TYPEDSIGNATURES) Only call EndMainMenuBar() if BeginMainMenuBar() returns true! -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L730). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L734). """ EndMainMenuBar() = igEndMainMenuBar() @@ -2290,7 +2290,7 @@ $(TYPEDSIGNATURES) Create a sub-menu entry. only call EndMenu() if this returns true! -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L731). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L735). """ BeginMenu(label, enabled = true) = igBeginMenu(label, enabled) @@ -2299,7 +2299,7 @@ $(TYPEDSIGNATURES) Only call EndMenu() if BeginMenu() returns true! -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L732). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L736). """ EndMenu() = igEndMenu() @@ -2308,7 +2308,7 @@ $(TYPEDSIGNATURES) Return true when activated. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L733). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L737). """ MenuItem( label::Union{String,Ptr{Cchar},Ptr{Cvoid}}, @@ -2322,7 +2322,7 @@ $(TYPEDSIGNATURES) Return true when activated + toggle (*p_selected) if p_selected != NULL. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L734). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L738). """ MenuItem( label::Union{String,Ptr{Cchar},Ptr{Cvoid}}, @@ -2336,7 +2336,7 @@ $(TYPEDSIGNATURES) Begin/append a tooltip window. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L740). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L744). """ BeginTooltip() = igBeginTooltip() @@ -2345,7 +2345,7 @@ $(TYPEDSIGNATURES) Only call EndTooltip() if BeginTooltip()/BeginItemTooltip() returns true! -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L741). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L745). """ EndTooltip() = igEndTooltip() @@ -2354,7 +2354,7 @@ $(TYPEDSIGNATURES) Set a text-only tooltip. Often used after a ImGui::IsItemHovered() check. Override any previous call to SetTooltip(). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L742). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L746). """ SetTooltip(fmt) = igSetTooltip(fmt) @@ -2363,7 +2363,7 @@ $(TYPEDSIGNATURES) Begin/append a tooltip window if preceding item was hovered. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L749). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L753). """ BeginItemTooltip() = igBeginItemTooltip() @@ -2372,7 +2372,7 @@ $(TYPEDSIGNATURES) Set a text-only tooltip if preceding item was hovered. override any previous call to SetTooltip(). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L750). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L754). """ SetItemTooltip(fmt) = igSetItemTooltip(fmt) @@ -2381,7 +2381,7 @@ $(TYPEDSIGNATURES) Return true if the popup is open, and you can start outputting to it. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L763). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L767). """ BeginPopup(str_id, flags::Union{ImGuiWindowFlags,ImGuiWindowFlags_,Integer} = 0) = igBeginPopup(str_id, flags) @@ -2390,7 +2390,7 @@ $(TYPEDSIGNATURES) Return true if the modal is open, and you can start outputting to it. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L764). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L768). """ BeginPopupModal(name, p_open = C_NULL, flags::Union{ImGuiWindowFlags,ImGuiWindowFlags_,Integer} = 0) = igBeginPopupModal(name, p_open, flags) @@ -2400,7 +2400,7 @@ $(TYPEDSIGNATURES) Only call EndPopup() if BeginPopupXXX() returns true! -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L765). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L769). """ EndPopup() = igEndPopup() @@ -2409,7 +2409,7 @@ $(TYPEDSIGNATURES) Call to mark popup as open (don't call every frame!). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L775). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L779). """ OpenPopup( str_id::Union{String,Ptr{Cchar},Ptr{Cvoid}}, @@ -2421,7 +2421,7 @@ $(TYPEDSIGNATURES) Id overload to facilitate calling from nested stacks. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L776). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L780). """ OpenPopup(id::Union{ImGuiID,Integer}, popup_flags::Union{ImGuiPopupFlags,ImGuiPopupFlags_,Integer} = 0) = igOpenPopup_ID(id, popup_flags) @@ -2431,7 +2431,7 @@ $(TYPEDSIGNATURES) Helper to open popup when clicked on last item. Default to ImGuiPopupFlags_MouseButtonRight == 1. (note: actually triggers on the mouse _released_ event to be consistent with popup behaviors). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L777). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L781). """ OpenPopupOnItemClick(str_id = C_NULL, popup_flags::Union{ImGuiPopupFlags,ImGuiPopupFlags_,Integer} = 1) = igOpenPopupOnItemClick(str_id, popup_flags) @@ -2441,7 +2441,7 @@ $(TYPEDSIGNATURES) Manually close the popup we have begin-ed into. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L778). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L782). """ CloseCurrentPopup() = igCloseCurrentPopup() @@ -2450,7 +2450,7 @@ $(TYPEDSIGNATURES) Open+begin popup when clicked on last item. Use str_id==NULL to associate the popup to previous item. If you want to use that on a non-interactive item such as Text() you need to pass in an explicit ID here. read comments in .cpp! -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L785). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L789). """ BeginPopupContextItem(str_id = C_NULL, popup_flags::Union{ImGuiPopupFlags,ImGuiPopupFlags_,Integer} = 1) = igBeginPopupContextItem(str_id, popup_flags) @@ -2460,7 +2460,7 @@ $(TYPEDSIGNATURES) Open+begin popup when clicked on current window. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L786). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L790). """ BeginPopupContextWindow(str_id = C_NULL, popup_flags::Union{ImGuiPopupFlags,ImGuiPopupFlags_,Integer} = 1) = igBeginPopupContextWindow(str_id, popup_flags) @@ -2470,7 +2470,7 @@ $(TYPEDSIGNATURES) Open+begin popup when clicked in void (where there are no windows). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L787). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L791). """ BeginPopupContextVoid(str_id = C_NULL, popup_flags::Union{ImGuiPopupFlags,ImGuiPopupFlags_,Integer} = 1) = igBeginPopupContextVoid(str_id, popup_flags) @@ -2480,7 +2480,7 @@ $(TYPEDSIGNATURES) Return true if the popup is open. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L793). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L797). """ IsPopupOpen(str_id::Union{String,Ptr{Cchar},Ptr{Cvoid}}, flags::Union{ImGuiPopupFlags,ImGuiPopupFlags_,Integer} = 0) = igIsPopupOpen_Str(str_id, flags) @@ -2488,7 +2488,7 @@ IsPopupOpen(str_id::Union{String,Ptr{Cchar},Ptr{Cvoid}}, flags::Union{ImGuiPopup """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L816). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L820). """ BeginTable( str_id, @@ -2503,7 +2503,7 @@ $(TYPEDSIGNATURES) Only call EndTable() if BeginTable() returns true! -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L817). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L821). """ EndTable() = igEndTable() @@ -2512,7 +2512,7 @@ $(TYPEDSIGNATURES) Append into the first cell of a new row. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L818). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L822). """ TableNextRow(row_flags::Union{ImGuiTableRowFlags,ImGuiTableRowFlags_,Integer} = 0, min_row_height = 0.0f0) = igTableNextRow(row_flags, min_row_height) @@ -2522,7 +2522,7 @@ $(TYPEDSIGNATURES) Append into the next column (or first column of next row if currently in last column). Return true when column is visible. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L819). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L823). """ TableNextColumn() = igTableNextColumn() @@ -2531,14 +2531,14 @@ $(TYPEDSIGNATURES) Append into the specified column. Return true when column is visible. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L820). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L824). """ TableSetColumnIndex(column_n) = igTableSetColumnIndex(column_n) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L830). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L834). """ TableSetupColumn( label, @@ -2552,7 +2552,7 @@ $(TYPEDSIGNATURES) Lock columns/rows so they stay visible when scrolled. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L831). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L835). """ TableSetupScrollFreeze(cols, rows) = igTableSetupScrollFreeze(cols, rows) @@ -2561,7 +2561,7 @@ $(TYPEDSIGNATURES) Submit one header cell manually (rarely used). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L832). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L836). """ TableHeader(label) = igTableHeader(label) @@ -2570,7 +2570,7 @@ $(TYPEDSIGNATURES) Submit a row with headers cells based on data provided to TableSetupColumn() + submit context menu. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L833). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L837). """ TableHeadersRow() = igTableHeadersRow() @@ -2579,7 +2579,7 @@ $(TYPEDSIGNATURES) Submit a row with angled headers for every column with the ImGuiTableColumnFlags_AngledHeader flag. MUST BE FIRST ROW. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L834). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L838). """ TableAngledHeadersRow() = igTableAngledHeadersRow() @@ -2588,7 +2588,7 @@ $(TYPEDSIGNATURES) Get latest sort specs for the table (NULL if not sorting). Lifetime: don't hold on this pointer over multiple frames or past any subsequent call to BeginTable(). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L842). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L846). """ TableGetSortSpecs() = igTableGetSortSpecs() @@ -2597,7 +2597,7 @@ $(TYPEDSIGNATURES) Return number of columns (value passed to BeginTable). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L843). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L847). """ TableGetColumnCount() = igTableGetColumnCount() @@ -2606,7 +2606,7 @@ $(TYPEDSIGNATURES) Return current column index. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L844). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L848). """ TableGetColumnIndex() = igTableGetColumnIndex() @@ -2615,7 +2615,7 @@ $(TYPEDSIGNATURES) Return current row index. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L845). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L849). """ TableGetRowIndex() = igTableGetRowIndex() @@ -2624,7 +2624,7 @@ $(TYPEDSIGNATURES) Return "" if column didn't have a name declared by TableSetupColumn(). Pass -1 to use current column. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L846). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L850). """ TableGetColumnName(column_n::Integer = -1) = igTableGetColumnName_Int(column_n) @@ -2633,7 +2633,7 @@ $(TYPEDSIGNATURES) Return column flags so you can query their Enabled/Visible/Sorted/Hovered status flags. Pass -1 to use current column. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L847). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L851). """ TableGetColumnFlags(column_n = -1) = igTableGetColumnFlags(column_n) @@ -2642,7 +2642,7 @@ $(TYPEDSIGNATURES) Change user accessible enabled/disabled state of a column. Set to false to hide the column. User can use the context menu to change this themselves (right-click in headers, or right-click in columns body with ImGuiTableFlags_ContextMenuInBody). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L848). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L852). """ TableSetColumnEnabled(column_n, v) = igTableSetColumnEnabled(column_n, v) @@ -2651,7 +2651,7 @@ $(TYPEDSIGNATURES) Return hovered column. return -1 when table is not hovered. return columns_count if the unused space at the right of visible columns is hovered. Can also use (TableGetColumnFlags() & ImGuiTableColumnFlags_IsHovered) instead. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L849). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L853). """ TableGetHoveredColumn() = igTableGetHoveredColumn() @@ -2660,7 +2660,7 @@ $(TYPEDSIGNATURES) Change the color of a cell, row, or column. See ImGuiTableBgTarget_ flags for details. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L850). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L854). """ TableSetBgColor( target::Union{ImGuiTableBgTarget,ImGuiTableBgTarget_,Integer}, @@ -2671,7 +2671,7 @@ TableSetBgColor( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L854). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L858). """ Columns(count = 1, id = C_NULL, borders = true) = igColumns(count, id, borders) @@ -2680,7 +2680,7 @@ $(TYPEDSIGNATURES) Next column, defaults to current row or next row if the current row is finished. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L855). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L859). """ NextColumn() = igNextColumn() @@ -2689,7 +2689,7 @@ $(TYPEDSIGNATURES) Get current column index. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L856). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L860). """ GetColumnIndex() = igGetColumnIndex() @@ -2698,7 +2698,7 @@ $(TYPEDSIGNATURES) Get column width (in pixels). pass -1 to use current column. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L857). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L861). """ GetColumnWidth(column_index = -1) = igGetColumnWidth(column_index) @@ -2707,7 +2707,7 @@ $(TYPEDSIGNATURES) Set column width (in pixels). pass -1 to use current column. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L858). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L862). """ SetColumnWidth(column_index, width) = igSetColumnWidth(column_index, width) @@ -2716,7 +2716,7 @@ $(TYPEDSIGNATURES) Get position of column line (in pixels, from the left side of the contents region). pass -1 to use current column, otherwise 0..GetColumnsCount() inclusive. column 0 is typically 0.0f. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L859). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L863). """ GetColumnOffset(column_index = -1) = igGetColumnOffset(column_index) @@ -2725,14 +2725,14 @@ $(TYPEDSIGNATURES) Set position of column line (in pixels, from the left side of the contents region). pass -1 to use current column. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L860). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L864). """ SetColumnOffset(column_index, offset_x) = igSetColumnOffset(column_index, offset_x) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L861). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L865). """ GetColumnsCount() = igGetColumnsCount() @@ -2741,7 +2741,7 @@ $(TYPEDSIGNATURES) Create and append into a TabBar. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L865). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L869). """ BeginTabBar(str_id, flags::Union{ImGuiTabBarFlags,ImGuiTabBarFlags_,Integer} = 0) = igBeginTabBar(str_id, flags) @@ -2750,7 +2750,7 @@ $(TYPEDSIGNATURES) Only call EndTabBar() if BeginTabBar() returns true! -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L866). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L870). """ EndTabBar() = igEndTabBar() @@ -2759,7 +2759,7 @@ $(TYPEDSIGNATURES) Create a Tab. Returns true if the Tab is selected. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L867). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L871). """ BeginTabItem(label, p_open = C_NULL, flags::Union{ImGuiTabItemFlags,ImGuiTabItemFlags_,Integer} = 0) = igBeginTabItem(label, p_open, flags) @@ -2769,7 +2769,7 @@ $(TYPEDSIGNATURES) Only call EndTabItem() if BeginTabItem() returns true! -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L868). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L872). """ EndTabItem() = igEndTabItem() @@ -2778,7 +2778,7 @@ $(TYPEDSIGNATURES) Create a Tab behaving like a button. return true when clicked. cannot be selected in the tab bar. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L869). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L873). """ TabItemButton(label, flags::Union{ImGuiTabItemFlags,ImGuiTabItemFlags_,Integer} = 0) = igTabItemButton(label, flags) @@ -2787,14 +2787,14 @@ $(TYPEDSIGNATURES) Notify TabBar or Docking system of a closed tab/window ahead (useful to reduce visual flicker on reorderable tab bars). For tab-bar: call after BeginTabBar() and before Tab submissions. Otherwise call with a window name. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L870). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L874). """ SetTabItemClosed(tab_or_docked_window_label) = igSetTabItemClosed(tab_or_docked_window_label) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L885). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L889). """ DockSpace( dockspace_id::Union{ImGuiID,Integer}, @@ -2806,7 +2806,7 @@ DockSpace( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L886). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L890). """ DockSpaceOverViewport( dockspace_id::Union{ImGuiID,Integer} = 0, @@ -2820,7 +2820,7 @@ $(TYPEDSIGNATURES) Set next window dock id. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L887). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L891). """ SetNextWindowDockID(dock_id::Union{ImGuiID,Integer}, cond::Union{ImGuiCond,ImGuiCond_,Integer} = 0) = igSetNextWindowDockID(dock_id, cond) @@ -2830,14 +2830,14 @@ $(TYPEDSIGNATURES) Set next window class (control docking compatibility + provide hints to platform backend via custom viewport flags and platform parent/child relationship). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L888). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L892). """ SetNextWindowClass(window_class::VoidablePtrOrRef{ImGuiWindowClass}) = igSetNextWindowClass(window_class) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L889). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L893). """ GetWindowDockID() = igGetWindowDockID() @@ -2846,7 +2846,7 @@ $(TYPEDSIGNATURES) Is current window docked into another window? -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L890). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L894). """ IsWindowDocked() = igIsWindowDocked() @@ -2855,7 +2855,7 @@ $(TYPEDSIGNATURES) Start logging to tty (stdout). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L894). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L898). """ LogToTTY(auto_open_depth = -1) = igLogToTTY(auto_open_depth) @@ -2864,7 +2864,7 @@ $(TYPEDSIGNATURES) Start logging to file. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L895). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L899). """ LogToFile(auto_open_depth = -1, filename = C_NULL) = igLogToFile(auto_open_depth, filename) @@ -2873,7 +2873,7 @@ $(TYPEDSIGNATURES) Start logging to OS clipboard. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L896). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L900). """ LogToClipboard(auto_open_depth = -1) = igLogToClipboard(auto_open_depth) @@ -2882,7 +2882,7 @@ $(TYPEDSIGNATURES) Stop logging (close file, etc.). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L897). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L901). """ LogFinish() = igLogFinish() @@ -2891,7 +2891,7 @@ $(TYPEDSIGNATURES) Helper to display buttons for logging to tty/file/clipboard. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L898). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L902). """ LogButtons() = igLogButtons() @@ -2900,7 +2900,7 @@ $(TYPEDSIGNATURES) Call after submitting an item which may be dragged. when this return true, you can call SetDragDropPayload() + EndDragDropSource(). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L907). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L911). """ BeginDragDropSource(flags::Union{ImGuiDragDropFlags,ImGuiDragDropFlags_,Integer} = 0) = igBeginDragDropSource(flags) @@ -2909,7 +2909,7 @@ $(TYPEDSIGNATURES) Type is a user defined string of maximum 32 characters. Strings starting with '_' are reserved for dear imgui internal types. Data is copied and held by imgui. Return true when payload has been accepted. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L908). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L912). """ SetDragDropPayload(type, data, sz, cond::Union{ImGuiCond,ImGuiCond_,Integer} = 0) = igSetDragDropPayload(type, data, sz, cond) @@ -2919,7 +2919,7 @@ $(TYPEDSIGNATURES) Only call EndDragDropSource() if BeginDragDropSource() returns true! -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L909). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L913). """ EndDragDropSource() = igEndDragDropSource() @@ -2928,7 +2928,7 @@ $(TYPEDSIGNATURES) Call after submitting an item that may receive a payload. If this returns true, you can call AcceptDragDropPayload() + EndDragDropTarget(). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L910). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L914). """ BeginDragDropTarget() = igBeginDragDropTarget() @@ -2937,7 +2937,7 @@ $(TYPEDSIGNATURES) Accept contents of a given type. If ImGuiDragDropFlags_AcceptBeforeDelivery is set you can peek into the payload before the mouse button is released. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L911). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L915). """ AcceptDragDropPayload(type, flags::Union{ImGuiDragDropFlags,ImGuiDragDropFlags_,Integer} = 0) = igAcceptDragDropPayload(type, flags) @@ -2947,7 +2947,7 @@ $(TYPEDSIGNATURES) Only call EndDragDropTarget() if BeginDragDropTarget() returns true! -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L912). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L916). """ EndDragDropTarget() = igEndDragDropTarget() @@ -2956,28 +2956,28 @@ $(TYPEDSIGNATURES) Peek directly into the current payload from anywhere. returns NULL when drag and drop is finished or inactive. use ImGuiPayload::IsDataType() to test for the payload type. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L913). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L917). """ GetDragDropPayload() = igGetDragDropPayload() """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L920). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L924). """ BeginDisabled(disabled = true) = igBeginDisabled(disabled) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L921). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L925). """ EndDisabled() = igEndDisabled() """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L925). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L929). """ PushClipRect( clip_rect_min::Union{ImVec2,NTuple{2}}, @@ -2988,16 +2988,16 @@ PushClipRect( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L926). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L930). """ PopClipRect() = igPopClipRect() """ $(TYPEDSIGNATURES) -Make last item the default focused item of a window. +Make last item the default focused item of of a newly appearing window. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L930). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L933). """ SetItemDefaultFocus() = igSetItemDefaultFocus() @@ -3006,16 +3006,25 @@ $(TYPEDSIGNATURES) Focus keyboard on the next widget. Use positive 'offset' to access sub components of a multiple component widget. Use -1 to access previous widget. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L931). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L934). """ SetKeyboardFocusHere(offset = 0) = igSetKeyboardFocusHere(offset) """ $(TYPEDSIGNATURES) +Alter visibility of keyboard/gamepad cursor. by default: show when using an arrow key, hide when clicking with mouse. + +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L937). +""" +SetNavCursorVisible(visible) = igSetNavCursorVisible(visible) + +""" +$(TYPEDSIGNATURES) + Allow next item to be overlapped by a subsequent item. Useful with invisible buttons, selectable, treenode covering an area where subsequent items may need to be added. Note that both Selectable() and TreeNode() have dedicated flags doing this. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L934). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L940). """ SetNextItemAllowOverlap() = igSetNextItemAllowOverlap() @@ -3024,7 +3033,7 @@ $(TYPEDSIGNATURES) Is the last item hovered? (and usable, aka not blocked by a popup, etc.). See ImGuiHoveredFlags for more options. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L939). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L945). """ IsItemHovered(flags::Union{ImGuiHoveredFlags,ImGuiHoveredFlags_,Integer} = 0) = igIsItemHovered(flags) @@ -3033,7 +3042,7 @@ $(TYPEDSIGNATURES) Is the last item active? (e.g. button being held, text field being edited. This will continuously return true while holding mouse button on an item. Items that don't interact will always return false). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L940). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L946). """ IsItemActive() = igIsItemActive() @@ -3042,7 +3051,7 @@ $(TYPEDSIGNATURES) Is the last item focused for keyboard/gamepad navigation? -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L941). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L947). """ IsItemFocused() = igIsItemFocused() @@ -3051,7 +3060,7 @@ $(TYPEDSIGNATURES) Is the last item hovered and mouse clicked on? (**) == IsMouseClicked(mouse_button) && IsItemHovered()Important. (**) this is NOT equivalent to the behavior of e.g. Button(). Read comments in function definition. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L942). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L948). """ IsItemClicked(mouse_button::Union{ImGuiMouseButton,ImGuiMouseButton_,Integer} = 0) = igIsItemClicked(mouse_button) @@ -3060,7 +3069,7 @@ $(TYPEDSIGNATURES) Is the last item visible? (items may be out of sight because of clipping/scrolling). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L943). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L949). """ IsItemVisible() = igIsItemVisible() @@ -3069,7 +3078,7 @@ $(TYPEDSIGNATURES) Did the last item modify its underlying value this frame? or was pressed? This is generally the same as the "bool" return value of many widgets. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L944). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L950). """ IsItemEdited() = igIsItemEdited() @@ -3078,7 +3087,7 @@ $(TYPEDSIGNATURES) Was the last item just made active (item was previously inactive). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L945). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L951). """ IsItemActivated() = igIsItemActivated() @@ -3087,7 +3096,7 @@ $(TYPEDSIGNATURES) Was the last item just made inactive (item was previously active). Useful for Undo/Redo patterns with widgets that require continuous editing. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L946). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L952). """ IsItemDeactivated() = igIsItemDeactivated() @@ -3096,7 +3105,7 @@ $(TYPEDSIGNATURES) Was the last item just made inactive and made a value change when it was active? (e.g. Slider/Drag moved). Useful for Undo/Redo patterns with widgets that require continuous editing. Note that you may get false positives (some widgets such as Combo()/ListBox()/Selectable() will return true even when clicking an already selected item). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L947). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L953). """ IsItemDeactivatedAfterEdit() = igIsItemDeactivatedAfterEdit() @@ -3105,7 +3114,7 @@ $(TYPEDSIGNATURES) Was the last item open state toggled? set by TreeNode(). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L948). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L954). """ IsItemToggledOpen() = igIsItemToggledOpen() @@ -3114,7 +3123,7 @@ $(TYPEDSIGNATURES) Is any item hovered? -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L949). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L955). """ IsAnyItemHovered() = igIsAnyItemHovered() @@ -3123,7 +3132,7 @@ $(TYPEDSIGNATURES) Is any item active? -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L950). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L956). """ IsAnyItemActive() = igIsAnyItemActive() @@ -3132,7 +3141,7 @@ $(TYPEDSIGNATURES) Is any item focused? -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L951). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L957). """ IsAnyItemFocused() = igIsAnyItemFocused() @@ -3141,7 +3150,7 @@ $(TYPEDSIGNATURES) Get ID of last item (~~ often same ImGui::GetID(label) beforehand). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L952). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L958). """ GetItemID() = igGetItemID() @@ -3150,7 +3159,7 @@ $(TYPEDSIGNATURES) Get upper-left bounding rectangle of the last item (screen space). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L953). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L959). """ function GetItemRectMin() pOut = Ref{ImVec2}() @@ -3163,7 +3172,7 @@ $(TYPEDSIGNATURES) Get lower-right bounding rectangle of the last item (screen space). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L954). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L960). """ function GetItemRectMax() pOut = Ref{ImVec2}() @@ -3176,7 +3185,7 @@ $(TYPEDSIGNATURES) Get size of last item. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L955). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L961). """ function GetItemRectSize() pOut = Ref{ImVec2}() @@ -3189,7 +3198,7 @@ $(TYPEDSIGNATURES) Return primary/default viewport. This can never be NULL. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L961). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L967). """ GetMainViewport() = igGetMainViewport() @@ -3198,7 +3207,7 @@ $(TYPEDSIGNATURES) Get background draw list for the given viewport or viewport associated to the current window. this draw list will be the first rendering one. Useful to quickly draw shapes/text behind dear imgui contents. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L964). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L970). """ GetBackgroundDrawList(viewport::VoidablePtrOrRef{ImGuiViewport} = C_NULL) = igGetBackgroundDrawList(viewport) @@ -3207,7 +3216,7 @@ $(TYPEDSIGNATURES) Get foreground draw list for the given viewport or viewport associated to the current window. this draw list will be the top-most rendered one. Useful to quickly draw shapes/text over dear imgui contents. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L965). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L971). """ GetForegroundDrawList(viewport::VoidablePtrOrRef{ImGuiViewport} = C_NULL) = igGetForegroundDrawList_ViewportPtr(viewport) @@ -3217,7 +3226,7 @@ $(TYPEDSIGNATURES) Test if rectangle (of given size, starting from cursor position) is visible / not clipped. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L968). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L974). """ IsRectVisible(size::Union{ImVec2,NTuple{2}}) = igIsRectVisible_Nil(size) @@ -3226,7 +3235,7 @@ $(TYPEDSIGNATURES) Test if rectangle (in screen space) is visible / not clipped. to perform coarse clipping on user's side. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L969). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L975). """ IsRectVisible(rect_min::Union{ImVec2,NTuple{2}}, rect_max::Union{ImVec2,NTuple{2}}) = igIsRectVisible_Vec2(rect_min, rect_max) @@ -3236,7 +3245,7 @@ $(TYPEDSIGNATURES) Get global imgui time. incremented by io.DeltaTime every frame. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L970). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L976). """ GetTime() = igGetTime() @@ -3245,7 +3254,7 @@ $(TYPEDSIGNATURES) Get global imgui frame count. incremented by 1 every frame. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L971). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L977). """ GetFrameCount() = igGetFrameCount() @@ -3254,7 +3263,7 @@ $(TYPEDSIGNATURES) You may use this when creating your own ImDrawList instances. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L972). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L978). """ GetDrawListSharedData() = igGetDrawListSharedData() @@ -3263,7 +3272,7 @@ $(TYPEDSIGNATURES) Get a string corresponding to the enum value (for display, saving, etc.). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L973). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L979). """ GetStyleColorName(idx::Union{ImGuiCol,ImGuiCol_,Integer}) = igGetStyleColorName(idx) @@ -3272,21 +3281,21 @@ $(TYPEDSIGNATURES) Replace current window storage with our own (if you want to manipulate it yourself, typically clear subsection of it). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L974). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L980). """ SetStateStorage(storage::VoidablePtrOrRef{ImGuiStorage}) = igSetStateStorage(storage) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L975). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L981). """ GetStateStorage() = igGetStateStorage() """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L978). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L984). """ function CalcTextSize(text, text_end = C_NULL, hide_text_after_double_hash = false, wrap_width = -1.0f0) pOut = Ref{ImVec2}() @@ -3297,7 +3306,7 @@ end """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L981). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L987). """ function ColorConvertU32ToFloat4(in::Union{ImU32,Integer}) pOut = Ref{ImVec4}() @@ -3308,21 +3317,21 @@ end """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L982). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L988). """ ColorConvertFloat4ToU32(in::Union{ImVec4,NTuple{4}}) = igColorConvertFloat4ToU32(in) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L983). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L989). """ ColorConvertRGBtoHSV(r, g, b, out_h, out_s, out_v) = igColorConvertRGBtoHSV(r, g, b, out_h, out_s, out_v) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L984). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L990). """ ColorConvertHSVtoRGB(h, s, v, out_r, out_g, out_b) = igColorConvertHSVtoRGB(h, s, v, out_r, out_g, out_b) @@ -3331,7 +3340,7 @@ $(TYPEDSIGNATURES) Is key being held. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L991). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L996). """ IsKeyDown(key::ImGuiKey) = igIsKeyDown_Nil(key) @@ -3340,7 +3349,7 @@ $(TYPEDSIGNATURES) Was key pressed (went from !Down to Down)? if repeat=true, uses io.KeyRepeatDelay / KeyRepeatRate. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L992). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L997). """ IsKeyPressed(key::ImGuiKey, repeat::Bool = true) = igIsKeyPressed_Bool(key, repeat) @@ -3349,7 +3358,7 @@ $(TYPEDSIGNATURES) Was key released (went from Down to !Down)? -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L993). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L998). """ IsKeyReleased(key::ImGuiKey) = igIsKeyReleased_Nil(key) @@ -3358,7 +3367,7 @@ $(TYPEDSIGNATURES) Was key chord (mods + key) pressed, e.g. you can pass 'ImGuiMod_Ctrl | ImGuiKey_S' as a key-chord. This doesn't do any routing or focus check, please consider using Shortcut() function instead. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L994). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L999). """ IsKeyChordPressed(key_chord::Union{ImGuiKeyChord,Integer}) = igIsKeyChordPressed_Nil(key_chord) @@ -3367,7 +3376,7 @@ $(TYPEDSIGNATURES) Uses provided repeat rate/delay. return a count, most often 0 or 1 but might be >1 if RepeatRate is small enough that DeltaTime > RepeatRate. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L995). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1000). """ GetKeyPressedAmount(key::ImGuiKey, repeat_delay, rate) = igGetKeyPressedAmount(key, repeat_delay, rate) @@ -3376,7 +3385,7 @@ $(TYPEDSIGNATURES) [DEBUG] returns English name of the key. Those names a provided for debugging purpose and are not meant to be saved persistently not compared. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L996). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1001). """ GetKeyName(key::ImGuiKey) = igGetKeyName(key) @@ -3385,14 +3394,14 @@ $(TYPEDSIGNATURES) Override io.WantCaptureKeyboard flag next frame (said flag is left for your application to handle, typically when true it instructs your app to ignore inputs). e.g. force capture keyboard when your widget is being hovered. This is equivalent to setting "io.WantCaptureKeyboard = want_capture_keyboard"; after the next NewFrame() call. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L997). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1002). """ SetNextFrameWantCaptureKeyboard(want_capture_keyboard) = igSetNextFrameWantCaptureKeyboard(want_capture_keyboard) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1014). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1019). """ Shortcut(key_chord::Union{ImGuiKeyChord,Integer}, flags::Union{ImGuiInputFlags,ImGuiInputFlags_,Integer} = 0) = igShortcut_Nil(key_chord, flags) @@ -3400,7 +3409,7 @@ Shortcut(key_chord::Union{ImGuiKeyChord,Integer}, flags::Union{ImGuiInputFlags,I """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1015). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1020). """ SetNextItemShortcut( key_chord::Union{ImGuiKeyChord,Integer}, @@ -3412,7 +3421,7 @@ $(TYPEDSIGNATURES) Set key owner to last item ID if it is hovered or active. Equivalent to 'if (IsItemHovered() || IsItemActive()) SetKeyOwner(key, GetItemID());'. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1023). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1028). """ SetItemKeyOwner(key::ImGuiKey) = igSetItemKeyOwner_Nil(key) @@ -3421,7 +3430,7 @@ $(TYPEDSIGNATURES) Is mouse button held? -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1029). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1034). """ IsMouseDown(button::Union{ImGuiMouseButton,ImGuiMouseButton_,Integer}) = igIsMouseDown_Nil(button) @@ -3430,7 +3439,7 @@ $(TYPEDSIGNATURES) Did mouse button clicked? (went from !Down to Down). Same as GetMouseClickedCount() == 1. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1030). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1035). """ IsMouseClicked(button::Union{ImGuiMouseButton,ImGuiMouseButton_,Integer}, repeat::Bool = false) = igIsMouseClicked_Bool(button, repeat) @@ -3440,7 +3449,7 @@ $(TYPEDSIGNATURES) Did mouse button released? (went from Down to !Down). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1031). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1036). """ IsMouseReleased(button::Union{ImGuiMouseButton,ImGuiMouseButton_,Integer}) = igIsMouseReleased_Nil(button) @@ -3449,7 +3458,7 @@ $(TYPEDSIGNATURES) Did mouse button double-clicked? Same as GetMouseClickedCount() == 2. (note that a double-click will also report IsMouseClicked() == true). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1032). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1037). """ IsMouseDoubleClicked(button::Union{ImGuiMouseButton,ImGuiMouseButton_,Integer}) = igIsMouseDoubleClicked_Nil(button) @@ -3458,7 +3467,7 @@ $(TYPEDSIGNATURES) Return the number of successive mouse-clicks at the time where a click happen (otherwise 0). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1033). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1038). """ GetMouseClickedCount(button::Union{ImGuiMouseButton,ImGuiMouseButton_,Integer}) = igGetMouseClickedCount(button) @@ -3467,7 +3476,7 @@ $(TYPEDSIGNATURES) Is mouse hovering given bounding rect (in screen space). clipped by current clipping settings, but disregarding of other consideration of focus/window ordering/popup-block. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1034). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1039). """ IsMouseHoveringRect(r_min::Union{ImVec2,NTuple{2}}, r_max::Union{ImVec2,NTuple{2}}, clip = true) = igIsMouseHoveringRect(r_min, r_max, clip) @@ -3477,7 +3486,7 @@ $(TYPEDSIGNATURES) By convention we use (-FLT_MAX,-FLT_MAX) to denote that there is no mouse available. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1035). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1040). """ IsMousePosValid(mouse_pos::Union{VoidablePtrOrRef{ImVec2},VoidablePtrOrRef{NTuple{2}}} = C_NULL) = igIsMousePosValid(mouse_pos) @@ -3487,7 +3496,7 @@ $(TYPEDSIGNATURES) [WILL OBSOLETE] is any mouse button held? This was designed for backends, but prefer having backend maintain a mask of held mouse buttons, because upcoming input queue system will make this invalid. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1036). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1041). """ IsAnyMouseDown() = igIsAnyMouseDown() @@ -3496,7 +3505,7 @@ $(TYPEDSIGNATURES) Shortcut to ImGui::GetIO().MousePos provided by user, to be consistent with other calls. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1037). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1042). """ function GetMousePos() pOut = Ref{ImVec2}() @@ -3509,7 +3518,7 @@ $(TYPEDSIGNATURES) Retrieve mouse position at the time of opening popup we have BeginPopup() into (helper to avoid user backing that value themselves). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1038). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1043). """ function GetMousePosOnOpeningCurrentPopup() pOut = Ref{ImVec2}() @@ -3522,7 +3531,7 @@ $(TYPEDSIGNATURES) Is mouse dragging? (uses io.MouseDraggingThreshold if lock_threshold < 0.0f). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1039). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1044). """ IsMouseDragging(button::Union{ImGuiMouseButton,ImGuiMouseButton_,Integer}, lock_threshold = -1.0f0) = igIsMouseDragging(button, lock_threshold) @@ -3532,7 +3541,7 @@ $(TYPEDSIGNATURES) Return the delta from the initial clicking position while the mouse button is pressed or was just released. This is locked and return 0.0f until the mouse moves past a distance threshold at least once (uses io.MouseDraggingThreshold if lock_threshold < 0.0f). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1040). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1045). """ function GetMouseDragDelta(button::Union{ImGuiMouseButton,ImGuiMouseButton_,Integer} = 0, lock_threshold = -1.0f0) pOut = Ref{ImVec2}() @@ -3545,7 +3554,7 @@ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1041). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1046). """ ResetMouseDragDelta(button::Union{ImGuiMouseButton,ImGuiMouseButton_,Integer} = 0) = igResetMouseDragDelta(button) @@ -3554,7 +3563,7 @@ $(TYPEDSIGNATURES) Get desired mouse cursor shape. Important: reset in ImGui::NewFrame(), this is updated during the frame. valid before Render(). If you use software rendering by setting io.MouseDrawCursor ImGui will render those for you. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1042). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1047). """ GetMouseCursor() = igGetMouseCursor() @@ -3563,7 +3572,7 @@ $(TYPEDSIGNATURES) Set desired mouse cursor shape. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1043). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1048). """ SetMouseCursor(cursor_type::Union{ImGuiMouseCursor,ImGuiMouseCursor_,Integer}) = igSetMouseCursor(cursor_type) @@ -3572,21 +3581,21 @@ $(TYPEDSIGNATURES) Override io.WantCaptureMouse flag next frame (said flag is left for your application to handle, typical when true it instucts your app to ignore inputs). This is equivalent to setting "io.WantCaptureMouse = want_capture_mouse;" after the next NewFrame() call. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1044). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1049). """ SetNextFrameWantCaptureMouse(want_capture_mouse) = igSetNextFrameWantCaptureMouse(want_capture_mouse) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1048). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1053). """ GetClipboardText() = igGetClipboardText() """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1049). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1054). """ SetClipboardText(text) = igSetClipboardText(text) @@ -3595,7 +3604,7 @@ $(TYPEDSIGNATURES) Call after CreateContext() and before the first call to NewFrame(). NewFrame() automatically calls LoadIniSettingsFromDisk(io.IniFilename). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1055). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1060). """ LoadIniSettingsFromDisk(ini_filename) = igLoadIniSettingsFromDisk(ini_filename) @@ -3604,7 +3613,7 @@ $(TYPEDSIGNATURES) Call after CreateContext() and before the first call to NewFrame() to provide .ini data from your own data source. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1056). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1061). """ LoadIniSettingsFromMemory(ini_data, ini_size = 0) = igLoadIniSettingsFromMemory(ini_data, ini_size) @@ -3613,7 +3622,7 @@ $(TYPEDSIGNATURES) This is automatically called (if io.IniFilename is not empty) a few seconds after any modification that should be reflected in the .ini file (and also by DestroyContext). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1057). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1062). """ SaveIniSettingsToDisk(ini_filename) = igSaveIniSettingsToDisk(ini_filename) @@ -3622,28 +3631,28 @@ $(TYPEDSIGNATURES) Return a zero-terminated string with the .ini data which you can save by your own mean. call when io.WantSaveIniSettings is set, then save data by your own mean and clear io.WantSaveIniSettings. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1058). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1063). """ SaveIniSettingsToMemory(out_ini_size = C_NULL) = igSaveIniSettingsToMemory(out_ini_size) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1062). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1067). """ DebugTextEncoding(text) = igDebugTextEncoding(text) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1063). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1068). """ DebugFlashStyleColor(idx::Union{ImGuiCol,ImGuiCol_,Integer}) = igDebugFlashStyleColor(idx) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1064). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1069). """ DebugStartItemPicker() = igDebugStartItemPicker() @@ -3652,7 +3661,7 @@ $(TYPEDSIGNATURES) This is called by IMGUI_CHECKVERSION() macro. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1065). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1070). """ DebugCheckVersionAndDataLayout(version_str, sz_io, sz_style, sz_vec2, sz_vec4, sz_drawvert, sz_drawidx) = igDebugCheckVersionAndDataLayout(version_str, sz_io, sz_style, sz_vec2, sz_vec4, sz_drawvert, sz_drawidx) @@ -3662,14 +3671,14 @@ $(TYPEDSIGNATURES) Call via IMGUI_DEBUG_LOG() for maximum stripping in caller code! -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1067). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1072). """ DebugLog(fmt) = igDebugLog(fmt) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1075). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1080). """ SetAllocatorFunctions(alloc_func::ImGuiMemAllocFunc, free_func::ImGuiMemFreeFunc, user_data = C_NULL) = igSetAllocatorFunctions(alloc_func, free_func, user_data) @@ -3677,7 +3686,7 @@ SetAllocatorFunctions(alloc_func::ImGuiMemAllocFunc, free_func::ImGuiMemFreeFunc """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1076). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1081). """ GetAllocatorFunctions( p_alloc_func::VoidablePtrOrRef{ImGuiMemAllocFunc}, @@ -3688,14 +3697,14 @@ GetAllocatorFunctions( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1077). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1082). """ MemAlloc(size) = igMemAlloc(size) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1078). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1083). """ MemFree(ptr) = igMemFree(ptr) @@ -3704,7 +3713,7 @@ $(TYPEDSIGNATURES) Call in main loop. will call CreateWindow/ResizeWindow/etc. platform functions for each secondary viewport, and DestroyWindow for each inactive viewport. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1083). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1088). """ UpdatePlatformWindows() = igUpdatePlatformWindows() @@ -3713,7 +3722,7 @@ $(TYPEDSIGNATURES) Call in main loop. will call RenderWindow/SwapBuffers platform functions for each secondary viewport which doesn't have the ImGuiViewportFlags_Minimized flag set. May be reimplemented by user for custom rendering needs. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1084). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1089). """ RenderPlatformWindowsDefault(platform_render_arg = C_NULL, renderer_render_arg = C_NULL) = igRenderPlatformWindowsDefault(platform_render_arg, renderer_render_arg) @@ -3723,7 +3732,7 @@ $(TYPEDSIGNATURES) Call DestroyWindow platform functions for all viewports. call from backend Shutdown() if you need to close platform windows before imgui shutdown. otherwise will be called by DestroyContext(). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1085). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1090). """ DestroyPlatformWindows() = igDestroyPlatformWindows() @@ -3732,7 +3741,7 @@ $(TYPEDSIGNATURES) This is a helper for backends. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1086). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1091). """ FindViewportByID(id::Union{ImGuiID,Integer}) = igFindViewportByID(id) @@ -3741,14 +3750,14 @@ $(TYPEDSIGNATURES) This is a helper for backends. the type platform_handle is decided by the backend (e.g. HWND, MyWindow*, GLFWwindow* etc.). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L1087). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L1092). """ FindViewportByPlatformHandle(platform_handle) = igFindViewportByPlatformHandle(platform_handle) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2084). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2072). """ lib.ImGuiTableSortSpecs() = ImGuiTableSortSpecs_ImGuiTableSortSpecs() @@ -3760,7 +3769,7 @@ Destroy(self::Ptr{ImGuiTableSortSpecs}) = ImGuiTableSortSpecs_destroy(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2095). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2083). """ lib.ImGuiTableColumnSortSpecs() = ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs() @@ -3772,7 +3781,7 @@ Destroy(self::Ptr{ImGuiTableColumnSortSpecs}) = ImGuiTableColumnSortSpecs_destro """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2272). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2260). """ lib.ImGuiStyle() = ImGuiStyle_ImGuiStyle() @@ -3784,7 +3793,7 @@ Destroy(self::Ptr{ImGuiStyle}) = ImGuiStyle_destroy(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2273). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2261). """ ScaleAllSizes(self::Ptr{ImGuiStyle}, scale_factor) = ImGuiStyle_ScaleAllSizes(self, scale_factor) @@ -3793,7 +3802,7 @@ $(TYPEDSIGNATURES) Queue a new key down/up event. Key should be "translated" (as in, generally ImGuiKey_A matches the key end-user would use to emit an 'A' character). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2401). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2419). """ AddKeyEvent(self::Ptr{ImGuiIO}, key::ImGuiKey, down) = ImGuiIO_AddKeyEvent(self, key, down) @@ -3802,7 +3811,7 @@ $(TYPEDSIGNATURES) Queue a new key down/up event for analog values (e.g. ImGuiKey_Gamepad_ values). Dead-zones should be handled by the backend. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2402). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2420). """ AddKeyAnalogEvent(self::Ptr{ImGuiIO}, key::ImGuiKey, down, v) = ImGuiIO_AddKeyAnalogEvent(self, key, down, v) @@ -3811,7 +3820,7 @@ $(TYPEDSIGNATURES) Queue a mouse position update. Use -FLT_MAX,-FLT_MAX to signify no mouse (e.g. app not focused and not hovered). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2403). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2421). """ AddMousePosEvent(self::Ptr{ImGuiIO}, x, y) = ImGuiIO_AddMousePosEvent(self, x, y) @@ -3820,7 +3829,7 @@ $(TYPEDSIGNATURES) Queue a mouse button change. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2404). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2422). """ AddMouseButtonEvent(self::Ptr{ImGuiIO}, button, down) = ImGuiIO_AddMouseButtonEvent(self, button, down) @@ -3829,7 +3838,7 @@ $(TYPEDSIGNATURES) Queue a mouse wheel update. wheel_y<0: scroll down, wheel_y>0: scroll up, wheel_x<0: scroll right, wheel_x>0: scroll left. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2405). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2423). """ AddMouseWheelEvent(self::Ptr{ImGuiIO}, wheel_x, wheel_y) = ImGuiIO_AddMouseWheelEvent(self, wheel_x, wheel_y) @@ -3838,7 +3847,7 @@ $(TYPEDSIGNATURES) Queue a mouse source change (Mouse/TouchScreen/Pen). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2406). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2424). """ AddMouseSourceEvent(self::Ptr{ImGuiIO}, source::ImGuiMouseSource) = ImGuiIO_AddMouseSourceEvent(self, source) @@ -3847,7 +3856,7 @@ $(TYPEDSIGNATURES) Queue a mouse hovered viewport. Requires backend to set ImGuiBackendFlags_HasMouseHoveredViewport to call this (for multi-viewport support). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2407). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2425). """ AddMouseViewportEvent(self::Ptr{ImGuiIO}, id::Union{ImGuiID,Integer}) = ImGuiIO_AddMouseViewportEvent(self, id) @@ -3856,7 +3865,7 @@ $(TYPEDSIGNATURES) Queue a gain/loss of focus for the application (generally based on OS/platform focus of your window). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2408). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2426). """ AddFocusEvent(self::Ptr{ImGuiIO}, focused) = ImGuiIO_AddFocusEvent(self, focused) @@ -3865,7 +3874,7 @@ $(TYPEDSIGNATURES) Queue a new character input. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2409). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2427). """ AddInputCharacter(self::Ptr{ImGuiIO}, c) = ImGuiIO_AddInputCharacter(self, c) @@ -3874,7 +3883,7 @@ $(TYPEDSIGNATURES) Queue a new character input from a UTF-16 character, it can be a surrogate. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2410). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2428). """ AddInputCharacterUTF16(self::Ptr{ImGuiIO}, c::ImWchar16) = ImGuiIO_AddInputCharacterUTF16(self, c) @@ -3883,7 +3892,7 @@ $(TYPEDSIGNATURES) Queue a new characters input from a UTF-8 string. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2411). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2429). """ AddInputCharactersUTF8(self::Ptr{ImGuiIO}, str) = ImGuiIO_AddInputCharactersUTF8(self, str) @@ -3892,7 +3901,7 @@ $(TYPEDSIGNATURES) [Optional] Specify index for legacy <1.87 IsKeyXXX() functions with native indices + specify native keycode, scancode. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2413). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2431). """ SetKeyEventNativeData(self::Ptr{ImGuiIO}, key::ImGuiKey, native_keycode, native_scancode, native_legacy_index = -1) = ImGuiIO_SetKeyEventNativeData(self, key, native_keycode, native_scancode, native_legacy_index) @@ -3902,7 +3911,7 @@ $(TYPEDSIGNATURES) Set master flag for accepting key/mouse/text events (default to true). Useful if you have native dialog boxes that are interrupting your application loop/refresh, and you want to disable events being queued while your app is frozen. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2414). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2432). """ SetAppAcceptingEvents(self::Ptr{ImGuiIO}, accepting_events) = ImGuiIO_SetAppAcceptingEvents(self, accepting_events) @@ -3911,7 +3920,7 @@ $(TYPEDSIGNATURES) Clear all incoming events. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2415). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2433). """ ClearEventsQueue(self::Ptr{ImGuiIO}) = ImGuiIO_ClearEventsQueue(self) @@ -3920,7 +3929,7 @@ $(TYPEDSIGNATURES) Clear current keyboard/gamepad state + current frame text input buffer. Equivalent to releasing all keys/buttons. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2416). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2434). """ ClearInputKeys(self::Ptr{ImGuiIO}) = ImGuiIO_ClearInputKeys(self) @@ -3929,14 +3938,14 @@ $(TYPEDSIGNATURES) Clear current mouse state. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2417). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2435). """ ClearInputMouse(self::Ptr{ImGuiIO}) = ImGuiIO_ClearInputMouse(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2508). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2524). """ lib.ImGuiIO() = ImGuiIO_ImGuiIO() @@ -3948,7 +3957,7 @@ Destroy(self::Ptr{ImGuiIO}) = ImGuiIO_destroy(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2548). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2564). """ lib.ImGuiInputTextCallbackData() = ImGuiInputTextCallbackData_ImGuiInputTextCallbackData() @@ -3960,7 +3969,7 @@ Destroy(self::Ptr{ImGuiInputTextCallbackData}) = ImGuiInputTextCallbackData_dest """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2549). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2565). """ DeleteChars(self::Ptr{ImGuiInputTextCallbackData}, pos, bytes_count) = ImGuiInputTextCallbackData_DeleteChars(self, pos, bytes_count) @@ -3968,7 +3977,7 @@ DeleteChars(self::Ptr{ImGuiInputTextCallbackData}, pos, bytes_count) = """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2550). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2566). """ InsertChars(self::Ptr{ImGuiInputTextCallbackData}, pos, text, text_end = C_NULL) = ImGuiInputTextCallbackData_InsertChars(self, pos, text, text_end) @@ -3976,28 +3985,28 @@ InsertChars(self::Ptr{ImGuiInputTextCallbackData}, pos, text, text_end = C_NULL) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2551). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2567). """ SelectAll(self::Ptr{ImGuiInputTextCallbackData}) = ImGuiInputTextCallbackData_SelectAll(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2552). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2568). """ ClearSelection(self::Ptr{ImGuiInputTextCallbackData}) = ImGuiInputTextCallbackData_ClearSelection(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2553). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2569). """ HasSelection(self::Ptr{ImGuiInputTextCallbackData}) = ImGuiInputTextCallbackData_HasSelection(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2585). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2601). """ lib.ImGuiWindowClass() = ImGuiWindowClass_ImGuiWindowClass() @@ -4009,7 +4018,7 @@ Destroy(self::Ptr{ImGuiWindowClass}) = ImGuiWindowClass_destroy(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2603). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2619). """ lib.ImGuiPayload() = ImGuiPayload_ImGuiPayload() @@ -4021,35 +4030,35 @@ Destroy(self::Ptr{ImGuiPayload}) = ImGuiPayload_destroy(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2604). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2620). """ Clear(self::Ptr{ImGuiPayload}) = ImGuiPayload_Clear(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2605). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2621). """ IsDataType(self::Ptr{ImGuiPayload}, type) = ImGuiPayload_IsDataType(self, type) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2606). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2622). """ IsPreview(self::Ptr{ImGuiPayload}) = ImGuiPayload_IsPreview(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2607). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2623). """ IsDelivery(self::Ptr{ImGuiPayload}) = ImGuiPayload_IsDelivery(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2626). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2642). """ lib.ImGuiOnceUponAFrame() = ImGuiOnceUponAFrame_ImGuiOnceUponAFrame() @@ -4061,7 +4070,7 @@ Destroy(self::Ptr{ImGuiOnceUponAFrame}) = ImGuiOnceUponAFrame_destroy(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2634). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2650). """ lib.ImGuiTextFilter(default_filter = "") = ImGuiTextFilter_ImGuiTextFilter(default_filter) @@ -4075,42 +4084,42 @@ $(TYPEDSIGNATURES) Helper calling InputText+Build. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2635). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2651). """ Draw(self::Ptr{ImGuiTextFilter}, label = "Filter(inc,-exc)", width = 0.0f0) = ImGuiTextFilter_Draw(self, label, width) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2636). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2652). """ PassFilter(self::Ptr{ImGuiTextFilter}, text, text_end = C_NULL) = ImGuiTextFilter_PassFilter(self, text, text_end) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2637). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2653). """ Build(self::Ptr{ImGuiTextFilter}) = ImGuiTextFilter_Build(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2638). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2654). """ Clear(self::Ptr{ImGuiTextFilter}) = ImGuiTextFilter_Clear(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2639). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2655). """ IsActive(self::Ptr{ImGuiTextFilter}) = ImGuiTextFilter_IsActive(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2647). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2663). """ lib.ImGuiTextRange() = ImGuiTextRange_ImGuiTextRange_Nil() @@ -4122,7 +4131,7 @@ Destroy(self::Ptr{ImGuiTextRange}) = ImGuiTextRange_destroy(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2648). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2664). """ lib.ImGuiTextRange(_b::Union{String,Ptr{Cchar},Ptr{Cvoid}}, _e::Union{String,Ptr{Cchar},Ptr{Cvoid}}) = ImGuiTextRange_ImGuiTextRange_Str(_b, _e) @@ -4130,14 +4139,14 @@ lib.ImGuiTextRange(_b::Union{String,Ptr{Cchar},Ptr{Cvoid}}, _e::Union{String,Ptr """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2649). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2665). """ Empty(self::Ptr{ImGuiTextRange}) = ImGuiTextRange_empty(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2650). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2666). """ Split(self::Ptr{ImGuiTextRange}, separator, out::VoidablePtrOrRef{ImVector_ImGuiTextRange}) = ImGuiTextRange_split(self, separator, out) @@ -4145,7 +4154,7 @@ Split(self::Ptr{ImGuiTextRange}, separator, out::VoidablePtrOrRef{ImVector_ImGui """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2664). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2680). """ lib.ImGuiTextBuffer() = ImGuiTextBuffer_ImGuiTextBuffer() @@ -4157,7 +4166,7 @@ Destroy(self::Ptr{ImGuiTextBuffer}) = ImGuiTextBuffer_destroy(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2666). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2682). """ Begin(self::Ptr{ImGuiTextBuffer}) = ImGuiTextBuffer_begin(self) @@ -4166,56 +4175,56 @@ $(TYPEDSIGNATURES) Buf is zero-terminated, so end() will point on the zero-terminator. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2667). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2683). """ End(self::Ptr{ImGuiTextBuffer}) = ImGuiTextBuffer_end(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2668). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2684). """ Size(self::Ptr{ImGuiTextBuffer}) = ImGuiTextBuffer_size(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2669). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2685). """ Empty(self::Ptr{ImGuiTextBuffer}) = ImGuiTextBuffer_empty(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2670). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2686). """ Clear(self::Ptr{ImGuiTextBuffer}) = ImGuiTextBuffer_clear(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2671). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2687). """ Reserve(self::Ptr{ImGuiTextBuffer}, capacity) = ImGuiTextBuffer_reserve(self, capacity) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2672). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2688). """ C_str(self::Ptr{ImGuiTextBuffer}) = ImGuiTextBuffer_c_str(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2673). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2689). """ Append(self::Ptr{ImGuiTextBuffer}, str, str_end = C_NULL) = ImGuiTextBuffer_append(self, str, str_end) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2683). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2699). """ lib.ImGuiStoragePair(_key::Union{ImGuiID,Integer}, _val::Integer) = ImGuiStoragePair_ImGuiStoragePair_Int(_key, _val) @@ -4227,14 +4236,14 @@ Destroy(self::Ptr{ImGuiStoragePair}) = ImGuiStoragePair_destroy(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2684). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2700). """ lib.ImGuiStoragePair(_key::Union{ImGuiID,Integer}, _val::Real) = ImGuiStoragePair_ImGuiStoragePair_Float(_key, _val) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2685). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2701). """ lib.ImGuiStoragePair(_key::Union{ImGuiID,Integer}, _val::PtrOrRef{Cvoid}) = ImGuiStoragePair_ImGuiStoragePair_Ptr(_key, _val) @@ -4242,14 +4251,14 @@ lib.ImGuiStoragePair(_key::Union{ImGuiID,Integer}, _val::PtrOrRef{Cvoid}) = """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2704). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2720). """ Clear(self::Ptr{ImGuiStorage}) = ImGuiStorage_Clear(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2705). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2721). """ GetInt(self::Ptr{ImGuiStorage}, key::Union{ImGuiID,Integer}, default_val = 0) = ImGuiStorage_GetInt(self, key, default_val) @@ -4257,14 +4266,14 @@ GetInt(self::Ptr{ImGuiStorage}, key::Union{ImGuiID,Integer}, default_val = 0) = """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2706). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2722). """ SetInt(self::Ptr{ImGuiStorage}, key::Union{ImGuiID,Integer}, val) = ImGuiStorage_SetInt(self, key, val) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2707). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2723). """ GetBool(self::Ptr{ImGuiStorage}, key::Union{ImGuiID,Integer}, default_val = false) = ImGuiStorage_GetBool(self, key, default_val) @@ -4272,14 +4281,14 @@ GetBool(self::Ptr{ImGuiStorage}, key::Union{ImGuiID,Integer}, default_val = fals """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2708). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2724). """ SetBool(self::Ptr{ImGuiStorage}, key::Union{ImGuiID,Integer}, val) = ImGuiStorage_SetBool(self, key, val) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2709). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2725). """ GetFloat(self::Ptr{ImGuiStorage}, key::Union{ImGuiID,Integer}, default_val = 0.0f0) = ImGuiStorage_GetFloat(self, key, default_val) @@ -4287,7 +4296,7 @@ GetFloat(self::Ptr{ImGuiStorage}, key::Union{ImGuiID,Integer}, default_val = 0.0 """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2710). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2726). """ SetFloat(self::Ptr{ImGuiStorage}, key::Union{ImGuiID,Integer}, val) = ImGuiStorage_SetFloat(self, key, val) @@ -4296,21 +4305,21 @@ $(TYPEDSIGNATURES) Default_val is NULL. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2711). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2727). """ GetVoidPtr(self::Ptr{ImGuiStorage}, key::Union{ImGuiID,Integer}) = ImGuiStorage_GetVoidPtr(self, key) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2712). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2728). """ SetVoidPtr(self::Ptr{ImGuiStorage}, key::Union{ImGuiID,Integer}, val) = ImGuiStorage_SetVoidPtr(self, key, val) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2718). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2734). """ GetIntRef(self::Ptr{ImGuiStorage}, key::Union{ImGuiID,Integer}, default_val = 0) = ImGuiStorage_GetIntRef(self, key, default_val) @@ -4318,7 +4327,7 @@ GetIntRef(self::Ptr{ImGuiStorage}, key::Union{ImGuiID,Integer}, default_val = 0) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2719). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2735). """ GetBoolRef(self::Ptr{ImGuiStorage}, key::Union{ImGuiID,Integer}, default_val = false) = ImGuiStorage_GetBoolRef(self, key, default_val) @@ -4326,7 +4335,7 @@ GetBoolRef(self::Ptr{ImGuiStorage}, key::Union{ImGuiID,Integer}, default_val = f """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2720). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2736). """ GetFloatRef(self::Ptr{ImGuiStorage}, key::Union{ImGuiID,Integer}, default_val = 0.0f0) = ImGuiStorage_GetFloatRef(self, key, default_val) @@ -4334,7 +4343,7 @@ GetFloatRef(self::Ptr{ImGuiStorage}, key::Union{ImGuiID,Integer}, default_val = """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2721). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2737). """ GetVoidPtrRef(self::Ptr{ImGuiStorage}, key::Union{ImGuiID,Integer}, default_val = C_NULL) = ImGuiStorage_GetVoidPtrRef(self, key, default_val) @@ -4342,21 +4351,21 @@ GetVoidPtrRef(self::Ptr{ImGuiStorage}, key::Union{ImGuiID,Integer}, default_val """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2724). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2740). """ BuildSortByKey(self::Ptr{ImGuiStorage}) = ImGuiStorage_BuildSortByKey(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2726). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2742). """ SetAllInt(self::Ptr{ImGuiStorage}, val) = ImGuiStorage_SetAllInt(self, val) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2766). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2782). """ lib.ImGuiListClipper() = ImGuiListClipper_ImGuiListClipper() @@ -4368,7 +4377,7 @@ Destroy(self::Ptr{ImGuiListClipper}) = ImGuiListClipper_destroy(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2768). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2784). """ Begin(self::Ptr{ImGuiListClipper}, items_count, items_height = -1.0f0) = ImGuiListClipper_Begin(self, items_count, items_height) @@ -4378,7 +4387,7 @@ $(TYPEDSIGNATURES) Automatically called on the last call of Step() that returns false. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2769). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2785). """ End(self::Ptr{ImGuiListClipper}) = ImGuiListClipper_End(self) @@ -4387,14 +4396,14 @@ $(TYPEDSIGNATURES) Call until it returns false. The DisplayStart/DisplayEnd fields will be set and you can process/draw those items. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2770). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2786). """ Step(self::Ptr{ImGuiListClipper}) = ImGuiListClipper_Step(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2774). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2790). """ IncludeItemByIndex(self::Ptr{ImGuiListClipper}, item_index) = ImGuiListClipper_IncludeItemByIndex(self, item_index) @@ -4403,7 +4412,7 @@ $(TYPEDSIGNATURES) Item_end is exclusive e.g. use (42, 42+1) to make item 42 never clipped. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2775). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2791). """ IncludeItemsByIndex(self::Ptr{ImGuiListClipper}, item_begin, item_end) = ImGuiListClipper_IncludeItemsByIndex(self, item_begin, item_end) @@ -4411,14 +4420,14 @@ IncludeItemsByIndex(self::Ptr{ImGuiListClipper}, item_begin, item_end) = """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2780). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2796). """ SeekCursorForItem(self::Ptr{ImGuiListClipper}, item_index) = ImGuiListClipper_SeekCursorForItem(self, item_index) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2849). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2866). """ lib.ImColor() = ImColor_ImColor_Nil() @@ -4430,35 +4439,35 @@ Destroy(self::Ptr{ImColor}) = ImColor_destroy(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2850). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2867). """ lib.ImColor(r::Real, g::Real, b::Real, a::Real = 1.0f0) = ImColor_ImColor_Float(r, g, b, a) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2852). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2869). """ lib.ImColor(r::Integer, g::Integer, b::Integer, a::Integer = 255) = ImColor_ImColor_Int(r, g, b, a) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2853). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2870). """ lib.ImColor(rgba::Union{ImU32,Integer}) = ImColor_ImColor_U32(rgba) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2858). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2875). """ SetHSV(self::Ptr{ImColor}, h, s, v, a = 1.0f0) = ImColor_SetHSV(self, h, s, v, a) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2859). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L2876). """ function HSV(h, s, v, a = 1.0f0) pOut = Ref{ImColor}() @@ -4469,7 +4478,7 @@ end """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2987). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3004). """ lib.ImGuiSelectionBasicStorage() = ImGuiSelectionBasicStorage_ImGuiSelectionBasicStorage() @@ -4483,7 +4492,7 @@ $(TYPEDSIGNATURES) Apply selection requests coming from BeginMultiSelect() and EndMultiSelect() functions. It uses 'items_count' passed to BeginMultiSelect(). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2988). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3005). """ ApplyRequests(self::Ptr{ImGuiSelectionBasicStorage}, ms_io::VoidablePtrOrRef{ImGuiMultiSelectIO}) = ImGuiSelectionBasicStorage_ApplyRequests(self, ms_io) @@ -4493,7 +4502,7 @@ $(TYPEDSIGNATURES) Query if an item id is in selection. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2989). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3006). """ Contains(self::Ptr{ImGuiSelectionBasicStorage}, id::Union{ImGuiID,Integer}) = ImGuiSelectionBasicStorage_Contains(self, id) @@ -4503,7 +4512,7 @@ $(TYPEDSIGNATURES) Clear selection. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2990). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3007). """ Clear(self::Ptr{ImGuiSelectionBasicStorage}) = ImGuiSelectionBasicStorage_Clear(self) @@ -4512,7 +4521,7 @@ $(TYPEDSIGNATURES) Swap two selections. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2991). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3008). """ Swap(self::Ptr{ImGuiSelectionBasicStorage}, r::VoidablePtrOrRef{ImGuiSelectionBasicStorage}) = ImGuiSelectionBasicStorage_Swap(self, r) @@ -4522,7 +4531,7 @@ $(TYPEDSIGNATURES) Add/remove an item from selection (generally done by ApplyRequests() function). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2992). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3009). """ SetItemSelected(self::Ptr{ImGuiSelectionBasicStorage}, id::Union{ImGuiID,Integer}, selected) = ImGuiSelectionBasicStorage_SetItemSelected(self, id, selected) @@ -4532,7 +4541,7 @@ $(TYPEDSIGNATURES) Iterate selection with 'void* it = NULL; ImGuiId id; while (selection.GetNextSelectedItem(&it, &id)) ... '. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2993). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3010). """ GetNextSelectedItem( self::Ptr{ImGuiSelectionBasicStorage}, @@ -4545,7 +4554,7 @@ $(TYPEDSIGNATURES) Convert index to item id based on provided adapter. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2994). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3011). """ GetStorageIdFromIndex(self::Ptr{ImGuiSelectionBasicStorage}, idx) = ImGuiSelectionBasicStorage_GetStorageIdFromIndex(self, idx) @@ -4553,7 +4562,7 @@ GetStorageIdFromIndex(self::Ptr{ImGuiSelectionBasicStorage}, idx) = """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3006). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3023). """ lib.ImGuiSelectionExternalStorage() = ImGuiSelectionExternalStorage_ImGuiSelectionExternalStorage() @@ -4567,7 +4576,7 @@ $(TYPEDSIGNATURES) Apply selection requests by using AdapterSetItemSelected() calls. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3007). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3024). """ ApplyRequests(self::Ptr{ImGuiSelectionExternalStorage}, ms_io::VoidablePtrOrRef{ImGuiMultiSelectIO}) = ImGuiSelectionExternalStorage_ApplyRequests(self, ms_io) @@ -4577,7 +4586,7 @@ $(TYPEDSIGNATURES) Also ensure our padding fields are zeroed. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3052). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3071). """ lib.ImDrawCmd() = ImDrawCmd_ImDrawCmd() @@ -4589,14 +4598,14 @@ Destroy(self::Ptr{ImDrawCmd}) = ImDrawCmd_destroy(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3055). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3074). """ GetTexID(self::Ptr{ImDrawCmd}) = ImDrawCmd_GetTexID(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3098). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3117). """ lib.ImDrawListSplitter() = ImDrawListSplitter_ImDrawListSplitter() @@ -4610,21 +4619,21 @@ $(TYPEDSIGNATURES) Do not clear Channels[] so our allocations are reused next frame. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3100). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3119). """ Clear(self::Ptr{ImDrawListSplitter}) = ImDrawListSplitter_Clear(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3101). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3120). """ ClearFreeMemory(self::Ptr{ImDrawListSplitter}) = ImDrawListSplitter_ClearFreeMemory(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3102). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3121). """ Split(self::Ptr{ImDrawListSplitter}, draw_list::VoidablePtrOrRef{ImDrawList}, count) = ImDrawListSplitter_Split(self, draw_list, count) @@ -4632,7 +4641,7 @@ Split(self::Ptr{ImDrawListSplitter}, draw_list::VoidablePtrOrRef{ImDrawList}, co """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3103). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3122). """ Merge(self::Ptr{ImDrawListSplitter}, draw_list::VoidablePtrOrRef{ImDrawList}) = ImDrawListSplitter_Merge(self, draw_list) @@ -4640,7 +4649,7 @@ Merge(self::Ptr{ImDrawListSplitter}, draw_list::VoidablePtrOrRef{ImDrawList}) = """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3104). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3123). """ SetCurrentChannel(self::Ptr{ImDrawListSplitter}, draw_list::VoidablePtrOrRef{ImDrawList}, channel_idx) = ImDrawListSplitter_SetCurrentChannel(self, draw_list, channel_idx) @@ -4648,7 +4657,7 @@ SetCurrentChannel(self::Ptr{ImDrawListSplitter}, draw_list::VoidablePtrOrRef{ImD """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3169). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3190). """ lib.ImDrawList(shared_data::VoidablePtrOrRef{ImDrawListSharedData}) = ImDrawList_ImDrawList(shared_data) @@ -4662,7 +4671,7 @@ $(TYPEDSIGNATURES) Render-level scissoring. This is passed down to your render function but not used for CPU-side coarse clipping. Prefer using higher-level ImGui::PushClipRect() to affect logic (hit-testing and widget culling). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3172). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3193). """ PushClipRect( self::Ptr{ImDrawList}, @@ -4674,35 +4683,35 @@ PushClipRect( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3173). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3194). """ PushClipRectFullScreen(self::Ptr{ImDrawList}) = ImDrawList_PushClipRectFullScreen(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3174). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3195). """ PopClipRect(self::Ptr{ImDrawList}) = ImDrawList_PopClipRect(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3175). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3196). """ PushTextureID(self::Ptr{ImDrawList}, texture_id::ImTextureID) = ImDrawList_PushTextureID(self, texture_id) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3176). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3197). """ PopTextureID(self::Ptr{ImDrawList}) = ImDrawList_PopTextureID(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3177). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3198). """ function GetClipRectMin(self::Ptr{ImDrawList}) pOut = Ref{ImVec2}() @@ -4713,7 +4722,7 @@ end """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3178). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3199). """ function GetClipRectMax(self::Ptr{ImDrawList}) pOut = Ref{ImVec2}() @@ -4724,7 +4733,7 @@ end """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3187). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3208). """ AddLine( self::Ptr{ImDrawList}, @@ -4739,7 +4748,7 @@ $(TYPEDSIGNATURES) A: upper-left, b: lower-right (== upper-left + size). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3188). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3209). """ AddRect( self::Ptr{ImDrawList}, @@ -4756,7 +4765,7 @@ $(TYPEDSIGNATURES) A: upper-left, b: lower-right (== upper-left + size). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3189). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3210). """ AddRectFilled( self::Ptr{ImDrawList}, @@ -4770,7 +4779,7 @@ AddRectFilled( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3190). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3211). """ AddRectFilledMultiColor( self::Ptr{ImDrawList}, @@ -4785,7 +4794,7 @@ AddRectFilledMultiColor( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3191). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3212). """ AddQuad( self::Ptr{ImDrawList}, @@ -4800,7 +4809,7 @@ AddQuad( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3192). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3213). """ AddQuadFilled( self::Ptr{ImDrawList}, @@ -4814,7 +4823,7 @@ AddQuadFilled( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3193). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3214). """ AddTriangle( self::Ptr{ImDrawList}, @@ -4828,7 +4837,7 @@ AddTriangle( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3194). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3215). """ AddTriangleFilled( self::Ptr{ImDrawList}, @@ -4841,7 +4850,7 @@ AddTriangleFilled( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3195). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3216). """ AddCircle( self::Ptr{ImDrawList}, @@ -4855,7 +4864,7 @@ AddCircle( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3196). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3217). """ AddCircleFilled( self::Ptr{ImDrawList}, @@ -4868,7 +4877,7 @@ AddCircleFilled( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3197). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3218). """ AddNgon( self::Ptr{ImDrawList}, @@ -4882,7 +4891,7 @@ AddNgon( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3198). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3219). """ AddNgonFilled(self::Ptr{ImDrawList}, center::Union{ImVec2,NTuple{2}}, radius, col::Union{ImU32,Integer}, num_segments) = ImDrawList_AddNgonFilled(self, center, radius, col, num_segments) @@ -4890,7 +4899,7 @@ AddNgonFilled(self::Ptr{ImDrawList}, center::Union{ImVec2,NTuple{2}}, radius, co """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3199). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3220). """ AddEllipse( self::Ptr{ImDrawList}, @@ -4905,7 +4914,7 @@ AddEllipse( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3200). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3221). """ AddEllipseFilled( self::Ptr{ImDrawList}, @@ -4919,7 +4928,7 @@ AddEllipseFilled( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3201). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3222). """ AddText( self::Ptr{ImDrawList}, @@ -4932,7 +4941,7 @@ AddText( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3202). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3223). """ AddText( self::Ptr{ImDrawList}, @@ -4951,7 +4960,7 @@ $(TYPEDSIGNATURES) Cubic Bezier (4 control points). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3203). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3224). """ AddBezierCubic( self::Ptr{ImDrawList}, @@ -4969,7 +4978,7 @@ $(TYPEDSIGNATURES) Quadratic Bezier (3 control points). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3204). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3225). """ AddBezierQuadratic( self::Ptr{ImDrawList}, @@ -4984,7 +4993,7 @@ AddBezierQuadratic( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3209). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3230). """ AddPolyline( self::Ptr{ImDrawList}, @@ -4998,7 +5007,7 @@ AddPolyline( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3210). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3231). """ AddConvexPolyFilled( self::Ptr{ImDrawList}, @@ -5010,7 +5019,7 @@ AddConvexPolyFilled( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3211). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3232). """ AddConcavePolyFilled( self::Ptr{ImDrawList}, @@ -5022,7 +5031,7 @@ AddConcavePolyFilled( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3217). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3238). """ AddImage( self::Ptr{ImDrawList}, @@ -5037,7 +5046,7 @@ AddImage( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3218). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3239). """ AddImageQuad( self::Ptr{ImDrawList}, @@ -5056,7 +5065,7 @@ AddImageQuad( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3219). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3240). """ AddImageRounded( self::Ptr{ImDrawList}, @@ -5073,21 +5082,21 @@ AddImageRounded( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3224). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3245). """ PathClear(self::Ptr{ImDrawList}) = ImDrawList_PathClear(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3225). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3246). """ PathLineTo(self::Ptr{ImDrawList}, pos::Union{ImVec2,NTuple{2}}) = ImDrawList_PathLineTo(self, pos) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3226). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3247). """ PathLineToMergeDuplicate(self::Ptr{ImDrawList}, pos::Union{ImVec2,NTuple{2}}) = ImDrawList_PathLineToMergeDuplicate(self, pos) @@ -5095,21 +5104,21 @@ PathLineToMergeDuplicate(self::Ptr{ImDrawList}, pos::Union{ImVec2,NTuple{2}}) = """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3227). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3248). """ PathFillConvex(self::Ptr{ImDrawList}, col::Union{ImU32,Integer}) = ImDrawList_PathFillConvex(self, col) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3228). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3249). """ PathFillConcave(self::Ptr{ImDrawList}, col::Union{ImU32,Integer}) = ImDrawList_PathFillConcave(self, col) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3229). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3250). """ PathStroke( self::Ptr{ImDrawList}, @@ -5121,7 +5130,7 @@ PathStroke( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3230). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3251). """ PathArcTo(self::Ptr{ImDrawList}, center::Union{ImVec2,NTuple{2}}, radius, a_min, a_max, num_segments = 0) = ImDrawList_PathArcTo(self, center, radius, a_min, a_max, num_segments) @@ -5131,7 +5140,7 @@ $(TYPEDSIGNATURES) Use precomputed angles for a 12 steps circle. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3231). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3252). """ PathArcToFast(self::Ptr{ImDrawList}, center::Union{ImVec2,NTuple{2}}, radius, a_min_of_12, a_max_of_12) = ImDrawList_PathArcToFast(self, center, radius, a_min_of_12, a_max_of_12) @@ -5141,7 +5150,7 @@ $(TYPEDSIGNATURES) Ellipse. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3232). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3253). """ PathEllipticalArcTo( self::Ptr{ImDrawList}, @@ -5158,7 +5167,7 @@ $(TYPEDSIGNATURES) Cubic Bezier (4 control points). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3233). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3254). """ PathBezierCubicCurveTo( self::Ptr{ImDrawList}, @@ -5173,7 +5182,7 @@ $(TYPEDSIGNATURES) Quadratic Bezier (3 control points). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3234). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3255). """ PathBezierQuadraticCurveTo( self::Ptr{ImDrawList}, @@ -5185,7 +5194,7 @@ PathBezierQuadraticCurveTo( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3235). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3256). """ PathRect( self::Ptr{ImDrawList}, @@ -5198,19 +5207,21 @@ PathRect( """ $(TYPEDSIGNATURES) -Your rendering function must check for 'UserCallback' in ImDrawCmd and call the function instead of rendering triangles. - -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3238). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3267). """ -AddCallback(self::Ptr{ImDrawList}, callback::Union{ImDrawCallback,Base.CFunction,Ptr{Cvoid}}, callback_data) = - ImDrawList_AddCallback(self, callback, callback_data) +AddCallback( + self::Ptr{ImDrawList}, + callback::Union{ImDrawCallback,Base.CFunction,Ptr{Cvoid}}, + userdata, + userdata_size = 0, +) = ImDrawList_AddCallback(self, callback, userdata, userdata_size) """ $(TYPEDSIGNATURES) This is useful if you need to forcefully create a new draw call (to allow for dependent rendering / blending). Otherwise primitives are merged into the same draw-call as much as possible. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3239). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3270). """ AddDrawCmd(self::Ptr{ImDrawList}) = ImDrawList_AddDrawCmd(self) @@ -5219,42 +5230,42 @@ $(TYPEDSIGNATURES) Create a clone of the CmdBuffer/IdxBuffer/VtxBuffer. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3240). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3271). """ CloneOutput(self::Ptr{ImDrawList}) = ImDrawList_CloneOutput(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3248). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3279). """ ChannelsSplit(self::Ptr{ImDrawList}, count) = ImDrawList_ChannelsSplit(self, count) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3249). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3280). """ ChannelsMerge(self::Ptr{ImDrawList}) = ImDrawList_ChannelsMerge(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3250). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3281). """ ChannelsSetCurrent(self::Ptr{ImDrawList}, n) = ImDrawList_ChannelsSetCurrent(self, n) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3255). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3286). """ PrimReserve(self::Ptr{ImDrawList}, idx_count, vtx_count) = ImDrawList_PrimReserve(self, idx_count, vtx_count) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3256). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3287). """ PrimUnreserve(self::Ptr{ImDrawList}, idx_count, vtx_count) = ImDrawList_PrimUnreserve(self, idx_count, vtx_count) @@ -5263,7 +5274,7 @@ $(TYPEDSIGNATURES) Axis aligned rectangle (composed of two triangles). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3257). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3288). """ PrimRect(self::Ptr{ImDrawList}, a::Union{ImVec2,NTuple{2}}, b::Union{ImVec2,NTuple{2}}, col::Union{ImU32,Integer}) = ImDrawList_PrimRect(self, a, b, col) @@ -5271,7 +5282,7 @@ PrimRect(self::Ptr{ImDrawList}, a::Union{ImVec2,NTuple{2}}, b::Union{ImVec2,NTup """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3258). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3289). """ PrimRectUV( self::Ptr{ImDrawList}, @@ -5285,7 +5296,7 @@ PrimRectUV( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3259). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3290). """ PrimQuadUV( self::Ptr{ImDrawList}, @@ -5303,7 +5314,7 @@ PrimQuadUV( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3260). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3291). """ PrimWriteVtx( self::Ptr{ImDrawList}, @@ -5315,7 +5326,7 @@ PrimWriteVtx( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3261). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3292). """ PrimWriteIdx(self::Ptr{ImDrawList}, idx::ImDrawIdx) = ImDrawList_PrimWriteIdx(self, idx) @@ -5324,7 +5335,7 @@ $(TYPEDSIGNATURES) Write vertex with unique index. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3262). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3293). """ PrimVtx(self::Ptr{ImDrawList}, pos::Union{ImVec2,NTuple{2}}, uv::Union{ImVec2,NTuple{2}}, col::Union{ImU32,Integer}) = ImDrawList_PrimVtx(self, pos, uv, col) @@ -5332,70 +5343,70 @@ PrimVtx(self::Ptr{ImDrawList}, pos::Union{ImVec2,NTuple{2}}, uv::Union{ImVec2,NT """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3272). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3303). """ _ResetForNewFrame(self::Ptr{ImDrawList}) = ImDrawList__ResetForNewFrame(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3273). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3304). """ _ClearFreeMemory(self::Ptr{ImDrawList}) = ImDrawList__ClearFreeMemory(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3274). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3305). """ _PopUnusedDrawCmd(self::Ptr{ImDrawList}) = ImDrawList__PopUnusedDrawCmd(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3275). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3306). """ _TryMergeDrawCmds(self::Ptr{ImDrawList}) = ImDrawList__TryMergeDrawCmds(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3276). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3307). """ _OnChangedClipRect(self::Ptr{ImDrawList}) = ImDrawList__OnChangedClipRect(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3277). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3308). """ _OnChangedTextureID(self::Ptr{ImDrawList}) = ImDrawList__OnChangedTextureID(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3278). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3309). """ _OnChangedVtxOffset(self::Ptr{ImDrawList}) = ImDrawList__OnChangedVtxOffset(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3279). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3310). """ _SetTextureID(self::Ptr{ImDrawList}, texture_id::ImTextureID) = ImDrawList__SetTextureID(self, texture_id) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3280). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3311). """ _CalcCircleAutoSegmentCount(self::Ptr{ImDrawList}, radius) = ImDrawList__CalcCircleAutoSegmentCount(self, radius) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3281). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3312). """ _PathArcToFastEx(self::Ptr{ImDrawList}, center::Union{ImVec2,NTuple{2}}, radius, a_min_sample, a_max_sample, a_step) = ImDrawList__PathArcToFastEx(self, center, radius, a_min_sample, a_max_sample, a_step) @@ -5403,7 +5414,7 @@ _PathArcToFastEx(self::Ptr{ImDrawList}, center::Union{ImVec2,NTuple{2}}, radius, """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3282). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3313). """ _PathArcToN(self::Ptr{ImDrawList}, center::Union{ImVec2,NTuple{2}}, radius, a_min, a_max, num_segments) = ImDrawList__PathArcToN(self, center, radius, a_min, a_max, num_segments) @@ -5411,7 +5422,7 @@ _PathArcToN(self::Ptr{ImDrawList}, center::Union{ImVec2,NTuple{2}}, radius, a_mi """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3301). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3332). """ lib.ImDrawData() = ImDrawData_ImDrawData() @@ -5423,7 +5434,7 @@ Destroy(self::Ptr{ImDrawData}) = ImDrawData_destroy(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3302). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3333). """ Clear(self::Ptr{ImDrawData}) = ImDrawData_Clear(self) @@ -5432,7 +5443,7 @@ $(TYPEDSIGNATURES) Helper to add an external draw list into an existing ImDrawData. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3303). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3334). """ AddDrawList(self::Ptr{ImDrawData}, draw_list::VoidablePtrOrRef{ImDrawList}) = ImDrawData_AddDrawList(self, draw_list) @@ -5441,7 +5452,7 @@ $(TYPEDSIGNATURES) Helper to convert all buffers from indexed to non-indexed, in case you cannot render indexed. Note: this is slow and most likely a waste of resources. Always prefer indexed rendering! -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3304). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3335). """ DeIndexAllBuffers(self::Ptr{ImDrawData}) = ImDrawData_DeIndexAllBuffers(self) @@ -5450,14 +5461,14 @@ $(TYPEDSIGNATURES) Helper to scale the ClipRect field of each ImDrawCmd. Use if your final output buffer is at a different scale than Dear ImGui expects, or if there is a difference between your window resolution and framebuffer resolution. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3305). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3336). """ ScaleClipRects(self::Ptr{ImDrawData}, fb_scale::Union{ImVec2,NTuple{2}}) = ImDrawData_ScaleClipRects(self, fb_scale) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3337). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3368). """ lib.ImFontConfig() = ImFontConfig_ImFontConfig() @@ -5469,7 +5480,7 @@ Destroy(self::Ptr{ImFontConfig}) = ImFontConfig_destroy(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3358). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3389). """ lib.ImFontGlyphRangesBuilder() = ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder() @@ -5481,7 +5492,7 @@ Destroy(self::Ptr{ImFontGlyphRangesBuilder}) = ImFontGlyphRangesBuilder_destroy( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3359). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3390). """ Clear(self::Ptr{ImFontGlyphRangesBuilder}) = ImFontGlyphRangesBuilder_Clear(self) @@ -5490,7 +5501,7 @@ $(TYPEDSIGNATURES) Get bit n in the array. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3360). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3391). """ GetBit(self::Ptr{ImFontGlyphRangesBuilder}, n) = ImFontGlyphRangesBuilder_GetBit(self, n) @@ -5499,7 +5510,7 @@ $(TYPEDSIGNATURES) Set bit n in the array. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3361). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3392). """ SetBit(self::Ptr{ImFontGlyphRangesBuilder}, n) = ImFontGlyphRangesBuilder_SetBit(self, n) @@ -5508,7 +5519,7 @@ $(TYPEDSIGNATURES) Add character. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3362). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3393). """ AddChar(self::Ptr{ImFontGlyphRangesBuilder}, c::ImWchar) = ImFontGlyphRangesBuilder_AddChar(self, c) @@ -5517,7 +5528,7 @@ $(TYPEDSIGNATURES) Add string (each character of the UTF-8 string are added). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3363). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3394). """ AddText(self::Ptr{ImFontGlyphRangesBuilder}, text, text_end = C_NULL) = ImFontGlyphRangesBuilder_AddText(self, text, text_end) @@ -5527,7 +5538,7 @@ $(TYPEDSIGNATURES) Add ranges, e.g. builder.AddRanges(ImFontAtlas::GetGlyphRangesDefault()) to force add all of ASCII/Latin+Ext. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3364). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3395). """ AddRanges(self::Ptr{ImFontGlyphRangesBuilder}, ranges::VoidablePtrOrRef{ImWchar}) = ImFontGlyphRangesBuilder_AddRanges(self, ranges) @@ -5537,7 +5548,7 @@ $(TYPEDSIGNATURES) Output new ranges. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3365). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3396). """ BuildRanges(self::Ptr{ImFontGlyphRangesBuilder}, out_ranges::VoidablePtrOrRef{ImVector_ImWchar}) = ImFontGlyphRangesBuilder_BuildRanges(self, out_ranges) @@ -5545,7 +5556,7 @@ BuildRanges(self::Ptr{ImFontGlyphRangesBuilder}, out_ranges::VoidablePtrOrRef{Im """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3377). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3411). """ lib.ImFontAtlasCustomRect() = ImFontAtlasCustomRect_ImFontAtlasCustomRect() @@ -5557,14 +5568,14 @@ Destroy(self::Ptr{ImFontAtlasCustomRect}) = ImFontAtlasCustomRect_destroy(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3378). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3412). """ IsPacked(self::Ptr{ImFontAtlasCustomRect}) = ImFontAtlasCustomRect_IsPacked(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3409). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3443). """ lib.ImFontAtlas() = ImFontAtlas_ImFontAtlas() @@ -5576,14 +5587,14 @@ Destroy(self::Ptr{ImFontAtlas}) = ImFontAtlas_destroy(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3411). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3445). """ AddFont(self::Ptr{ImFontAtlas}, font_cfg::VoidablePtrOrRef{ImFontConfig}) = ImFontAtlas_AddFont(self, font_cfg) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3412). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3446). """ AddFontDefault(self::Ptr{ImFontAtlas}, font_cfg::VoidablePtrOrRef{ImFontConfig} = C_NULL) = ImFontAtlas_AddFontDefault(self, font_cfg) @@ -5591,7 +5602,7 @@ AddFontDefault(self::Ptr{ImFontAtlas}, font_cfg::VoidablePtrOrRef{ImFontConfig} """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3413). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3447). """ AddFontFromFileTTF( self::Ptr{ImFontAtlas}, @@ -5606,7 +5617,7 @@ $(TYPEDSIGNATURES) Note: Transfer ownership of 'ttf_data' to ImFontAtlas! Will be deleted after destruction of the atlas. Set font_cfg->FontDataOwnedByAtlas=false to keep ownership of your data and it won't be freed. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3414). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3448). """ AddFontFromMemoryTTF( self::Ptr{ImFontAtlas}, @@ -5622,7 +5633,7 @@ $(TYPEDSIGNATURES) 'compressed_font_data' still owned by caller. Compress with binary_to_compressed_c.cpp. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3415). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3449). """ AddFontFromMemoryCompressedTTF( self::Ptr{ImFontAtlas}, @@ -5645,7 +5656,7 @@ $(TYPEDSIGNATURES) 'compressed_font_data_base85' still owned by caller. Compress with binary_to_compressed_c.cpp with -base85 parameter. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3416). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3450). """ AddFontFromMemoryCompressedBase85TTF( self::Ptr{ImFontAtlas}, @@ -5666,7 +5677,7 @@ $(TYPEDSIGNATURES) Clear input data (all ImFontConfig structures including sizes, TTF data, glyph ranges, etc.) = all the data used to build the texture and fonts. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3417). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3451). """ ClearInputData(self::Ptr{ImFontAtlas}) = ImFontAtlas_ClearInputData(self) @@ -5675,7 +5686,7 @@ $(TYPEDSIGNATURES) Clear output texture data (CPU side). Saves RAM once the texture has been copied to graphics memory. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3418). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3452). """ ClearTexData(self::Ptr{ImFontAtlas}) = ImFontAtlas_ClearTexData(self) @@ -5684,7 +5695,7 @@ $(TYPEDSIGNATURES) Clear output font data (glyphs storage, UV coordinates). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3419). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3453). """ ClearFonts(self::Ptr{ImFontAtlas}) = ImFontAtlas_ClearFonts(self) @@ -5693,7 +5704,7 @@ $(TYPEDSIGNATURES) Clear all input and output. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3420). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3454). """ Clear(self::Ptr{ImFontAtlas}) = ImFontAtlas_Clear(self) @@ -5702,7 +5713,7 @@ $(TYPEDSIGNATURES) Build pixels data. This is called automatically for you by the GetTexData*** functions. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3427). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3461). """ Build(self::Ptr{ImFontAtlas}) = ImFontAtlas_Build(self) @@ -5711,7 +5722,7 @@ $(TYPEDSIGNATURES) 1 byte per-pixel. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3428). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3462). """ GetTexDataAsAlpha8(self::Ptr{ImFontAtlas}, out_pixels, out_width, out_height, out_bytes_per_pixel = C_NULL) = ImFontAtlas_GetTexDataAsAlpha8(self, out_pixels, out_width, out_height, out_bytes_per_pixel) @@ -5721,7 +5732,7 @@ $(TYPEDSIGNATURES) 4 bytes-per-pixel. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3429). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3463). """ GetTexDataAsRGBA32(self::Ptr{ImFontAtlas}, out_pixels, out_width, out_height, out_bytes_per_pixel = C_NULL) = ImFontAtlas_GetTexDataAsRGBA32(self, out_pixels, out_width, out_height, out_bytes_per_pixel) @@ -5731,14 +5742,14 @@ $(TYPEDSIGNATURES) Bit ambiguous: used to detect when user didn't build texture but effectively we should check TexID != 0 except that would be backend dependent... -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3430). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3464). """ IsBuilt(self::Ptr{ImFontAtlas}) = ImFontAtlas_IsBuilt(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3431). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3465). """ SetTexID(self::Ptr{ImFontAtlas}, id::ImTextureID) = ImFontAtlas_SetTexID(self, id) @@ -5747,7 +5758,7 @@ $(TYPEDSIGNATURES) Basic Latin, Extended Latin. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3441). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3475). """ GetGlyphRangesDefault(self::Ptr{ImFontAtlas}) = ImFontAtlas_GetGlyphRangesDefault(self) @@ -5756,7 +5767,7 @@ $(TYPEDSIGNATURES) Default + Greek and Coptic. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3442). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3476). """ GetGlyphRangesGreek(self::Ptr{ImFontAtlas}) = ImFontAtlas_GetGlyphRangesGreek(self) @@ -5765,7 +5776,7 @@ $(TYPEDSIGNATURES) Default + Korean characters. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3443). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3477). """ GetGlyphRangesKorean(self::Ptr{ImFontAtlas}) = ImFontAtlas_GetGlyphRangesKorean(self) @@ -5774,7 +5785,7 @@ $(TYPEDSIGNATURES) Default + Hiragana, Katakana, Half-Width, Selection of 2999 Ideographs. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3444). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3478). """ GetGlyphRangesJapanese(self::Ptr{ImFontAtlas}) = ImFontAtlas_GetGlyphRangesJapanese(self) @@ -5783,7 +5794,7 @@ $(TYPEDSIGNATURES) Default + Half-Width + Japanese Hiragana/Katakana + full set of about 21000 CJK Unified Ideographs. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3445). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3479). """ GetGlyphRangesChineseFull(self::Ptr{ImFontAtlas}) = ImFontAtlas_GetGlyphRangesChineseFull(self) @@ -5792,7 +5803,7 @@ $(TYPEDSIGNATURES) Default + Half-Width + Japanese Hiragana/Katakana + set of 2500 CJK Unified Ideographs for common simplified Chinese. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3446). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3480). """ GetGlyphRangesChineseSimplifiedCommon(self::Ptr{ImFontAtlas}) = ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon(self) @@ -5801,7 +5812,7 @@ $(TYPEDSIGNATURES) Default + about 400 Cyrillic characters. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3447). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3481). """ GetGlyphRangesCyrillic(self::Ptr{ImFontAtlas}) = ImFontAtlas_GetGlyphRangesCyrillic(self) @@ -5810,7 +5821,7 @@ $(TYPEDSIGNATURES) Default + Thai characters. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3448). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3482). """ GetGlyphRangesThai(self::Ptr{ImFontAtlas}) = ImFontAtlas_GetGlyphRangesThai(self) @@ -5819,21 +5830,21 @@ $(TYPEDSIGNATURES) Default + Vietnamese characters. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3449). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3483). """ GetGlyphRangesVietnamese(self::Ptr{ImFontAtlas}) = ImFontAtlas_GetGlyphRangesVietnamese(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3462). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3496). """ AddCustomRectRegular(self::Ptr{ImFontAtlas}, width, height) = ImFontAtlas_AddCustomRectRegular(self, width, height) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3463). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3497). """ AddCustomRectFontGlyph( self::Ptr{ImFontAtlas}, @@ -5848,14 +5859,14 @@ AddCustomRectFontGlyph( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3464). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3498). """ GetCustomRectByIndex(self::Ptr{ImFontAtlas}, index) = ImFontAtlas_GetCustomRectByIndex(self, index) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3467). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3501). """ CalcCustomRectUV( self::Ptr{ImFontAtlas}, @@ -5867,7 +5878,7 @@ CalcCustomRectUV( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3468). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3502). """ GetMouseCursorTexData( self::Ptr{ImFontAtlas}, @@ -5881,7 +5892,7 @@ GetMouseCursorTexData( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3539). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3574). """ lib.ImFont() = ImFont_ImFont() @@ -5893,35 +5904,35 @@ Destroy(self::Ptr{ImFont}) = ImFont_destroy(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3541). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3576). """ FindGlyph(self::Ptr{ImFont}, c::ImWchar) = ImFont_FindGlyph(self, c) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3542). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3577). """ FindGlyphNoFallback(self::Ptr{ImFont}, c::ImWchar) = ImFont_FindGlyphNoFallback(self, c) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3543). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3578). """ GetCharAdvance(self::Ptr{ImFont}, c::ImWchar) = ImFont_GetCharAdvance(self, c) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3544). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3579). """ IsLoaded(self::Ptr{ImFont}) = ImFont_IsLoaded(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3545). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3580). """ GetDebugName(self::Ptr{ImFont}) = ImFont_GetDebugName(self) @@ -5930,7 +5941,7 @@ $(TYPEDSIGNATURES) Utf8. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3549). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3584). """ function CalcTextSizeA( self::Ptr{ImFont}, @@ -5949,7 +5960,7 @@ end """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3550). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3585). """ CalcWordWrapPositionA(self::Ptr{ImFont}, scale, text, text_end, wrap_width) = ImFont_CalcWordWrapPositionA(self, scale, text, text_end, wrap_width) @@ -5957,7 +5968,7 @@ CalcWordWrapPositionA(self::Ptr{ImFont}, scale, text, text_end, wrap_width) = """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3551). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3586). """ RenderChar( self::Ptr{ImFont}, @@ -5971,7 +5982,7 @@ RenderChar( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3552). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3587). """ RenderText( self::Ptr{ImFont}, @@ -5989,28 +6000,28 @@ RenderText( """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3555). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3590). """ BuildLookupTable(self::Ptr{ImFont}) = ImFont_BuildLookupTable(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3556). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3591). """ ClearOutputData(self::Ptr{ImFont}) = ImFont_ClearOutputData(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3557). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3592). """ GrowIndex(self::Ptr{ImFont}, new_size) = ImFont_GrowIndex(self, new_size) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3558). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3593). """ AddGlyph( self::Ptr{ImFont}, @@ -6032,7 +6043,7 @@ $(TYPEDSIGNATURES) Makes 'dst' character/glyph points to 'src' character/glyph. Currently needs to be called AFTER fonts have been built. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3559). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3594). """ AddRemapChar(self::Ptr{ImFont}, dst::ImWchar, src::ImWchar, overwrite_dst = true) = ImFont_AddRemapChar(self, dst, src, overwrite_dst) @@ -6040,21 +6051,21 @@ AddRemapChar(self::Ptr{ImFont}, dst::ImWchar, src::ImWchar, overwrite_dst = true """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3560). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3595). """ SetGlyphVisible(self::Ptr{ImFont}, c::ImWchar, visible) = ImFont_SetGlyphVisible(self, c, visible) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3561). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3596). """ IsGlyphRangeUnused(self::Ptr{ImFont}, c_begin, c_last) = ImFont_IsGlyphRangeUnused(self, c_begin, c_last) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3623). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3658). """ lib.ImGuiViewport() = ImGuiViewport_ImGuiViewport() @@ -6066,7 +6077,7 @@ Destroy(self::Ptr{ImGuiViewport}) = ImGuiViewport_destroy(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3627). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3662). """ function GetCenter(self::Ptr{ImGuiViewport}) pOut = Ref{ImVec2}() @@ -6077,7 +6088,7 @@ end """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3628). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3663). """ function GetWorkCenter(self::Ptr{ImGuiViewport}) pOut = Ref{ImVec2}() @@ -6088,7 +6099,7 @@ end """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3684). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3719). """ lib.ImGuiPlatformIO() = ImGuiPlatformIO_ImGuiPlatformIO() @@ -6100,7 +6111,7 @@ Destroy(self::Ptr{ImGuiPlatformIO}) = ImGuiPlatformIO_destroy(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3777). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3819). """ lib.ImGuiPlatformMonitor() = ImGuiPlatformMonitor_ImGuiPlatformMonitor() @@ -6112,7 +6123,7 @@ Destroy(self::Ptr{ImGuiPlatformMonitor}) = ImGuiPlatformMonitor_destroy(self) """ $(TYPEDSIGNATURES) -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L3787). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L3829). """ lib.ImGuiPlatformImeData() = ImGuiPlatformImeData_ImGuiPlatformImeData() @@ -6127,7 +6138,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L352). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L359). """ ImHashData(data, data_size, seed::Union{ImGuiID,Integer} = 0) = igImHashData(data, data_size, seed) @@ -6137,7 +6148,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L353). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L360). """ ImHashStr(data, data_size = 0, seed::Union{ImGuiID,Integer} = 0) = igImHashStr(data, data_size, seed) @@ -6147,7 +6158,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L357). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L364). """ ImQsort(base, count, size_of_element, compare_func) = igImQsort(base, count, size_of_element, compare_func) @@ -6157,7 +6168,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L361). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L368). """ ImAlphaBlendColors(col_a::Union{ImU32,Integer}, col_b::Union{ImU32,Integer}) = igImAlphaBlendColors(col_a, col_b) @@ -6167,7 +6178,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L364). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L371). """ ImIsPowerOfTwo(v::Integer) = igImIsPowerOfTwo_Int(v) @@ -6177,7 +6188,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L365). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L372). """ ImIsPowerOfTwo(v::ImU64) = igImIsPowerOfTwo_U64(v) @@ -6187,7 +6198,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L366). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L373). """ ImUpperPowerOfTwo(v) = igImUpperPowerOfTwo(v) @@ -6199,7 +6210,7 @@ Case insensitive compare. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L369). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L376). """ ImStricmp(str1, str2) = igImStricmp(str1, str2) @@ -6211,7 +6222,7 @@ Case insensitive compare to a certain count. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L370). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L377). """ ImStrnicmp(str1, str2, count) = igImStrnicmp(str1, str2, count) @@ -6223,7 +6234,7 @@ Copy to a certain count and always zero terminate (strncpy doesn't). !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L371). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L378). """ ImStrncpy(dst, src, count) = igImStrncpy(dst, src, count) @@ -6235,7 +6246,7 @@ Duplicate a string. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L372). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L379). """ ImStrdup(str) = igImStrdup(str) @@ -6247,7 +6258,7 @@ Copy in provided buffer, recreate buffer if needed. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L373). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L380). """ ImStrdupcpy(dst, p_dst_size, str) = igImStrdupcpy(dst, p_dst_size, str) @@ -6259,7 +6270,7 @@ Find first occurrence of 'c' in string range. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L374). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L381). """ ImStrchrRange(str_begin, str_end, c) = igImStrchrRange(str_begin, str_end, c) @@ -6271,7 +6282,7 @@ End end-of-line. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L375). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L382). """ ImStreolRange(str, str_end) = igImStreolRange(str, str_end) @@ -6283,7 +6294,7 @@ Find a substring in a string range. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L376). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L383). """ ImStristr(haystack, haystack_end, needle, needle_end) = igImStristr(haystack, haystack_end, needle, needle_end) @@ -6295,7 +6306,7 @@ Remove leading and trailing blanks from a buffer. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L377). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L384). """ ImStrTrimBlanks(str) = igImStrTrimBlanks(str) @@ -6307,7 +6318,7 @@ Find first non-blank character. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L378). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L385). """ ImStrSkipBlank(str) = igImStrSkipBlank(str) @@ -6319,7 +6330,7 @@ Computer string length (ImWchar string). !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L379). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L386). """ ImStrlenW(str::VoidablePtrOrRef{ImWchar}) = igImStrlenW(str) @@ -6331,7 +6342,7 @@ Find beginning-of-line. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L380). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L387). """ ImStrbol(buf_mid_line, buf_begin) = igImStrbol(buf_mid_line, buf_begin) @@ -6341,7 +6352,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L382). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L389). """ ImToUpper(c) = igImToUpper(c) @@ -6351,7 +6362,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L383). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L390). """ ImCharIsBlankA(c) = igImCharIsBlankA(c) @@ -6361,7 +6372,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L384). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L391). """ ImCharIsBlankW(c) = igImCharIsBlankW(c) @@ -6371,7 +6382,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L385). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L392). """ ImCharIsXdigitA(c) = igImCharIsXdigitA(c) @@ -6381,7 +6392,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L389). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L396). """ ImFormatString(buf, buf_size, fmt) = igImFormatString(buf, buf_size, fmt) @@ -6391,7 +6402,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L391). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L398). """ ImFormatStringToTempBuffer(out_buf, out_buf_end, fmt) = igImFormatStringToTempBuffer(out_buf, out_buf_end, fmt) @@ -6401,7 +6412,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L393). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L400). """ ImParseFormatFindStart(format) = igImParseFormatFindStart(format) @@ -6411,7 +6422,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L394). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L401). """ ImParseFormatFindEnd(format) = igImParseFormatFindEnd(format) @@ -6421,7 +6432,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L395). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L402). """ ImParseFormatTrimDecorations(format, buf, buf_size) = igImParseFormatTrimDecorations(format, buf, buf_size) @@ -6431,7 +6442,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L396). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L403). """ ImParseFormatSanitizeForPrinting(fmt_in, fmt_out, fmt_out_size) = igImParseFormatSanitizeForPrinting(fmt_in, fmt_out, fmt_out_size) @@ -6442,7 +6453,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L397). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L404). """ ImParseFormatSanitizeForScanning(fmt_in, fmt_out, fmt_out_size) = igImParseFormatSanitizeForScanning(fmt_in, fmt_out, fmt_out_size) @@ -6453,7 +6464,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L398). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L405). """ ImParseFormatPrecision(format, default_value) = igImParseFormatPrecision(format, default_value) @@ -6465,7 +6476,7 @@ Return out_buf. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L401). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L408). """ ImTextCharToUtf8(out_buf, c) = igImTextCharToUtf8(out_buf, c) @@ -6477,7 +6488,7 @@ Return output UTF-8 bytes count. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L402). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L409). """ ImTextStrToUtf8(out_buf, out_buf_size, in_text::VoidablePtrOrRef{ImWchar}, in_text_end::VoidablePtrOrRef{ImWchar}) = igImTextStrToUtf8(out_buf, out_buf_size, in_text, in_text_end) @@ -6490,7 +6501,7 @@ Read one character. return input UTF-8 bytes count. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L403). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L410). """ ImTextCharFromUtf8(out_char, in_text, in_text_end) = igImTextCharFromUtf8(out_char, in_text, in_text_end) @@ -6502,7 +6513,7 @@ Return input UTF-8 bytes count. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L404). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L411). """ ImTextStrFromUtf8(out_buf::VoidablePtrOrRef{ImWchar}, out_buf_size, in_text, in_text_end, in_remaining = C_NULL) = igImTextStrFromUtf8(out_buf, out_buf_size, in_text, in_text_end, in_remaining) @@ -6515,7 +6526,7 @@ Return number of UTF-8 code-points (NOT bytes count). !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L405). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L412). """ ImTextCountCharsFromUtf8(in_text, in_text_end) = igImTextCountCharsFromUtf8(in_text, in_text_end) @@ -6527,7 +6538,7 @@ Return number of bytes to express one char in UTF-8. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L406). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L413). """ ImTextCountUtf8BytesFromChar(in_text, in_text_end) = igImTextCountUtf8BytesFromChar(in_text, in_text_end) @@ -6539,7 +6550,7 @@ Return number of bytes to express string in UTF-8. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L407). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L414). """ ImTextCountUtf8BytesFromStr(in_text::VoidablePtrOrRef{ImWchar}, in_text_end::VoidablePtrOrRef{ImWchar}) = igImTextCountUtf8BytesFromStr(in_text, in_text_end) @@ -6552,7 +6563,7 @@ Return previous UTF-8 code-point. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L408). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L415). """ ImTextFindPreviousUtf8Codepoint(in_text_start, in_text_curr) = igImTextFindPreviousUtf8Codepoint(in_text_start, in_text_curr) @@ -6565,7 +6576,7 @@ Return number of lines taken by text. trailing carriage return doesn't count as !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L409). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L416). """ ImTextCountLines(in_text, in_text_end) = igImTextCountLines(in_text, in_text_end) @@ -6575,7 +6586,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L423). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L430). """ ImFileOpen(filename, mode) = igImFileOpen(filename, mode) @@ -6585,7 +6596,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L424). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L431). """ ImFileClose(file::ImFileHandle) = igImFileClose(file) @@ -6595,7 +6606,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L425). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L432). """ ImFileGetSize(file::ImFileHandle) = igImFileGetSize(file) @@ -6605,7 +6616,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L426). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L433). """ ImFileRead(data, size::ImU64, count::ImU64, file::ImFileHandle) = igImFileRead(data, size, count, file) @@ -6615,7 +6626,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L427). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L434). """ ImFileWrite(data, size::ImU64, count::ImU64, file::ImFileHandle) = igImFileWrite(data, size, count, file) @@ -6625,7 +6636,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L431). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L438). """ ImFileLoadToMemory(filename, mode, out_file_size = C_NULL, padding_bytes = 0) = igImFileLoadToMemory(filename, mode, out_file_size, padding_bytes) @@ -6638,7 +6649,7 @@ DragBehaviorT/SliderBehaviorT uses ImPow with either float/double and need the p !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L446). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L453). """ ImPow(x::Float32, y::Float32) = igImPow_Float(x, y) @@ -6648,7 +6659,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L447). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L454). """ ImPow(x::Float64, y::Float64) = igImPow_double(x, y) @@ -6660,7 +6671,7 @@ DragBehaviorT/SliderBehaviorT uses ImLog with either float/double and need the p !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L448). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L455). """ ImLog(x::Float32) = igImLog_Float(x) @@ -6670,7 +6681,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L449). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L456). """ ImLog(x::Float64) = igImLog_double(x) @@ -6680,7 +6691,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L450). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L457). """ ImAbs(x::Integer) = igImAbs_Int(x) @@ -6690,7 +6701,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L451). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L458). """ ImAbs(x::Float32) = igImAbs_Float(x) @@ -6700,7 +6711,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L452). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L459). """ ImAbs(x::Float64) = igImAbs_double(x) @@ -6712,7 +6723,7 @@ Sign operator - returns -1, 0 or 1 based on sign of argument. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L453). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L460). """ ImSign(x::Float32) = igImSign_Float(x) @@ -6722,7 +6733,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L454). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L461). """ ImSign(x::Float64) = igImSign_double(x) @@ -6732,7 +6743,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L456). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L463). """ ImRsqrt(x::Float32) = igImRsqrt_Float(x) @@ -6742,7 +6753,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L460). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L467). """ ImRsqrt(x::Float64) = igImRsqrt_double(x) @@ -6752,7 +6763,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L472). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L479). """ function ImMin(lhs::Union{ImVec2,NTuple{2}}, rhs::Union{ImVec2,NTuple{2}}) pOut = Ref{ImVec2}() @@ -6766,7 +6777,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L473). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L480). """ function ImMax(lhs::Union{ImVec2,NTuple{2}}, rhs::Union{ImVec2,NTuple{2}}) pOut = Ref{ImVec2}() @@ -6780,7 +6791,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L474). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L481). """ function ImClamp(v::Union{ImVec2,NTuple{2}}, mn::Union{ImVec2,NTuple{2}}, mx::Union{ImVec2,NTuple{2}}) pOut = Ref{ImVec2}() @@ -6794,7 +6805,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L475). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L482). """ function ImLerp(a::Union{ImVec2,NTuple{2}}, b::Union{ImVec2,NTuple{2}}, t::Float32) pOut = Ref{ImVec2}() @@ -6808,7 +6819,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L476). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L483). """ function ImLerp(a::Union{ImVec2,NTuple{2}}, b::Union{ImVec2,NTuple{2}}, t::Union{ImVec2,NTuple{2}}) pOut = Ref{ImVec2}() @@ -6822,7 +6833,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L477). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L484). """ function ImLerp(a::Union{ImVec4,NTuple{4}}, b::Union{ImVec4,NTuple{4}}, t::Float32) pOut = Ref{ImVec4}() @@ -6836,7 +6847,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L478). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L485). """ ImSaturate(f) = igImSaturate(f) @@ -6846,7 +6857,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L479). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L486). """ ImLengthSqr(lhs::Union{ImVec2,NTuple{2}}) = igImLengthSqr_Vec2(lhs) @@ -6856,7 +6867,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L480). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L487). """ ImLengthSqr(lhs::Union{ImVec4,NTuple{4}}) = igImLengthSqr_Vec4(lhs) @@ -6866,7 +6877,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L481). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L488). """ ImInvLength(lhs::Union{ImVec2,NTuple{2}}, fail_value) = igImInvLength(lhs, fail_value) @@ -6876,7 +6887,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L482). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L489). """ ImTrunc(f::Real) = igImTrunc_Float(f) @@ -6886,7 +6897,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L483). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L490). """ function ImTrunc(v::Union{ImVec2,NTuple{2}}) pOut = Ref{ImVec2}() @@ -6902,7 +6913,7 @@ Decent replacement for floorf(). !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L484). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L491). """ ImFloor(f::Real) = igImFloor_Float(f) @@ -6912,7 +6923,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L485). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L492). """ function ImFloor(v::Union{ImVec2,NTuple{2}}) pOut = Ref{ImVec2}() @@ -6926,7 +6937,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L486). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L493). """ ImModPositive(a, b) = igImModPositive(a, b) @@ -6936,7 +6947,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L487). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L494). """ ImDot(a::Union{ImVec2,NTuple{2}}, b::Union{ImVec2,NTuple{2}}) = igImDot(a, b) @@ -6946,7 +6957,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L488). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L495). """ function ImRotate(v::Union{ImVec2,NTuple{2}}, cos_a, sin_a) pOut = Ref{ImVec2}() @@ -6960,7 +6971,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L489). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L496). """ ImLinearSweep(current, target, speed) = igImLinearSweep(current, target, speed) @@ -6970,7 +6981,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L490). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L497). """ ImLinearRemapClamp(s0, s1, d0, d1, x) = igImLinearRemapClamp(s0, s1, d0, d1, x) @@ -6980,7 +6991,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L491). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L498). """ function ImMul(lhs::Union{ImVec2,NTuple{2}}, rhs::Union{ImVec2,NTuple{2}}) pOut = Ref{ImVec2}() @@ -6994,7 +7005,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L492). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L499). """ ImIsFloatAboveGuaranteedIntegerPrecision(f) = igImIsFloatAboveGuaranteedIntegerPrecision(f) @@ -7004,7 +7015,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L493). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L500). """ ImExponentialMovingAverage(avg, sample, n) = igImExponentialMovingAverage(avg, sample, n) @@ -7014,7 +7025,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L497). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L504). """ function ImBezierCubicCalc( p1::Union{ImVec2,NTuple{2}}, @@ -7036,7 +7047,7 @@ For curves with explicit number of segments. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L498). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L505). """ function ImBezierCubicClosestPoint( p1::Union{ImVec2,NTuple{2}}, @@ -7059,7 +7070,7 @@ For auto-tessellated curves you can use tess_tol = style.CurveTessellationTol. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L499). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L506). """ function ImBezierCubicClosestPointCasteljau( p1::Union{ImVec2,NTuple{2}}, @@ -7080,7 +7091,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L500). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L507). """ function ImBezierQuadraticCalc(p1::Union{ImVec2,NTuple{2}}, p2::Union{ImVec2,NTuple{2}}, p3::Union{ImVec2,NTuple{2}}, t) pOut = Ref{ImVec2}() @@ -7094,7 +7105,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L501). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L508). """ function ImLineClosestPoint(a::Union{ImVec2,NTuple{2}}, b::Union{ImVec2,NTuple{2}}, p::Union{ImVec2,NTuple{2}}) pOut = Ref{ImVec2}() @@ -7108,7 +7119,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L502). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L509). """ ImTriangleContainsPoint( a::Union{ImVec2,NTuple{2}}, @@ -7123,7 +7134,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L503). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L510). """ function ImTriangleClosestPoint( a::Union{ImVec2,NTuple{2}}, @@ -7142,7 +7153,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L504). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L511). """ ImTriangleBarycentricCoords( a::Union{ImVec2,NTuple{2}}, @@ -7160,7 +7171,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L505). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L512). """ ImTriangleArea(a::Union{ImVec2,NTuple{2}}, b::Union{ImVec2,NTuple{2}}, c::Union{ImVec2,NTuple{2}}) = igImTriangleArea(a, b, c) @@ -7171,7 +7182,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L506). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L513). """ ImTriangleIsClockwise(a::Union{ImVec2,NTuple{2}}, b::Union{ImVec2,NTuple{2}}, c::Union{ImVec2,NTuple{2}}) = igImTriangleIsClockwise(a, b, c) @@ -7182,7 +7193,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L514). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L521). """ lib.ImVec1() = ImVec1_ImVec1_Nil() @@ -7207,7 +7218,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L539). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L546). """ function GetCenter(self::Ptr{ImRect}) pOut = Ref{ImVec2}() @@ -7221,7 +7232,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L540). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L547). """ function GetSize(self::Ptr{ImRect}) pOut = Ref{ImVec2}() @@ -7235,7 +7246,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L541). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L548). """ GetWidth(self::Ptr{ImRect}) = ImRect_GetWidth(self) @@ -7245,7 +7256,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L542). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L549). """ GetHeight(self::Ptr{ImRect}) = ImRect_GetHeight(self) @@ -7255,7 +7266,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L543). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L550). """ GetArea(self::Ptr{ImRect}) = ImRect_GetArea(self) @@ -7267,7 +7278,7 @@ Top-left. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L544). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L551). """ function GetTL(self::Ptr{ImRect}) pOut = Ref{ImVec2}() @@ -7283,7 +7294,7 @@ Top-right. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L545). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L552). """ function GetTR(self::Ptr{ImRect}) pOut = Ref{ImVec2}() @@ -7299,7 +7310,7 @@ Bottom-left. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L546). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L553). """ function GetBL(self::Ptr{ImRect}) pOut = Ref{ImVec2}() @@ -7315,7 +7326,7 @@ Bottom-right. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L547). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L554). """ function GetBR(self::Ptr{ImRect}) pOut = Ref{ImVec2}() @@ -7329,7 +7340,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L550). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L557). """ ContainsWithPad(self::Ptr{ImRect}, p::Union{ImVec2,NTuple{2}}, pad::Union{ImVec2,NTuple{2}}) = ImRect_ContainsWithPad(self, p, pad) @@ -7340,7 +7351,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L551). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L558). """ Overlaps(self::Ptr{ImRect}, r::ImRect) = ImRect_Overlaps(self, r) @@ -7350,7 +7361,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L556). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L563). """ Translate(self::Ptr{ImRect}, d::Union{ImVec2,NTuple{2}}) = ImRect_Translate(self, d) @@ -7360,7 +7371,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L557). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L564). """ TranslateX(self::Ptr{ImRect}, dx) = ImRect_TranslateX(self, dx) @@ -7370,7 +7381,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L558). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L565). """ TranslateY(self::Ptr{ImRect}, dy) = ImRect_TranslateY(self, dy) @@ -7382,7 +7393,7 @@ Simple version, may lead to an inverted rectangle, which is fine for Contains/Ov !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L559). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L566). """ ClipWith(self::Ptr{ImRect}, r::ImRect) = ImRect_ClipWith(self, r) @@ -7394,7 +7405,7 @@ Full version, ensure both points are fully clipped. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L560). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L567). """ ClipWithFull(self::Ptr{ImRect}, r::ImRect) = ImRect_ClipWithFull(self, r) @@ -7404,7 +7415,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L561). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L568). """ Floor(self::Ptr{ImRect}) = ImRect_Floor(self) @@ -7414,7 +7425,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L562). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L569). """ IsInverted(self::Ptr{ImRect}) = ImRect_IsInverted(self) @@ -7424,7 +7435,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L563). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L570). """ function ToVec4(self::Ptr{ImRect}) pOut = Ref{ImVec4}() @@ -7438,7 +7449,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L569). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L576). """ ImBitArrayGetStorageSizeInBytes(bitcount) = igImBitArrayGetStorageSizeInBytes(bitcount) @@ -7448,7 +7459,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L570). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L577). """ ImBitArrayClearAllBits(arr::Union{VoidablePtrOrRef{ImU32},VoidablePtrOrRef{Integer}}, bitcount) = igImBitArrayClearAllBits(arr, bitcount) @@ -7459,7 +7470,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L571). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L578). """ ImBitArrayTestBit(arr::Union{VoidablePtrOrRef{ImU32},VoidablePtrOrRef{Integer}}, n) = igImBitArrayTestBit(arr, n) @@ -7469,7 +7480,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L572). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L579). """ ImBitArrayClearBit(arr::Union{VoidablePtrOrRef{ImU32},VoidablePtrOrRef{Integer}}, n) = igImBitArrayClearBit(arr, n) @@ -7479,7 +7490,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L573). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L580). """ ImBitArraySetBit(arr::Union{VoidablePtrOrRef{ImU32},VoidablePtrOrRef{Integer}}, n) = igImBitArraySetBit(arr, n) @@ -7489,7 +7500,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L574). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L581). """ ImBitArraySetBitRange(arr::Union{VoidablePtrOrRef{ImU32},VoidablePtrOrRef{Integer}}, n, n2) = igImBitArraySetBitRange(arr, n, n2) @@ -7500,7 +7511,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L610). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L617). """ Create(self::Ptr{ImBitVector}, sz) = ImBitVector_Create(self, sz) @@ -7510,7 +7521,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L611). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L618). """ Clear(self::Ptr{ImBitVector}) = ImBitVector_Clear(self) @@ -7520,7 +7531,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L612). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L619). """ TestBit(self::Ptr{ImBitVector}, n) = ImBitVector_TestBit(self, n) @@ -7530,7 +7541,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L613). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L620). """ SetBit(self::Ptr{ImBitVector}, n) = ImBitVector_SetBit(self, n) @@ -7540,7 +7551,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L614). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L621). """ ClearBit(self::Ptr{ImBitVector}, n) = ImBitVector_ClearBit(self, n) @@ -7550,7 +7561,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L732). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L739). """ Clear(self::Ptr{ImGuiTextIndex}) = ImGuiTextIndex_clear(self) @@ -7560,7 +7571,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L733). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L740). """ Size(self::Ptr{ImGuiTextIndex}) = ImGuiTextIndex_size(self) @@ -7570,7 +7581,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L734). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L741). """ Get_line_begin(self::Ptr{ImGuiTextIndex}, base, n) = ImGuiTextIndex_get_line_begin(self, base, n) @@ -7580,7 +7591,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L735). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L742). """ Get_line_end(self::Ptr{ImGuiTextIndex}, base, n) = ImGuiTextIndex_get_line_end(self, base, n) @@ -7590,7 +7601,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L736). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L743). """ Append(self::Ptr{ImGuiTextIndex}, base, old_size, new_size) = ImGuiTextIndex_append(self, base, old_size, new_size) @@ -7600,7 +7611,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L740). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L747). """ ImLowerBound( in_begin::VoidablePtrOrRef{ImGuiStoragePair}, @@ -7614,7 +7625,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L792). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L799). """ lib.ImDrawListSharedData() = ImDrawListSharedData_ImDrawListSharedData() @@ -7629,7 +7640,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L793). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L800). """ SetCircleTessellationMaxError(self::Ptr{ImDrawListSharedData}, max_error) = ImDrawListSharedData_SetCircleTessellationMaxError(self, max_error) @@ -7640,7 +7651,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L801). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L808). """ lib.ImDrawDataBuilder() = ImDrawDataBuilder_ImDrawDataBuilder() @@ -7655,7 +7666,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L813). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L820). """ GetVarPtr(self::Ptr{ImGuiDataVarInfo}, parent) = ImGuiDataVarInfo_GetVarPtr(self, parent) @@ -7665,7 +7676,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1043). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1054). """ lib.ImGuiStyleMod(idx::Union{ImGuiStyleVar,ImGuiStyleVar_,Integer}, v::Integer) = ImGuiStyleMod_ImGuiStyleMod_Int(idx, v) @@ -7681,7 +7692,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1044). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1055). """ lib.ImGuiStyleMod(idx::Union{ImGuiStyleVar,ImGuiStyleVar_,Integer}, v::Real) = ImGuiStyleMod_ImGuiStyleMod_Float(idx, v) @@ -7691,7 +7702,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1045). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1056). """ lib.ImGuiStyleMod(idx::Union{ImGuiStyleVar,ImGuiStyleVar_,Integer}, v::Union{ImVec2,NTuple{2}}) = ImGuiStyleMod_ImGuiStyleMod_Vec2(idx, v) @@ -7702,7 +7713,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1058). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1069). """ lib.ImGuiComboPreviewData() = ImGuiComboPreviewData_ImGuiComboPreviewData() @@ -7717,7 +7728,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1091). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1102). """ lib.ImGuiMenuColumns() = ImGuiMenuColumns_ImGuiMenuColumns() @@ -7732,7 +7743,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1092). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1103). """ Update(self::Ptr{ImGuiMenuColumns}, spacing, window_reappearing) = ImGuiMenuColumns_Update(self, spacing, window_reappearing) @@ -7743,7 +7754,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1093). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1104). """ DeclColumns(self::Ptr{ImGuiMenuColumns}, w_icon, w_label, w_shortcut, w_mark) = ImGuiMenuColumns_DeclColumns(self, w_icon, w_label, w_shortcut, w_mark) @@ -7754,7 +7765,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1094). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1105). """ CalcNextTotalWidth(self::Ptr{ImGuiMenuColumns}, update_offsets) = ImGuiMenuColumns_CalcNextTotalWidth(self, update_offsets) @@ -7765,7 +7776,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1103). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1114). """ lib.ImGuiInputTextDeactivatedState() = ImGuiInputTextDeactivatedState_ImGuiInputTextDeactivatedState() @@ -7780,7 +7791,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1104). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1115). """ ClearFreeMemory(self::Ptr{ImGuiInputTextDeactivatedState}) = ImGuiInputTextDeactivatedState_ClearFreeMemory(self) @@ -7790,7 +7801,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1140). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1151). """ lib.ImGuiInputTextState() = ImGuiInputTextState_ImGuiInputTextState() @@ -7805,7 +7816,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1142). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1153). """ ClearText(self::Ptr{ImGuiInputTextState}) = ImGuiInputTextState_ClearText(self) @@ -7815,7 +7826,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1143). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1154). """ ClearFreeMemory(self::Ptr{ImGuiInputTextState}) = ImGuiInputTextState_ClearFreeMemory(self) @@ -7827,7 +7838,7 @@ Cannot be inline because we call in code in stb_textedit.h implementation. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1144). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1155). """ OnKeyPressed(self::Ptr{ImGuiInputTextState}, key) = ImGuiInputTextState_OnKeyPressed(self, key) @@ -7837,7 +7848,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1145). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1156). """ OnCharPressed(self::Ptr{ImGuiInputTextState}, c) = ImGuiInputTextState_OnCharPressed(self, c) @@ -7847,7 +7858,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1148). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1159). """ CursorAnimReset(self::Ptr{ImGuiInputTextState}) = ImGuiInputTextState_CursorAnimReset(self) @@ -7857,7 +7868,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1149). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1160). """ CursorClamp(self::Ptr{ImGuiInputTextState}) = ImGuiInputTextState_CursorClamp(self) @@ -7867,7 +7878,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1150). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1161). """ HasSelection(self::Ptr{ImGuiInputTextState}) = ImGuiInputTextState_HasSelection(self) @@ -7877,7 +7888,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1151). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1162). """ ClearSelection(self::Ptr{ImGuiInputTextState}) = ImGuiInputTextState_ClearSelection(self) @@ -7887,7 +7898,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1152). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1163). """ GetCursorPos(self::Ptr{ImGuiInputTextState}) = ImGuiInputTextState_GetCursorPos(self) @@ -7897,7 +7908,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1153). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1164). """ GetSelectionStart(self::Ptr{ImGuiInputTextState}) = ImGuiInputTextState_GetSelectionStart(self) @@ -7907,7 +7918,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1154). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1165). """ GetSelectionEnd(self::Ptr{ImGuiInputTextState}) = ImGuiInputTextState_GetSelectionEnd(self) @@ -7917,7 +7928,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1155). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1166). """ SelectAll(self::Ptr{ImGuiInputTextState}) = ImGuiInputTextState_SelectAll(self) @@ -7927,7 +7938,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1162). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1173). """ ReloadUserBufAndSelectAll(self::Ptr{ImGuiInputTextState}) = ImGuiInputTextState_ReloadUserBufAndSelectAll(self) @@ -7937,7 +7948,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1163). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1174). """ ReloadUserBufAndKeepSelection(self::Ptr{ImGuiInputTextState}) = ImGuiInputTextState_ReloadUserBufAndKeepSelection(self) @@ -7947,7 +7958,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1164). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1175). """ ReloadUserBufAndMoveToEnd(self::Ptr{ImGuiInputTextState}) = ImGuiInputTextState_ReloadUserBufAndMoveToEnd(self) @@ -7957,7 +7968,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1220). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1231). """ lib.ImGuiNextWindowData() = ImGuiNextWindowData_ImGuiNextWindowData() @@ -7972,7 +7983,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1221). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1232). """ ClearFlags(self::Ptr{ImGuiNextWindowData}) = ImGuiNextWindowData_ClearFlags(self) @@ -7982,7 +7993,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1249). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1260). """ lib.ImGuiNextItemData() = ImGuiNextItemData_ImGuiNextItemData() @@ -7999,7 +8010,7 @@ Also cleared manually by ItemAdd()! !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1250). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1261). """ ClearFlags(self::Ptr{ImGuiNextItemData}) = ImGuiNextItemData_ClearFlags(self) @@ -8009,7 +8020,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1266). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1277). """ lib.ImGuiLastItemData() = ImGuiLastItemData_ImGuiLastItemData() @@ -8024,36 +8035,14 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1293). -""" -lib.ImGuiStackSizes() = ImGuiStackSizes_ImGuiStackSizes() - -""" -Destructor for `ImGuiStackSizes` -""" -Destroy(self::Ptr{ImGuiStackSizes}) = ImGuiStackSizes_destroy(self) - -""" -$(TYPEDSIGNATURES) - -!!! warning - This function is internal, it may change in the future. - -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1294). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1307). """ -SetToContextState(self::Ptr{ImGuiStackSizes}, ctx::VoidablePtrOrRef{ImGuiContext}) = - ImGuiStackSizes_SetToContextState(self, ctx) +lib.ImGuiErrorRecoveryState() = ImGuiErrorRecoveryState_ImGuiErrorRecoveryState() """ -$(TYPEDSIGNATURES) - -!!! warning - This function is internal, it may change in the future. - -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1295). +Destructor for `ImGuiErrorRecoveryState` """ -CompareWithContextState(self::Ptr{ImGuiStackSizes}, ctx::VoidablePtrOrRef{ImGuiContext}) = - ImGuiStackSizes_CompareWithContextState(self, ctx) +Destroy(self::Ptr{ImGuiErrorRecoveryState}) = ImGuiErrorRecoveryState_destroy(self) """ $(TYPEDSIGNATURES) @@ -8061,7 +8050,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1319). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1331). """ lib.ImGuiPtrOrIndex(ptr::PtrOrRef{Cvoid}) = ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr(ptr) @@ -8076,7 +8065,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1320). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1332). """ lib.ImGuiPtrOrIndex(index::Integer) = ImGuiPtrOrIndex_ImGuiPtrOrIndex_Int(index) @@ -8086,7 +8075,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1346). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1358). """ lib.ImGuiPopupData() = ImGuiPopupData_ImGuiPopupData() @@ -8101,7 +8090,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1427). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1439). """ lib.ImGuiInputEvent() = ImGuiInputEvent_ImGuiInputEvent() @@ -8116,7 +8105,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1447). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1459). """ lib.ImGuiKeyRoutingData() = ImGuiKeyRoutingData_ImGuiKeyRoutingData() @@ -8131,7 +8120,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1458). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1470). """ lib.ImGuiKeyRoutingTable() = ImGuiKeyRoutingTable_ImGuiKeyRoutingTable() @@ -8146,7 +8135,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1459). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1471). """ Clear(self::Ptr{ImGuiKeyRoutingTable}) = ImGuiKeyRoutingTable_Clear(self) @@ -8156,7 +8145,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1471). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1483). """ lib.ImGuiKeyOwnerData() = ImGuiKeyOwnerData_ImGuiKeyOwnerData() @@ -8171,7 +8160,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1529). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1541). """ FromIndices(min, max) = ImGuiListClipperRange_FromIndices(min, max) @@ -8181,7 +8170,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1530). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1542). """ FromPositions(y1, y2, off_min, off_max) = ImGuiListClipperRange_FromPositions(y1, y2, off_min, off_max) @@ -8191,7 +8180,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1542). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1554). """ lib.ImGuiListClipperData() = ImGuiListClipperData_ImGuiListClipperData() @@ -8206,7 +8195,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1543). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1555). """ Reset(self::Ptr{ImGuiListClipperData}, clipper::VoidablePtrOrRef{ImGuiListClipper}) = ImGuiListClipperData_Reset(self, clipper) @@ -8217,7 +8206,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1625). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1643). """ lib.ImGuiNavItemData() = ImGuiNavItemData_ImGuiNavItemData() @@ -8232,7 +8221,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1626). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1644). """ Clear(self::Ptr{ImGuiNavItemData}) = ImGuiNavItemData_Clear(self) @@ -8242,7 +8231,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1669). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1687). """ lib.ImGuiTypingSelectState() = ImGuiTypingSelectState_ImGuiTypingSelectState() @@ -8259,7 +8248,7 @@ We preserve remaining data for easier debugging. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1670). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1688). """ Clear(self::Ptr{ImGuiTypingSelectState}) = ImGuiTypingSelectState_Clear(self) @@ -8269,7 +8258,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1705). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1723). """ lib.ImGuiOldColumnData() = ImGuiOldColumnData_ImGuiOldColumnData() @@ -8284,7 +8273,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1726). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1744). """ lib.ImGuiOldColumns() = ImGuiOldColumns_ImGuiOldColumns() @@ -8299,7 +8288,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1754). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1772). """ lib.ImGuiBoxSelectState() = ImGuiBoxSelectState_ImGuiBoxSelectState() @@ -8314,7 +8303,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1784). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1802). """ lib.ImGuiMultiSelectTempData() = ImGuiMultiSelectTempData_ImGuiMultiSelectTempData() @@ -8331,7 +8320,7 @@ Zero-clear except IO as we preserve IO.Requests[] buffer allocation. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1785). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1803). """ Clear(self::Ptr{ImGuiMultiSelectTempData}) = ImGuiMultiSelectTempData_Clear(self) @@ -8341,7 +8330,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1786). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1804). """ ClearIO(self::Ptr{ImGuiMultiSelectTempData}) = ImGuiMultiSelectTempData_ClearIO(self) @@ -8351,7 +8340,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1801). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1819). """ lib.ImGuiMultiSelectState() = ImGuiMultiSelectState_ImGuiMultiSelectState() @@ -8366,7 +8355,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1906). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1926). """ lib.ImGuiDockNode(id::Union{ImGuiID,Integer}) = ImGuiDockNode_ImGuiDockNode(id) @@ -8381,7 +8370,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1908). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1928). """ IsRootNode(self::Ptr{ImGuiDockNode}) = ImGuiDockNode_IsRootNode(self) @@ -8391,7 +8380,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1909). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1929). """ IsDockSpace(self::Ptr{ImGuiDockNode}) = ImGuiDockNode_IsDockSpace(self) @@ -8401,7 +8390,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1910). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1930). """ IsFloatingNode(self::Ptr{ImGuiDockNode}) = ImGuiDockNode_IsFloatingNode(self) @@ -8411,7 +8400,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1911). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1931). """ IsCentralNode(self::Ptr{ImGuiDockNode}) = ImGuiDockNode_IsCentralNode(self) @@ -8423,7 +8412,7 @@ Hidden tab bar can be shown back by clicking the small triangle. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1912). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1932). """ IsHiddenTabBar(self::Ptr{ImGuiDockNode}) = ImGuiDockNode_IsHiddenTabBar(self) @@ -8435,7 +8424,7 @@ Never show a tab bar. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1913). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1933). """ IsNoTabBar(self::Ptr{ImGuiDockNode}) = ImGuiDockNode_IsNoTabBar(self) @@ -8445,7 +8434,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1914). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1934). """ IsSplitNode(self::Ptr{ImGuiDockNode}) = ImGuiDockNode_IsSplitNode(self) @@ -8455,7 +8444,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1915). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1935). """ IsLeafNode(self::Ptr{ImGuiDockNode}) = ImGuiDockNode_IsLeafNode(self) @@ -8465,7 +8454,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1916). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1936). """ IsEmpty(self::Ptr{ImGuiDockNode}) = ImGuiDockNode_IsEmpty(self) @@ -8475,7 +8464,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1917). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1937). """ function Rect(self::Ptr{ImGuiDockNode}) pOut = Ref{ImRect}() @@ -8489,7 +8478,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1919). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1939). """ SetLocalFlags(self::Ptr{ImGuiDockNode}, flags::Union{ImGuiDockNodeFlags,ImGuiDockNodeFlags_,Integer}) = ImGuiDockNode_SetLocalFlags(self, flags) @@ -8500,7 +8489,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1920). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1940). """ UpdateMergedFlags(self::Ptr{ImGuiDockNode}) = ImGuiDockNode_UpdateMergedFlags(self) @@ -8510,7 +8499,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1952). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L1972). """ lib.ImGuiDockContext() = ImGuiDockContext_ImGuiDockContext() @@ -8525,7 +8514,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1993). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L2013). """ lib.ImGuiViewportP() = ImGuiViewportP_ImGuiViewportP() @@ -8540,7 +8529,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1995). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L2015). """ ClearRequestFlags(self::Ptr{ImGuiViewportP}) = ImGuiViewportP_ClearRequestFlags(self) @@ -8550,7 +8539,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1998). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L2018). """ function CalcWorkRectPos(self::Ptr{ImGuiViewportP}, inset_min::Union{ImVec2,NTuple{2}}) pOut = Ref{ImVec2}() @@ -8564,7 +8553,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L1999). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L2019). """ function CalcWorkRectSize( self::Ptr{ImGuiViewportP}, @@ -8584,7 +8573,7 @@ Update public fields. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L2000). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L2020). """ UpdateWorkRect(self::Ptr{ImGuiViewportP}) = ImGuiViewportP_UpdateWorkRect(self) @@ -8594,7 +8583,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L2003). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L2023). """ function GetMainRect(self::Ptr{ImGuiViewportP}) pOut = Ref{ImRect}() @@ -8608,7 +8597,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L2004). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L2024). """ function GetWorkRect(self::Ptr{ImGuiViewportP}) pOut = Ref{ImRect}() @@ -8622,7 +8611,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L2005). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L2025). """ function GetBuildWorkRect(self::Ptr{ImGuiViewportP}) pOut = Ref{ImRect}() @@ -8636,7 +8625,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L2030). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L2050). """ lib.ImGuiWindowSettings() = ImGuiWindowSettings_ImGuiWindowSettings() @@ -8651,7 +8640,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L2031). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L2051). """ GetName(self::Ptr{ImGuiWindowSettings}) = ImGuiWindowSettings_GetName(self) @@ -8661,7 +8650,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L2046). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L2066). """ lib.ImGuiSettingsHandler() = ImGuiSettingsHandler_ImGuiSettingsHandler() @@ -8676,7 +8665,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L2117). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L2155). """ lib.ImGuiDebugAllocInfo() = ImGuiDebugAllocInfo_ImGuiDebugAllocInfo() @@ -8691,7 +8680,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L2146). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L2184). """ lib.ImGuiStackLevelInfo() = ImGuiStackLevelInfo_ImGuiStackLevelInfo() @@ -8706,7 +8695,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L2159). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L2197). """ lib.ImGuiIDStackTool() = ImGuiIDStackTool_ImGuiIDStackTool() @@ -8721,7 +8710,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L2177). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L2215). """ lib.ImGuiContextHook() = ImGuiContextHook_ImGuiContextHook() @@ -8733,116 +8722,10 @@ Destroy(self::Ptr{ImGuiContextHook}) = ImGuiContextHook_destroy(self) """ $(TYPEDSIGNATURES) -// All platforms use Ctrl+Tab but Ctrl<>Super are swapped on Mac... - // FIXME: Because this value is stored, it annoyingly interfere with toggling io.ConfigMacOSXBehaviors updating this.. - ConfigNavWindowingKeyNext = IO.ConfigMacOSXBehaviors ? (ImGuiMod_Super | ImGuiKey_Tab) : (ImGuiMod_Ctrl | ImGuiKey_Tab); - ConfigNavWindowingKeyPrev = IO.ConfigMacOSXBehaviors ? (ImGuiMod_Super | ImGuiMod_Shift | ImGuiKey_Tab) : (ImGuiMod_Ctrl | ImGuiMod_Shift | ImGuiKey_Tab); - NavWindowingTarget = NavWindowingTargetAnim = NavWindowingListWindow = ((void *)0) ; - NavWindowingTimer = NavWindowingHighlightAlpha = 0.0f; - NavWindowingToggleLayer = false; - NavWindowingToggleKey = ImGuiKey_None; - - DimBgRatio = 0.0f; - - DragDropActive = DragDropWithinSource = DragDropWithinTarget = false; - DragDropSourceFlags = ImGuiDragDropFlags_None; - DragDropSourceFrameCount = -1; - DragDropMouseButton = -1; - DragDropTargetId = 0; - DragDropAcceptFlags = ImGuiDragDropFlags_None; - DragDropAcceptIdCurrRectSurface = 0.0f; - DragDropAcceptIdPrev = DragDropAcceptIdCurr = 0; - DragDropAcceptFrameCount = -1; - DragDropHoldJustPressedId = 0; - memset(DragDropPayloadBufLocal, 0, sizeof(DragDropPayloadBufLocal)); - - ClipperTempDataStacked = 0; - - CurrentTable = ((void *)0) ; - TablesTempDataStacked = 0; - CurrentTabBar = ((void *)0) ; - CurrentMultiSelect = ((void *)0) ; - MultiSelectTempDataStacked = 0; - - HoverItemDelayId = HoverItemDelayIdPreviousFrame = HoverItemUnlockedStationaryId = HoverWindowUnlockedStationaryId = 0; - HoverItemDelayTimer = HoverItemDelayClearTimer = 0.0f; - - MouseCursor = ImGuiMouseCursor_Arrow; - MouseStationaryTimer = 0.0f; - - TempInputId = 0; - memset(&DataTypeZeroValue, 0, sizeof(DataTypeZeroValue)); - BeginMenuDepth = BeginComboDepth = 0; - ColorEditOptions = ImGuiColorEditFlags_DefaultOptions_; - ColorEditCurrentID = ColorEditSavedID = 0; - ColorEditSavedHue = ColorEditSavedSat = 0.0f; - ColorEditSavedColor = 0; - WindowResizeRelativeMode = false; - ScrollbarSeekMode = 0; - ScrollbarClickDeltaToGrabCenter = 0.0f; - SliderGrabClickOffset = 0.0f; - SliderCurrentAccum = 0.0f; - SliderCurrentAccumDirty = false; - DragCurrentAccumDirty = false; - DragCurrentAccum = 0.0f; - DragSpeedDefaultRatio = 1.0f / 100.0f; - DisabledAlphaBackup = 0.0f; - DisabledStackSize = 0; - LockMarkEdited = 0; - TooltipOverrideCount = 0; - - PlatformImeData.InputPos = ImVec2(0.0f, 0.0f); - PlatformImeDataPrev.InputPos = ImVec2(-1.0f, -1.0f); // Different to ensure initial submission - PlatformImeViewport = 0; - - DockNodeWindowMenuHandler = ((void *)0) ; - - SettingsLoaded = false; - SettingsDirtyTimer = 0.0f; - HookIdNext = 0; - - memset(LocalizationTable, 0, sizeof(LocalizationTable)); - - LogEnabled = false; - LogType = ImGuiLogType_None; - LogNextPrefix = LogNextSuffix = ((void *)0) ; - LogFile = ((void *)0) ; - LogLinePosY = 3.40282346638528859811704183484516925e+38F; - LogLineFirstItem = false; - LogDepthRef = 0; - LogDepthToExpand = LogDepthToExpandDefault = 2; - - DebugLogFlags = ImGuiDebugLogFlags_OutputToTTY; - DebugLocateId = 0; - DebugLogAutoDisableFlags = ImGuiDebugLogFlags_None; - DebugLogAutoDisableFrames = 0; - DebugLocateFrames = 0; - DebugBeginReturnValueCullDepth = -1; - DebugItemPickerActive = false; - DebugItemPickerMouseButton = ImGuiMouseButton_Left; - DebugItemPickerBreakId = 0; - DebugFlashStyleColorTime = 0.0f; - DebugFlashStyleColorIdx = ImGuiCol_COUNT; - DebugHoveredDockNode = ((void *)0) ; - - // Same as DebugBreakClearData(). Those fields are scattered in their respective subsystem to stay in hot-data locations - DebugBreakInWindow = 0; - DebugBreakInTable = 0; - DebugBreakInLocateId = false; - DebugBreakKeyChord = ImGuiKey_Pause; - DebugBreakInShortcutRouting = ImGuiKey_None; - - memset(FramerateSecPerFrame, 0, sizeof(FramerateSecPerFrame)); - FramerateSecPerFrameIdx = FramerateSecPerFrameCount = 0; - FramerateSecPerFrameAccum = 0.0f; - WantCaptureMouseNextFrame = WantCaptureKeyboardNextFrame = WantTextInputNextFrame = -1; - memset(TempKeychordName, 0, sizeof(TempKeychordName)); - }. - -!!! warning - This function is internal, it may change in the future. - -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L2550). +!!! warning + This function is internal, it may change in the future. + +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L2603). """ lib.ImGuiContext(shared_font_atlas::VoidablePtrOrRef{ImFontAtlas}) = ImGuiContext_ImGuiContext(shared_font_atlas) @@ -8857,7 +8740,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L2954). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L2793). """ lib.ImGuiWindow(context::VoidablePtrOrRef{ImGuiContext}, name) = ImGuiWindow_ImGuiWindow(context, name) @@ -8872,7 +8755,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L2958). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L2797). """ GetID(self::Ptr{ImGuiWindow}, str::Union{String,Ptr{Cchar}}, str_end::Union{String,Ptr{Cchar},Ptr{Cvoid}} = C_NULL) = ImGuiWindow_GetID_Str(self, str, str_end) @@ -8883,7 +8766,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L2959). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L2798). """ GetID(self::Ptr{ImGuiWindow}, ptr::PtrOrRef{Cvoid}) = ImGuiWindow_GetID_Ptr(self, ptr) @@ -8893,7 +8776,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L2960). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L2799). """ GetID(self::Ptr{ImGuiWindow}, n::Integer) = ImGuiWindow_GetID_Int(self, n) @@ -8903,7 +8786,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L2961). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L2800). """ GetIDFromPos(self::Ptr{ImGuiWindow}, p_abs::Union{ImVec2,NTuple{2}}) = ImGuiWindow_GetIDFromPos(self, p_abs) @@ -8913,7 +8796,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L2962). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L2801). """ GetIDFromRectangle(self::Ptr{ImGuiWindow}, r_abs::ImRect) = ImGuiWindow_GetIDFromRectangle(self, r_abs) @@ -8923,7 +8806,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L2965). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L2804). """ function Rect(self::Ptr{ImGuiWindow}) pOut = Ref{ImRect}() @@ -8937,7 +8820,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L2966). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L2805). """ CalcFontSize(self::Ptr{ImGuiWindow}) = ImGuiWindow_CalcFontSize(self) @@ -8947,7 +8830,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L2967). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L2806). """ function TitleBarRect(self::Ptr{ImGuiWindow}) pOut = Ref{ImRect}() @@ -8961,7 +8844,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L2968). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L2807). """ function MenuBarRect(self::Ptr{ImGuiWindow}) pOut = Ref{ImRect}() @@ -8975,7 +8858,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3009). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L2848). """ lib.ImGuiTabItem() = ImGuiTabItem_ImGuiTabItem() @@ -8990,7 +8873,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3049). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L2889). """ lib.ImGuiTabBar() = ImGuiTabBar_ImGuiTabBar() @@ -9005,7 +8888,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3112). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L2952). """ lib.ImGuiTableColumn() = ImGuiTableColumn_ImGuiTableColumn() @@ -9020,7 +8903,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3155). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L2995). """ lib.ImGuiTableInstanceData() = ImGuiTableInstanceData_ImGuiTableInstanceData() @@ -9035,7 +8918,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3274). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3114). """ lib.ImGuiTable() = ImGuiTable_ImGuiTable() @@ -9050,7 +8933,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3302). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3142). """ lib.ImGuiTableTempData() = ImGuiTableTempData_ImGuiTableTempData() @@ -9065,7 +8948,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3317). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3157). """ lib.ImGuiTableColumnSettings() = ImGuiTableColumnSettings_ImGuiTableColumnSettings() @@ -9080,7 +8963,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3339). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3179). """ lib.ImGuiTableSettings() = ImGuiTableSettings_ImGuiTableSettings() @@ -9095,7 +8978,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3340). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3180). """ GetColumnSettings(self::Ptr{ImGuiTableSettings}) = ImGuiTableSettings_GetColumnSettings(self) @@ -9105,7 +8988,27 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3355). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3195). +""" +GetIOEx(ctx::VoidablePtrOrRef{ImGuiContext}) = igGetIOEx(ctx) + +""" +$(TYPEDSIGNATURES) + +!!! warning + This function is internal, it may change in the future. + +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3196). +""" +GetPlatformIOEx(ctx::VoidablePtrOrRef{ImGuiContext}) = igGetPlatformIOEx(ctx) + +""" +$(TYPEDSIGNATURES) + +!!! warning + This function is internal, it may change in the future. + +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3197). """ GetCurrentWindowRead() = igGetCurrentWindowRead() @@ -9115,7 +9018,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3356). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3198). """ GetCurrentWindow() = igGetCurrentWindow() @@ -9125,7 +9028,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3357). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3199). """ FindWindowByID(id::Union{ImGuiID,Integer}) = igFindWindowByID(id) @@ -9135,7 +9038,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3358). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3200). """ FindWindowByName(name) = igFindWindowByName(name) @@ -9145,7 +9048,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3359). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3201). """ UpdateWindowParentAndRootLinks( window::VoidablePtrOrRef{ImGuiWindow}, @@ -9159,7 +9062,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3360). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3202). """ UpdateWindowSkipRefresh(window::VoidablePtrOrRef{ImGuiWindow}) = igUpdateWindowSkipRefresh(window) @@ -9169,7 +9072,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3361). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3203). """ function CalcWindowNextAutoFitSize(window::VoidablePtrOrRef{ImGuiWindow}) pOut = Ref{ImVec2}() @@ -9183,7 +9086,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3362). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3204). """ IsWindowChildOf( window::VoidablePtrOrRef{ImGuiWindow}, @@ -9198,7 +9101,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3363). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3205). """ IsWindowWithinBeginStackOf(window::VoidablePtrOrRef{ImGuiWindow}, potential_parent::VoidablePtrOrRef{ImGuiWindow}) = igIsWindowWithinBeginStackOf(window, potential_parent) @@ -9209,7 +9112,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3364). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3206). """ IsWindowAbove(potential_above::VoidablePtrOrRef{ImGuiWindow}, potential_below::VoidablePtrOrRef{ImGuiWindow}) = igIsWindowAbove(potential_above, potential_below) @@ -9220,7 +9123,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3365). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3207). """ IsWindowNavFocusable(window::VoidablePtrOrRef{ImGuiWindow}) = igIsWindowNavFocusable(window) @@ -9230,7 +9133,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3366). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3208). """ SetWindowPos( window::PtrOrRef{ImGuiWindow}, @@ -9244,7 +9147,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3367). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3209). """ SetWindowSize( window::PtrOrRef{ImGuiWindow}, @@ -9258,7 +9161,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3368). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3210). """ SetWindowCollapsed(window::PtrOrRef{ImGuiWindow}, collapsed::Bool, cond::Union{ImGuiCond,ImGuiCond_,Integer} = 0) = igSetWindowCollapsed_WindowPtr(window, collapsed, cond) @@ -9269,7 +9172,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3369). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3211). """ SetWindowHitTestHole( window::VoidablePtrOrRef{ImGuiWindow}, @@ -9283,7 +9186,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3370). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3212). """ SetWindowHiddenAndSkipItemsForCurrentFrame(window::VoidablePtrOrRef{ImGuiWindow}) = igSetWindowHiddenAndSkipItemsForCurrentFrame(window) @@ -9296,7 +9199,7 @@ You may also use SetNextWindowClass()'s FocusRouteParentWindowId field. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3371). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3213). """ SetWindowParentWindowForFocusRoute( window::VoidablePtrOrRef{ImGuiWindow}, @@ -9309,7 +9212,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3372). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3214). """ function WindowRectAbsToRel(window::VoidablePtrOrRef{ImGuiWindow}, r::ImRect) pOut = Ref{ImRect}() @@ -9323,7 +9226,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3373). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3215). """ function WindowRectRelToAbs(window::VoidablePtrOrRef{ImGuiWindow}, r::ImRect) pOut = Ref{ImRect}() @@ -9337,7 +9240,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3374). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3216). """ function WindowPosAbsToRel(window::VoidablePtrOrRef{ImGuiWindow}, p::Union{ImVec2,NTuple{2}}) pOut = Ref{ImVec2}() @@ -9351,7 +9254,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3375). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3217). """ function WindowPosRelToAbs(window::VoidablePtrOrRef{ImGuiWindow}, p::Union{ImVec2,NTuple{2}}) pOut = Ref{ImVec2}() @@ -9365,7 +9268,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3378). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3220). """ FocusWindow( window::VoidablePtrOrRef{ImGuiWindow}, @@ -9378,7 +9281,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3379). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3221). """ FocusTopMostWindowUnderOne( under_this_window::VoidablePtrOrRef{ImGuiWindow}, @@ -9393,7 +9296,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3380). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3222). """ BringWindowToFocusFront(window::VoidablePtrOrRef{ImGuiWindow}) = igBringWindowToFocusFront(window) @@ -9403,7 +9306,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3381). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3223). """ BringWindowToDisplayFront(window::VoidablePtrOrRef{ImGuiWindow}) = igBringWindowToDisplayFront(window) @@ -9413,7 +9316,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3382). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3224). """ BringWindowToDisplayBack(window::VoidablePtrOrRef{ImGuiWindow}) = igBringWindowToDisplayBack(window) @@ -9423,7 +9326,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3383). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3225). """ BringWindowToDisplayBehind(window::VoidablePtrOrRef{ImGuiWindow}, above_window::VoidablePtrOrRef{ImGuiWindow}) = igBringWindowToDisplayBehind(window, above_window) @@ -9434,7 +9337,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3384). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3226). """ FindWindowDisplayIndex(window::VoidablePtrOrRef{ImGuiWindow}) = igFindWindowDisplayIndex(window) @@ -9444,7 +9347,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3385). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3227). """ FindBottomMostVisibleWindowWithinBeginStack(window::VoidablePtrOrRef{ImGuiWindow}) = igFindBottomMostVisibleWindowWithinBeginStack(window) @@ -9455,7 +9358,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3388). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3230). """ SetNextWindowRefreshPolicy(flags::Union{ImGuiWindowRefreshFlags,ImGuiWindowRefreshFlags_,Integer}) = igSetNextWindowRefreshPolicy(flags) @@ -9466,7 +9369,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3391). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3233). """ SetCurrentFont(font::VoidablePtrOrRef{ImFont}) = igSetCurrentFont(font) @@ -9476,7 +9379,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3392). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3234). """ GetDefaultFont() = igGetDefaultFont() @@ -9486,7 +9389,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3394). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3236). """ AddDrawListToDrawDataEx( draw_data::VoidablePtrOrRef{ImDrawData}, @@ -9500,7 +9403,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3397). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3239). """ Initialize() = igInitialize() @@ -9512,7 +9415,7 @@ Since 1.60 this is a _private_ function. You can call DestroyContext() to destro !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3398). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3240). """ Shutdown() = igShutdown() @@ -9522,7 +9425,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3401). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3243). """ UpdateInputEvents(trickle_fast_inputs) = igUpdateInputEvents(trickle_fast_inputs) @@ -9532,7 +9435,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3402). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3244). """ UpdateHoveredWindowAndCaptureFlags() = igUpdateHoveredWindowAndCaptureFlags() @@ -9542,7 +9445,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3404). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3246). """ StartMouseMovingWindow(window::VoidablePtrOrRef{ImGuiWindow}) = igStartMouseMovingWindow(window) @@ -9552,7 +9455,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3405). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3247). """ StartMouseMovingWindowOrNode(window::VoidablePtrOrRef{ImGuiWindow}, node::VoidablePtrOrRef{ImGuiDockNode}, undock) = igStartMouseMovingWindowOrNode(window, node, undock) @@ -9563,7 +9466,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3406). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3248). """ UpdateMouseMovingWindowNewFrame() = igUpdateMouseMovingWindowNewFrame() @@ -9573,7 +9476,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3407). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3249). """ UpdateMouseMovingWindowEndFrame() = igUpdateMouseMovingWindowEndFrame() @@ -9583,7 +9486,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3410). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3252). """ AddContextHook(context::VoidablePtrOrRef{ImGuiContext}, hook::VoidablePtrOrRef{ImGuiContextHook}) = igAddContextHook(context, hook) @@ -9594,7 +9497,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3411). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3253). """ RemoveContextHook(context::VoidablePtrOrRef{ImGuiContext}, hook_to_remove::Union{ImGuiID,Integer}) = igRemoveContextHook(context, hook_to_remove) @@ -9605,7 +9508,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3412). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3254). """ CallContextHooks(context::VoidablePtrOrRef{ImGuiContext}, type::ImGuiContextHookType) = igCallContextHooks(context, type) @@ -9616,7 +9519,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3415). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3257). """ TranslateWindowsInViewport( viewport::VoidablePtrOrRef{ImGuiViewportP}, @@ -9632,7 +9535,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3416). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3258). """ ScaleWindowsInViewport(viewport::VoidablePtrOrRef{ImGuiViewportP}, scale) = igScaleWindowsInViewport(viewport, scale) @@ -9642,7 +9545,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3417). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3259). """ DestroyPlatformWindow(viewport::VoidablePtrOrRef{ImGuiViewportP}) = igDestroyPlatformWindow(viewport) @@ -9652,7 +9555,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3418). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3260). """ SetWindowViewport(window::VoidablePtrOrRef{ImGuiWindow}, viewport::VoidablePtrOrRef{ImGuiViewportP}) = igSetWindowViewport(window, viewport) @@ -9663,7 +9566,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3419). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3261). """ SetCurrentViewport(window::VoidablePtrOrRef{ImGuiWindow}, viewport::VoidablePtrOrRef{ImGuiViewportP}) = igSetCurrentViewport(window, viewport) @@ -9674,7 +9577,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3420). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3262). """ GetViewportPlatformMonitor(viewport::VoidablePtrOrRef{ImGuiViewport}) = igGetViewportPlatformMonitor(viewport) @@ -9684,7 +9587,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3421). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3263). """ FindHoveredViewportFromPlatformWindowStack(mouse_platform_pos::Union{ImVec2,NTuple{2}}) = igFindHoveredViewportFromPlatformWindowStack(mouse_platform_pos) @@ -9695,7 +9598,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3424). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3266). """ MarkIniSettingsDirty() = igMarkIniSettingsDirty_Nil() @@ -9705,7 +9608,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3425). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3267). """ MarkIniSettingsDirty(window::VoidablePtrOrRef{ImGuiWindow}) = igMarkIniSettingsDirty_WindowPtr(window) @@ -9715,7 +9618,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3426). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3268). """ ClearIniSettings() = igClearIniSettings() @@ -9725,7 +9628,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3427). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3269). """ AddSettingsHandler(handler::VoidablePtrOrRef{ImGuiSettingsHandler}) = igAddSettingsHandler(handler) @@ -9735,7 +9638,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3428). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3270). """ RemoveSettingsHandler(type_name) = igRemoveSettingsHandler(type_name) @@ -9745,7 +9648,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3429). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3271). """ FindSettingsHandler(type_name) = igFindSettingsHandler(type_name) @@ -9755,7 +9658,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3432). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3274). """ CreateNewWindowSettings(name) = igCreateNewWindowSettings(name) @@ -9765,7 +9668,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3433). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3275). """ FindWindowSettingsByID(id::Union{ImGuiID,Integer}) = igFindWindowSettingsByID(id) @@ -9775,7 +9678,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3434). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3276). """ FindWindowSettingsByWindow(window::VoidablePtrOrRef{ImGuiWindow}) = igFindWindowSettingsByWindow(window) @@ -9785,7 +9688,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3435). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3277). """ ClearWindowSettings(name) = igClearWindowSettings(name) @@ -9795,7 +9698,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3438). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3280). """ LocalizeRegisterEntries(entries::VoidablePtrOrRef{ImGuiLocEntry}, count) = igLocalizeRegisterEntries(entries, count) @@ -9805,7 +9708,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3439). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3281). """ LocalizeGetMsg(key::ImGuiLocKey) = igLocalizeGetMsg(key) @@ -9815,7 +9718,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3442). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3284). """ SetScrollX(window::VoidablePtrOrRef{ImGuiWindow}, scroll_x::Real) = igSetScrollX_WindowPtr(window, scroll_x) @@ -9825,7 +9728,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3443). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3285). """ SetScrollY(window::VoidablePtrOrRef{ImGuiWindow}, scroll_y::Real) = igSetScrollY_WindowPtr(window, scroll_y) @@ -9835,7 +9738,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3444). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3286). """ SetScrollFromPosX(window::VoidablePtrOrRef{ImGuiWindow}, local_x::Real, center_x_ratio::Real) = igSetScrollFromPosX_WindowPtr(window, local_x, center_x_ratio) @@ -9846,7 +9749,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3445). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3287). """ SetScrollFromPosY(window::VoidablePtrOrRef{ImGuiWindow}, local_y::Real, center_y_ratio::Real) = igSetScrollFromPosY_WindowPtr(window, local_y, center_y_ratio) @@ -9857,7 +9760,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3448). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3290). """ ScrollToItem(flags::Union{ImGuiScrollFlags,ImGuiScrollFlags_,Integer} = 0) = igScrollToItem(flags) @@ -9867,7 +9770,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3449). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3291). """ ScrollToRect( window::VoidablePtrOrRef{ImGuiWindow}, @@ -9881,7 +9784,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3450). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3292). """ function ScrollToRectEx( window::VoidablePtrOrRef{ImGuiWindow}, @@ -9899,7 +9802,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3452). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3294). """ ScrollToBringRectIntoView(window::VoidablePtrOrRef{ImGuiWindow}, rect::ImRect) = igScrollToBringRectIntoView(window, rect) @@ -9910,7 +9813,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3456). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3298). """ GetItemStatusFlags() = igGetItemStatusFlags() @@ -9920,7 +9823,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3457). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3299). """ GetItemFlags() = igGetItemFlags() @@ -9930,7 +9833,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3458). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3300). """ GetActiveID() = igGetActiveID() @@ -9940,7 +9843,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3459). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3301). """ GetFocusID() = igGetFocusID() @@ -9950,7 +9853,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3460). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3302). """ SetActiveID(id::Union{ImGuiID,Integer}, window::VoidablePtrOrRef{ImGuiWindow}) = igSetActiveID(id, window) @@ -9960,7 +9863,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3461). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3303). """ SetFocusID(id::Union{ImGuiID,Integer}, window::VoidablePtrOrRef{ImGuiWindow}) = igSetFocusID(id, window) @@ -9970,7 +9873,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3462). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3304). """ ClearActiveID() = igClearActiveID() @@ -9980,7 +9883,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3463). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3305). """ GetHoveredID() = igGetHoveredID() @@ -9990,7 +9893,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3464). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3306). """ SetHoveredID(id::Union{ImGuiID,Integer}) = igSetHoveredID(id) @@ -10000,7 +9903,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3465). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3307). """ KeepAliveID(id::Union{ImGuiID,Integer}) = igKeepAliveID(id) @@ -10012,7 +9915,7 @@ Mark data associated to given item as "edited", used by IsItemDeactivatedAfterEd !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3466). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3308). """ MarkItemEdited(id::Union{ImGuiID,Integer}) = igMarkItemEdited(id) @@ -10024,7 +9927,7 @@ Push given value as-is at the top of the ID stack (whereas PushID combines old a !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3467). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3309). """ PushOverrideID(id::Union{ImGuiID,Integer}) = igPushOverrideID(id) @@ -10034,7 +9937,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3468). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3310). """ GetIDWithSeed( str_id_begin::Union{String,Ptr{Cchar},Ptr{Cvoid}}, @@ -10048,7 +9951,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3469). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3311). """ GetIDWithSeed(n::Integer, seed::Union{ImGuiID,Integer}) = igGetIDWithSeed_Int(n, seed) @@ -10058,7 +9961,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3472). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3314). """ ItemSize(size::Union{ImVec2,NTuple{2}}, text_baseline_y::Real = -1.0f0) = igItemSize_Vec2(size, text_baseline_y) @@ -10070,7 +9973,7 @@ FIXME: This is a misleading API since we expect CursorPos to be bb.Min. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3473). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3315). """ ItemSize(bb::ImRect, text_baseline_y::Real = -1.0f0) = igItemSize_Rect(bb, text_baseline_y) @@ -10080,7 +9983,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3474). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3316). """ ItemAdd( bb::ImRect, @@ -10095,7 +9998,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3475). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3317). """ ItemHoverable(bb::ImRect, id::Union{ImGuiID,Integer}, item_flags::Union{ImGuiItemFlags,ImGuiItemFlags_,Integer}) = igItemHoverable(bb, id, item_flags) @@ -10106,7 +10009,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3476). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3318). """ IsWindowContentHoverable( window::VoidablePtrOrRef{ImGuiWindow}, @@ -10119,7 +10022,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3477). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3319). """ IsClippedEx(bb::ImRect, id::Union{ImGuiID,Integer}) = igIsClippedEx(bb, id) @@ -10129,7 +10032,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3478). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3320). """ SetLastItemData( item_id::Union{ImGuiID,Integer}, @@ -10144,7 +10047,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3479). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3321). """ function CalcItemSize(size::Union{ImVec2,NTuple{2}}, default_w, default_h) pOut = Ref{ImVec2}() @@ -10158,7 +10061,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3480). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3322). """ CalcWrapWidthForPos(pos::Union{ImVec2,NTuple{2}}, wrap_pos_x) = igCalcWrapWidthForPos(pos, wrap_pos_x) @@ -10168,7 +10071,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3481). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3323). """ PushMultiItemsWidths(components, width_full) = igPushMultiItemsWidths(components, width_full) @@ -10178,7 +10081,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3482). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3324). """ ShrinkWidths(items::VoidablePtrOrRef{ImGuiShrinkWidthItem}, count, width_excess) = igShrinkWidths(items, count, width_excess) @@ -10189,7 +10092,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3485). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3327). """ GetStyleVarInfo(idx::Union{ImGuiStyleVar,ImGuiStyleVar_,Integer}) = igGetStyleVarInfo(idx) @@ -10199,7 +10102,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3486). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3328). """ BeginDisabledOverrideReenable() = igBeginDisabledOverrideReenable() @@ -10209,7 +10112,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3487). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3329). """ EndDisabledOverrideReenable() = igEndDisabledOverrideReenable() @@ -10221,9 +10124,9 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3490). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3332). """ -LogBegin(type::ImGuiLogType, auto_open_depth) = igLogBegin(type, auto_open_depth) +LogBegin(flags::Union{ImGuiLogFlags,ImGuiLogFlags_,Integer}, auto_open_depth) = igLogBegin(flags, auto_open_depth) """ $(TYPEDSIGNATURES) @@ -10233,7 +10136,7 @@ Start logging/capturing to internal buffer. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3491). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3333). """ LogToBuffer(auto_open_depth = -1) = igLogToBuffer(auto_open_depth) @@ -10243,7 +10146,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3492). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3334). """ LogRenderedText(ref_pos::Union{VoidablePtrOrRef{ImVec2},VoidablePtrOrRef{NTuple{2}}}, text, text_end = C_NULL) = igLogRenderedText(ref_pos, text, text_end) @@ -10254,7 +10157,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3493). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3335). """ LogSetNextTextDecoration(prefix, suffix) = igLogSetNextTextDecoration(prefix, suffix) @@ -10264,7 +10167,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3496). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3338). """ BeginChildEx( name, @@ -10280,7 +10183,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3499). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3341). """ BeginPopupEx(id::Union{ImGuiID,Integer}, extra_window_flags::Union{ImGuiWindowFlags,ImGuiWindowFlags_,Integer}) = igBeginPopupEx(id, extra_window_flags) @@ -10291,7 +10194,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3500). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3342). """ OpenPopupEx( id::Union{ImGuiID,Integer}, @@ -10304,7 +10207,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3501). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3343). """ ClosePopupToLevel(remaining, restore_focus_to_window_under_popup) = igClosePopupToLevel(remaining, restore_focus_to_window_under_popup) @@ -10315,7 +10218,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3502). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3344). """ ClosePopupsOverWindow(ref_window::VoidablePtrOrRef{ImGuiWindow}, restore_focus_to_window_under_popup) = igClosePopupsOverWindow(ref_window, restore_focus_to_window_under_popup) @@ -10326,7 +10229,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3503). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3345). """ ClosePopupsExceptModals() = igClosePopupsExceptModals() @@ -10336,7 +10239,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3504). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3346). """ IsPopupOpen(id::Union{ImGuiID,Integer}, popup_flags::Union{ImGuiPopupFlags,ImGuiPopupFlags_,Integer}) = igIsPopupOpen_ID(id, popup_flags) @@ -10347,7 +10250,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3505). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3347). """ function GetPopupAllowedExtentRect(window::VoidablePtrOrRef{ImGuiWindow}) pOut = Ref{ImRect}() @@ -10361,7 +10264,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3506). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3348). """ GetTopMostPopupModal() = igGetTopMostPopupModal() @@ -10371,7 +10274,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3507). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3349). """ GetTopMostAndVisiblePopupModal() = igGetTopMostAndVisiblePopupModal() @@ -10381,7 +10284,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3508). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3350). """ FindBlockingModal(window::VoidablePtrOrRef{ImGuiWindow}) = igFindBlockingModal(window) @@ -10391,7 +10294,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3509). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3351). """ function FindBestWindowPosForPopup(window::VoidablePtrOrRef{ImGuiWindow}) pOut = Ref{ImVec2}() @@ -10405,7 +10308,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3510). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3352). """ function FindBestWindowPosForPopupEx( ref_pos::Union{ImVec2,NTuple{2}}, @@ -10426,7 +10329,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3513). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3355). """ BeginTooltipEx( tooltip_flags::Union{ImGuiTooltipFlags,ImGuiTooltipFlags_,Integer}, @@ -10439,7 +10342,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3514). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3356). """ BeginTooltipHidden() = igBeginTooltipHidden() @@ -10449,7 +10352,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3517). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3359). """ BeginViewportSideBar( name, @@ -10465,7 +10368,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3518). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3360). """ BeginMenuEx(label, icon, enabled = true) = igBeginMenuEx(label, icon, enabled) @@ -10475,7 +10378,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3519). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3361). """ MenuItemEx(label, icon, shortcut = C_NULL, selected = false, enabled = true) = igMenuItemEx(label, icon, shortcut, selected, enabled) @@ -10486,7 +10389,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3522). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3364). """ BeginComboPopup(popup_id::Union{ImGuiID,Integer}, bb::ImRect, flags::Union{ImGuiComboFlags,ImGuiComboFlags_,Integer}) = igBeginComboPopup(popup_id, bb, flags) @@ -10497,7 +10400,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3523). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3365). """ BeginComboPreview() = igBeginComboPreview() @@ -10507,7 +10410,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3524). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3366). """ EndComboPreview() = igEndComboPreview() @@ -10517,7 +10420,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3527). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3369). """ NavInitWindow(window::VoidablePtrOrRef{ImGuiWindow}, force_reinit) = igNavInitWindow(window, force_reinit) @@ -10527,7 +10430,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3528). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3370). """ NavInitRequestApplyResult() = igNavInitRequestApplyResult() @@ -10537,7 +10440,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3529). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3371). """ NavMoveRequestButNoResultYet() = igNavMoveRequestButNoResultYet() @@ -10547,7 +10450,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3530). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3372). """ NavMoveRequestSubmit( move_dir::ImGuiDir, @@ -10562,7 +10465,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3531). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3373). """ NavMoveRequestForward( move_dir::ImGuiDir, @@ -10577,7 +10480,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3532). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3374). """ NavMoveRequestResolveWithLastItem(result::VoidablePtrOrRef{ImGuiNavItemData}) = igNavMoveRequestResolveWithLastItem(result) @@ -10588,7 +10491,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3533). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3375). """ NavMoveRequestResolveWithPastTreeNode( result::VoidablePtrOrRef{ImGuiNavItemData}, @@ -10601,7 +10504,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3534). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3376). """ NavMoveRequestCancel() = igNavMoveRequestCancel() @@ -10611,7 +10514,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3535). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3377). """ NavMoveRequestApplyResult() = igNavMoveRequestApplyResult() @@ -10621,7 +10524,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3536). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3378). """ NavMoveRequestTryWrapping( window::VoidablePtrOrRef{ImGuiWindow}, @@ -10634,7 +10537,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3537). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3379). """ NavHighlightActivated(id::Union{ImGuiID,Integer}) = igNavHighlightActivated(id) @@ -10644,7 +10547,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3538). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3380). """ NavClearPreferredPosForAxis(axis::ImGuiAxis) = igNavClearPreferredPosForAxis(axis) @@ -10654,9 +10557,9 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3539). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3381). """ -NavRestoreHighlightAfterMove() = igNavRestoreHighlightAfterMove() +SetNavCursorVisibleAfterMove() = igSetNavCursorVisibleAfterMove() """ $(TYPEDSIGNATURES) @@ -10664,7 +10567,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3540). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3382). """ NavUpdateCurrentWindowIsScrollPushableX() = igNavUpdateCurrentWindowIsScrollPushableX() @@ -10674,7 +10577,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3541). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3383). """ SetNavWindow(window::VoidablePtrOrRef{ImGuiWindow}) = igSetNavWindow(window) @@ -10684,7 +10587,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3542). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3384). """ SetNavID( id::Union{ImGuiID,Integer}, @@ -10699,7 +10602,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3543). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3385). """ SetNavFocusScope(focus_scope_id::Union{ImGuiID,Integer}) = igSetNavFocusScope(focus_scope_id) @@ -10711,7 +10614,7 @@ Focus last item (no selection/activation). !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3548). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3390). """ FocusItem() = igFocusItem() @@ -10723,7 +10626,7 @@ Activate an item by ID (button, checkbox, tree node etc.). Activation is queued !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3549). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3391). """ ActivateItemByID(id::Union{ImGuiID,Integer}) = igActivateItemByID(id) @@ -10733,7 +10636,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3553). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3395). """ IsNamedKey(key::ImGuiKey) = igIsNamedKey(key) @@ -10743,7 +10646,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3554). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3396). """ IsNamedKeyOrMod(key::ImGuiKey) = igIsNamedKeyOrMod(key) @@ -10753,7 +10656,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3555). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3397). """ IsLegacyKey(key::ImGuiKey) = igIsLegacyKey(key) @@ -10763,7 +10666,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3556). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3398). """ IsKeyboardKey(key::ImGuiKey) = igIsKeyboardKey(key) @@ -10773,7 +10676,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3557). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3399). """ IsGamepadKey(key::ImGuiKey) = igIsGamepadKey(key) @@ -10783,7 +10686,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3558). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3400). """ IsMouseKey(key::ImGuiKey) = igIsMouseKey(key) @@ -10793,7 +10696,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3559). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3401). """ IsAliasKey(key::ImGuiKey) = igIsAliasKey(key) @@ -10803,7 +10706,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3560). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3402). """ IsLRModKey(key::ImGuiKey) = igIsLRModKey(key) @@ -10813,7 +10716,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3561). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3403). """ FixupKeyChord(key_chord::Union{ImGuiKeyChord,Integer}) = igFixupKeyChord(key_chord) @@ -10823,7 +10726,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3562). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3404). """ ConvertSingleModFlagToKey(key::ImGuiKey) = igConvertSingleModFlagToKey(key) @@ -10833,7 +10736,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3571). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3413). """ GetKeyData(ctx::VoidablePtrOrRef{ImGuiContext}, key::ImGuiKey) = igGetKeyData_ContextPtr(ctx, key) @@ -10843,7 +10746,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3572). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3414). """ GetKeyData(key::ImGuiKey) = igGetKeyData_Key(key) @@ -10853,7 +10756,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3573). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3415). """ GetKeyChordName(key_chord::Union{ImGuiKeyChord,Integer}) = igGetKeyChordName(key_chord) @@ -10863,7 +10766,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3574). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3416). """ MouseButtonToKey(button::Union{ImGuiMouseButton,ImGuiMouseButton_,Integer}) = igMouseButtonToKey(button) @@ -10873,7 +10776,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3575). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3417). """ IsMouseDragPastThreshold(button::Union{ImGuiMouseButton,ImGuiMouseButton_,Integer}, lock_threshold = -1.0f0) = igIsMouseDragPastThreshold(button, lock_threshold) @@ -10884,7 +10787,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3576). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3418). """ function GetKeyMagnitude2d(key_left::ImGuiKey, key_right::ImGuiKey, key_up::ImGuiKey, key_down::ImGuiKey) pOut = Ref{ImVec2}() @@ -10898,7 +10801,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3577). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3419). """ GetNavTweakPressedAmount(axis::ImGuiAxis) = igGetNavTweakPressedAmount(axis) @@ -10908,7 +10811,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3578). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3420). """ CalcTypematicRepeatAmount(t0, t1, repeat_delay, repeat_rate) = igCalcTypematicRepeatAmount(t0, t1, repeat_delay, repeat_rate) @@ -10919,7 +10822,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3579). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3421). """ GetTypematicRepeatRate(flags::Union{ImGuiInputFlags,ImGuiInputFlags_,Integer}, repeat_delay, repeat_rate) = igGetTypematicRepeatRate(flags, repeat_delay, repeat_rate) @@ -10930,7 +10833,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3580). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3422). """ TeleportMousePos(pos::Union{ImVec2,NTuple{2}}) = igTeleportMousePos(pos) @@ -10940,7 +10843,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3581). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3423). """ SetActiveIdUsingAllKeyboardKeys() = igSetActiveIdUsingAllKeyboardKeys() @@ -10950,7 +10853,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3582). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3424). """ IsActiveIdUsingNavDir(dir::ImGuiDir) = igIsActiveIdUsingNavDir(dir) @@ -10960,7 +10863,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3595). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3437). """ GetKeyOwner(key::ImGuiKey) = igGetKeyOwner(key) @@ -10970,7 +10873,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3596). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3438). """ SetKeyOwner( key::ImGuiKey, @@ -10984,7 +10887,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3597). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3439). """ SetKeyOwnersForKeyChord( key::Union{ImGuiKeyChord,Integer}, @@ -11000,7 +10903,7 @@ Set key owner to last item if it is hovered or active. Equivalent to 'if (IsItem !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3598). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3440). """ SetItemKeyOwner(key::ImGuiKey, flags::Union{ImGuiInputFlags,ImGuiInputFlags_,Integer}) = igSetItemKeyOwner_InputFlags(key, flags) @@ -11013,7 +10916,7 @@ Test that key is either not owned, either owned by 'owner_id'. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3599). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3441). """ TestKeyOwner(key::ImGuiKey, owner_id::Union{ImGuiID,Integer}) = igTestKeyOwner(key, owner_id) @@ -11023,7 +10926,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3600). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3442). """ GetKeyOwnerData(ctx::VoidablePtrOrRef{ImGuiContext}, key::ImGuiKey) = igGetKeyOwnerData(ctx, key) @@ -11033,7 +10936,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3608). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3450). """ IsKeyDown(key::ImGuiKey, owner_id::Union{ImGuiID,Integer}) = igIsKeyDown_ID(key, owner_id) @@ -11045,7 +10948,7 @@ Important: when transitioning from old to new IsKeyPressed(): old API has "bool !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3609). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3451). """ IsKeyPressed( key::ImGuiKey, @@ -11059,7 +10962,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3610). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3452). """ IsKeyReleased(key::ImGuiKey, owner_id::Union{ImGuiID,Integer}) = igIsKeyReleased_ID(key, owner_id) @@ -11069,7 +10972,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3611). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3453). """ IsKeyChordPressed( key_chord::Union{ImGuiKeyChord,Integer}, @@ -11083,7 +10986,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3612). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3454). """ IsMouseDown(button::Union{ImGuiMouseButton,ImGuiMouseButton_,Integer}, owner_id::Union{ImGuiID,Integer}) = igIsMouseDown_ID(button, owner_id) @@ -11094,7 +10997,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3613). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3455). """ IsMouseClicked( button::Union{ImGuiMouseButton,ImGuiMouseButton_,Integer}, @@ -11108,7 +11011,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3614). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3456). """ IsMouseReleased(button::Union{ImGuiMouseButton,ImGuiMouseButton_,Integer}, owner_id::Union{ImGuiID,Integer}) = igIsMouseReleased_ID(button, owner_id) @@ -11119,7 +11022,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3615). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3457). """ IsMouseDoubleClicked(button::Union{ImGuiMouseButton,ImGuiMouseButton_,Integer}, owner_id::Union{ImGuiID,Integer}) = igIsMouseDoubleClicked_ID(button, owner_id) @@ -11130,7 +11033,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3631). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3473). """ Shortcut( key_chord::Union{ImGuiKeyChord,Integer}, @@ -11146,7 +11049,7 @@ Owner_id needs to be explicit and cannot be 0. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3632). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3474). """ SetShortcutRouting( key_chord::Union{ImGuiKeyChord,Integer}, @@ -11160,7 +11063,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3633). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3475). """ TestShortcutRouting(key_chord::Union{ImGuiKeyChord,Integer}, owner_id::Union{ImGuiID,Integer}) = igTestShortcutRouting(key_chord, owner_id) @@ -11171,7 +11074,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3634). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3476). """ GetShortcutRoutingData(key_chord::Union{ImGuiKeyChord,Integer}) = igGetShortcutRoutingData(key_chord) @@ -11181,7 +11084,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3638). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3480). """ DockContextInitialize(ctx::VoidablePtrOrRef{ImGuiContext}) = igDockContextInitialize(ctx) @@ -11191,7 +11094,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3639). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3481). """ DockContextShutdown(ctx::VoidablePtrOrRef{ImGuiContext}) = igDockContextShutdown(ctx) @@ -11203,7 +11106,7 @@ Use root_id==0 to clear all. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3640). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3482). """ DockContextClearNodes(ctx::VoidablePtrOrRef{ImGuiContext}, root_id::Union{ImGuiID,Integer}, clear_settings_refs) = igDockContextClearNodes(ctx, root_id, clear_settings_refs) @@ -11214,7 +11117,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3641). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3483). """ DockContextRebuildNodes(ctx::VoidablePtrOrRef{ImGuiContext}) = igDockContextRebuildNodes(ctx) @@ -11224,7 +11127,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3642). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3484). """ DockContextNewFrameUpdateUndocking(ctx::VoidablePtrOrRef{ImGuiContext}) = igDockContextNewFrameUpdateUndocking(ctx) @@ -11234,7 +11137,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3643). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3485). """ DockContextNewFrameUpdateDocking(ctx::VoidablePtrOrRef{ImGuiContext}) = igDockContextNewFrameUpdateDocking(ctx) @@ -11244,7 +11147,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3644). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3486). """ DockContextEndFrame(ctx::VoidablePtrOrRef{ImGuiContext}) = igDockContextEndFrame(ctx) @@ -11254,7 +11157,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3645). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3487). """ DockContextGenNodeID(ctx::VoidablePtrOrRef{ImGuiContext}) = igDockContextGenNodeID(ctx) @@ -11264,7 +11167,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3646). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3488). """ DockContextQueueDock( ctx::VoidablePtrOrRef{ImGuiContext}, @@ -11282,7 +11185,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3647). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3489). """ DockContextQueueUndockWindow(ctx::VoidablePtrOrRef{ImGuiContext}, window::VoidablePtrOrRef{ImGuiWindow}) = igDockContextQueueUndockWindow(ctx, window) @@ -11293,7 +11196,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3648). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3490). """ DockContextQueueUndockNode(ctx::VoidablePtrOrRef{ImGuiContext}, node::VoidablePtrOrRef{ImGuiDockNode}) = igDockContextQueueUndockNode(ctx, node) @@ -11304,7 +11207,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3649). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3491). """ DockContextProcessUndockWindow( ctx::VoidablePtrOrRef{ImGuiContext}, @@ -11318,7 +11221,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3650). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3492). """ DockContextProcessUndockNode(ctx::VoidablePtrOrRef{ImGuiContext}, node::VoidablePtrOrRef{ImGuiDockNode}) = igDockContextProcessUndockNode(ctx, node) @@ -11329,7 +11232,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3651). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3493). """ DockContextCalcDropPosForDocking( target::VoidablePtrOrRef{ImGuiWindow}, @@ -11355,7 +11258,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3652). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3494). """ DockContextFindNodeByID(ctx::VoidablePtrOrRef{ImGuiContext}, id::Union{ImGuiID,Integer}) = igDockContextFindNodeByID(ctx, id) @@ -11366,7 +11269,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3653). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3495). """ DockNodeWindowMenuHandler_Default( ctx::VoidablePtrOrRef{ImGuiContext}, @@ -11380,7 +11283,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3654). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3496). """ DockNodeBeginAmendTabBar(node::VoidablePtrOrRef{ImGuiDockNode}) = igDockNodeBeginAmendTabBar(node) @@ -11390,7 +11293,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3655). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3497). """ DockNodeEndAmendTabBar() = igDockNodeEndAmendTabBar() @@ -11400,7 +11303,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3656). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3498). """ DockNodeGetRootNode(node::VoidablePtrOrRef{ImGuiDockNode}) = igDockNodeGetRootNode(node) @@ -11410,7 +11313,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3657). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3499). """ DockNodeIsInHierarchyOf(node::VoidablePtrOrRef{ImGuiDockNode}, parent::VoidablePtrOrRef{ImGuiDockNode}) = igDockNodeIsInHierarchyOf(node, parent) @@ -11421,7 +11324,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3658). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3500). """ DockNodeGetDepth(node::VoidablePtrOrRef{ImGuiDockNode}) = igDockNodeGetDepth(node) @@ -11431,7 +11334,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3659). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3501). """ DockNodeGetWindowMenuButtonId(node::VoidablePtrOrRef{ImGuiDockNode}) = igDockNodeGetWindowMenuButtonId(node) @@ -11441,7 +11344,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3660). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3502). """ GetWindowDockNode() = igGetWindowDockNode() @@ -11451,7 +11354,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3661). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3503). """ GetWindowAlwaysWantOwnTabBar(window::VoidablePtrOrRef{ImGuiWindow}) = igGetWindowAlwaysWantOwnTabBar(window) @@ -11461,7 +11364,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3662). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3504). """ BeginDocked(window::VoidablePtrOrRef{ImGuiWindow}, p_open) = igBeginDocked(window, p_open) @@ -11471,7 +11374,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3663). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3505). """ BeginDockableDragDropSource(window::VoidablePtrOrRef{ImGuiWindow}) = igBeginDockableDragDropSource(window) @@ -11481,7 +11384,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3664). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3506). """ BeginDockableDragDropTarget(window::VoidablePtrOrRef{ImGuiWindow}) = igBeginDockableDragDropTarget(window) @@ -11491,7 +11394,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3665). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3507). """ SetWindowDock( window::VoidablePtrOrRef{ImGuiWindow}, @@ -11505,7 +11408,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3676). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3518). """ DockBuilderDockWindow(window_name, node_id::Union{ImGuiID,Integer}) = igDockBuilderDockWindow(window_name, node_id) @@ -11515,7 +11418,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3677). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3519). """ DockBuilderGetNode(node_id::Union{ImGuiID,Integer}) = igDockBuilderGetNode(node_id) @@ -11525,7 +11428,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3678). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3520). """ DockBuilderGetCentralNode(node_id::Union{ImGuiID,Integer}) = igDockBuilderGetCentralNode(node_id) @@ -11535,7 +11438,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3679). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3521). """ DockBuilderAddNode( node_id::Union{ImGuiID,Integer} = 0, @@ -11550,7 +11453,7 @@ Remove node and all its child, undock all windows. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3680). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3522). """ DockBuilderRemoveNode(node_id::Union{ImGuiID,Integer}) = igDockBuilderRemoveNode(node_id) @@ -11560,7 +11463,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3681). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3523). """ DockBuilderRemoveNodeDockedWindows(node_id::Union{ImGuiID,Integer}, clear_settings_refs = true) = igDockBuilderRemoveNodeDockedWindows(node_id, clear_settings_refs) @@ -11573,7 +11476,7 @@ Remove all split/hierarchy. All remaining docked windows will be re-docked to th !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3682). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3524). """ DockBuilderRemoveNodeChildNodes(node_id::Union{ImGuiID,Integer}) = igDockBuilderRemoveNodeChildNodes(node_id) @@ -11583,7 +11486,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3683). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3525). """ DockBuilderSetNodePos(node_id::Union{ImGuiID,Integer}, pos::Union{ImVec2,NTuple{2}}) = igDockBuilderSetNodePos(node_id, pos) @@ -11594,7 +11497,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3684). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3526). """ DockBuilderSetNodeSize(node_id::Union{ImGuiID,Integer}, size::Union{ImVec2,NTuple{2}}) = igDockBuilderSetNodeSize(node_id, size) @@ -11607,7 +11510,7 @@ Create 2 child nodes in this parent node. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3685). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3527). """ DockBuilderSplitNode( node_id::Union{ImGuiID,Integer}, @@ -11623,7 +11526,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3686). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3528). """ DockBuilderCopyDockSpace( src_dockspace_id::Union{ImGuiID,Integer}, @@ -11637,7 +11540,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3687). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3529). """ DockBuilderCopyNode( src_node_id::Union{ImGuiID,Integer}, @@ -11651,7 +11554,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3688). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3530). """ DockBuilderCopyWindowSettings(src_name, dst_name) = igDockBuilderCopyWindowSettings(src_name, dst_name) @@ -11661,7 +11564,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3689). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3531). """ DockBuilderFinish(node_id::Union{ImGuiID,Integer}) = igDockBuilderFinish(node_id) @@ -11671,7 +11574,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3699). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3541). """ PushFocusScope(id::Union{ImGuiID,Integer}) = igPushFocusScope(id) @@ -11681,7 +11584,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3700). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3542). """ PopFocusScope() = igPopFocusScope() @@ -11693,7 +11596,7 @@ Focus scope we are outputting into, set by PushFocusScope(). !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3701). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3543). """ GetCurrentFocusScope() = igGetCurrentFocusScope() @@ -11703,7 +11606,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3704). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3546). """ IsDragDropActive() = igIsDragDropActive() @@ -11713,7 +11616,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3705). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3547). """ BeginDragDropTargetCustom(bb::ImRect, id::Union{ImGuiID,Integer}) = igBeginDragDropTargetCustom(bb, id) @@ -11723,7 +11626,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3706). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3548). """ ClearDragDrop() = igClearDragDrop() @@ -11733,7 +11636,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3707). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3549). """ IsDragDropPayloadBeingAccepted() = igIsDragDropPayloadBeingAccepted() @@ -11743,7 +11646,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3708). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3550). """ RenderDragDropTargetRect(bb::ImRect, item_clip_rect::ImRect) = igRenderDragDropTargetRect(bb, item_clip_rect) @@ -11753,7 +11656,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3711). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3555). """ GetTypingSelectRequest( flags::Union{ImGuiTypingSelectFlags,ImGuiTypingSelectFlags_,Integer} = ImGuiTypingSelectFlags_None, @@ -11765,7 +11668,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3712). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3556). """ TypingSelectFindMatch( req::VoidablePtrOrRef{ImGuiTypingSelectRequest}, @@ -11781,7 +11684,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3713). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3557). """ TypingSelectFindNextSingleCharMatch( req::VoidablePtrOrRef{ImGuiTypingSelectRequest}, @@ -11797,7 +11700,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3714). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3558). """ TypingSelectFindBestLeadingMatch( req::VoidablePtrOrRef{ImGuiTypingSelectRequest}, @@ -11812,7 +11715,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3717). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3561). """ BeginBoxSelect( scope_rect::ImRect, @@ -11827,7 +11730,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3718). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3562). """ EndBoxSelect(scope_rect::ImRect, ms_flags::Union{ImGuiMultiSelectFlags,ImGuiMultiSelectFlags_,Integer}) = igEndBoxSelect(scope_rect, ms_flags) @@ -11838,7 +11741,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3721). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3565). """ MultiSelectItemHeader( id::Union{ImGuiID,Integer}, @@ -11856,7 +11759,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3722). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3566). """ MultiSelectItemFooter(id::Union{ImGuiID,Integer}, p_selected, p_pressed) = igMultiSelectItemFooter(id, p_selected, p_pressed) @@ -11867,7 +11770,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3723). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3567). """ MultiSelectAddSetAll(ms::VoidablePtrOrRef{ImGuiMultiSelectTempData}, selected) = igMultiSelectAddSetAll(ms, selected) @@ -11877,7 +11780,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3724). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3568). """ MultiSelectAddSetRange( ms::VoidablePtrOrRef{ImGuiMultiSelectTempData}, @@ -11893,7 +11796,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3725). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3569). """ GetBoxSelectState(id::Union{ImGuiID,Integer}) = igGetBoxSelectState(id) @@ -11903,7 +11806,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3726). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3570). """ GetMultiSelectState(id::Union{ImGuiID,Integer}) = igGetMultiSelectState(id) @@ -11913,7 +11816,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3729). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3573). """ SetWindowClipRectBeforeSetChannel(window::VoidablePtrOrRef{ImGuiWindow}, clip_rect::ImRect) = igSetWindowClipRectBeforeSetChannel(window, clip_rect) @@ -11926,7 +11829,7 @@ Setup number of columns. use an identifier to distinguish multiple column sets. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3730). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3574). """ BeginColumns(str_id, count, flags::Union{ImGuiOldColumnFlags,ImGuiOldColumnFlags_,Integer} = 0) = igBeginColumns(str_id, count, flags) @@ -11939,7 +11842,7 @@ Close columns. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3731). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3575). """ EndColumns() = igEndColumns() @@ -11949,7 +11852,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3732). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3576). """ PushColumnClipRect(column_index) = igPushColumnClipRect(column_index) @@ -11959,7 +11862,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3733). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3577). """ PushColumnsBackground() = igPushColumnsBackground() @@ -11969,7 +11872,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3734). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3578). """ PopColumnsBackground() = igPopColumnsBackground() @@ -11979,7 +11882,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3735). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3579). """ GetColumnsID(str_id, count) = igGetColumnsID(str_id, count) @@ -11989,7 +11892,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3736). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3580). """ FindOrCreateColumns(window::VoidablePtrOrRef{ImGuiWindow}, id::Union{ImGuiID,Integer}) = igFindOrCreateColumns(window, id) @@ -12000,7 +11903,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3737). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3581). """ GetColumnOffsetFromNorm(columns::VoidablePtrOrRef{ImGuiOldColumns}, offset_norm) = igGetColumnOffsetFromNorm(columns, offset_norm) @@ -12011,7 +11914,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3738). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3582). """ GetColumnNormFromOffset(columns::VoidablePtrOrRef{ImGuiOldColumns}, offset) = igGetColumnNormFromOffset(columns, offset) @@ -12021,7 +11924,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3741). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3585). """ TableOpenContextMenu(column_n = -1) = igTableOpenContextMenu(column_n) @@ -12031,7 +11934,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3742). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3586). """ TableSetColumnWidth(column_n, width) = igTableSetColumnWidth(column_n, width) @@ -12041,7 +11944,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3743). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3587). """ TableSetColumnSortDirection(column_n, sort_direction::ImGuiSortDirection, append_to_sort_specs) = igTableSetColumnSortDirection(column_n, sort_direction, append_to_sort_specs) @@ -12054,7 +11957,7 @@ Retrieve *PREVIOUS FRAME* hovered row. This difference with TableGetHoveredColum !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3744). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3588). """ TableGetHoveredRow() = igTableGetHoveredRow() @@ -12064,7 +11967,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3745). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3589). """ TableGetHeaderRowHeight() = igTableGetHeaderRowHeight() @@ -12074,7 +11977,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3746). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3590). """ TableGetHeaderAngledMaxLabelWidth() = igTableGetHeaderAngledMaxLabelWidth() @@ -12084,7 +11987,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3747). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3591). """ TablePushBackgroundChannel() = igTablePushBackgroundChannel() @@ -12094,7 +11997,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3748). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3592). """ TablePopBackgroundChannel() = igTablePopBackgroundChannel() @@ -12104,7 +12007,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3749). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3593). """ TableAngledHeadersRowEx( row_id::Union{ImGuiID,Integer}, @@ -12120,7 +12023,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3752). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3596). """ GetCurrentTable() = igGetCurrentTable() @@ -12130,7 +12033,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3753). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3597). """ TableFindByID(id::Union{ImGuiID,Integer}) = igTableFindByID(id) @@ -12140,7 +12043,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3754). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3598). """ BeginTableEx( name, @@ -12157,7 +12060,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3755). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3599). """ TableBeginInitMemory(table::VoidablePtrOrRef{ImGuiTable}, columns_count) = igTableBeginInitMemory(table, columns_count) @@ -12167,7 +12070,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3756). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3600). """ TableBeginApplyRequests(table::VoidablePtrOrRef{ImGuiTable}) = igTableBeginApplyRequests(table) @@ -12177,7 +12080,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3757). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3601). """ TableSetupDrawChannels(table::VoidablePtrOrRef{ImGuiTable}) = igTableSetupDrawChannels(table) @@ -12187,7 +12090,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3758). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3602). """ TableUpdateLayout(table::VoidablePtrOrRef{ImGuiTable}) = igTableUpdateLayout(table) @@ -12197,7 +12100,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3759). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3603). """ TableUpdateBorders(table::VoidablePtrOrRef{ImGuiTable}) = igTableUpdateBorders(table) @@ -12207,7 +12110,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3760). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3604). """ TableUpdateColumnsWeightFromWidth(table::VoidablePtrOrRef{ImGuiTable}) = igTableUpdateColumnsWeightFromWidth(table) @@ -12217,7 +12120,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3761). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3605). """ TableDrawBorders(table::VoidablePtrOrRef{ImGuiTable}) = igTableDrawBorders(table) @@ -12227,7 +12130,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3762). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3606). """ TableDrawDefaultContextMenu( table::VoidablePtrOrRef{ImGuiTable}, @@ -12240,7 +12143,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3763). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3607). """ TableBeginContextMenuPopup(table::VoidablePtrOrRef{ImGuiTable}) = igTableBeginContextMenuPopup(table) @@ -12250,7 +12153,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3764). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3608). """ TableMergeDrawChannels(table::VoidablePtrOrRef{ImGuiTable}) = igTableMergeDrawChannels(table) @@ -12260,7 +12163,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3765). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3609). """ TableGetInstanceData(table::VoidablePtrOrRef{ImGuiTable}, instance_no) = igTableGetInstanceData(table, instance_no) @@ -12270,7 +12173,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3766). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3610). """ TableGetInstanceID(table::VoidablePtrOrRef{ImGuiTable}, instance_no) = igTableGetInstanceID(table, instance_no) @@ -12280,7 +12183,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3767). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3611). """ TableSortSpecsSanitize(table::VoidablePtrOrRef{ImGuiTable}) = igTableSortSpecsSanitize(table) @@ -12290,7 +12193,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3768). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3612). """ TableSortSpecsBuild(table::VoidablePtrOrRef{ImGuiTable}) = igTableSortSpecsBuild(table) @@ -12300,7 +12203,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3769). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3613). """ TableGetColumnNextSortDirection(column::VoidablePtrOrRef{ImGuiTableColumn}) = igTableGetColumnNextSortDirection(column) @@ -12310,7 +12213,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3770). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3614). """ TableFixColumnSortDirection(table::VoidablePtrOrRef{ImGuiTable}, column::VoidablePtrOrRef{ImGuiTableColumn}) = igTableFixColumnSortDirection(table, column) @@ -12321,7 +12224,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3771). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3615). """ TableGetColumnWidthAuto(table::VoidablePtrOrRef{ImGuiTable}, column::VoidablePtrOrRef{ImGuiTableColumn}) = igTableGetColumnWidthAuto(table, column) @@ -12332,7 +12235,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3772). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3616). """ TableBeginRow(table::VoidablePtrOrRef{ImGuiTable}) = igTableBeginRow(table) @@ -12342,7 +12245,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3773). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3617). """ TableEndRow(table::VoidablePtrOrRef{ImGuiTable}) = igTableEndRow(table) @@ -12352,7 +12255,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3774). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3618). """ TableBeginCell(table::VoidablePtrOrRef{ImGuiTable}, column_n) = igTableBeginCell(table, column_n) @@ -12362,7 +12265,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3775). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3619). """ TableEndCell(table::VoidablePtrOrRef{ImGuiTable}) = igTableEndCell(table) @@ -12372,7 +12275,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3776). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3620). """ function TableGetCellBgRect(table::VoidablePtrOrRef{ImGuiTable}, column_n) pOut = Ref{ImRect}() @@ -12386,7 +12289,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3777). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3621). """ TableGetColumnName(table::VoidablePtrOrRef{ImGuiTable}, column_n::Integer) = igTableGetColumnName_TablePtr(table, column_n) @@ -12397,7 +12300,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3778). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3622). """ TableGetColumnResizeID(table::VoidablePtrOrRef{ImGuiTable}, column_n, instance_no = 0) = igTableGetColumnResizeID(table, column_n, instance_no) @@ -12408,7 +12311,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3779). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3623). """ TableCalcMaxColumnWidth(table::VoidablePtrOrRef{ImGuiTable}, column_n) = igTableCalcMaxColumnWidth(table, column_n) @@ -12418,7 +12321,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3780). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3624). """ TableSetColumnWidthAutoSingle(table::VoidablePtrOrRef{ImGuiTable}, column_n) = igTableSetColumnWidthAutoSingle(table, column_n) @@ -12429,7 +12332,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3781). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3625). """ TableSetColumnWidthAutoAll(table::VoidablePtrOrRef{ImGuiTable}) = igTableSetColumnWidthAutoAll(table) @@ -12439,7 +12342,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3782). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3626). """ TableRemove(table::VoidablePtrOrRef{ImGuiTable}) = igTableRemove(table) @@ -12449,7 +12352,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3783). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3627). """ TableGcCompactTransientBuffers(table::PtrOrRef{ImGuiTable}) = igTableGcCompactTransientBuffers_TablePtr(table) @@ -12459,7 +12362,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3784). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3628). """ TableGcCompactTransientBuffers(table::PtrOrRef{ImGuiTableTempData}) = igTableGcCompactTransientBuffers_TableTempDataPtr(table) @@ -12470,7 +12373,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3785). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3629). """ TableGcCompactSettings() = igTableGcCompactSettings() @@ -12480,7 +12383,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3788). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3632). """ TableLoadSettings(table::VoidablePtrOrRef{ImGuiTable}) = igTableLoadSettings(table) @@ -12490,7 +12393,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3789). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3633). """ TableSaveSettings(table::VoidablePtrOrRef{ImGuiTable}) = igTableSaveSettings(table) @@ -12500,7 +12403,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3790). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3634). """ TableResetSettings(table::VoidablePtrOrRef{ImGuiTable}) = igTableResetSettings(table) @@ -12510,7 +12413,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3791). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3635). """ TableGetBoundSettings(table::VoidablePtrOrRef{ImGuiTable}) = igTableGetBoundSettings(table) @@ -12520,7 +12423,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3792). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3636). """ TableSettingsAddSettingsHandler() = igTableSettingsAddSettingsHandler() @@ -12530,7 +12433,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3793). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3637). """ TableSettingsCreate(id::Union{ImGuiID,Integer}, columns_count) = igTableSettingsCreate(id, columns_count) @@ -12540,7 +12443,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3794). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3638). """ TableSettingsFindByID(id::Union{ImGuiID,Integer}) = igTableSettingsFindByID(id) @@ -12550,7 +12453,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3797). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3641). """ GetCurrentTabBar() = igGetCurrentTabBar() @@ -12560,7 +12463,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3798). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3642). """ BeginTabBarEx( tab_bar::VoidablePtrOrRef{ImGuiTabBar}, @@ -12574,7 +12477,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3799). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3643). """ TabBarFindTabByID(tab_bar::VoidablePtrOrRef{ImGuiTabBar}, tab_id::Union{ImGuiID,Integer}) = igTabBarFindTabByID(tab_bar, tab_id) @@ -12585,7 +12488,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3800). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3644). """ TabBarFindTabByOrder(tab_bar::VoidablePtrOrRef{ImGuiTabBar}, order) = igTabBarFindTabByOrder(tab_bar, order) @@ -12595,7 +12498,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3801). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3645). """ TabBarFindMostRecentlySelectedTabForActiveWindow(tab_bar::VoidablePtrOrRef{ImGuiTabBar}) = igTabBarFindMostRecentlySelectedTabForActiveWindow(tab_bar) @@ -12606,7 +12509,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3802). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3646). """ TabBarGetCurrentTab(tab_bar::VoidablePtrOrRef{ImGuiTabBar}) = igTabBarGetCurrentTab(tab_bar) @@ -12616,7 +12519,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3803). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3647). """ TabBarGetTabOrder(tab_bar::VoidablePtrOrRef{ImGuiTabBar}, tab::VoidablePtrOrRef{ImGuiTabItem}) = igTabBarGetTabOrder(tab_bar, tab) @@ -12627,7 +12530,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3804). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3648). """ TabBarGetTabName(tab_bar::VoidablePtrOrRef{ImGuiTabBar}, tab::VoidablePtrOrRef{ImGuiTabItem}) = igTabBarGetTabName(tab_bar, tab) @@ -12638,7 +12541,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3805). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3649). """ TabBarAddTab( tab_bar::VoidablePtrOrRef{ImGuiTabBar}, @@ -12652,7 +12555,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3806). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3650). """ TabBarRemoveTab(tab_bar::VoidablePtrOrRef{ImGuiTabBar}, tab_id::Union{ImGuiID,Integer}) = igTabBarRemoveTab(tab_bar, tab_id) @@ -12663,7 +12566,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3807). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3651). """ TabBarCloseTab(tab_bar::VoidablePtrOrRef{ImGuiTabBar}, tab::VoidablePtrOrRef{ImGuiTabItem}) = igTabBarCloseTab(tab_bar, tab) @@ -12674,10 +12577,21 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3808). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3652). +""" +TabBarQueueFocus(tab_bar::VoidablePtrOrRef{ImGuiTabBar}, tab::PtrOrRef{ImGuiTabItem}) = + igTabBarQueueFocus_TabItemPtr(tab_bar, tab) + +""" +$(TYPEDSIGNATURES) + +!!! warning + This function is internal, it may change in the future. + +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3653). """ -TabBarQueueFocus(tab_bar::VoidablePtrOrRef{ImGuiTabBar}, tab::VoidablePtrOrRef{ImGuiTabItem}) = - igTabBarQueueFocus(tab_bar, tab) +TabBarQueueFocus(tab_bar::VoidablePtrOrRef{ImGuiTabBar}, tab_name::Union{String,Ptr{Cchar}}) = + igTabBarQueueFocus_Str(tab_bar, tab_name) """ $(TYPEDSIGNATURES) @@ -12685,7 +12599,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3809). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3654). """ TabBarQueueReorder(tab_bar::VoidablePtrOrRef{ImGuiTabBar}, tab::VoidablePtrOrRef{ImGuiTabItem}, offset) = igTabBarQueueReorder(tab_bar, tab, offset) @@ -12696,7 +12610,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3810). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3655). """ TabBarQueueReorderFromMousePos( tab_bar::VoidablePtrOrRef{ImGuiTabBar}, @@ -12710,7 +12624,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3811). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3656). """ TabBarProcessReorder(tab_bar::VoidablePtrOrRef{ImGuiTabBar}) = igTabBarProcessReorder(tab_bar) @@ -12720,7 +12634,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3812). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3657). """ TabItemEx( tab_bar::VoidablePtrOrRef{ImGuiTabBar}, @@ -12736,7 +12650,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3813). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3658). """ function TabItemCalcSize(label::Union{String,Ptr{Cchar}}, has_close_button_or_unsaved_marker::Bool) pOut = Ref{ImVec2}() @@ -12750,7 +12664,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3814). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3659). """ function TabItemCalcSize(window::VoidablePtrOrRef{ImGuiWindow}) pOut = Ref{ImVec2}() @@ -12764,7 +12678,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3815). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3660). """ TabItemBackground( draw_list::VoidablePtrOrRef{ImDrawList}, @@ -12779,7 +12693,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3816). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3661). """ TabItemLabelAndCloseButton( draw_list::VoidablePtrOrRef{ImDrawList}, @@ -12811,7 +12725,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3821). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3666). """ RenderText(pos::Union{ImVec2,NTuple{2}}, text, text_end = C_NULL, hide_text_after_hash = true) = igRenderText(pos, text, text_end, hide_text_after_hash) @@ -12822,7 +12736,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3822). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3667). """ RenderTextWrapped(pos::Union{ImVec2,NTuple{2}}, text, text_end, wrap_width) = igRenderTextWrapped(pos, text, text_end, wrap_width) @@ -12833,7 +12747,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3823). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3668). """ RenderTextClipped( pos_min::Union{ImVec2,NTuple{2}}, @@ -12851,7 +12765,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3824). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3669). """ RenderTextClippedEx( draw_list::VoidablePtrOrRef{ImDrawList}, @@ -12870,7 +12784,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3825). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3670). """ RenderTextEllipsis( draw_list::VoidablePtrOrRef{ImDrawList}, @@ -12889,7 +12803,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3826). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3671). """ RenderFrame( p_min::Union{ImVec2,NTuple{2}}, @@ -12905,7 +12819,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3827). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3672). """ RenderFrameBorder(p_min::Union{ImVec2,NTuple{2}}, p_max::Union{ImVec2,NTuple{2}}, rounding = 0.0f0) = igRenderFrameBorder(p_min, p_max, rounding) @@ -12916,7 +12830,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3828). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3673). """ RenderColorRectWithAlphaCheckerboard( draw_list::VoidablePtrOrRef{ImDrawList}, @@ -12937,13 +12851,13 @@ Navigation highlight. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3829). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3674). """ -RenderNavHighlight( +RenderNavCursor( bb::ImRect, id::Union{ImGuiID,Integer}, - flags::Union{ImGuiNavHighlightFlags,ImGuiNavHighlightFlags_,Integer} = ImGuiNavHighlightFlags_None, -) = igRenderNavHighlight(bb, id, flags) + flags::Union{ImGuiNavRenderCursorFlags,ImGuiNavRenderCursorFlags_,Integer} = ImGuiNavRenderCursorFlags_None, +) = igRenderNavCursor(bb, id, flags) """ $(TYPEDSIGNATURES) @@ -12953,7 +12867,7 @@ Find the optional ## from which we stop displaying text. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3830). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3678). """ FindRenderedTextEnd(text, text_end = C_NULL) = igFindRenderedTextEnd(text, text_end) @@ -12963,7 +12877,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3831). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3679). """ RenderMouseCursor( pos::Union{ImVec2,NTuple{2}}, @@ -12980,7 +12894,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3834). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3682). """ RenderArrow( draw_list::VoidablePtrOrRef{ImDrawList}, @@ -12996,7 +12910,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3835). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3683). """ RenderBullet(draw_list::VoidablePtrOrRef{ImDrawList}, pos::Union{ImVec2,NTuple{2}}, col::Union{ImU32,Integer}) = igRenderBullet(draw_list, pos, col) @@ -13007,7 +12921,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3836). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3684). """ RenderCheckMark(draw_list::VoidablePtrOrRef{ImDrawList}, pos::Union{ImVec2,NTuple{2}}, col::Union{ImU32,Integer}, sz) = igRenderCheckMark(draw_list, pos, col, sz) @@ -13018,7 +12932,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3837). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3685). """ RenderArrowPointingAt( draw_list::VoidablePtrOrRef{ImDrawList}, @@ -13034,7 +12948,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3838). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3686). """ RenderArrowDockMenu( draw_list::VoidablePtrOrRef{ImDrawList}, @@ -13049,7 +12963,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3839). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3687). """ RenderRectFilledRangeH( draw_list::VoidablePtrOrRef{ImDrawList}, @@ -13066,7 +12980,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3840). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3688). """ RenderRectFilledWithHole( draw_list::VoidablePtrOrRef{ImDrawList}, @@ -13082,7 +12996,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3841). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3689). """ CalcRoundingFlagsForRectInRect(r_in::ImRect, r_outer::ImRect, threshold) = igCalcRoundingFlagsForRectInRect(r_in, r_outer, threshold) @@ -13093,7 +13007,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3844). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3692). """ TextEx(text, text_end = C_NULL, flags::Union{ImGuiTextFlags,ImGuiTextFlags_,Integer} = 0) = igTextEx(text, text_end, flags) @@ -13104,7 +13018,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3845). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3693). """ ButtonEx( label, @@ -13118,7 +13032,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3846). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3694). """ ArrowButtonEx( str_id, @@ -13133,18 +13047,18 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3847). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3695). """ ImageButtonEx( id::Union{ImGuiID,Integer}, - texture_id::ImTextureID, + user_texture_id::ImTextureID, image_size::Union{ImVec2,NTuple{2}}, uv0::Union{ImVec2,NTuple{2}}, uv1::Union{ImVec2,NTuple{2}}, bg_col::Union{ImVec4,NTuple{4}}, tint_col::Union{ImVec4,NTuple{4}}, flags::Union{ImGuiButtonFlags,ImGuiButtonFlags_,Integer} = 0, -) = igImageButtonEx(id, texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) +) = igImageButtonEx(id, user_texture_id, image_size, uv0, uv1, bg_col, tint_col, flags) """ $(TYPEDSIGNATURES) @@ -13152,7 +13066,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3848). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3696). """ SeparatorEx(flags::Union{ImGuiSeparatorFlags,ImGuiSeparatorFlags_,Integer}, thickness = 1.0f0) = igSeparatorEx(flags, thickness) @@ -13163,7 +13077,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3849). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3697). """ SeparatorTextEx(id::Union{ImGuiID,Integer}, label, label_end, extra_width) = igSeparatorTextEx(id, label, label_end, extra_width) @@ -13174,7 +13088,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3854). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3702). """ CloseButton(id::Union{ImGuiID,Integer}, pos::Union{ImVec2,NTuple{2}}) = igCloseButton(id, pos) @@ -13184,7 +13098,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3855). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3703). """ CollapseButton(id::Union{ImGuiID,Integer}, pos::Union{ImVec2,NTuple{2}}, dock_node::VoidablePtrOrRef{ImGuiDockNode}) = igCollapseButton(id, pos, dock_node) @@ -13195,7 +13109,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3856). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3704). """ Scrollbar(axis::ImGuiAxis) = igScrollbar(axis) @@ -13205,7 +13119,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3857). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3705). """ ScrollbarEx( bb::ImRect, @@ -13214,8 +13128,8 @@ ScrollbarEx( p_scroll_v::VoidablePtrOrRef{ImS64}, avail_v::ImS64, contents_v::ImS64, - flags::Union{ImDrawFlags,ImDrawFlags_,Integer}, -) = igScrollbarEx(bb, id, axis, p_scroll_v, avail_v, contents_v, flags) + draw_rounding_flags::Union{ImDrawFlags,ImDrawFlags_,Integer} = 0, +) = igScrollbarEx(bb, id, axis, p_scroll_v, avail_v, contents_v, draw_rounding_flags) """ $(TYPEDSIGNATURES) @@ -13223,7 +13137,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3858). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3706). """ function GetWindowScrollbarRect(window::VoidablePtrOrRef{ImGuiWindow}, axis::ImGuiAxis) pOut = Ref{ImRect}() @@ -13237,7 +13151,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3859). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3707). """ GetWindowScrollbarID(window::VoidablePtrOrRef{ImGuiWindow}, axis::ImGuiAxis) = igGetWindowScrollbarID(window, axis) @@ -13249,7 +13163,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3860). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3708). """ GetWindowResizeCornerID(window::VoidablePtrOrRef{ImGuiWindow}, n) = igGetWindowResizeCornerID(window, n) @@ -13259,7 +13173,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3861). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3709). """ GetWindowResizeBorderID(window::VoidablePtrOrRef{ImGuiWindow}, dir::ImGuiDir) = igGetWindowResizeBorderID(window, dir) @@ -13269,7 +13183,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3864). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3712). """ ButtonBehavior( bb::ImRect, @@ -13285,7 +13199,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3865). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3713). """ DragBehavior( id::Union{ImGuiID,Integer}, @@ -13304,7 +13218,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3866). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3714). """ SliderBehavior( bb::ImRect, @@ -13324,7 +13238,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3867). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3715). """ SplitterBehavior( bb::ImRect, @@ -13345,7 +13259,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3870). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3718). """ TreeNodeBehavior( id::Union{ImGuiID,Integer}, @@ -13360,7 +13274,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3871). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3719). """ TreePushOverrideID(id::Union{ImGuiID,Integer}) = igTreePushOverrideID(id) @@ -13370,7 +13284,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3872). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3720). """ TreeNodeGetOpen(storage_id::Union{ImGuiID,Integer}) = igTreeNodeGetOpen(storage_id) @@ -13380,7 +13294,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3873). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3721). """ TreeNodeSetOpen(storage_id::Union{ImGuiID,Integer}, open) = igTreeNodeSetOpen(storage_id, open) @@ -13392,7 +13306,7 @@ Return open state. Consume previous SetNextItemOpen() data, if any. May return t !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3874). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3722). """ TreeNodeUpdateNextOpen( storage_id::Union{ImGuiID,Integer}, @@ -13405,7 +13319,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3887). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3735). """ DataTypeGetInfo(data_type::Union{ImGuiDataType,ImGuiDataType_,Integer}) = igDataTypeGetInfo(data_type) @@ -13415,7 +13329,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3888). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3736). """ DataTypeFormatString(buf, buf_size, data_type::Union{ImGuiDataType,ImGuiDataType_,Integer}, p_data, format) = igDataTypeFormatString(buf, buf_size, data_type, p_data, format) @@ -13426,7 +13340,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3889). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3737). """ DataTypeApplyOp(data_type::Union{ImGuiDataType,ImGuiDataType_,Integer}, op, output, arg_1, arg_2) = igDataTypeApplyOp(data_type, op, output, arg_1, arg_2) @@ -13437,7 +13351,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3890). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3738). """ DataTypeApplyFromText( buf, @@ -13453,7 +13367,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3891). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3739). """ DataTypeCompare(data_type::Union{ImGuiDataType,ImGuiDataType_,Integer}, arg_1, arg_2) = igDataTypeCompare(data_type, arg_1, arg_2) @@ -13464,7 +13378,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3892). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3740). """ DataTypeClamp(data_type::Union{ImGuiDataType,ImGuiDataType_,Integer}, p_data, p_min, p_max) = igDataTypeClamp(data_type, p_data, p_min, p_max) @@ -13475,7 +13389,17 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3895). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3741). +""" +DataTypeIsZero(data_type::Union{ImGuiDataType,ImGuiDataType_,Integer}, p_data) = igDataTypeIsZero(data_type, p_data) + +""" +$(TYPEDSIGNATURES) + +!!! warning + This function is internal, it may change in the future. + +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3744). """ InputTextEx( label, @@ -13494,7 +13418,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3896). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3745). """ InputTextDeactivateHook(id::Union{ImGuiID,Integer}) = igInputTextDeactivateHook(id) @@ -13504,7 +13428,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3897). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3746). """ TempInputText( bb::ImRect, @@ -13521,7 +13445,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3898). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3747). """ TempInputScalar( bb::ImRect, @@ -13540,7 +13464,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3899). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3748). """ TempInputIsActive(id::Union{ImGuiID,Integer}) = igTempInputIsActive(id) @@ -13552,7 +13476,7 @@ Get input text state if active. !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3900). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3749). """ GetInputTextState(id::Union{ImGuiID,Integer}) = igGetInputTextState(id) @@ -13562,7 +13486,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3901). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3750). """ SetNextItemRefVal(data_type::Union{ImGuiDataType,ImGuiDataType_,Integer}, p_data) = igSetNextItemRefVal(data_type, p_data) @@ -13573,7 +13497,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3904). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3753). """ ColorTooltip(text, col, flags::Union{ImGuiColorEditFlags,ImGuiColorEditFlags_,Integer}) = igColorTooltip(text, col, flags) @@ -13584,7 +13508,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3905). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3754). """ ColorEditOptionsPopup(col, flags::Union{ImGuiColorEditFlags,ImGuiColorEditFlags_,Integer}) = igColorEditOptionsPopup(col, flags) @@ -13595,7 +13519,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3906). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3755). """ ColorPickerOptionsPopup(ref_col, flags::Union{ImGuiColorEditFlags,ImGuiColorEditFlags_,Integer}) = igColorPickerOptionsPopup(ref_col, flags) @@ -13606,7 +13530,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3909). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3758). """ PlotEx( plot_type::ImGuiPlotType, @@ -13638,7 +13562,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3912). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3761). """ ShadeVertsLinearColorGradientKeepAlpha( draw_list::VoidablePtrOrRef{ImDrawList}, @@ -13664,7 +13588,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3913). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3762). """ ShadeVertsLinearUV( draw_list::VoidablePtrOrRef{ImDrawList}, @@ -13683,7 +13607,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3914). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3763). """ ShadeVertsTransformPos( draw_list::VoidablePtrOrRef{ImDrawList}, @@ -13701,7 +13625,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3917). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3766). """ GcCompactTransientMiscBuffers() = igGcCompactTransientMiscBuffers() @@ -13711,7 +13635,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3918). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3767). """ GcCompactTransientWindowBuffers(window::VoidablePtrOrRef{ImGuiWindow}) = igGcCompactTransientWindowBuffers(window) @@ -13721,22 +13645,29 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3919). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3768). """ GcAwakeTransientWindowBuffers(window::VoidablePtrOrRef{ImGuiWindow}) = igGcAwakeTransientWindowBuffers(window) """ $(TYPEDSIGNATURES) -Size >= 0 : alloc, size = -1 : free. +!!! warning + This function is internal, it may change in the future. + +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3771). +""" +ErrorLog(msg) = igErrorLog(msg) + +""" +$(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3922). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3772). """ -DebugAllocHook(info::VoidablePtrOrRef{ImGuiDebugAllocInfo}, frame_count, ptr, size) = - igDebugAllocHook(info, frame_count, ptr, size) +ErrorRecoveryStoreState(state_out::VoidablePtrOrRef{ImGuiErrorRecoveryState}) = igErrorRecoveryStoreState(state_out) """ $(TYPEDSIGNATURES) @@ -13744,10 +13675,10 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3923). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3773). """ -ErrorCheckEndFrameRecover(log_callback::Union{ImGuiErrorLogCallback,Base.CFunction,Ptr{Cvoid}}, user_data = C_NULL) = - igErrorCheckEndFrameRecover(log_callback, user_data) +ErrorRecoveryTryToRecoverState(state_in::VoidablePtrOrRef{ImGuiErrorRecoveryState}) = + igErrorRecoveryTryToRecoverState(state_in) """ $(TYPEDSIGNATURES) @@ -13755,10 +13686,10 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3924). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3774). """ -ErrorCheckEndWindowRecover(log_callback::Union{ImGuiErrorLogCallback,Base.CFunction,Ptr{Cvoid}}, user_data = C_NULL) = - igErrorCheckEndWindowRecover(log_callback, user_data) +ErrorRecoveryTryToRecoverWindowState(state_in::VoidablePtrOrRef{ImGuiErrorRecoveryState}) = + igErrorRecoveryTryToRecoverWindowState(state_in) """ $(TYPEDSIGNATURES) @@ -13766,7 +13697,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3925). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3775). """ ErrorCheckUsingSetCursorPosToExtendParentBoundaries() = igErrorCheckUsingSetCursorPosToExtendParentBoundaries() @@ -13776,7 +13707,50 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3926). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3776). +""" +ErrorCheckEndFrameFinalizeErrorTooltip() = igErrorCheckEndFrameFinalizeErrorTooltip() + +""" +$(TYPEDSIGNATURES) + +!!! warning + This function is internal, it may change in the future. + +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3777). +""" +BeginErrorTooltip() = igBeginErrorTooltip() + +""" +$(TYPEDSIGNATURES) + +!!! warning + This function is internal, it may change in the future. + +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3778). +""" +EndErrorTooltip() = igEndErrorTooltip() + +""" +$(TYPEDSIGNATURES) + +Size >= 0 : alloc, size = -1 : free. + +!!! warning + This function is internal, it may change in the future. + +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3781). +""" +DebugAllocHook(info::VoidablePtrOrRef{ImGuiDebugAllocInfo}, frame_count, ptr, size) = + igDebugAllocHook(info, frame_count, ptr, size) + +""" +$(TYPEDSIGNATURES) + +!!! warning + This function is internal, it may change in the future. + +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3782). """ DebugDrawCursorPos(col::Union{ImU32,Integer} = 4278190335) = igDebugDrawCursorPos(col) @@ -13786,7 +13760,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3927). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3783). """ DebugDrawLineExtents(col::Union{ImU32,Integer} = 4278190335) = igDebugDrawLineExtents(col) @@ -13796,7 +13770,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3928). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3784). """ DebugDrawItemRect(col::Union{ImU32,Integer} = 4278190335) = igDebugDrawItemRect(col) @@ -13806,7 +13780,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3929). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3785). """ DebugTextUnformattedWithLocateItem(line_begin, line_end) = igDebugTextUnformattedWithLocateItem(line_begin, line_end) @@ -13818,7 +13792,7 @@ Call sparingly: only 1 at the same time! !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3930). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3786). """ DebugLocateItem(target_id::Union{ImGuiID,Integer}) = igDebugLocateItem(target_id) @@ -13830,7 +13804,7 @@ Only call on reaction to a mouse Hover: because only 1 at the same time! !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3931). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3787). """ DebugLocateItemOnHover(target_id::Union{ImGuiID,Integer}) = igDebugLocateItemOnHover(target_id) @@ -13840,7 +13814,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3932). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3788). """ DebugLocateItemResolveWithLastItem() = igDebugLocateItemResolveWithLastItem() @@ -13850,7 +13824,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3933). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3789). """ DebugBreakClearData() = igDebugBreakClearData() @@ -13860,7 +13834,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3934). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3790). """ DebugBreakButton(label, description_of_location) = igDebugBreakButton(label, description_of_location) @@ -13870,7 +13844,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3935). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3791). """ DebugBreakButtonTooltip(keyboard_only, description_of_location) = igDebugBreakButtonTooltip(keyboard_only, description_of_location) @@ -13881,7 +13855,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3936). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3792). """ ShowFontAtlas(atlas::VoidablePtrOrRef{ImFontAtlas}) = igShowFontAtlas(atlas) @@ -13891,7 +13865,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3937). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3793). """ DebugHookIdInfo( id::Union{ImGuiID,Integer}, @@ -13906,7 +13880,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3938). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3794). """ DebugNodeColumns(columns::VoidablePtrOrRef{ImGuiOldColumns}) = igDebugNodeColumns(columns) @@ -13916,7 +13890,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3939). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3795). """ DebugNodeDockNode(node::VoidablePtrOrRef{ImGuiDockNode}, label) = igDebugNodeDockNode(node, label) @@ -13926,7 +13900,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3940). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3796). """ DebugNodeDrawList( window::VoidablePtrOrRef{ImGuiWindow}, @@ -13941,7 +13915,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3941). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3797). """ DebugNodeDrawCmdShowMeshAndBoundingBox( out_draw_list::VoidablePtrOrRef{ImDrawList}, @@ -13957,7 +13931,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3942). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3798). """ DebugNodeFont(font::VoidablePtrOrRef{ImFont}) = igDebugNodeFont(font) @@ -13967,7 +13941,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3943). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3799). """ DebugNodeFontGlyph(font::VoidablePtrOrRef{ImFont}, glyph::VoidablePtrOrRef{ImFontGlyph}) = igDebugNodeFontGlyph(font, glyph) @@ -13978,7 +13952,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3944). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3800). """ DebugNodeStorage(storage::VoidablePtrOrRef{ImGuiStorage}, label) = igDebugNodeStorage(storage, label) @@ -13988,7 +13962,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3945). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3801). """ DebugNodeTabBar(tab_bar::VoidablePtrOrRef{ImGuiTabBar}, label) = igDebugNodeTabBar(tab_bar, label) @@ -13998,7 +13972,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3946). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3802). """ DebugNodeTable(table::VoidablePtrOrRef{ImGuiTable}) = igDebugNodeTable(table) @@ -14008,7 +13982,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3947). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3803). """ DebugNodeTableSettings(settings::VoidablePtrOrRef{ImGuiTableSettings}) = igDebugNodeTableSettings(settings) @@ -14018,7 +13992,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3948). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3804). """ DebugNodeInputTextState(state::VoidablePtrOrRef{ImGuiInputTextState}) = igDebugNodeInputTextState(state) @@ -14028,7 +14002,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3949). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3805). """ DebugNodeTypingSelectState(state::VoidablePtrOrRef{ImGuiTypingSelectState}) = igDebugNodeTypingSelectState(state) @@ -14038,7 +14012,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3950). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3806). """ DebugNodeMultiSelectState(state::VoidablePtrOrRef{ImGuiMultiSelectState}) = igDebugNodeMultiSelectState(state) @@ -14048,7 +14022,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3951). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3807). """ DebugNodeWindow(window::VoidablePtrOrRef{ImGuiWindow}, label) = igDebugNodeWindow(window, label) @@ -14058,7 +14032,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3952). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3808). """ DebugNodeWindowSettings(settings::VoidablePtrOrRef{ImGuiWindowSettings}) = igDebugNodeWindowSettings(settings) @@ -14068,7 +14042,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3953). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3809). """ DebugNodeWindowsList(windows::VoidablePtrOrRef{ImVector_ImGuiWindowPtr}, label) = igDebugNodeWindowsList(windows, label) @@ -14078,7 +14052,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3955). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3811). """ DebugNodeViewport(viewport::VoidablePtrOrRef{ImGuiViewportP}) = igDebugNodeViewport(viewport) @@ -14088,7 +14062,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3956). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3812). """ DebugNodePlatformMonitor(monitor::VoidablePtrOrRef{ImGuiPlatformMonitor}, label, idx) = igDebugNodePlatformMonitor(monitor, label, idx) @@ -14099,7 +14073,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3957). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3813). """ DebugRenderKeyboardPreview(draw_list::VoidablePtrOrRef{ImDrawList}) = igDebugRenderKeyboardPreview(draw_list) @@ -14109,7 +14083,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3958). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3814). """ DebugRenderViewportThumbnail( draw_list::VoidablePtrOrRef{ImDrawList}, @@ -14123,7 +14097,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3990). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3846). """ ImFontAtlasGetBuilderForStbTruetype() = igImFontAtlasGetBuilderForStbTruetype() @@ -14133,7 +14107,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3992). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3848). """ ImFontAtlasUpdateConfigDataPointers(atlas::VoidablePtrOrRef{ImFontAtlas}) = igImFontAtlasUpdateConfigDataPointers(atlas) @@ -14143,7 +14117,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3993). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3849). """ ImFontAtlasBuildInit(atlas::VoidablePtrOrRef{ImFontAtlas}) = igImFontAtlasBuildInit(atlas) @@ -14153,7 +14127,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3994). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3850). """ ImFontAtlasBuildSetupFont( atlas::VoidablePtrOrRef{ImFontAtlas}, @@ -14169,7 +14143,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3995). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3851). """ ImFontAtlasBuildPackCustomRects(atlas::VoidablePtrOrRef{ImFontAtlas}, stbrp_context_opaque) = igImFontAtlasBuildPackCustomRects(atlas, stbrp_context_opaque) @@ -14180,7 +14154,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3996). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3852). """ ImFontAtlasBuildFinish(atlas::VoidablePtrOrRef{ImFontAtlas}) = igImFontAtlasBuildFinish(atlas) @@ -14190,7 +14164,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3997). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3853). """ ImFontAtlasBuildRender8bppRectFromString( atlas::VoidablePtrOrRef{ImFontAtlas}, @@ -14209,7 +14183,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3998). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3854). """ ImFontAtlasBuildRender32bppRectFromString( atlas::VoidablePtrOrRef{ImFontAtlas}, @@ -14228,7 +14202,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L3999). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3855). """ ImFontAtlasBuildMultiplyCalcLookupTable(out_table, in_multiply_factor) = igImFontAtlasBuildMultiplyCalcLookupTable(out_table, in_multiply_factor) @@ -14239,7 +14213,7 @@ $(TYPEDSIGNATURES) !!! warning This function is internal, it may change in the future. -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui_internal.h#L4000). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui_internal.h#L3856). """ ImFontAtlasBuildMultiplyRectAlpha8(table, pixels, x, y, w, h, stride) = igImFontAtlasBuildMultiplyRectAlpha8(table, pixels, x, y, w, h, stride) @@ -14249,17 +14223,10 @@ $(TYPEDSIGNATURES) Pass text data straight to log (without being displayed). -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L899). +[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.6-docking/imgui.h#L903). """ LogText(fmt) = igLogText(fmt) -""" -$(TYPEDSIGNATURES) - -[Upstream link](https://github.com/ocornut/imgui/blob/v1.91.2-docking/imgui.h#L2674). -""" -Appendf(buffer::VoidablePtrOrRef{ImGuiTextBuffer}, fmt) = ImGuiTextBuffer_appendf(buffer, fmt) - @compat public ( Destroy, CreateContext, @@ -14539,6 +14506,7 @@ Appendf(buffer::VoidablePtrOrRef{ImGuiTextBuffer}, fmt) = ImGuiTextBuffer_append PopClipRect, SetItemDefaultFocus, SetKeyboardFocusHere, + SetNavCursorVisible, SetNextItemAllowOverlap, IsItemHovered, IsItemActive, @@ -14793,5 +14761,4 @@ Appendf(buffer::VoidablePtrOrRef{ImGuiTextBuffer}, fmt) = ImGuiTextBuffer_append GetCenter, GetWorkCenter, LogText, - Appendf, )