mirror of
https://github.com/cimgui/cimgui.git
synced 2025-08-10 20:08:31 +01:00
8024 lines
254 KiB
JSON
8024 lines
254 KiB
JSON
{
|
|
"enums": {
|
|
"ImDrawCornerFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImDrawCornerFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"comment": " // 0x1",
|
|
"name": "ImDrawCornerFlags_TopLeft",
|
|
"value": "1 << 0"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"comment": " // 0x2",
|
|
"name": "ImDrawCornerFlags_TopRight",
|
|
"value": "1 << 1"
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // 0x4",
|
|
"name": "ImDrawCornerFlags_BotLeft",
|
|
"value": "1 << 2"
|
|
},
|
|
{
|
|
"calc_value": 8,
|
|
"comment": " // 0x8",
|
|
"name": "ImDrawCornerFlags_BotRight",
|
|
"value": "1 << 3"
|
|
},
|
|
{
|
|
"calc_value": 3,
|
|
"comment": " // 0x3",
|
|
"name": "ImDrawCornerFlags_Top",
|
|
"value": "ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_TopRight"
|
|
},
|
|
{
|
|
"calc_value": 12,
|
|
"comment": " // 0xC",
|
|
"name": "ImDrawCornerFlags_Bot",
|
|
"value": "ImDrawCornerFlags_BotLeft | ImDrawCornerFlags_BotRight"
|
|
},
|
|
{
|
|
"calc_value": 5,
|
|
"comment": " // 0x5",
|
|
"name": "ImDrawCornerFlags_Left",
|
|
"value": "ImDrawCornerFlags_TopLeft | ImDrawCornerFlags_BotLeft"
|
|
},
|
|
{
|
|
"calc_value": 10,
|
|
"comment": " // 0xA",
|
|
"name": "ImDrawCornerFlags_Right",
|
|
"value": "ImDrawCornerFlags_TopRight | ImDrawCornerFlags_BotRight"
|
|
},
|
|
{
|
|
"calc_value": 15,
|
|
"comment": " // In your function calls you may use ~0 (= all bits sets) instead of ImDrawCornerFlags_All, as a convenience",
|
|
"name": "ImDrawCornerFlags_All",
|
|
"value": "0xF"
|
|
}
|
|
],
|
|
"ImDrawListFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImDrawListFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"comment": " // Enable anti-aliased lines/borders (*2 the number of triangles for 1.0f wide line or lines thin enough to be drawn using textures, otherwise *3 the number of triangles)",
|
|
"name": "ImDrawListFlags_AntiAliasedLines",
|
|
"value": "1 << 0"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"comment": " // Enable anti-aliased lines/borders using textures when possible. Require back-end to render with bilinear filtering.",
|
|
"name": "ImDrawListFlags_AntiAliasedLinesUseTex",
|
|
"value": "1 << 1"
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // Enable anti-aliased edge around filled shapes (rounded rectangles, circles).",
|
|
"name": "ImDrawListFlags_AntiAliasedFill",
|
|
"value": "1 << 2"
|
|
},
|
|
{
|
|
"calc_value": 8,
|
|
"comment": " // Can emit 'VtxOffset > 0' to allow large meshes. Set when 'ImGuiBackendFlags_RendererHasVtxOffset' is enabled.",
|
|
"name": "ImDrawListFlags_AllowVtxOffset",
|
|
"value": "1 << 3"
|
|
}
|
|
],
|
|
"ImFontAtlasFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImFontAtlasFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"comment": " // Don't round the height to next power of two",
|
|
"name": "ImFontAtlasFlags_NoPowerOfTwoHeight",
|
|
"value": "1 << 0"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"comment": " // Don't build software mouse cursors into the atlas (save a little texture memory)",
|
|
"name": "ImFontAtlasFlags_NoMouseCursors",
|
|
"value": "1 << 1"
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // Don't build thick line textures into the atlas (save a little texture memory). The AntiAliasedLinesUseTex features uses them, otherwise they will be rendered using polygons (more expensive for CPU/GPU).",
|
|
"name": "ImFontAtlasFlags_NoBakedLines",
|
|
"value": "1 << 2"
|
|
}
|
|
],
|
|
"ImGuiAxis": [
|
|
{
|
|
"calc_value": -1,
|
|
"name": "ImGuiAxis_None",
|
|
"value": "-1"
|
|
},
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiAxis_X",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"name": "ImGuiAxis_Y",
|
|
"value": "1"
|
|
}
|
|
],
|
|
"ImGuiBackendFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiBackendFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"comment": " // Back-end Platform supports gamepad and currently has one connected.",
|
|
"name": "ImGuiBackendFlags_HasGamepad",
|
|
"value": "1 << 0"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"comment": " // Back-end Platform supports honoring GetMouseCursor() value to change the OS cursor shape.",
|
|
"name": "ImGuiBackendFlags_HasMouseCursors",
|
|
"value": "1 << 1"
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // Back-end Platform supports io.WantSetMousePos requests to reposition the OS mouse position (only used if ImGuiConfigFlags_NavEnableSetMousePos is set).",
|
|
"name": "ImGuiBackendFlags_HasSetMousePos",
|
|
"value": "1 << 2"
|
|
},
|
|
{
|
|
"calc_value": 8,
|
|
"comment": " // Back-end Renderer supports ImDrawCmd::VtxOffset. This enables output of large meshes (64K+ vertices) while still using 16-bit indices.",
|
|
"name": "ImGuiBackendFlags_RendererHasVtxOffset",
|
|
"value": "1 << 3"
|
|
},
|
|
{
|
|
"calc_value": 1024,
|
|
"comment": " // Back-end Platform supports multiple viewports.",
|
|
"name": "ImGuiBackendFlags_PlatformHasViewports",
|
|
"value": "1 << 10"
|
|
},
|
|
{
|
|
"calc_value": 2048,
|
|
"comment": " // Back-end Platform supports setting io.MouseHoveredViewport to the viewport directly under the mouse _IGNORING_ viewports with the ImGuiViewportFlags_NoInputs flag and _REGARDLESS_ of whether another viewport is focused and may be capturing the mouse. This information is _NOT EASY_ to provide correctly with most high-level engines! Don't set this without studying how the examples/ back-end handle it!",
|
|
"name": "ImGuiBackendFlags_HasMouseHoveredViewport",
|
|
"value": "1 << 11"
|
|
},
|
|
{
|
|
"calc_value": 4096,
|
|
"comment": " // Back-end Renderer supports multiple viewports.",
|
|
"name": "ImGuiBackendFlags_RendererHasViewports",
|
|
"value": "1 << 12"
|
|
}
|
|
],
|
|
"ImGuiButtonFlagsPrivate_": [
|
|
{
|
|
"calc_value": 16,
|
|
"comment": " // return true on click (mouse down event)",
|
|
"name": "ImGuiButtonFlags_PressedOnClick",
|
|
"value": "1 << 4"
|
|
},
|
|
{
|
|
"calc_value": 32,
|
|
"comment": " // [Default] return true on click + release on same item <-- this is what the majority of Button are using",
|
|
"name": "ImGuiButtonFlags_PressedOnClickRelease",
|
|
"value": "1 << 5"
|
|
},
|
|
{
|
|
"calc_value": 64,
|
|
"comment": " // return true on click + release even if the release event is not done while hovering the item",
|
|
"name": "ImGuiButtonFlags_PressedOnClickReleaseAnywhere",
|
|
"value": "1 << 6"
|
|
},
|
|
{
|
|
"calc_value": 128,
|
|
"comment": " // return true on release (default requires click+release)",
|
|
"name": "ImGuiButtonFlags_PressedOnRelease",
|
|
"value": "1 << 7"
|
|
},
|
|
{
|
|
"calc_value": 256,
|
|
"comment": " // return true on double-click (default requires click+release)",
|
|
"name": "ImGuiButtonFlags_PressedOnDoubleClick",
|
|
"value": "1 << 8"
|
|
},
|
|
{
|
|
"calc_value": 512,
|
|
"comment": " // return true when held into while we are drag and dropping another item (used by e.g. tree nodes, collapsing headers)",
|
|
"name": "ImGuiButtonFlags_PressedOnDragDropHold",
|
|
"value": "1 << 9"
|
|
},
|
|
{
|
|
"calc_value": 1024,
|
|
"comment": " // hold to repeat",
|
|
"name": "ImGuiButtonFlags_Repeat",
|
|
"value": "1 << 10"
|
|
},
|
|
{
|
|
"calc_value": 2048,
|
|
"comment": " // allow interactions even if a child window is overlapping",
|
|
"name": "ImGuiButtonFlags_FlattenChildren",
|
|
"value": "1 << 11"
|
|
},
|
|
{
|
|
"calc_value": 4096,
|
|
"comment": " // require previous frame HoveredId to either match id or be null before being usable, use along with SetItemAllowOverlap()",
|
|
"name": "ImGuiButtonFlags_AllowItemOverlap",
|
|
"value": "1 << 12"
|
|
},
|
|
{
|
|
"calc_value": 8192,
|
|
"comment": " // disable automatically closing parent popup on press // [UNUSED]",
|
|
"name": "ImGuiButtonFlags_DontClosePopups",
|
|
"value": "1 << 13"
|
|
},
|
|
{
|
|
"calc_value": 16384,
|
|
"comment": " // disable interactions",
|
|
"name": "ImGuiButtonFlags_Disabled",
|
|
"value": "1 << 14"
|
|
},
|
|
{
|
|
"calc_value": 32768,
|
|
"comment": " // vertically align button to match text baseline - ButtonEx() only // FIXME: Should be removed and handled by SmallButton(), not possible currently because of DC.CursorPosPrevLine",
|
|
"name": "ImGuiButtonFlags_AlignTextBaseLine",
|
|
"value": "1 << 15"
|
|
},
|
|
{
|
|
"calc_value": 65536,
|
|
"comment": " // disable mouse interaction if a key modifier is held",
|
|
"name": "ImGuiButtonFlags_NoKeyModifiers",
|
|
"value": "1 << 16"
|
|
},
|
|
{
|
|
"calc_value": 131072,
|
|
"comment": " // don't set ActiveId while holding the mouse (ImGuiButtonFlags_PressedOnClick only)",
|
|
"name": "ImGuiButtonFlags_NoHoldingActiveId",
|
|
"value": "1 << 17"
|
|
},
|
|
{
|
|
"calc_value": 262144,
|
|
"comment": " // don't override navigation focus when activated",
|
|
"name": "ImGuiButtonFlags_NoNavFocus",
|
|
"value": "1 << 18"
|
|
},
|
|
{
|
|
"calc_value": 524288,
|
|
"comment": " // don't report as hovered when nav focus is on this item",
|
|
"name": "ImGuiButtonFlags_NoHoveredOnFocus",
|
|
"value": "1 << 19"
|
|
},
|
|
{
|
|
"calc_value": 1008,
|
|
"name": "ImGuiButtonFlags_PressedOnMask_",
|
|
"value": "ImGuiButtonFlags_PressedOnClick | ImGuiButtonFlags_PressedOnClickRelease | ImGuiButtonFlags_PressedOnClickReleaseAnywhere | ImGuiButtonFlags_PressedOnRelease | ImGuiButtonFlags_PressedOnDoubleClick | ImGuiButtonFlags_PressedOnDragDropHold"
|
|
},
|
|
{
|
|
"calc_value": 32,
|
|
"name": "ImGuiButtonFlags_PressedOnDefault_",
|
|
"value": "ImGuiButtonFlags_PressedOnClickRelease"
|
|
}
|
|
],
|
|
"ImGuiButtonFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiButtonFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"comment": " // React on left mouse button (default)",
|
|
"name": "ImGuiButtonFlags_MouseButtonLeft",
|
|
"value": "1 << 0"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"comment": " // React on right mouse button",
|
|
"name": "ImGuiButtonFlags_MouseButtonRight",
|
|
"value": "1 << 1"
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // React on center mouse button",
|
|
"name": "ImGuiButtonFlags_MouseButtonMiddle",
|
|
"value": "1 << 2"
|
|
},
|
|
{
|
|
"calc_value": 7,
|
|
"name": "ImGuiButtonFlags_MouseButtonMask_",
|
|
"value": "ImGuiButtonFlags_MouseButtonLeft | ImGuiButtonFlags_MouseButtonRight | ImGuiButtonFlags_MouseButtonMiddle"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"name": "ImGuiButtonFlags_MouseButtonDefault_",
|
|
"value": "ImGuiButtonFlags_MouseButtonLeft"
|
|
}
|
|
],
|
|
"ImGuiCol_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiCol_Text",
|
|
"value": 0
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"name": "ImGuiCol_TextDisabled",
|
|
"value": 1
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"comment": " // Background of normal windows",
|
|
"name": "ImGuiCol_WindowBg",
|
|
"value": 2
|
|
},
|
|
{
|
|
"calc_value": 3,
|
|
"comment": " // Background of child windows",
|
|
"name": "ImGuiCol_ChildBg",
|
|
"value": 3
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // Background of popups, menus, tooltips windows",
|
|
"name": "ImGuiCol_PopupBg",
|
|
"value": 4
|
|
},
|
|
{
|
|
"calc_value": 5,
|
|
"name": "ImGuiCol_Border",
|
|
"value": 5
|
|
},
|
|
{
|
|
"calc_value": 6,
|
|
"name": "ImGuiCol_BorderShadow",
|
|
"value": 6
|
|
},
|
|
{
|
|
"calc_value": 7,
|
|
"comment": " // Background of checkbox, radio button, plot, slider, text input",
|
|
"name": "ImGuiCol_FrameBg",
|
|
"value": 7
|
|
},
|
|
{
|
|
"calc_value": 8,
|
|
"name": "ImGuiCol_FrameBgHovered",
|
|
"value": 8
|
|
},
|
|
{
|
|
"calc_value": 9,
|
|
"name": "ImGuiCol_FrameBgActive",
|
|
"value": 9
|
|
},
|
|
{
|
|
"calc_value": 10,
|
|
"name": "ImGuiCol_TitleBg",
|
|
"value": 10
|
|
},
|
|
{
|
|
"calc_value": 11,
|
|
"name": "ImGuiCol_TitleBgActive",
|
|
"value": 11
|
|
},
|
|
{
|
|
"calc_value": 12,
|
|
"name": "ImGuiCol_TitleBgCollapsed",
|
|
"value": 12
|
|
},
|
|
{
|
|
"calc_value": 13,
|
|
"name": "ImGuiCol_MenuBarBg",
|
|
"value": 13
|
|
},
|
|
{
|
|
"calc_value": 14,
|
|
"name": "ImGuiCol_ScrollbarBg",
|
|
"value": 14
|
|
},
|
|
{
|
|
"calc_value": 15,
|
|
"name": "ImGuiCol_ScrollbarGrab",
|
|
"value": 15
|
|
},
|
|
{
|
|
"calc_value": 16,
|
|
"name": "ImGuiCol_ScrollbarGrabHovered",
|
|
"value": 16
|
|
},
|
|
{
|
|
"calc_value": 17,
|
|
"name": "ImGuiCol_ScrollbarGrabActive",
|
|
"value": 17
|
|
},
|
|
{
|
|
"calc_value": 18,
|
|
"name": "ImGuiCol_CheckMark",
|
|
"value": 18
|
|
},
|
|
{
|
|
"calc_value": 19,
|
|
"name": "ImGuiCol_SliderGrab",
|
|
"value": 19
|
|
},
|
|
{
|
|
"calc_value": 20,
|
|
"name": "ImGuiCol_SliderGrabActive",
|
|
"value": 20
|
|
},
|
|
{
|
|
"calc_value": 21,
|
|
"name": "ImGuiCol_Button",
|
|
"value": 21
|
|
},
|
|
{
|
|
"calc_value": 22,
|
|
"name": "ImGuiCol_ButtonHovered",
|
|
"value": 22
|
|
},
|
|
{
|
|
"calc_value": 23,
|
|
"name": "ImGuiCol_ButtonActive",
|
|
"value": 23
|
|
},
|
|
{
|
|
"calc_value": 24,
|
|
"comment": " // Header* colors are used for CollapsingHeader, TreeNode, Selectable, MenuItem",
|
|
"name": "ImGuiCol_Header",
|
|
"value": 24
|
|
},
|
|
{
|
|
"calc_value": 25,
|
|
"name": "ImGuiCol_HeaderHovered",
|
|
"value": 25
|
|
},
|
|
{
|
|
"calc_value": 26,
|
|
"name": "ImGuiCol_HeaderActive",
|
|
"value": 26
|
|
},
|
|
{
|
|
"calc_value": 27,
|
|
"name": "ImGuiCol_Separator",
|
|
"value": 27
|
|
},
|
|
{
|
|
"calc_value": 28,
|
|
"name": "ImGuiCol_SeparatorHovered",
|
|
"value": 28
|
|
},
|
|
{
|
|
"calc_value": 29,
|
|
"name": "ImGuiCol_SeparatorActive",
|
|
"value": 29
|
|
},
|
|
{
|
|
"calc_value": 30,
|
|
"name": "ImGuiCol_ResizeGrip",
|
|
"value": 30
|
|
},
|
|
{
|
|
"calc_value": 31,
|
|
"name": "ImGuiCol_ResizeGripHovered",
|
|
"value": 31
|
|
},
|
|
{
|
|
"calc_value": 32,
|
|
"name": "ImGuiCol_ResizeGripActive",
|
|
"value": 32
|
|
},
|
|
{
|
|
"calc_value": 33,
|
|
"name": "ImGuiCol_Tab",
|
|
"value": 33
|
|
},
|
|
{
|
|
"calc_value": 34,
|
|
"name": "ImGuiCol_TabHovered",
|
|
"value": 34
|
|
},
|
|
{
|
|
"calc_value": 35,
|
|
"name": "ImGuiCol_TabActive",
|
|
"value": 35
|
|
},
|
|
{
|
|
"calc_value": 36,
|
|
"name": "ImGuiCol_TabUnfocused",
|
|
"value": 36
|
|
},
|
|
{
|
|
"calc_value": 37,
|
|
"name": "ImGuiCol_TabUnfocusedActive",
|
|
"value": 37
|
|
},
|
|
{
|
|
"calc_value": 38,
|
|
"comment": " // Preview overlay color when about to docking something",
|
|
"name": "ImGuiCol_DockingPreview",
|
|
"value": 38
|
|
},
|
|
{
|
|
"calc_value": 39,
|
|
"comment": " // Background color for empty node (e.g. CentralNode with no window docked into it)",
|
|
"name": "ImGuiCol_DockingEmptyBg",
|
|
"value": 39
|
|
},
|
|
{
|
|
"calc_value": 40,
|
|
"name": "ImGuiCol_PlotLines",
|
|
"value": 40
|
|
},
|
|
{
|
|
"calc_value": 41,
|
|
"name": "ImGuiCol_PlotLinesHovered",
|
|
"value": 41
|
|
},
|
|
{
|
|
"calc_value": 42,
|
|
"name": "ImGuiCol_PlotHistogram",
|
|
"value": 42
|
|
},
|
|
{
|
|
"calc_value": 43,
|
|
"name": "ImGuiCol_PlotHistogramHovered",
|
|
"value": 43
|
|
},
|
|
{
|
|
"calc_value": 44,
|
|
"name": "ImGuiCol_TextSelectedBg",
|
|
"value": 44
|
|
},
|
|
{
|
|
"calc_value": 45,
|
|
"name": "ImGuiCol_DragDropTarget",
|
|
"value": 45
|
|
},
|
|
{
|
|
"calc_value": 46,
|
|
"comment": " // Gamepad/keyboard: current highlighted item",
|
|
"name": "ImGuiCol_NavHighlight",
|
|
"value": 46
|
|
},
|
|
{
|
|
"calc_value": 47,
|
|
"comment": " // Highlight window when using CTRL+TAB",
|
|
"name": "ImGuiCol_NavWindowingHighlight",
|
|
"value": 47
|
|
},
|
|
{
|
|
"calc_value": 48,
|
|
"comment": " // Darken/colorize entire screen behind the CTRL+TAB window list, when active",
|
|
"name": "ImGuiCol_NavWindowingDimBg",
|
|
"value": 48
|
|
},
|
|
{
|
|
"calc_value": 49,
|
|
"comment": " // Darken/colorize entire screen behind a modal window, when one is active",
|
|
"name": "ImGuiCol_ModalWindowDimBg",
|
|
"value": 49
|
|
},
|
|
{
|
|
"calc_value": 50,
|
|
"name": "ImGuiCol_COUNT",
|
|
"value": 50
|
|
}
|
|
],
|
|
"ImGuiColorEditFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiColorEditFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"comment": " // // ColorEdit, ColorPicker, ColorButton: ignore Alpha component (will only read 3 components from the input pointer).",
|
|
"name": "ImGuiColorEditFlags_NoAlpha",
|
|
"value": "1 << 1"
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // // ColorEdit: disable picker when clicking on colored square.",
|
|
"name": "ImGuiColorEditFlags_NoPicker",
|
|
"value": "1 << 2"
|
|
},
|
|
{
|
|
"calc_value": 8,
|
|
"comment": " // // ColorEdit: disable toggling options menu when right-clicking on inputs/small preview.",
|
|
"name": "ImGuiColorEditFlags_NoOptions",
|
|
"value": "1 << 3"
|
|
},
|
|
{
|
|
"calc_value": 16,
|
|
"comment": " // // ColorEdit, ColorPicker: disable colored square preview next to the inputs. (e.g. to show only the inputs)",
|
|
"name": "ImGuiColorEditFlags_NoSmallPreview",
|
|
"value": "1 << 4"
|
|
},
|
|
{
|
|
"calc_value": 32,
|
|
"comment": " // // ColorEdit, ColorPicker: disable inputs sliders/text widgets (e.g. to show only the small preview colored square).",
|
|
"name": "ImGuiColorEditFlags_NoInputs",
|
|
"value": "1 << 5"
|
|
},
|
|
{
|
|
"calc_value": 64,
|
|
"comment": " // // ColorEdit, ColorPicker, ColorButton: disable tooltip when hovering the preview.",
|
|
"name": "ImGuiColorEditFlags_NoTooltip",
|
|
"value": "1 << 6"
|
|
},
|
|
{
|
|
"calc_value": 128,
|
|
"comment": " // // ColorEdit, ColorPicker: disable display of inline text label (the label is still forwarded to the tooltip and picker).",
|
|
"name": "ImGuiColorEditFlags_NoLabel",
|
|
"value": "1 << 7"
|
|
},
|
|
{
|
|
"calc_value": 256,
|
|
"comment": " // // ColorPicker: disable bigger color preview on right side of the picker, use small colored square preview instead.",
|
|
"name": "ImGuiColorEditFlags_NoSidePreview",
|
|
"value": "1 << 8"
|
|
},
|
|
{
|
|
"calc_value": 512,
|
|
"comment": " // // ColorEdit: disable drag and drop target. ColorButton: disable drag and drop source.",
|
|
"name": "ImGuiColorEditFlags_NoDragDrop",
|
|
"value": "1 << 9"
|
|
},
|
|
{
|
|
"calc_value": 1024,
|
|
"comment": " // // ColorButton: disable border (which is enforced by default)",
|
|
"name": "ImGuiColorEditFlags_NoBorder",
|
|
"value": "1 << 10"
|
|
},
|
|
{
|
|
"calc_value": 65536,
|
|
"comment": " // // ColorEdit, ColorPicker: show vertical alpha bar/gradient in picker.",
|
|
"name": "ImGuiColorEditFlags_AlphaBar",
|
|
"value": "1 << 16"
|
|
},
|
|
{
|
|
"calc_value": 131072,
|
|
"comment": " // // ColorEdit, ColorPicker, ColorButton: display preview as a transparent color over a checkerboard, instead of opaque.",
|
|
"name": "ImGuiColorEditFlags_AlphaPreview",
|
|
"value": "1 << 17"
|
|
},
|
|
{
|
|
"calc_value": 262144,
|
|
"comment": " // // ColorEdit, ColorPicker, ColorButton: display half opaque / half checkerboard, instead of opaque.",
|
|
"name": "ImGuiColorEditFlags_AlphaPreviewHalf",
|
|
"value": "1 << 18"
|
|
},
|
|
{
|
|
"calc_value": 524288,
|
|
"comment": " // // (WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well).",
|
|
"name": "ImGuiColorEditFlags_HDR",
|
|
"value": "1 << 19"
|
|
},
|
|
{
|
|
"calc_value": 1048576,
|
|
"comment": " // [Display] // ColorEdit: override _display_ type among RGB/HSV/Hex. ColorPicker: select any combination using one or more of RGB/HSV/Hex.",
|
|
"name": "ImGuiColorEditFlags_DisplayRGB",
|
|
"value": "1 << 20"
|
|
},
|
|
{
|
|
"calc_value": 2097152,
|
|
"comment": " // [Display] // \"",
|
|
"name": "ImGuiColorEditFlags_DisplayHSV",
|
|
"value": "1 << 21"
|
|
},
|
|
{
|
|
"calc_value": 4194304,
|
|
"comment": " // [Display] // \"",
|
|
"name": "ImGuiColorEditFlags_DisplayHex",
|
|
"value": "1 << 22"
|
|
},
|
|
{
|
|
"calc_value": 8388608,
|
|
"comment": " // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0..255.",
|
|
"name": "ImGuiColorEditFlags_Uint8",
|
|
"value": "1 << 23"
|
|
},
|
|
{
|
|
"calc_value": 16777216,
|
|
"comment": " // [DataType] // ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0.0f..1.0f floats instead of 0..255 integers. No round-trip of value via integers.",
|
|
"name": "ImGuiColorEditFlags_Float",
|
|
"value": "1 << 24"
|
|
},
|
|
{
|
|
"calc_value": 33554432,
|
|
"comment": " // [Picker] // ColorPicker: bar for Hue, rectangle for Sat/Value.",
|
|
"name": "ImGuiColorEditFlags_PickerHueBar",
|
|
"value": "1 << 25"
|
|
},
|
|
{
|
|
"calc_value": 67108864,
|
|
"comment": " // [Picker] // ColorPicker: wheel for Hue, triangle for Sat/Value.",
|
|
"name": "ImGuiColorEditFlags_PickerHueWheel",
|
|
"value": "1 << 26"
|
|
},
|
|
{
|
|
"calc_value": 134217728,
|
|
"comment": " // [Input] // ColorEdit, ColorPicker: input and output data in RGB format.",
|
|
"name": "ImGuiColorEditFlags_InputRGB",
|
|
"value": "1 << 27"
|
|
},
|
|
{
|
|
"calc_value": 268435456,
|
|
"comment": " // [Input] // ColorEdit, ColorPicker: input and output data in HSV format.",
|
|
"name": "ImGuiColorEditFlags_InputHSV",
|
|
"value": "1 << 28"
|
|
},
|
|
{
|
|
"calc_value": 177209344,
|
|
"name": "ImGuiColorEditFlags__OptionsDefault",
|
|
"value": "ImGuiColorEditFlags_Uint8 | ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_InputRGB | ImGuiColorEditFlags_PickerHueBar"
|
|
},
|
|
{
|
|
"calc_value": 7340032,
|
|
"name": "ImGuiColorEditFlags__DisplayMask",
|
|
"value": "ImGuiColorEditFlags_DisplayRGB | ImGuiColorEditFlags_DisplayHSV | ImGuiColorEditFlags_DisplayHex"
|
|
},
|
|
{
|
|
"calc_value": 25165824,
|
|
"name": "ImGuiColorEditFlags__DataTypeMask",
|
|
"value": "ImGuiColorEditFlags_Uint8 | ImGuiColorEditFlags_Float"
|
|
},
|
|
{
|
|
"calc_value": 100663296,
|
|
"name": "ImGuiColorEditFlags__PickerMask",
|
|
"value": "ImGuiColorEditFlags_PickerHueWheel | ImGuiColorEditFlags_PickerHueBar"
|
|
},
|
|
{
|
|
"calc_value": 402653184,
|
|
"name": "ImGuiColorEditFlags__InputMask",
|
|
"value": "ImGuiColorEditFlags_InputRGB | ImGuiColorEditFlags_InputHSV"
|
|
}
|
|
],
|
|
"ImGuiColumnsFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiColumnsFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"comment": " // Disable column dividers",
|
|
"name": "ImGuiColumnsFlags_NoBorder",
|
|
"value": "1 << 0"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"comment": " // Disable resizing columns when clicking on the dividers",
|
|
"name": "ImGuiColumnsFlags_NoResize",
|
|
"value": "1 << 1"
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // Disable column width preservation when adjusting columns",
|
|
"name": "ImGuiColumnsFlags_NoPreserveWidths",
|
|
"value": "1 << 2"
|
|
},
|
|
{
|
|
"calc_value": 8,
|
|
"comment": " // Disable forcing columns to fit within window",
|
|
"name": "ImGuiColumnsFlags_NoForceWithinWindow",
|
|
"value": "1 << 3"
|
|
},
|
|
{
|
|
"calc_value": 16,
|
|
"comment": " // (WIP) Restore pre-1.51 behavior of extending the parent window contents size but _without affecting the columns width at all_. Will eventually remove.",
|
|
"name": "ImGuiColumnsFlags_GrowParentContentsSize",
|
|
"value": "1 << 4"
|
|
}
|
|
],
|
|
"ImGuiComboFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiComboFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"comment": " // Align the popup toward the left by default",
|
|
"name": "ImGuiComboFlags_PopupAlignLeft",
|
|
"value": "1 << 0"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"comment": " // Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo()",
|
|
"name": "ImGuiComboFlags_HeightSmall",
|
|
"value": "1 << 1"
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // Max ~8 items visible (default)",
|
|
"name": "ImGuiComboFlags_HeightRegular",
|
|
"value": "1 << 2"
|
|
},
|
|
{
|
|
"calc_value": 8,
|
|
"comment": " // Max ~20 items visible",
|
|
"name": "ImGuiComboFlags_HeightLarge",
|
|
"value": "1 << 3"
|
|
},
|
|
{
|
|
"calc_value": 16,
|
|
"comment": " // As many fitting items as possible",
|
|
"name": "ImGuiComboFlags_HeightLargest",
|
|
"value": "1 << 4"
|
|
},
|
|
{
|
|
"calc_value": 32,
|
|
"comment": " // Display on the preview box without the square arrow button",
|
|
"name": "ImGuiComboFlags_NoArrowButton",
|
|
"value": "1 << 5"
|
|
},
|
|
{
|
|
"calc_value": 64,
|
|
"comment": " // Display only a square arrow button",
|
|
"name": "ImGuiComboFlags_NoPreview",
|
|
"value": "1 << 6"
|
|
},
|
|
{
|
|
"calc_value": 30,
|
|
"name": "ImGuiComboFlags_HeightMask_",
|
|
"value": "ImGuiComboFlags_HeightSmall | ImGuiComboFlags_HeightRegular | ImGuiComboFlags_HeightLarge | ImGuiComboFlags_HeightLargest"
|
|
}
|
|
],
|
|
"ImGuiCond_": [
|
|
{
|
|
"calc_value": 0,
|
|
"comment": " // No condition (always set the variable), same as _Always",
|
|
"name": "ImGuiCond_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"comment": " // No condition (always set the variable)",
|
|
"name": "ImGuiCond_Always",
|
|
"value": "1 << 0"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"comment": " // Set the variable once per runtime session (only the first call will succeed)",
|
|
"name": "ImGuiCond_Once",
|
|
"value": "1 << 1"
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // Set the variable if the object/window has no persistently saved data (no entry in .ini file)",
|
|
"name": "ImGuiCond_FirstUseEver",
|
|
"value": "1 << 2"
|
|
},
|
|
{
|
|
"calc_value": 8,
|
|
"comment": " // Set the variable if the object/window is appearing after being hidden/inactive (or the first time)",
|
|
"name": "ImGuiCond_Appearing",
|
|
"value": "1 << 3"
|
|
}
|
|
],
|
|
"ImGuiConfigFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiConfigFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"comment": " // Master keyboard navigation enable flag. NewFrame() will automatically fill io.NavInputs[] based on io.KeysDown[].",
|
|
"name": "ImGuiConfigFlags_NavEnableKeyboard",
|
|
"value": "1 << 0"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"comment": " // Master gamepad navigation enable flag. This is mostly to instruct your imgui back-end to fill io.NavInputs[]. Back-end also needs to set ImGuiBackendFlags_HasGamepad.",
|
|
"name": "ImGuiConfigFlags_NavEnableGamepad",
|
|
"value": "1 << 1"
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // Instruct navigation to move the mouse cursor. May be useful on TV/console systems where moving a virtual mouse is awkward. Will update io.MousePos and set io.WantSetMousePos=true. If enabled you MUST honor io.WantSetMousePos requests in your binding, otherwise ImGui will react as if the mouse is jumping around back and forth.",
|
|
"name": "ImGuiConfigFlags_NavEnableSetMousePos",
|
|
"value": "1 << 2"
|
|
},
|
|
{
|
|
"calc_value": 8,
|
|
"comment": " // Instruct navigation to not set the io.WantCaptureKeyboard flag when io.NavActive is set.",
|
|
"name": "ImGuiConfigFlags_NavNoCaptureKeyboard",
|
|
"value": "1 << 3"
|
|
},
|
|
{
|
|
"calc_value": 16,
|
|
"comment": " // Instruct imgui to clear mouse position/buttons in NewFrame(). This allows ignoring the mouse information set by the back-end.",
|
|
"name": "ImGuiConfigFlags_NoMouse",
|
|
"value": "1 << 4"
|
|
},
|
|
{
|
|
"calc_value": 32,
|
|
"comment": " // Instruct back-end to not alter mouse cursor shape and visibility. Use if the back-end cursor changes are interfering with yours and you don't want to use SetMouseCursor() to change mouse cursor. You may want to honor requests from imgui by reading GetMouseCursor() yourself instead.",
|
|
"name": "ImGuiConfigFlags_NoMouseCursorChange",
|
|
"value": "1 << 5"
|
|
},
|
|
{
|
|
"calc_value": 64,
|
|
"comment": " // Docking enable flags.",
|
|
"name": "ImGuiConfigFlags_DockingEnable",
|
|
"value": "1 << 6"
|
|
},
|
|
{
|
|
"calc_value": 1024,
|
|
"comment": " // Viewport enable flags (require both ImGuiConfigFlags_PlatformHasViewports + ImGuiConfigFlags_RendererHasViewports set by the respective back-ends)",
|
|
"name": "ImGuiConfigFlags_ViewportsEnable",
|
|
"value": "1 << 10"
|
|
},
|
|
{
|
|
"calc_value": 16384,
|
|
"comment": " // [BETA: Don't use] FIXME-DPI: Reposition and resize imgui windows when the DpiScale of a viewport changed (mostly useful for the main viewport hosting other window). Note that resizing the main window itself is up to your application.",
|
|
"name": "ImGuiConfigFlags_DpiEnableScaleViewports",
|
|
"value": "1 << 14"
|
|
},
|
|
{
|
|
"calc_value": 32768,
|
|
"comment": " // [BETA: Don't use] FIXME-DPI: Request bitmap-scaled fonts to match DpiScale. This is a very low-quality workaround. The correct way to handle DPI is _currently_ to replace the atlas and/or fonts in the Platform_OnChangedViewport callback, but this is all early work in progress.",
|
|
"name": "ImGuiConfigFlags_DpiEnableScaleFonts",
|
|
"value": "1 << 15"
|
|
},
|
|
{
|
|
"calc_value": 1048576,
|
|
"comment": " // Application is SRGB-aware.",
|
|
"name": "ImGuiConfigFlags_IsSRGB",
|
|
"value": "1 << 20"
|
|
},
|
|
{
|
|
"calc_value": 2097152,
|
|
"comment": " // Application is using a touch screen instead of a mouse.",
|
|
"name": "ImGuiConfigFlags_IsTouchScreen",
|
|
"value": "1 << 21"
|
|
}
|
|
],
|
|
"ImGuiDataAuthority_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiDataAuthority_Auto",
|
|
"value": 0
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"name": "ImGuiDataAuthority_DockNode",
|
|
"value": 1
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"name": "ImGuiDataAuthority_Window",
|
|
"value": 2
|
|
}
|
|
],
|
|
"ImGuiDataTypePrivate_": [
|
|
{
|
|
"calc_value": 11,
|
|
"name": "ImGuiDataType_String",
|
|
"value": "ImGuiDataType_COUNT + 1"
|
|
},
|
|
{
|
|
"calc_value": 12,
|
|
"name": "ImGuiDataType_Pointer",
|
|
"value": "ImGuiDataType_COUNT + 1+1"
|
|
},
|
|
{
|
|
"calc_value": 13,
|
|
"name": "ImGuiDataType_ID",
|
|
"value": "ImGuiDataType_COUNT + 1+1+1"
|
|
}
|
|
],
|
|
"ImGuiDataType_": [
|
|
{
|
|
"calc_value": 0,
|
|
"comment": " // signed char / char (with sensible compilers)",
|
|
"name": "ImGuiDataType_S8",
|
|
"value": 0
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"comment": " // unsigned char",
|
|
"name": "ImGuiDataType_U8",
|
|
"value": 1
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"comment": " // short",
|
|
"name": "ImGuiDataType_S16",
|
|
"value": 2
|
|
},
|
|
{
|
|
"calc_value": 3,
|
|
"comment": " // unsigned short",
|
|
"name": "ImGuiDataType_U16",
|
|
"value": 3
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // int",
|
|
"name": "ImGuiDataType_S32",
|
|
"value": 4
|
|
},
|
|
{
|
|
"calc_value": 5,
|
|
"comment": " // unsigned int",
|
|
"name": "ImGuiDataType_U32",
|
|
"value": 5
|
|
},
|
|
{
|
|
"calc_value": 6,
|
|
"comment": " // long long / __int64",
|
|
"name": "ImGuiDataType_S64",
|
|
"value": 6
|
|
},
|
|
{
|
|
"calc_value": 7,
|
|
"comment": " // unsigned long long / unsigned __int64",
|
|
"name": "ImGuiDataType_U64",
|
|
"value": 7
|
|
},
|
|
{
|
|
"calc_value": 8,
|
|
"comment": " // float",
|
|
"name": "ImGuiDataType_Float",
|
|
"value": 8
|
|
},
|
|
{
|
|
"calc_value": 9,
|
|
"comment": " // double",
|
|
"name": "ImGuiDataType_Double",
|
|
"value": 9
|
|
},
|
|
{
|
|
"calc_value": 10,
|
|
"name": "ImGuiDataType_COUNT",
|
|
"value": 10
|
|
}
|
|
],
|
|
"ImGuiDir_": [
|
|
{
|
|
"calc_value": -1,
|
|
"name": "ImGuiDir_None",
|
|
"value": "-1"
|
|
},
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiDir_Left",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"name": "ImGuiDir_Right",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"name": "ImGuiDir_Up",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"calc_value": 3,
|
|
"name": "ImGuiDir_Down",
|
|
"value": "3"
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"name": "ImGuiDir_COUNT",
|
|
"value": 4
|
|
}
|
|
],
|
|
"ImGuiDockNodeFlagsPrivate_": [
|
|
{
|
|
"calc_value": 1024,
|
|
"comment": " // Local, Saved // A dockspace is a node that occupy space within an existing user window. Otherwise the node is floating and create its own window.",
|
|
"name": "ImGuiDockNodeFlags_DockSpace",
|
|
"value": "1 << 10"
|
|
},
|
|
{
|
|
"calc_value": 2048,
|
|
"comment": " // Local, Saved // The central node has 2 main properties: stay visible when empty, only use \"remaining\" spaces from its neighbor.",
|
|
"name": "ImGuiDockNodeFlags_CentralNode",
|
|
"value": "1 << 11"
|
|
},
|
|
{
|
|
"calc_value": 4096,
|
|
"comment": " // Local, Saved // Tab bar is completely unavailable. No triangle in the corner to enable it back.",
|
|
"name": "ImGuiDockNodeFlags_NoTabBar",
|
|
"value": "1 << 12"
|
|
},
|
|
{
|
|
"calc_value": 8192,
|
|
"comment": " // Local, Saved // Tab bar is hidden, with a triangle in the corner to show it again (NB: actual tab-bar instance may be destroyed as this is only used for single-window tab bar)",
|
|
"name": "ImGuiDockNodeFlags_HiddenTabBar",
|
|
"value": "1 << 13"
|
|
},
|
|
{
|
|
"calc_value": 16384,
|
|
"comment": " // Local, Saved // Disable window/docking menu (that one that appears instead of the collapse button)",
|
|
"name": "ImGuiDockNodeFlags_NoWindowMenuButton",
|
|
"value": "1 << 14"
|
|
},
|
|
{
|
|
"calc_value": 32768,
|
|
"comment": " // Local, Saved //",
|
|
"name": "ImGuiDockNodeFlags_NoCloseButton",
|
|
"value": "1 << 15"
|
|
},
|
|
{
|
|
"calc_value": 65536,
|
|
"comment": " // Local, Saved // Disable any form of docking in this dockspace or individual node. (On a whole dockspace, this pretty much defeat the purpose of using a dockspace at all). Note: when turned on, existing docked nodes will be preserved.",
|
|
"name": "ImGuiDockNodeFlags_NoDocking",
|
|
"value": "1 << 16"
|
|
},
|
|
{
|
|
"calc_value": 131072,
|
|
"comment": " // [EXPERIMENTAL] Prevent another window/node from splitting this node.",
|
|
"name": "ImGuiDockNodeFlags_NoDockingSplitMe",
|
|
"value": "1 << 17"
|
|
},
|
|
{
|
|
"calc_value": 262144,
|
|
"comment": " // [EXPERIMENTAL] Prevent this node from splitting another window/node.",
|
|
"name": "ImGuiDockNodeFlags_NoDockingSplitOther",
|
|
"value": "1 << 18"
|
|
},
|
|
{
|
|
"calc_value": 524288,
|
|
"comment": " // [EXPERIMENTAL] Prevent another window/node to be docked over this node.",
|
|
"name": "ImGuiDockNodeFlags_NoDockingOverMe",
|
|
"value": "1 << 19"
|
|
},
|
|
{
|
|
"calc_value": 1048576,
|
|
"comment": " // [EXPERIMENTAL] Prevent this node to be docked over another window/node.",
|
|
"name": "ImGuiDockNodeFlags_NoDockingOverOther",
|
|
"value": "1 << 20"
|
|
},
|
|
{
|
|
"calc_value": 2097152,
|
|
"comment": " // [EXPERIMENTAL]",
|
|
"name": "ImGuiDockNodeFlags_NoResizeX",
|
|
"value": "1 << 21"
|
|
},
|
|
{
|
|
"calc_value": 4194304,
|
|
"comment": " // [EXPERIMENTAL]",
|
|
"name": "ImGuiDockNodeFlags_NoResizeY",
|
|
"value": "1 << 22"
|
|
},
|
|
{
|
|
"calc_value": -1,
|
|
"name": "ImGuiDockNodeFlags_SharedFlagsInheritMask_",
|
|
"value": "~0"
|
|
},
|
|
{
|
|
"calc_value": 6291488,
|
|
"name": "ImGuiDockNodeFlags_NoResizeFlagsMask_",
|
|
"value": "ImGuiDockNodeFlags_NoResize | ImGuiDockNodeFlags_NoResizeX | ImGuiDockNodeFlags_NoResizeY"
|
|
},
|
|
{
|
|
"calc_value": 6421616,
|
|
"name": "ImGuiDockNodeFlags_LocalFlagsMask_",
|
|
"value": "ImGuiDockNodeFlags_NoSplit | ImGuiDockNodeFlags_NoResizeFlagsMask_ | ImGuiDockNodeFlags_AutoHideTabBar | ImGuiDockNodeFlags_DockSpace | ImGuiDockNodeFlags_CentralNode | ImGuiDockNodeFlags_NoTabBar | ImGuiDockNodeFlags_HiddenTabBar | ImGuiDockNodeFlags_NoWindowMenuButton | ImGuiDockNodeFlags_NoCloseButton | ImGuiDockNodeFlags_NoDocking"
|
|
},
|
|
{
|
|
"calc_value": 6420592,
|
|
"comment": " // When splitting those flags are moved to the inheriting child, never duplicated",
|
|
"name": "ImGuiDockNodeFlags_LocalFlagsTransferMask_",
|
|
"value": "ImGuiDockNodeFlags_LocalFlagsMask_ & ~ImGuiDockNodeFlags_DockSpace"
|
|
},
|
|
{
|
|
"calc_value": 6421536,
|
|
"name": "ImGuiDockNodeFlags_SavedFlagsMask_",
|
|
"value": "ImGuiDockNodeFlags_NoResizeFlagsMask_ | ImGuiDockNodeFlags_DockSpace | ImGuiDockNodeFlags_CentralNode | ImGuiDockNodeFlags_NoTabBar | ImGuiDockNodeFlags_HiddenTabBar | ImGuiDockNodeFlags_NoWindowMenuButton | ImGuiDockNodeFlags_NoCloseButton | ImGuiDockNodeFlags_NoDocking"
|
|
}
|
|
],
|
|
"ImGuiDockNodeFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiDockNodeFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"comment": " // Shared // Don't display the dockspace node but keep it alive. Windows docked into this dockspace node won't be undocked.",
|
|
"name": "ImGuiDockNodeFlags_KeepAliveOnly",
|
|
"value": "1 << 0"
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // Shared // Disable docking inside the Central Node, which will be always kept empty.",
|
|
"name": "ImGuiDockNodeFlags_NoDockingInCentralNode",
|
|
"value": "1 << 2"
|
|
},
|
|
{
|
|
"calc_value": 8,
|
|
"comment": " // Shared // Enable passthru dockspace: 1) DockSpace() will render a ImGuiCol_WindowBg background covering everything excepted the Central Node when empty. Meaning the host window should probably use SetNextWindowBgAlpha(0.0f) prior to Begin() when using this. 2) When Central Node is empty: let inputs pass-through + won't display a DockingEmptyBg background. See demo for details.",
|
|
"name": "ImGuiDockNodeFlags_PassthruCentralNode",
|
|
"value": "1 << 3"
|
|
},
|
|
{
|
|
"calc_value": 16,
|
|
"comment": " // Shared/Local // Disable splitting the node into smaller nodes. Useful e.g. when embedding dockspaces into a main root one (the root one may have splitting disabled to reduce confusion). Note: when turned off, existing splits will be preserved.",
|
|
"name": "ImGuiDockNodeFlags_NoSplit",
|
|
"value": "1 << 4"
|
|
},
|
|
{
|
|
"calc_value": 32,
|
|
"comment": " // Shared/Local // Disable resizing node using the splitter/separators. Useful with programatically setup dockspaces.",
|
|
"name": "ImGuiDockNodeFlags_NoResize",
|
|
"value": "1 << 5"
|
|
},
|
|
{
|
|
"calc_value": 64,
|
|
"comment": " // Shared/Local // Tab bar will automatically hide when there is a single window in the dock node.",
|
|
"name": "ImGuiDockNodeFlags_AutoHideTabBar",
|
|
"value": "1 << 6"
|
|
}
|
|
],
|
|
"ImGuiDockNodeState": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiDockNodeState_Unknown",
|
|
"value": 0
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"name": "ImGuiDockNodeState_HostWindowHiddenBecauseSingleWindow",
|
|
"value": 1
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"name": "ImGuiDockNodeState_HostWindowHiddenBecauseWindowsAreResizing",
|
|
"value": 2
|
|
},
|
|
{
|
|
"calc_value": 3,
|
|
"name": "ImGuiDockNodeState_HostWindowVisible",
|
|
"value": 3
|
|
}
|
|
],
|
|
"ImGuiDragDropFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiDragDropFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"comment": " // By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disable this behavior.",
|
|
"name": "ImGuiDragDropFlags_SourceNoPreviewTooltip",
|
|
"value": "1 << 0"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"comment": " // By default, when dragging we clear data so that IsItemHovered() will return false, to avoid subsequent user code submitting tooltips. This flag disable this behavior so you can still call IsItemHovered() on the source item.",
|
|
"name": "ImGuiDragDropFlags_SourceNoDisableHover",
|
|
"value": "1 << 1"
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item.",
|
|
"name": "ImGuiDragDropFlags_SourceNoHoldToOpenOthers",
|
|
"value": "1 << 2"
|
|
},
|
|
{
|
|
"calc_value": 8,
|
|
"comment": " // Allow items such as Text(), Image() that have no unique identifier to be used as drag source, by manufacturing a temporary identifier based on their window-relative position. This is extremely unusual within the dear imgui ecosystem and so we made it explicit.",
|
|
"name": "ImGuiDragDropFlags_SourceAllowNullID",
|
|
"value": "1 << 3"
|
|
},
|
|
{
|
|
"calc_value": 16,
|
|
"comment": " // External source (from outside of dear imgui), won't attempt to read current item/window info. Will always return true. Only one Extern source can be active simultaneously.",
|
|
"name": "ImGuiDragDropFlags_SourceExtern",
|
|
"value": "1 << 4"
|
|
},
|
|
{
|
|
"calc_value": 32,
|
|
"comment": " // Automatically expire the payload if the source cease to be submitted (otherwise payloads are persisting while being dragged)",
|
|
"name": "ImGuiDragDropFlags_SourceAutoExpirePayload",
|
|
"value": "1 << 5"
|
|
},
|
|
{
|
|
"calc_value": 1024,
|
|
"comment": " // AcceptDragDropPayload() will returns true even before the mouse button is released. You can then call IsDelivery() to test if the payload needs to be delivered.",
|
|
"name": "ImGuiDragDropFlags_AcceptBeforeDelivery",
|
|
"value": "1 << 10"
|
|
},
|
|
{
|
|
"calc_value": 2048,
|
|
"comment": " // Do not draw the default highlight rectangle when hovering over target.",
|
|
"name": "ImGuiDragDropFlags_AcceptNoDrawDefaultRect",
|
|
"value": "1 << 11"
|
|
},
|
|
{
|
|
"calc_value": 4096,
|
|
"comment": " // Request hiding the BeginDragDropSource tooltip from the BeginDragDropTarget site.",
|
|
"name": "ImGuiDragDropFlags_AcceptNoPreviewTooltip",
|
|
"value": "1 << 12"
|
|
},
|
|
{
|
|
"calc_value": 3072,
|
|
"comment": " // For peeking ahead and inspecting the payload before delivery.",
|
|
"name": "ImGuiDragDropFlags_AcceptPeekOnly",
|
|
"value": "ImGuiDragDropFlags_AcceptBeforeDelivery | ImGuiDragDropFlags_AcceptNoDrawDefaultRect"
|
|
}
|
|
],
|
|
"ImGuiFocusedFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiFocusedFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"comment": " // IsWindowFocused(): Return true if any children of the window is focused",
|
|
"name": "ImGuiFocusedFlags_ChildWindows",
|
|
"value": "1 << 0"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"comment": " // IsWindowFocused(): Test from root window (top most parent of the current hierarchy)",
|
|
"name": "ImGuiFocusedFlags_RootWindow",
|
|
"value": "1 << 1"
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // IsWindowFocused(): Return true if any window is focused. Important: If you are trying to tell how to dispatch your low-level inputs, do NOT use this. Use 'io.WantCaptureMouse' instead! Please read the FAQ!",
|
|
"name": "ImGuiFocusedFlags_AnyWindow",
|
|
"value": "1 << 2"
|
|
},
|
|
{
|
|
"calc_value": 3,
|
|
"name": "ImGuiFocusedFlags_RootAndChildWindows",
|
|
"value": "ImGuiFocusedFlags_RootWindow | ImGuiFocusedFlags_ChildWindows"
|
|
}
|
|
],
|
|
"ImGuiHoveredFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"comment": " // Return true if directly over the item/window, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them.",
|
|
"name": "ImGuiHoveredFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"comment": " // IsWindowHovered() only: Return true if any children of the window is hovered",
|
|
"name": "ImGuiHoveredFlags_ChildWindows",
|
|
"value": "1 << 0"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"comment": " // IsWindowHovered() only: Test from root window (top most parent of the current hierarchy)",
|
|
"name": "ImGuiHoveredFlags_RootWindow",
|
|
"value": "1 << 1"
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // IsWindowHovered() only: Return true if any window is hovered",
|
|
"name": "ImGuiHoveredFlags_AnyWindow",
|
|
"value": "1 << 2"
|
|
},
|
|
{
|
|
"calc_value": 8,
|
|
"comment": " // Return true even if a popup window is normally blocking access to this item/window",
|
|
"name": "ImGuiHoveredFlags_AllowWhenBlockedByPopup",
|
|
"value": "1 << 3"
|
|
},
|
|
{
|
|
"calc_value": 32,
|
|
"comment": " // Return true even if an active item is blocking access to this item/window. Useful for Drag and Drop patterns.",
|
|
"name": "ImGuiHoveredFlags_AllowWhenBlockedByActiveItem",
|
|
"value": "1 << 5"
|
|
},
|
|
{
|
|
"calc_value": 64,
|
|
"comment": " // Return true even if the position is obstructed or overlapped by another window",
|
|
"name": "ImGuiHoveredFlags_AllowWhenOverlapped",
|
|
"value": "1 << 6"
|
|
},
|
|
{
|
|
"calc_value": 128,
|
|
"comment": " // Return true even if the item is disabled",
|
|
"name": "ImGuiHoveredFlags_AllowWhenDisabled",
|
|
"value": "1 << 7"
|
|
},
|
|
{
|
|
"calc_value": 104,
|
|
"name": "ImGuiHoveredFlags_RectOnly",
|
|
"value": "ImGuiHoveredFlags_AllowWhenBlockedByPopup | ImGuiHoveredFlags_AllowWhenBlockedByActiveItem | ImGuiHoveredFlags_AllowWhenOverlapped"
|
|
},
|
|
{
|
|
"calc_value": 3,
|
|
"name": "ImGuiHoveredFlags_RootAndChildWindows",
|
|
"value": "ImGuiHoveredFlags_RootWindow | ImGuiHoveredFlags_ChildWindows"
|
|
}
|
|
],
|
|
"ImGuiInputReadMode": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiInputReadMode_Down",
|
|
"value": 0
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"name": "ImGuiInputReadMode_Pressed",
|
|
"value": 1
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"name": "ImGuiInputReadMode_Released",
|
|
"value": 2
|
|
},
|
|
{
|
|
"calc_value": 3,
|
|
"name": "ImGuiInputReadMode_Repeat",
|
|
"value": 3
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"name": "ImGuiInputReadMode_RepeatSlow",
|
|
"value": 4
|
|
},
|
|
{
|
|
"calc_value": 5,
|
|
"name": "ImGuiInputReadMode_RepeatFast",
|
|
"value": 5
|
|
}
|
|
],
|
|
"ImGuiInputSource": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiInputSource_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"name": "ImGuiInputSource_Mouse",
|
|
"value": 1
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"name": "ImGuiInputSource_Nav",
|
|
"value": 2
|
|
},
|
|
{
|
|
"calc_value": 3,
|
|
"comment": " // Only used occasionally for storage, not tested/handled by most code",
|
|
"name": "ImGuiInputSource_NavKeyboard",
|
|
"value": 3
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // \"",
|
|
"name": "ImGuiInputSource_NavGamepad",
|
|
"value": 4
|
|
},
|
|
{
|
|
"calc_value": 5,
|
|
"name": "ImGuiInputSource_COUNT",
|
|
"value": 5
|
|
}
|
|
],
|
|
"ImGuiInputTextFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiInputTextFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"comment": " // Allow 0123456789.+-*/",
|
|
"name": "ImGuiInputTextFlags_CharsDecimal",
|
|
"value": "1 << 0"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"comment": " // Allow 0123456789ABCDEFabcdef",
|
|
"name": "ImGuiInputTextFlags_CharsHexadecimal",
|
|
"value": "1 << 1"
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // Turn a..z into A..Z",
|
|
"name": "ImGuiInputTextFlags_CharsUppercase",
|
|
"value": "1 << 2"
|
|
},
|
|
{
|
|
"calc_value": 8,
|
|
"comment": " // Filter out spaces, tabs",
|
|
"name": "ImGuiInputTextFlags_CharsNoBlank",
|
|
"value": "1 << 3"
|
|
},
|
|
{
|
|
"calc_value": 16,
|
|
"comment": " // Select entire text when first taking mouse focus",
|
|
"name": "ImGuiInputTextFlags_AutoSelectAll",
|
|
"value": "1 << 4"
|
|
},
|
|
{
|
|
"calc_value": 32,
|
|
"comment": " // Return 'true' when Enter is pressed (as opposed to every time the value was modified). Consider looking at the IsItemDeactivatedAfterEdit() function.",
|
|
"name": "ImGuiInputTextFlags_EnterReturnsTrue",
|
|
"value": "1 << 5"
|
|
},
|
|
{
|
|
"calc_value": 64,
|
|
"comment": " // Callback on pressing TAB (for completion handling)",
|
|
"name": "ImGuiInputTextFlags_CallbackCompletion",
|
|
"value": "1 << 6"
|
|
},
|
|
{
|
|
"calc_value": 128,
|
|
"comment": " // Callback on pressing Up/Down arrows (for history handling)",
|
|
"name": "ImGuiInputTextFlags_CallbackHistory",
|
|
"value": "1 << 7"
|
|
},
|
|
{
|
|
"calc_value": 256,
|
|
"comment": " // Callback on each iteration. User code may query cursor position, modify text buffer.",
|
|
"name": "ImGuiInputTextFlags_CallbackAlways",
|
|
"value": "1 << 8"
|
|
},
|
|
{
|
|
"calc_value": 512,
|
|
"comment": " // Callback on character inputs to replace or discard them. Modify 'EventChar' to replace or discard, or return 1 in callback to discard.",
|
|
"name": "ImGuiInputTextFlags_CallbackCharFilter",
|
|
"value": "1 << 9"
|
|
},
|
|
{
|
|
"calc_value": 1024,
|
|
"comment": " // Pressing TAB input a '\\t' character into the text field",
|
|
"name": "ImGuiInputTextFlags_AllowTabInput",
|
|
"value": "1 << 10"
|
|
},
|
|
{
|
|
"calc_value": 2048,
|
|
"comment": " // In multi-line mode, unfocus with Enter, add new line with Ctrl+Enter (default is opposite: unfocus with Ctrl+Enter, add line with Enter).",
|
|
"name": "ImGuiInputTextFlags_CtrlEnterForNewLine",
|
|
"value": "1 << 11"
|
|
},
|
|
{
|
|
"calc_value": 4096,
|
|
"comment": " // Disable following the cursor horizontally",
|
|
"name": "ImGuiInputTextFlags_NoHorizontalScroll",
|
|
"value": "1 << 12"
|
|
},
|
|
{
|
|
"calc_value": 8192,
|
|
"comment": " // Insert mode",
|
|
"name": "ImGuiInputTextFlags_AlwaysInsertMode",
|
|
"value": "1 << 13"
|
|
},
|
|
{
|
|
"calc_value": 16384,
|
|
"comment": " // Read-only mode",
|
|
"name": "ImGuiInputTextFlags_ReadOnly",
|
|
"value": "1 << 14"
|
|
},
|
|
{
|
|
"calc_value": 32768,
|
|
"comment": " // Password mode, display all characters as '*'",
|
|
"name": "ImGuiInputTextFlags_Password",
|
|
"value": "1 << 15"
|
|
},
|
|
{
|
|
"calc_value": 65536,
|
|
"comment": " // Disable undo/redo. Note that input text owns the text data while active, if you want to provide your own undo/redo stack you need e.g. to call ClearActiveID().",
|
|
"name": "ImGuiInputTextFlags_NoUndoRedo",
|
|
"value": "1 << 16"
|
|
},
|
|
{
|
|
"calc_value": 131072,
|
|
"comment": " // Allow 0123456789.+-*/eE (Scientific notation input)",
|
|
"name": "ImGuiInputTextFlags_CharsScientific",
|
|
"value": "1 << 17"
|
|
},
|
|
{
|
|
"calc_value": 262144,
|
|
"comment": " // Callback on buffer capacity changes request (beyond 'buf_size' parameter value), allowing the string to grow. Notify when the string wants to be resized (for string types which hold a cache of their Size). You will be provided a new BufSize in the callback and NEED to honor it. (see misc/cpp/imgui_stdlib.h for an example of using this)",
|
|
"name": "ImGuiInputTextFlags_CallbackResize",
|
|
"value": "1 << 18"
|
|
},
|
|
{
|
|
"calc_value": 1048576,
|
|
"comment": " // For internal use by InputTextMultiline()",
|
|
"name": "ImGuiInputTextFlags_Multiline",
|
|
"value": "1 << 20"
|
|
},
|
|
{
|
|
"calc_value": 2097152,
|
|
"comment": " // For internal use by functions using InputText() before reformatting data",
|
|
"name": "ImGuiInputTextFlags_NoMarkEdited",
|
|
"value": "1 << 21"
|
|
}
|
|
],
|
|
"ImGuiItemFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiItemFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"comment": " // false",
|
|
"name": "ImGuiItemFlags_NoTabStop",
|
|
"value": "1 << 0"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"comment": " // false // Button() will return true multiple times based on io.KeyRepeatDelay and io.KeyRepeatRate settings.",
|
|
"name": "ImGuiItemFlags_ButtonRepeat",
|
|
"value": "1 << 1"
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // false // [BETA] Disable interactions but doesn't affect visuals yet. See github.com/ocornut/imgui/issues/211",
|
|
"name": "ImGuiItemFlags_Disabled",
|
|
"value": "1 << 2"
|
|
},
|
|
{
|
|
"calc_value": 8,
|
|
"comment": " // false",
|
|
"name": "ImGuiItemFlags_NoNav",
|
|
"value": "1 << 3"
|
|
},
|
|
{
|
|
"calc_value": 16,
|
|
"comment": " // false",
|
|
"name": "ImGuiItemFlags_NoNavDefaultFocus",
|
|
"value": "1 << 4"
|
|
},
|
|
{
|
|
"calc_value": 32,
|
|
"comment": " // false // MenuItem/Selectable() automatically closes current Popup window",
|
|
"name": "ImGuiItemFlags_SelectableDontClosePopup",
|
|
"value": "1 << 5"
|
|
},
|
|
{
|
|
"calc_value": 64,
|
|
"comment": " // false // [BETA] Represent a mixed/indeterminate value, generally multi-selection where values differ. Currently only supported by Checkbox() (later should support all sorts of widgets)",
|
|
"name": "ImGuiItemFlags_MixedValue",
|
|
"value": "1 << 6"
|
|
},
|
|
{
|
|
"calc_value": 128,
|
|
"comment": " // false // [ALPHA] Allow hovering interactions but underlying value is not changed.",
|
|
"name": "ImGuiItemFlags_ReadOnly",
|
|
"value": "1 << 7"
|
|
},
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiItemFlags_Default_",
|
|
"value": "0"
|
|
}
|
|
],
|
|
"ImGuiItemStatusFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiItemStatusFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"name": "ImGuiItemStatusFlags_HoveredRect",
|
|
"value": "1 << 0"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"name": "ImGuiItemStatusFlags_HasDisplayRect",
|
|
"value": "1 << 1"
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // Value exposed by item was edited in the current frame (should match the bool return value of most widgets)",
|
|
"name": "ImGuiItemStatusFlags_Edited",
|
|
"value": "1 << 2"
|
|
},
|
|
{
|
|
"calc_value": 8,
|
|
"comment": " // Set when Selectable(), TreeNode() reports toggling a selection. We can't report \"Selected\" because reporting the change allows us to handle clipping with less issues.",
|
|
"name": "ImGuiItemStatusFlags_ToggledSelection",
|
|
"value": "1 << 3"
|
|
},
|
|
{
|
|
"calc_value": 16,
|
|
"comment": " // Set when TreeNode() reports toggling their open state.",
|
|
"name": "ImGuiItemStatusFlags_ToggledOpen",
|
|
"value": "1 << 4"
|
|
},
|
|
{
|
|
"calc_value": 32,
|
|
"comment": " // Set if the widget/group is able to provide data for the ImGuiItemStatusFlags_Deactivated flag.",
|
|
"name": "ImGuiItemStatusFlags_HasDeactivated",
|
|
"value": "1 << 5"
|
|
},
|
|
{
|
|
"calc_value": 64,
|
|
"comment": " // Only valid if ImGuiItemStatusFlags_HasDeactivated is set.",
|
|
"name": "ImGuiItemStatusFlags_Deactivated",
|
|
"value": "1 << 6"
|
|
}
|
|
],
|
|
"ImGuiKeyModFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiKeyModFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"name": "ImGuiKeyModFlags_Ctrl",
|
|
"value": "1 << 0"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"name": "ImGuiKeyModFlags_Shift",
|
|
"value": "1 << 1"
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"name": "ImGuiKeyModFlags_Alt",
|
|
"value": "1 << 2"
|
|
},
|
|
{
|
|
"calc_value": 8,
|
|
"name": "ImGuiKeyModFlags_Super",
|
|
"value": "1 << 3"
|
|
}
|
|
],
|
|
"ImGuiKey_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiKey_Tab",
|
|
"value": 0
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"name": "ImGuiKey_LeftArrow",
|
|
"value": 1
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"name": "ImGuiKey_RightArrow",
|
|
"value": 2
|
|
},
|
|
{
|
|
"calc_value": 3,
|
|
"name": "ImGuiKey_UpArrow",
|
|
"value": 3
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"name": "ImGuiKey_DownArrow",
|
|
"value": 4
|
|
},
|
|
{
|
|
"calc_value": 5,
|
|
"name": "ImGuiKey_PageUp",
|
|
"value": 5
|
|
},
|
|
{
|
|
"calc_value": 6,
|
|
"name": "ImGuiKey_PageDown",
|
|
"value": 6
|
|
},
|
|
{
|
|
"calc_value": 7,
|
|
"name": "ImGuiKey_Home",
|
|
"value": 7
|
|
},
|
|
{
|
|
"calc_value": 8,
|
|
"name": "ImGuiKey_End",
|
|
"value": 8
|
|
},
|
|
{
|
|
"calc_value": 9,
|
|
"name": "ImGuiKey_Insert",
|
|
"value": 9
|
|
},
|
|
{
|
|
"calc_value": 10,
|
|
"name": "ImGuiKey_Delete",
|
|
"value": 10
|
|
},
|
|
{
|
|
"calc_value": 11,
|
|
"name": "ImGuiKey_Backspace",
|
|
"value": 11
|
|
},
|
|
{
|
|
"calc_value": 12,
|
|
"name": "ImGuiKey_Space",
|
|
"value": 12
|
|
},
|
|
{
|
|
"calc_value": 13,
|
|
"name": "ImGuiKey_Enter",
|
|
"value": 13
|
|
},
|
|
{
|
|
"calc_value": 14,
|
|
"name": "ImGuiKey_Escape",
|
|
"value": 14
|
|
},
|
|
{
|
|
"calc_value": 15,
|
|
"name": "ImGuiKey_KeyPadEnter",
|
|
"value": 15
|
|
},
|
|
{
|
|
"calc_value": 16,
|
|
"comment": " // for text edit CTRL+A: select all",
|
|
"name": "ImGuiKey_A",
|
|
"value": 16
|
|
},
|
|
{
|
|
"calc_value": 17,
|
|
"comment": " // for text edit CTRL+C: copy",
|
|
"name": "ImGuiKey_C",
|
|
"value": 17
|
|
},
|
|
{
|
|
"calc_value": 18,
|
|
"comment": " // for text edit CTRL+V: paste",
|
|
"name": "ImGuiKey_V",
|
|
"value": 18
|
|
},
|
|
{
|
|
"calc_value": 19,
|
|
"comment": " // for text edit CTRL+X: cut",
|
|
"name": "ImGuiKey_X",
|
|
"value": 19
|
|
},
|
|
{
|
|
"calc_value": 20,
|
|
"comment": " // for text edit CTRL+Y: redo",
|
|
"name": "ImGuiKey_Y",
|
|
"value": 20
|
|
},
|
|
{
|
|
"calc_value": 21,
|
|
"comment": " // for text edit CTRL+Z: undo",
|
|
"name": "ImGuiKey_Z",
|
|
"value": 21
|
|
},
|
|
{
|
|
"calc_value": 22,
|
|
"name": "ImGuiKey_COUNT",
|
|
"value": 22
|
|
}
|
|
],
|
|
"ImGuiLayoutType_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiLayoutType_Horizontal",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"name": "ImGuiLayoutType_Vertical",
|
|
"value": "1"
|
|
}
|
|
],
|
|
"ImGuiLogType": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiLogType_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"name": "ImGuiLogType_TTY",
|
|
"value": 1
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"name": "ImGuiLogType_File",
|
|
"value": 2
|
|
},
|
|
{
|
|
"calc_value": 3,
|
|
"name": "ImGuiLogType_Buffer",
|
|
"value": 3
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"name": "ImGuiLogType_Clipboard",
|
|
"value": 4
|
|
}
|
|
],
|
|
"ImGuiMouseButton_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiMouseButton_Left",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"name": "ImGuiMouseButton_Right",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"name": "ImGuiMouseButton_Middle",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"calc_value": 5,
|
|
"name": "ImGuiMouseButton_COUNT",
|
|
"value": "5"
|
|
}
|
|
],
|
|
"ImGuiMouseCursor_": [
|
|
{
|
|
"calc_value": -1,
|
|
"name": "ImGuiMouseCursor_None",
|
|
"value": "-1"
|
|
},
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiMouseCursor_Arrow",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"comment": " // When hovering over InputText, etc.",
|
|
"name": "ImGuiMouseCursor_TextInput",
|
|
"value": 1
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"comment": " // (Unused by Dear ImGui functions)",
|
|
"name": "ImGuiMouseCursor_ResizeAll",
|
|
"value": 2
|
|
},
|
|
{
|
|
"calc_value": 3,
|
|
"comment": " // When hovering over an horizontal border",
|
|
"name": "ImGuiMouseCursor_ResizeNS",
|
|
"value": 3
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // When hovering over a vertical border or a column",
|
|
"name": "ImGuiMouseCursor_ResizeEW",
|
|
"value": 4
|
|
},
|
|
{
|
|
"calc_value": 5,
|
|
"comment": " // When hovering over the bottom-left corner of a window",
|
|
"name": "ImGuiMouseCursor_ResizeNESW",
|
|
"value": 5
|
|
},
|
|
{
|
|
"calc_value": 6,
|
|
"comment": " // When hovering over the bottom-right corner of a window",
|
|
"name": "ImGuiMouseCursor_ResizeNWSE",
|
|
"value": 6
|
|
},
|
|
{
|
|
"calc_value": 7,
|
|
"comment": " // (Unused by Dear ImGui functions. Use for e.g. hyperlinks)",
|
|
"name": "ImGuiMouseCursor_Hand",
|
|
"value": 7
|
|
},
|
|
{
|
|
"calc_value": 8,
|
|
"comment": " // When hovering something with disallowed interaction. Usually a crossed circle.",
|
|
"name": "ImGuiMouseCursor_NotAllowed",
|
|
"value": 8
|
|
},
|
|
{
|
|
"calc_value": 9,
|
|
"name": "ImGuiMouseCursor_COUNT",
|
|
"value": 9
|
|
}
|
|
],
|
|
"ImGuiNavDirSourceFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiNavDirSourceFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"name": "ImGuiNavDirSourceFlags_Keyboard",
|
|
"value": "1 << 0"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"name": "ImGuiNavDirSourceFlags_PadDPad",
|
|
"value": "1 << 1"
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"name": "ImGuiNavDirSourceFlags_PadLStick",
|
|
"value": "1 << 2"
|
|
}
|
|
],
|
|
"ImGuiNavForward": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiNavForward_None",
|
|
"value": 0
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"name": "ImGuiNavForward_ForwardQueued",
|
|
"value": 1
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"name": "ImGuiNavForward_ForwardActive",
|
|
"value": 2
|
|
}
|
|
],
|
|
"ImGuiNavHighlightFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiNavHighlightFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"name": "ImGuiNavHighlightFlags_TypeDefault",
|
|
"value": "1 << 0"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"name": "ImGuiNavHighlightFlags_TypeThin",
|
|
"value": "1 << 1"
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // Draw rectangular highlight if (g.NavId == id) _even_ when using the mouse.",
|
|
"name": "ImGuiNavHighlightFlags_AlwaysDraw",
|
|
"value": "1 << 2"
|
|
},
|
|
{
|
|
"calc_value": 8,
|
|
"name": "ImGuiNavHighlightFlags_NoRounding",
|
|
"value": "1 << 3"
|
|
}
|
|
],
|
|
"ImGuiNavInput_": [
|
|
{
|
|
"calc_value": 0,
|
|
"comment": " // activate / open / toggle / tweak value // e.g. Cross (PS4), A (Xbox), A (Switch), Space (Keyboard)",
|
|
"name": "ImGuiNavInput_Activate",
|
|
"value": 0
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"comment": " // cancel / close / exit // e.g. Circle (PS4), B (Xbox), B (Switch), Escape (Keyboard)",
|
|
"name": "ImGuiNavInput_Cancel",
|
|
"value": 1
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"comment": " // text input / on-screen keyboard // e.g. Triang.(PS4), Y (Xbox), X (Switch), Return (Keyboard)",
|
|
"name": "ImGuiNavInput_Input",
|
|
"value": 2
|
|
},
|
|
{
|
|
"calc_value": 3,
|
|
"comment": " // tap: toggle menu / hold: focus, move, resize // e.g. Square (PS4), X (Xbox), Y (Switch), Alt (Keyboard)",
|
|
"name": "ImGuiNavInput_Menu",
|
|
"value": 3
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // move / tweak / resize window (w/ PadMenu) // e.g. D-pad Left/Right/Up/Down (Gamepads), Arrow keys (Keyboard)",
|
|
"name": "ImGuiNavInput_DpadLeft",
|
|
"value": 4
|
|
},
|
|
{
|
|
"calc_value": 5,
|
|
"comment": " //",
|
|
"name": "ImGuiNavInput_DpadRight",
|
|
"value": 5
|
|
},
|
|
{
|
|
"calc_value": 6,
|
|
"comment": " //",
|
|
"name": "ImGuiNavInput_DpadUp",
|
|
"value": 6
|
|
},
|
|
{
|
|
"calc_value": 7,
|
|
"comment": " //",
|
|
"name": "ImGuiNavInput_DpadDown",
|
|
"value": 7
|
|
},
|
|
{
|
|
"calc_value": 8,
|
|
"comment": " // scroll / move window (w/ PadMenu) // e.g. Left Analog Stick Left/Right/Up/Down",
|
|
"name": "ImGuiNavInput_LStickLeft",
|
|
"value": 8
|
|
},
|
|
{
|
|
"calc_value": 9,
|
|
"comment": " //",
|
|
"name": "ImGuiNavInput_LStickRight",
|
|
"value": 9
|
|
},
|
|
{
|
|
"calc_value": 10,
|
|
"comment": " //",
|
|
"name": "ImGuiNavInput_LStickUp",
|
|
"value": 10
|
|
},
|
|
{
|
|
"calc_value": 11,
|
|
"comment": " //",
|
|
"name": "ImGuiNavInput_LStickDown",
|
|
"value": 11
|
|
},
|
|
{
|
|
"calc_value": 12,
|
|
"comment": " // next window (w/ PadMenu) // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch)",
|
|
"name": "ImGuiNavInput_FocusPrev",
|
|
"value": 12
|
|
},
|
|
{
|
|
"calc_value": 13,
|
|
"comment": " // prev window (w/ PadMenu) // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch)",
|
|
"name": "ImGuiNavInput_FocusNext",
|
|
"value": 13
|
|
},
|
|
{
|
|
"calc_value": 14,
|
|
"comment": " // slower tweaks // e.g. L1 or L2 (PS4), LB or LT (Xbox), L or ZL (Switch)",
|
|
"name": "ImGuiNavInput_TweakSlow",
|
|
"value": 14
|
|
},
|
|
{
|
|
"calc_value": 15,
|
|
"comment": " // faster tweaks // e.g. R1 or R2 (PS4), RB or RT (Xbox), R or ZL (Switch)",
|
|
"name": "ImGuiNavInput_TweakFast",
|
|
"value": 15
|
|
},
|
|
{
|
|
"calc_value": 16,
|
|
"comment": " // toggle menu // = io.KeyAlt",
|
|
"name": "ImGuiNavInput_KeyMenu_",
|
|
"value": 16
|
|
},
|
|
{
|
|
"calc_value": 17,
|
|
"comment": " // move left // = Arrow keys",
|
|
"name": "ImGuiNavInput_KeyLeft_",
|
|
"value": 17
|
|
},
|
|
{
|
|
"calc_value": 18,
|
|
"comment": " // move right",
|
|
"name": "ImGuiNavInput_KeyRight_",
|
|
"value": 18
|
|
},
|
|
{
|
|
"calc_value": 19,
|
|
"comment": " // move up",
|
|
"name": "ImGuiNavInput_KeyUp_",
|
|
"value": 19
|
|
},
|
|
{
|
|
"calc_value": 20,
|
|
"comment": " // move down",
|
|
"name": "ImGuiNavInput_KeyDown_",
|
|
"value": 20
|
|
},
|
|
{
|
|
"calc_value": 21,
|
|
"name": "ImGuiNavInput_COUNT",
|
|
"value": 21
|
|
},
|
|
{
|
|
"calc_value": 16,
|
|
"name": "ImGuiNavInput_InternalStart_",
|
|
"value": "ImGuiNavInput_KeyMenu_"
|
|
}
|
|
],
|
|
"ImGuiNavLayer": [
|
|
{
|
|
"calc_value": 0,
|
|
"comment": " // Main scrolling layer",
|
|
"name": "ImGuiNavLayer_Main",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"comment": " // Menu layer (access with Alt/ImGuiNavInput_Menu)",
|
|
"name": "ImGuiNavLayer_Menu",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"name": "ImGuiNavLayer_COUNT",
|
|
"value": 2
|
|
}
|
|
],
|
|
"ImGuiNavMoveFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiNavMoveFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"comment": " // On failed request, restart from opposite side",
|
|
"name": "ImGuiNavMoveFlags_LoopX",
|
|
"value": "1 << 0"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"name": "ImGuiNavMoveFlags_LoopY",
|
|
"value": "1 << 1"
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // On failed request, request from opposite side one line down (when NavDir==right) or one line up (when NavDir==left)",
|
|
"name": "ImGuiNavMoveFlags_WrapX",
|
|
"value": "1 << 2"
|
|
},
|
|
{
|
|
"calc_value": 8,
|
|
"comment": " // This is not super useful for provided for completeness",
|
|
"name": "ImGuiNavMoveFlags_WrapY",
|
|
"value": "1 << 3"
|
|
},
|
|
{
|
|
"calc_value": 16,
|
|
"comment": " // Allow scoring and considering the current NavId as a move target candidate. This is used when the move source is offset (e.g. pressing PageDown actually needs to send a Up move request, if we are pressing PageDown from the bottom-most item we need to stay in place)",
|
|
"name": "ImGuiNavMoveFlags_AllowCurrentNavId",
|
|
"value": "1 << 4"
|
|
},
|
|
{
|
|
"calc_value": 32,
|
|
"comment": " // Store alternate result in NavMoveResultLocalVisibleSet that only comprise elements that are already fully visible.",
|
|
"name": "ImGuiNavMoveFlags_AlsoScoreVisibleSet",
|
|
"value": "1 << 5"
|
|
},
|
|
{
|
|
"calc_value": 64,
|
|
"name": "ImGuiNavMoveFlags_ScrollToEdge",
|
|
"value": "1 << 6"
|
|
}
|
|
],
|
|
"ImGuiNextItemDataFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiNextItemDataFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"name": "ImGuiNextItemDataFlags_HasWidth",
|
|
"value": "1 << 0"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"name": "ImGuiNextItemDataFlags_HasOpen",
|
|
"value": "1 << 1"
|
|
}
|
|
],
|
|
"ImGuiNextWindowDataFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiNextWindowDataFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"name": "ImGuiNextWindowDataFlags_HasPos",
|
|
"value": "1 << 0"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"name": "ImGuiNextWindowDataFlags_HasSize",
|
|
"value": "1 << 1"
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"name": "ImGuiNextWindowDataFlags_HasContentSize",
|
|
"value": "1 << 2"
|
|
},
|
|
{
|
|
"calc_value": 8,
|
|
"name": "ImGuiNextWindowDataFlags_HasCollapsed",
|
|
"value": "1 << 3"
|
|
},
|
|
{
|
|
"calc_value": 16,
|
|
"name": "ImGuiNextWindowDataFlags_HasSizeConstraint",
|
|
"value": "1 << 4"
|
|
},
|
|
{
|
|
"calc_value": 32,
|
|
"name": "ImGuiNextWindowDataFlags_HasFocus",
|
|
"value": "1 << 5"
|
|
},
|
|
{
|
|
"calc_value": 64,
|
|
"name": "ImGuiNextWindowDataFlags_HasBgAlpha",
|
|
"value": "1 << 6"
|
|
},
|
|
{
|
|
"calc_value": 128,
|
|
"name": "ImGuiNextWindowDataFlags_HasScroll",
|
|
"value": "1 << 7"
|
|
},
|
|
{
|
|
"calc_value": 256,
|
|
"name": "ImGuiNextWindowDataFlags_HasViewport",
|
|
"value": "1 << 8"
|
|
},
|
|
{
|
|
"calc_value": 512,
|
|
"name": "ImGuiNextWindowDataFlags_HasDock",
|
|
"value": "1 << 9"
|
|
},
|
|
{
|
|
"calc_value": 1024,
|
|
"name": "ImGuiNextWindowDataFlags_HasWindowClass",
|
|
"value": "1 << 10"
|
|
}
|
|
],
|
|
"ImGuiPlotType": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiPlotType_Lines",
|
|
"value": 0
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"name": "ImGuiPlotType_Histogram",
|
|
"value": 1
|
|
}
|
|
],
|
|
"ImGuiPopupFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiPopupFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 0,
|
|
"comment": " // For BeginPopupContext*(): open on Left Mouse release. Guaranted to always be == 0 (same as ImGuiMouseButton_Left)",
|
|
"name": "ImGuiPopupFlags_MouseButtonLeft",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"comment": " // For BeginPopupContext*(): open on Right Mouse release. Guaranted to always be == 1 (same as ImGuiMouseButton_Right)",
|
|
"name": "ImGuiPopupFlags_MouseButtonRight",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"comment": " // For BeginPopupContext*(): open on Middle Mouse release. Guaranted to always be == 2 (same as ImGuiMouseButton_Middle)",
|
|
"name": "ImGuiPopupFlags_MouseButtonMiddle",
|
|
"value": "2"
|
|
},
|
|
{
|
|
"calc_value": 31,
|
|
"name": "ImGuiPopupFlags_MouseButtonMask_",
|
|
"value": "0x1F"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"name": "ImGuiPopupFlags_MouseButtonDefault_",
|
|
"value": "1"
|
|
},
|
|
{
|
|
"calc_value": 32,
|
|
"comment": " // For OpenPopup*(), BeginPopupContext*(): don't open if there's already a popup at the same level of the popup stack",
|
|
"name": "ImGuiPopupFlags_NoOpenOverExistingPopup",
|
|
"value": "1 << 5"
|
|
},
|
|
{
|
|
"calc_value": 64,
|
|
"comment": " // For BeginPopupContextWindow(): don't return true when hovering items, only when hovering empty space",
|
|
"name": "ImGuiPopupFlags_NoOpenOverItems",
|
|
"value": "1 << 6"
|
|
},
|
|
{
|
|
"calc_value": 128,
|
|
"comment": " // For IsPopupOpen(): ignore the ImGuiID parameter and test for any popup.",
|
|
"name": "ImGuiPopupFlags_AnyPopupId",
|
|
"value": "1 << 7"
|
|
},
|
|
{
|
|
"calc_value": 256,
|
|
"comment": " // For IsPopupOpen(): search/test at any level of the popup stack (default test in the current level)",
|
|
"name": "ImGuiPopupFlags_AnyPopupLevel",
|
|
"value": "1 << 8"
|
|
},
|
|
{
|
|
"calc_value": 384,
|
|
"name": "ImGuiPopupFlags_AnyPopup",
|
|
"value": "ImGuiPopupFlags_AnyPopupId | ImGuiPopupFlags_AnyPopupLevel"
|
|
}
|
|
],
|
|
"ImGuiPopupPositionPolicy": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiPopupPositionPolicy_Default",
|
|
"value": 0
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"name": "ImGuiPopupPositionPolicy_ComboBox",
|
|
"value": 1
|
|
}
|
|
],
|
|
"ImGuiSelectableFlagsPrivate_": [
|
|
{
|
|
"calc_value": 1048576,
|
|
"name": "ImGuiSelectableFlags_NoHoldingActiveID",
|
|
"value": "1 << 20"
|
|
},
|
|
{
|
|
"calc_value": 2097152,
|
|
"comment": " // Override button behavior to react on Click (default is Click+Release)",
|
|
"name": "ImGuiSelectableFlags_SelectOnClick",
|
|
"value": "1 << 21"
|
|
},
|
|
{
|
|
"calc_value": 4194304,
|
|
"comment": " // Override button behavior to react on Release (default is Click+Release)",
|
|
"name": "ImGuiSelectableFlags_SelectOnRelease",
|
|
"value": "1 << 22"
|
|
},
|
|
{
|
|
"calc_value": 8388608,
|
|
"comment": " // Span all avail width even if we declared less for layout purpose. FIXME: We may be able to remove this (added in 6251d379, 2bcafc86 for menus)",
|
|
"name": "ImGuiSelectableFlags_SpanAvailWidth",
|
|
"value": "1 << 23"
|
|
},
|
|
{
|
|
"calc_value": 16777216,
|
|
"comment": " // Always show active when held, even is not hovered. This concept could probably be renamed/formalized somehow.",
|
|
"name": "ImGuiSelectableFlags_DrawHoveredWhenHeld",
|
|
"value": "1 << 24"
|
|
},
|
|
{
|
|
"calc_value": 33554432,
|
|
"name": "ImGuiSelectableFlags_SetNavIdOnHover",
|
|
"value": "1 << 25"
|
|
}
|
|
],
|
|
"ImGuiSelectableFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiSelectableFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"comment": " // Clicking this don't close parent popup window",
|
|
"name": "ImGuiSelectableFlags_DontClosePopups",
|
|
"value": "1 << 0"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"comment": " // Selectable frame can span all columns (text will still fit in current column)",
|
|
"name": "ImGuiSelectableFlags_SpanAllColumns",
|
|
"value": "1 << 1"
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // Generate press events on double clicks too",
|
|
"name": "ImGuiSelectableFlags_AllowDoubleClick",
|
|
"value": "1 << 2"
|
|
},
|
|
{
|
|
"calc_value": 8,
|
|
"comment": " // Cannot be selected, display grayed out text",
|
|
"name": "ImGuiSelectableFlags_Disabled",
|
|
"value": "1 << 3"
|
|
},
|
|
{
|
|
"calc_value": 16,
|
|
"comment": " // (WIP) Hit testing to allow subsequent widgets to overlap this one",
|
|
"name": "ImGuiSelectableFlags_AllowItemOverlap",
|
|
"value": "1 << 4"
|
|
}
|
|
],
|
|
"ImGuiSeparatorFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiSeparatorFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"comment": " // Axis default to current layout type, so generally Horizontal unless e.g. in a menu bar",
|
|
"name": "ImGuiSeparatorFlags_Horizontal",
|
|
"value": "1 << 0"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"name": "ImGuiSeparatorFlags_Vertical",
|
|
"value": "1 << 1"
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"name": "ImGuiSeparatorFlags_SpanAllColumns",
|
|
"value": "1 << 2"
|
|
}
|
|
],
|
|
"ImGuiSliderFlagsPrivate_": [
|
|
{
|
|
"calc_value": 1048576,
|
|
"comment": " // Should this slider be orientated vertically?",
|
|
"name": "ImGuiSliderFlags_Vertical",
|
|
"value": "1 << 20"
|
|
},
|
|
{
|
|
"calc_value": 2097152,
|
|
"name": "ImGuiSliderFlags_ReadOnly",
|
|
"value": "1 << 21"
|
|
}
|
|
],
|
|
"ImGuiSliderFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiSliderFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 16,
|
|
"comment": " // Clamp value to min/max bounds when input manually with CTRL+Click. By default CTRL+Click allows going out of bounds.",
|
|
"name": "ImGuiSliderFlags_ClampOnInput",
|
|
"value": "1 << 4"
|
|
},
|
|
{
|
|
"calc_value": 32,
|
|
"comment": " // Make the widget logarithmic (linear otherwise). Consider using ImGuiSliderFlags_NoRoundToFormat with this if using a format-string with small amount of digits.",
|
|
"name": "ImGuiSliderFlags_Logarithmic",
|
|
"value": "1 << 5"
|
|
},
|
|
{
|
|
"calc_value": 64,
|
|
"comment": " // Disable rounding underlying value to match precision of the display format string (e.g. %.3f values are rounded to those 3 digits)",
|
|
"name": "ImGuiSliderFlags_NoRoundToFormat",
|
|
"value": "1 << 6"
|
|
},
|
|
{
|
|
"calc_value": 128,
|
|
"comment": " // Disable CTRL+Click or Enter key allowing to input text directly into the widget",
|
|
"name": "ImGuiSliderFlags_NoInput",
|
|
"value": "1 << 7"
|
|
},
|
|
{
|
|
"calc_value": 1879048207,
|
|
"comment": " // [Internal] We treat using those bits as being potentially a 'float power' argument from the previous API that has got miscast to this enum, and will trigger an assert if needed.",
|
|
"name": "ImGuiSliderFlags_InvalidMask_",
|
|
"value": "0x7000000F"
|
|
}
|
|
],
|
|
"ImGuiStyleVar_": [
|
|
{
|
|
"calc_value": 0,
|
|
"comment": " // float Alpha",
|
|
"name": "ImGuiStyleVar_Alpha",
|
|
"value": 0
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"comment": " // ImVec2 WindowPadding",
|
|
"name": "ImGuiStyleVar_WindowPadding",
|
|
"value": 1
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"comment": " // float WindowRounding",
|
|
"name": "ImGuiStyleVar_WindowRounding",
|
|
"value": 2
|
|
},
|
|
{
|
|
"calc_value": 3,
|
|
"comment": " // float WindowBorderSize",
|
|
"name": "ImGuiStyleVar_WindowBorderSize",
|
|
"value": 3
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // ImVec2 WindowMinSize",
|
|
"name": "ImGuiStyleVar_WindowMinSize",
|
|
"value": 4
|
|
},
|
|
{
|
|
"calc_value": 5,
|
|
"comment": " // ImVec2 WindowTitleAlign",
|
|
"name": "ImGuiStyleVar_WindowTitleAlign",
|
|
"value": 5
|
|
},
|
|
{
|
|
"calc_value": 6,
|
|
"comment": " // float ChildRounding",
|
|
"name": "ImGuiStyleVar_ChildRounding",
|
|
"value": 6
|
|
},
|
|
{
|
|
"calc_value": 7,
|
|
"comment": " // float ChildBorderSize",
|
|
"name": "ImGuiStyleVar_ChildBorderSize",
|
|
"value": 7
|
|
},
|
|
{
|
|
"calc_value": 8,
|
|
"comment": " // float PopupRounding",
|
|
"name": "ImGuiStyleVar_PopupRounding",
|
|
"value": 8
|
|
},
|
|
{
|
|
"calc_value": 9,
|
|
"comment": " // float PopupBorderSize",
|
|
"name": "ImGuiStyleVar_PopupBorderSize",
|
|
"value": 9
|
|
},
|
|
{
|
|
"calc_value": 10,
|
|
"comment": " // ImVec2 FramePadding",
|
|
"name": "ImGuiStyleVar_FramePadding",
|
|
"value": 10
|
|
},
|
|
{
|
|
"calc_value": 11,
|
|
"comment": " // float FrameRounding",
|
|
"name": "ImGuiStyleVar_FrameRounding",
|
|
"value": 11
|
|
},
|
|
{
|
|
"calc_value": 12,
|
|
"comment": " // float FrameBorderSize",
|
|
"name": "ImGuiStyleVar_FrameBorderSize",
|
|
"value": 12
|
|
},
|
|
{
|
|
"calc_value": 13,
|
|
"comment": " // ImVec2 ItemSpacing",
|
|
"name": "ImGuiStyleVar_ItemSpacing",
|
|
"value": 13
|
|
},
|
|
{
|
|
"calc_value": 14,
|
|
"comment": " // ImVec2 ItemInnerSpacing",
|
|
"name": "ImGuiStyleVar_ItemInnerSpacing",
|
|
"value": 14
|
|
},
|
|
{
|
|
"calc_value": 15,
|
|
"comment": " // float IndentSpacing",
|
|
"name": "ImGuiStyleVar_IndentSpacing",
|
|
"value": 15
|
|
},
|
|
{
|
|
"calc_value": 16,
|
|
"comment": " // float ScrollbarSize",
|
|
"name": "ImGuiStyleVar_ScrollbarSize",
|
|
"value": 16
|
|
},
|
|
{
|
|
"calc_value": 17,
|
|
"comment": " // float ScrollbarRounding",
|
|
"name": "ImGuiStyleVar_ScrollbarRounding",
|
|
"value": 17
|
|
},
|
|
{
|
|
"calc_value": 18,
|
|
"comment": " // float GrabMinSize",
|
|
"name": "ImGuiStyleVar_GrabMinSize",
|
|
"value": 18
|
|
},
|
|
{
|
|
"calc_value": 19,
|
|
"comment": " // float GrabRounding",
|
|
"name": "ImGuiStyleVar_GrabRounding",
|
|
"value": 19
|
|
},
|
|
{
|
|
"calc_value": 20,
|
|
"comment": " // float TabRounding",
|
|
"name": "ImGuiStyleVar_TabRounding",
|
|
"value": 20
|
|
},
|
|
{
|
|
"calc_value": 21,
|
|
"comment": " // ImVec2 ButtonTextAlign",
|
|
"name": "ImGuiStyleVar_ButtonTextAlign",
|
|
"value": 21
|
|
},
|
|
{
|
|
"calc_value": 22,
|
|
"comment": " // ImVec2 SelectableTextAlign",
|
|
"name": "ImGuiStyleVar_SelectableTextAlign",
|
|
"value": 22
|
|
},
|
|
{
|
|
"calc_value": 23,
|
|
"name": "ImGuiStyleVar_COUNT",
|
|
"value": 23
|
|
}
|
|
],
|
|
"ImGuiTabBarFlagsPrivate_": [
|
|
{
|
|
"calc_value": 1048576,
|
|
"comment": " // Part of a dock node [we don't use this in the master branch but it facilitate branch syncing to keep this around]",
|
|
"name": "ImGuiTabBarFlags_DockNode",
|
|
"value": "1 << 20"
|
|
},
|
|
{
|
|
"calc_value": 2097152,
|
|
"name": "ImGuiTabBarFlags_IsFocused",
|
|
"value": "1 << 21"
|
|
},
|
|
{
|
|
"calc_value": 4194304,
|
|
"comment": " // FIXME: Settings are handled by the docking system, this only request the tab bar to mark settings dirty when reordering tabs",
|
|
"name": "ImGuiTabBarFlags_SaveSettings",
|
|
"value": "1 << 22"
|
|
}
|
|
],
|
|
"ImGuiTabBarFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiTabBarFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"comment": " // Allow manually dragging tabs to re-order them + New tabs are appended at the end of list",
|
|
"name": "ImGuiTabBarFlags_Reorderable",
|
|
"value": "1 << 0"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"comment": " // Automatically select new tabs when they appear",
|
|
"name": "ImGuiTabBarFlags_AutoSelectNewTabs",
|
|
"value": "1 << 1"
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // Disable buttons to open the tab list popup",
|
|
"name": "ImGuiTabBarFlags_TabListPopupButton",
|
|
"value": "1 << 2"
|
|
},
|
|
{
|
|
"calc_value": 8,
|
|
"comment": " // Disable behavior of closing tabs (that are submitted with p_open != NULL) with middle mouse button. You can still repro this behavior on user's side with if (IsItemHovered() && IsMouseClicked(2)) *p_open = false.",
|
|
"name": "ImGuiTabBarFlags_NoCloseWithMiddleMouseButton",
|
|
"value": "1 << 3"
|
|
},
|
|
{
|
|
"calc_value": 16,
|
|
"comment": " // Disable scrolling buttons (apply when fitting policy is ImGuiTabBarFlags_FittingPolicyScroll)",
|
|
"name": "ImGuiTabBarFlags_NoTabListScrollingButtons",
|
|
"value": "1 << 4"
|
|
},
|
|
{
|
|
"calc_value": 32,
|
|
"comment": " // Disable tooltips when hovering a tab",
|
|
"name": "ImGuiTabBarFlags_NoTooltip",
|
|
"value": "1 << 5"
|
|
},
|
|
{
|
|
"calc_value": 64,
|
|
"comment": " // Resize tabs when they don't fit",
|
|
"name": "ImGuiTabBarFlags_FittingPolicyResizeDown",
|
|
"value": "1 << 6"
|
|
},
|
|
{
|
|
"calc_value": 128,
|
|
"comment": " // Add scroll buttons when tabs don't fit",
|
|
"name": "ImGuiTabBarFlags_FittingPolicyScroll",
|
|
"value": "1 << 7"
|
|
},
|
|
{
|
|
"calc_value": 192,
|
|
"name": "ImGuiTabBarFlags_FittingPolicyMask_",
|
|
"value": "ImGuiTabBarFlags_FittingPolicyResizeDown | ImGuiTabBarFlags_FittingPolicyScroll"
|
|
},
|
|
{
|
|
"calc_value": 64,
|
|
"name": "ImGuiTabBarFlags_FittingPolicyDefault_",
|
|
"value": "ImGuiTabBarFlags_FittingPolicyResizeDown"
|
|
}
|
|
],
|
|
"ImGuiTabItemFlagsPrivate_": [
|
|
{
|
|
"calc_value": 1048576,
|
|
"comment": " // Track whether p_open was set or not (we'll need this info on the next frame to recompute ContentWidth during layout)",
|
|
"name": "ImGuiTabItemFlags_NoCloseButton",
|
|
"value": "1 << 20"
|
|
},
|
|
{
|
|
"calc_value": 2097152,
|
|
"comment": " // [Docking] Trailing tabs with the _Unsorted flag will be sorted based on the DockOrder of their Window.",
|
|
"name": "ImGuiTabItemFlags_Unsorted",
|
|
"value": "1 << 21"
|
|
},
|
|
{
|
|
"calc_value": 4194304,
|
|
"comment": " // [Docking] Display tab shape for docking preview (height is adjusted slightly to compensate for the yet missing tab bar)",
|
|
"name": "ImGuiTabItemFlags_Preview",
|
|
"value": "1 << 22"
|
|
}
|
|
],
|
|
"ImGuiTabItemFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiTabItemFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"comment": " // Append '*' to title without affecting the ID, as a convenience to avoid using the ### operator. Also: tab is selected on closure and closure is deferred by one frame to allow code to undo it without flicker.",
|
|
"name": "ImGuiTabItemFlags_UnsavedDocument",
|
|
"value": "1 << 0"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"comment": " // Trigger flag to programmatically make the tab selected when calling BeginTabItem()",
|
|
"name": "ImGuiTabItemFlags_SetSelected",
|
|
"value": "1 << 1"
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // Disable behavior of closing tabs (that are submitted with p_open != NULL) with middle mouse button. You can still repro this behavior on user's side with if (IsItemHovered() && IsMouseClicked(2)) *p_open = false.",
|
|
"name": "ImGuiTabItemFlags_NoCloseWithMiddleMouseButton",
|
|
"value": "1 << 2"
|
|
},
|
|
{
|
|
"calc_value": 8,
|
|
"comment": " // Don't call PushID(tab->ID)/PopID() on BeginTabItem()/EndTabItem()",
|
|
"name": "ImGuiTabItemFlags_NoPushId",
|
|
"value": "1 << 3"
|
|
},
|
|
{
|
|
"calc_value": 16,
|
|
"comment": " // Disable tooltip for the given tab",
|
|
"name": "ImGuiTabItemFlags_NoTooltip",
|
|
"value": "1 << 4"
|
|
}
|
|
],
|
|
"ImGuiTextFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiTextFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"name": "ImGuiTextFlags_NoWidthForLargeClippedText",
|
|
"value": "1 << 0"
|
|
}
|
|
],
|
|
"ImGuiTooltipFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiTooltipFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"comment": " // Override will clear/ignore previously submitted tooltip (defaults to append)",
|
|
"name": "ImGuiTooltipFlags_OverridePreviousTooltip",
|
|
"value": "1 << 0"
|
|
}
|
|
],
|
|
"ImGuiTreeNodeFlagsPrivate_": [
|
|
{
|
|
"calc_value": 1048576,
|
|
"name": "ImGuiTreeNodeFlags_ClipLabelForTrailingButton",
|
|
"value": "1 << 20"
|
|
}
|
|
],
|
|
"ImGuiTreeNodeFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiTreeNodeFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"comment": " // Draw as selected",
|
|
"name": "ImGuiTreeNodeFlags_Selected",
|
|
"value": "1 << 0"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"comment": " // Full colored frame (e.g. for CollapsingHeader)",
|
|
"name": "ImGuiTreeNodeFlags_Framed",
|
|
"value": "1 << 1"
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // Hit testing to allow subsequent widgets to overlap this one",
|
|
"name": "ImGuiTreeNodeFlags_AllowItemOverlap",
|
|
"value": "1 << 2"
|
|
},
|
|
{
|
|
"calc_value": 8,
|
|
"comment": " // Don't do a TreePush() when open (e.g. for CollapsingHeader) = no extra indent nor pushing on ID stack",
|
|
"name": "ImGuiTreeNodeFlags_NoTreePushOnOpen",
|
|
"value": "1 << 3"
|
|
},
|
|
{
|
|
"calc_value": 16,
|
|
"comment": " // Don't automatically and temporarily open node when Logging is active (by default logging will automatically open tree nodes)",
|
|
"name": "ImGuiTreeNodeFlags_NoAutoOpenOnLog",
|
|
"value": "1 << 4"
|
|
},
|
|
{
|
|
"calc_value": 32,
|
|
"comment": " // Default node to be open",
|
|
"name": "ImGuiTreeNodeFlags_DefaultOpen",
|
|
"value": "1 << 5"
|
|
},
|
|
{
|
|
"calc_value": 64,
|
|
"comment": " // Need double-click to open node",
|
|
"name": "ImGuiTreeNodeFlags_OpenOnDoubleClick",
|
|
"value": "1 << 6"
|
|
},
|
|
{
|
|
"calc_value": 128,
|
|
"comment": " // Only open when clicking on the arrow part. If ImGuiTreeNodeFlags_OpenOnDoubleClick is also set, single-click arrow or double-click all box to open.",
|
|
"name": "ImGuiTreeNodeFlags_OpenOnArrow",
|
|
"value": "1 << 7"
|
|
},
|
|
{
|
|
"calc_value": 256,
|
|
"comment": " // No collapsing, no arrow (use as a convenience for leaf nodes).",
|
|
"name": "ImGuiTreeNodeFlags_Leaf",
|
|
"value": "1 << 8"
|
|
},
|
|
{
|
|
"calc_value": 512,
|
|
"comment": " // Display a bullet instead of arrow",
|
|
"name": "ImGuiTreeNodeFlags_Bullet",
|
|
"value": "1 << 9"
|
|
},
|
|
{
|
|
"calc_value": 1024,
|
|
"comment": " // Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. Equivalent to calling AlignTextToFramePadding().",
|
|
"name": "ImGuiTreeNodeFlags_FramePadding",
|
|
"value": "1 << 10"
|
|
},
|
|
{
|
|
"calc_value": 2048,
|
|
"comment": " // Extend hit box to the right-most edge, even if not framed. This is not the default in order to allow adding other items on the same line. In the future we may refactor the hit system to be front-to-back, allowing natural overlaps and then this can become the default.",
|
|
"name": "ImGuiTreeNodeFlags_SpanAvailWidth",
|
|
"value": "1 << 11"
|
|
},
|
|
{
|
|
"calc_value": 4096,
|
|
"comment": " // Extend hit box to the left-most and right-most edges (bypass the indented area).",
|
|
"name": "ImGuiTreeNodeFlags_SpanFullWidth",
|
|
"value": "1 << 12"
|
|
},
|
|
{
|
|
"calc_value": 8192,
|
|
"comment": " // (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop)",
|
|
"name": "ImGuiTreeNodeFlags_NavLeftJumpsBackHere",
|
|
"value": "1 << 13"
|
|
},
|
|
{
|
|
"calc_value": 26,
|
|
"name": "ImGuiTreeNodeFlags_CollapsingHeader",
|
|
"value": "ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog"
|
|
}
|
|
],
|
|
"ImGuiViewportFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiViewportFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"comment": " // Platform Window: Disable platform decorations: title bar, borders, etc. (generally set all windows, but if ImGuiConfigFlags_ViewportsDecoration is set we only set this on popups/tooltips)",
|
|
"name": "ImGuiViewportFlags_NoDecoration",
|
|
"value": "1 << 0"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"comment": " // Platform Window: Disable platform task bar icon (generally set on popups/tooltips, or all windows if ImGuiConfigFlags_ViewportsNoTaskBarIcon is set)",
|
|
"name": "ImGuiViewportFlags_NoTaskBarIcon",
|
|
"value": "1 << 1"
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // Platform Window: Don't take focus when created.",
|
|
"name": "ImGuiViewportFlags_NoFocusOnAppearing",
|
|
"value": "1 << 2"
|
|
},
|
|
{
|
|
"calc_value": 8,
|
|
"comment": " // Platform Window: Don't take focus when clicked on.",
|
|
"name": "ImGuiViewportFlags_NoFocusOnClick",
|
|
"value": "1 << 3"
|
|
},
|
|
{
|
|
"calc_value": 16,
|
|
"comment": " // Platform Window: Make mouse pass through so we can drag this window while peaking behind it.",
|
|
"name": "ImGuiViewportFlags_NoInputs",
|
|
"value": "1 << 4"
|
|
},
|
|
{
|
|
"calc_value": 32,
|
|
"comment": " // Platform Window: Renderer doesn't need to clear the framebuffer ahead (because we will fill it entirely).",
|
|
"name": "ImGuiViewportFlags_NoRendererClear",
|
|
"value": "1 << 5"
|
|
},
|
|
{
|
|
"calc_value": 64,
|
|
"comment": " // Platform Window: Display on top (for tooltips only).",
|
|
"name": "ImGuiViewportFlags_TopMost",
|
|
"value": "1 << 6"
|
|
},
|
|
{
|
|
"calc_value": 128,
|
|
"comment": " // Platform Window: Window is minimized, can skip render. When minimized we tend to avoid using the viewport pos/size for clipping window or testing if they are contained in the viewport.",
|
|
"name": "ImGuiViewportFlags_Minimized",
|
|
"value": "1 << 7"
|
|
},
|
|
{
|
|
"calc_value": 256,
|
|
"comment": " // Platform Window: Avoid merging this window into another host window. This can only be set via ImGuiWindowClass viewport flags override (because we need to now ahead if we are going to create a viewport in the first place!).",
|
|
"name": "ImGuiViewportFlags_NoAutoMerge",
|
|
"value": "1 << 8"
|
|
},
|
|
{
|
|
"calc_value": 512,
|
|
"comment": " // Main viewport: can host multiple imgui windows (secondary viewports are associated to a single window).",
|
|
"name": "ImGuiViewportFlags_CanHostOtherWindows",
|
|
"value": "1 << 9"
|
|
}
|
|
],
|
|
"ImGuiWindowFlags_": [
|
|
{
|
|
"calc_value": 0,
|
|
"name": "ImGuiWindowFlags_None",
|
|
"value": "0"
|
|
},
|
|
{
|
|
"calc_value": 1,
|
|
"comment": " // Disable title-bar",
|
|
"name": "ImGuiWindowFlags_NoTitleBar",
|
|
"value": "1 << 0"
|
|
},
|
|
{
|
|
"calc_value": 2,
|
|
"comment": " // Disable user resizing with the lower-right grip",
|
|
"name": "ImGuiWindowFlags_NoResize",
|
|
"value": "1 << 1"
|
|
},
|
|
{
|
|
"calc_value": 4,
|
|
"comment": " // Disable user moving the window",
|
|
"name": "ImGuiWindowFlags_NoMove",
|
|
"value": "1 << 2"
|
|
},
|
|
{
|
|
"calc_value": 8,
|
|
"comment": " // Disable scrollbars (window can still scroll with mouse or programmatically)",
|
|
"name": "ImGuiWindowFlags_NoScrollbar",
|
|
"value": "1 << 3"
|
|
},
|
|
{
|
|
"calc_value": 16,
|
|
"comment": " // Disable user vertically scrolling with mouse wheel. On child window, mouse wheel will be forwarded to the parent unless NoScrollbar is also set.",
|
|
"name": "ImGuiWindowFlags_NoScrollWithMouse",
|
|
"value": "1 << 4"
|
|
},
|
|
{
|
|
"calc_value": 32,
|
|
"comment": " // Disable user collapsing window by double-clicking on it. Also referred to as \"window menu button\" within a docking node.",
|
|
"name": "ImGuiWindowFlags_NoCollapse",
|
|
"value": "1 << 5"
|
|
},
|
|
{
|
|
"calc_value": 64,
|
|
"comment": " // Resize every window to its content every frame",
|
|
"name": "ImGuiWindowFlags_AlwaysAutoResize",
|
|
"value": "1 << 6"
|
|
},
|
|
{
|
|
"calc_value": 128,
|
|
"comment": " // Disable drawing background color (WindowBg, etc.) and outside border. Similar as using SetNextWindowBgAlpha(0.0f).",
|
|
"name": "ImGuiWindowFlags_NoBackground",
|
|
"value": "1 << 7"
|
|
},
|
|
{
|
|
"calc_value": 256,
|
|
"comment": " // Never load/save settings in .ini file",
|
|
"name": "ImGuiWindowFlags_NoSavedSettings",
|
|
"value": "1 << 8"
|
|
},
|
|
{
|
|
"calc_value": 512,
|
|
"comment": " // Disable catching mouse, hovering test with pass through.",
|
|
"name": "ImGuiWindowFlags_NoMouseInputs",
|
|
"value": "1 << 9"
|
|
},
|
|
{
|
|
"calc_value": 1024,
|
|
"comment": " // Has a menu-bar",
|
|
"name": "ImGuiWindowFlags_MenuBar",
|
|
"value": "1 << 10"
|
|
},
|
|
{
|
|
"calc_value": 2048,
|
|
"comment": " // Allow horizontal scrollbar to appear (off by default). You may use SetNextWindowContentSize(ImVec2(width,0.0f)); prior to calling Begin() to specify width. Read code in imgui_demo in the \"Horizontal Scrolling\" section.",
|
|
"name": "ImGuiWindowFlags_HorizontalScrollbar",
|
|
"value": "1 << 11"
|
|
},
|
|
{
|
|
"calc_value": 4096,
|
|
"comment": " // Disable taking focus when transitioning from hidden to visible state",
|
|
"name": "ImGuiWindowFlags_NoFocusOnAppearing",
|
|
"value": "1 << 12"
|
|
},
|
|
{
|
|
"calc_value": 8192,
|
|
"comment": " // Disable bringing window to front when taking focus (e.g. clicking on it or programmatically giving it focus)",
|
|
"name": "ImGuiWindowFlags_NoBringToFrontOnFocus",
|
|
"value": "1 << 13"
|
|
},
|
|
{
|
|
"calc_value": 16384,
|
|
"comment": " // Always show vertical scrollbar (even if ContentSize.y < Size.y)",
|
|
"name": "ImGuiWindowFlags_AlwaysVerticalScrollbar",
|
|
"value": "1 << 14"
|
|
},
|
|
{
|
|
"calc_value": 32768,
|
|
"comment": " // Always show horizontal scrollbar (even if ContentSize.x < Size.x)",
|
|
"name": "ImGuiWindowFlags_AlwaysHorizontalScrollbar",
|
|
"value": "1<< 15"
|
|
},
|
|
{
|
|
"calc_value": 65536,
|
|
"comment": " // Ensure child windows without border uses style.WindowPadding (ignored by default for non-bordered child windows, because more convenient)",
|
|
"name": "ImGuiWindowFlags_AlwaysUseWindowPadding",
|
|
"value": "1 << 16"
|
|
},
|
|
{
|
|
"calc_value": 262144,
|
|
"comment": " // No gamepad/keyboard navigation within the window",
|
|
"name": "ImGuiWindowFlags_NoNavInputs",
|
|
"value": "1 << 18"
|
|
},
|
|
{
|
|
"calc_value": 524288,
|
|
"comment": " // No focusing toward this window with gamepad/keyboard navigation (e.g. skipped by CTRL+TAB)",
|
|
"name": "ImGuiWindowFlags_NoNavFocus",
|
|
"value": "1 << 19"
|
|
},
|
|
{
|
|
"calc_value": 1048576,
|
|
"comment": " // Append '*' to title without affecting the ID, as a convenience to avoid using the ### operator. When used in a tab/docking context, tab is selected on closure and closure is deferred by one frame to allow code to cancel the closure (with a confirmation popup, etc.) without flicker.",
|
|
"name": "ImGuiWindowFlags_UnsavedDocument",
|
|
"value": "1 << 20"
|
|
},
|
|
{
|
|
"calc_value": 2097152,
|
|
"comment": " // Disable docking of this window",
|
|
"name": "ImGuiWindowFlags_NoDocking",
|
|
"value": "1 << 21"
|
|
},
|
|
{
|
|
"calc_value": 786432,
|
|
"name": "ImGuiWindowFlags_NoNav",
|
|
"value": "ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus"
|
|
},
|
|
{
|
|
"calc_value": 43,
|
|
"name": "ImGuiWindowFlags_NoDecoration",
|
|
"value": "ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoResize | ImGuiWindowFlags_NoScrollbar | ImGuiWindowFlags_NoCollapse"
|
|
},
|
|
{
|
|
"calc_value": 786944,
|
|
"name": "ImGuiWindowFlags_NoInputs",
|
|
"value": "ImGuiWindowFlags_NoMouseInputs | ImGuiWindowFlags_NoNavInputs | ImGuiWindowFlags_NoNavFocus"
|
|
},
|
|
{
|
|
"calc_value": 8388608,
|
|
"comment": " // [BETA] Allow gamepad/keyboard navigation to cross over parent border to this child (only use on child that have no scrolling!)",
|
|
"name": "ImGuiWindowFlags_NavFlattened",
|
|
"value": "1 << 23"
|
|
},
|
|
{
|
|
"calc_value": 16777216,
|
|
"comment": " // Don't use! For internal use by BeginChild()",
|
|
"name": "ImGuiWindowFlags_ChildWindow",
|
|
"value": "1 << 24"
|
|
},
|
|
{
|
|
"calc_value": 33554432,
|
|
"comment": " // Don't use! For internal use by BeginTooltip()",
|
|
"name": "ImGuiWindowFlags_Tooltip",
|
|
"value": "1 << 25"
|
|
},
|
|
{
|
|
"calc_value": 67108864,
|
|
"comment": " // Don't use! For internal use by BeginPopup()",
|
|
"name": "ImGuiWindowFlags_Popup",
|
|
"value": "1 << 26"
|
|
},
|
|
{
|
|
"calc_value": 134217728,
|
|
"comment": " // Don't use! For internal use by BeginPopupModal()",
|
|
"name": "ImGuiWindowFlags_Modal",
|
|
"value": "1 << 27"
|
|
},
|
|
{
|
|
"calc_value": 268435456,
|
|
"comment": " // Don't use! For internal use by BeginMenu()",
|
|
"name": "ImGuiWindowFlags_ChildMenu",
|
|
"value": "1 << 28"
|
|
},
|
|
{
|
|
"calc_value": 536870912,
|
|
"comment": " // Don't use! For internal use by Begin()/NewFrame()",
|
|
"name": "ImGuiWindowFlags_DockNodeHost",
|
|
"value": "1 << 29"
|
|
}
|
|
]
|
|
},
|
|
"locations": {
|
|
"ImBitVector": "imgui_internal:480",
|
|
"ImColor": "imgui:2031",
|
|
"ImDrawChannel": "imgui:2117",
|
|
"ImDrawCmd": "imgui:2080",
|
|
"ImDrawCornerFlags_": "imgui:2140",
|
|
"ImDrawData": "imgui:2287",
|
|
"ImDrawDataBuilder": "imgui_internal:573",
|
|
"ImDrawList": "imgui:2173",
|
|
"ImDrawListFlags_": "imgui:2156",
|
|
"ImDrawListSharedData": "imgui_internal:554",
|
|
"ImDrawListSplitter": "imgui:2125",
|
|
"ImDrawVert": "imgui:2102",
|
|
"ImFont": "imgui:2499",
|
|
"ImFontAtlas": "imgui:2404",
|
|
"ImFontAtlasCustomRect": "imgui:2366",
|
|
"ImFontAtlasFlags_": "imgui:2379",
|
|
"ImFontConfig": "imgui:2311",
|
|
"ImFontGlyph": "imgui:2340",
|
|
"ImFontGlyphRangesBuilder": "imgui:2351",
|
|
"ImGuiAxis": "imgui_internal:709",
|
|
"ImGuiBackendFlags_": "imgui:1192",
|
|
"ImGuiButtonFlagsPrivate_": "imgui_internal:624",
|
|
"ImGuiButtonFlags_": "imgui:1310",
|
|
"ImGuiCol_": "imgui:1207",
|
|
"ImGuiColorEditFlags_": "imgui:1323",
|
|
"ImGuiColorMod": "imgui_internal:814",
|
|
"ImGuiColumnData": "imgui_internal:1013",
|
|
"ImGuiColumns": "imgui_internal:1023",
|
|
"ImGuiColumnsFlags_": "imgui_internal:1002",
|
|
"ImGuiComboFlags_": "imgui:961",
|
|
"ImGuiCond_": "imgui:1415",
|
|
"ImGuiConfigFlags_": "imgui:1167",
|
|
"ImGuiContext": "imgui_internal:1262",
|
|
"ImGuiDataAuthority_": "imgui_internal:1097",
|
|
"ImGuiDataTypeInfo": "imgui_internal:798",
|
|
"ImGuiDataTypePrivate_": "imgui_internal:806",
|
|
"ImGuiDataTypeTempStorage": "imgui_internal:792",
|
|
"ImGuiDataType_": "imgui:1067",
|
|
"ImGuiDir_": "imgui:1083",
|
|
"ImGuiDockContext": "imgui_internal:1169",
|
|
"ImGuiDockNode": "imgui_internal:1113",
|
|
"ImGuiDockNodeFlagsPrivate_": "imgui_internal:1073",
|
|
"ImGuiDockNodeFlags_": "imgui:1032",
|
|
"ImGuiDockNodeState": "imgui_internal:1104",
|
|
"ImGuiDragDropFlags_": "imgui:1045",
|
|
"ImGuiFocusedFlags_": "imgui:1002",
|
|
"ImGuiGroupData": "imgui_internal:831",
|
|
"ImGuiHoveredFlags_": "imgui:1014",
|
|
"ImGuiIO": "imgui:1568",
|
|
"ImGuiInputReadMode": "imgui_internal:733",
|
|
"ImGuiInputSource": "imgui_internal:722",
|
|
"ImGuiInputTextCallbackData": "imgui:1725",
|
|
"ImGuiInputTextFlags_": "imgui:879",
|
|
"ImGuiInputTextState": "imgui_internal:859",
|
|
"ImGuiItemFlags_": "imgui_internal:588",
|
|
"ImGuiItemStatusFlags_": "imgui_internal:603",
|
|
"ImGuiKeyModFlags_": "imgui:1122",
|
|
"ImGuiKey_": "imgui:1094",
|
|
"ImGuiLastItemDataBackup": "imgui_internal:1877",
|
|
"ImGuiLayoutType_": "imgui_internal:693",
|
|
"ImGuiListClipper": "imgui:1987",
|
|
"ImGuiLogType": "imgui_internal:699",
|
|
"ImGuiMenuColumns": "imgui_internal:845",
|
|
"ImGuiMouseButton_": "imgui:1382",
|
|
"ImGuiMouseCursor_": "imgui:1392",
|
|
"ImGuiNavDirSourceFlags_": "imgui_internal:752",
|
|
"ImGuiNavForward": "imgui_internal:772",
|
|
"ImGuiNavHighlightFlags_": "imgui_internal:743",
|
|
"ImGuiNavInput_": "imgui:1135",
|
|
"ImGuiNavLayer": "imgui_internal:779",
|
|
"ImGuiNavMoveFlags_": "imgui_internal:760",
|
|
"ImGuiNavMoveResult": "imgui_internal:906",
|
|
"ImGuiNextItemData": "imgui_internal:971",
|
|
"ImGuiNextItemDataFlags_": "imgui_internal:964",
|
|
"ImGuiNextWindowData": "imgui_internal:937",
|
|
"ImGuiNextWindowDataFlags_": "imgui_internal:920",
|
|
"ImGuiOnceUponAFrame": "imgui:1869",
|
|
"ImGuiPayload": "imgui:1784",
|
|
"ImGuiPlatformIO": "imgui:2601",
|
|
"ImGuiPlatformMonitor": "imgui:2666",
|
|
"ImGuiPlotType": "imgui_internal:716",
|
|
"ImGuiPopupData": "imgui_internal:893",
|
|
"ImGuiPopupFlags_": "imgui:934",
|
|
"ImGuiPopupPositionPolicy": "imgui_internal:786",
|
|
"ImGuiPtrOrIndex": "imgui_internal:989",
|
|
"ImGuiSelectableFlagsPrivate_": "imgui_internal:654",
|
|
"ImGuiSelectableFlags_": "imgui:950",
|
|
"ImGuiSeparatorFlags_": "imgui_internal:671",
|
|
"ImGuiSettingsHandler": "imgui_internal:1243",
|
|
"ImGuiShrinkWidthItem": "imgui_internal:983",
|
|
"ImGuiSizeCallbackData": "imgui:1754",
|
|
"ImGuiSliderFlagsPrivate_": "imgui_internal:647",
|
|
"ImGuiSliderFlags_": "imgui:1370",
|
|
"ImGuiStorage": "imgui:1931",
|
|
"ImGuiStoragePair": "imgui:1934",
|
|
"ImGuiStyle": "imgui:1516",
|
|
"ImGuiStyleMod": "imgui_internal:821",
|
|
"ImGuiStyleVar_": "imgui:1275",
|
|
"ImGuiTabBar": "imgui_internal:1927",
|
|
"ImGuiTabBarFlagsPrivate_": "imgui_internal:1894",
|
|
"ImGuiTabBarFlags_": "imgui:975",
|
|
"ImGuiTabItem": "imgui_internal:1910",
|
|
"ImGuiTabItemFlagsPrivate_": "imgui_internal:1902",
|
|
"ImGuiTabItemFlags_": "imgui:991",
|
|
"ImGuiTextBuffer": "imgui:1904",
|
|
"ImGuiTextFilter": "imgui:1877",
|
|
"ImGuiTextFlags_": "imgui_internal:679",
|
|
"ImGuiTextRange": "imgui:1887",
|
|
"ImGuiTooltipFlags_": "imgui_internal:685",
|
|
"ImGuiTreeNodeFlagsPrivate_": "imgui_internal:666",
|
|
"ImGuiTreeNodeFlags_": "imgui:907",
|
|
"ImGuiViewport": "imgui:2693",
|
|
"ImGuiViewportFlags_": "imgui:2675",
|
|
"ImGuiViewportP": "imgui_internal:1188",
|
|
"ImGuiWindow": "imgui_internal:1747",
|
|
"ImGuiWindowClass": "imgui:1769",
|
|
"ImGuiWindowFlags_": "imgui:835",
|
|
"ImGuiWindowSettings": "imgui_internal:1226",
|
|
"ImGuiWindowTempData": "imgui_internal:1655",
|
|
"ImRect": "imgui_internal:427",
|
|
"ImVec1": "imgui_internal:409",
|
|
"ImVec2": "imgui:220",
|
|
"ImVec2ih": "imgui_internal:417",
|
|
"ImVec4": "imgui:233",
|
|
"STB_TexteditState": "imstb_textedit:362",
|
|
"StbTexteditRow": "imstb_textedit:362",
|
|
"StbUndoRecord": "imstb_textedit:362",
|
|
"StbUndoState": "imstb_textedit:362"
|
|
},
|
|
"structs": {
|
|
"ImBitVector": [
|
|
{
|
|
"name": "Storage",
|
|
"template_type": "ImU32",
|
|
"type": "ImVector_ImU32"
|
|
}
|
|
],
|
|
"ImColor": [
|
|
{
|
|
"name": "Value",
|
|
"type": "ImVec4"
|
|
}
|
|
],
|
|
"ImDrawChannel": [
|
|
{
|
|
"name": "_CmdBuffer",
|
|
"template_type": "ImDrawCmd",
|
|
"type": "ImVector_ImDrawCmd"
|
|
},
|
|
{
|
|
"name": "_IdxBuffer",
|
|
"template_type": "ImDrawIdx",
|
|
"type": "ImVector_ImDrawIdx"
|
|
}
|
|
],
|
|
"ImDrawCmd": [
|
|
{
|
|
"comment": " // 4 // Start offset in vertex buffer. ImGuiBackendFlags_RendererHasVtxOffset: always 0, otherwise may be >0 to support meshes larger than 64K vertices with 16-bit indices.",
|
|
"name": "ClipRect",
|
|
"type": "ImVec4"
|
|
},
|
|
{
|
|
"comment": " // 4 // Start offset in index buffer. Always equal to sum of ElemCount drawn so far.",
|
|
"name": "TextureId",
|
|
"type": "ImTextureID"
|
|
},
|
|
{
|
|
"comment": " // 4 // Number of indices (multiple of 3) to be rendered as triangles. Vertices are stored in the callee ImDrawList's vtx_buffer[] array, indices in idx_buffer[].",
|
|
"name": "VtxOffset",
|
|
"type": "unsigned int"
|
|
},
|
|
{
|
|
"comment": " // 4-8 // If != NULL, call the function instead of rendering the vertices. clip_rect and texture_id will be set normally.",
|
|
"name": "IdxOffset",
|
|
"type": "unsigned int"
|
|
},
|
|
{
|
|
"comment": " // 4-8 // The draw callback code can access this.",
|
|
"name": "ElemCount",
|
|
"type": "unsigned int"
|
|
},
|
|
{
|
|
"name": "UserCallback",
|
|
"type": "ImDrawCallback"
|
|
},
|
|
{
|
|
"name": "UserCallbackData",
|
|
"type": "void*"
|
|
}
|
|
],
|
|
"ImDrawData": [
|
|
{
|
|
"comment": " // Number of ImDrawList* to render",
|
|
"name": "Valid",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // For convenience, sum of all ImDrawList's IdxBuffer.Size",
|
|
"name": "CmdLists",
|
|
"type": "ImDrawList**"
|
|
},
|
|
{
|
|
"comment": " // For convenience, sum of all ImDrawList's VtxBuffer.Size",
|
|
"name": "CmdListsCount",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Upper-left position of the viewport to render (== upper-left of the orthogonal projection matrix to use)",
|
|
"name": "TotalIdxCount",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Size of the viewport to render (== io.DisplaySize for the main viewport) (DisplayPos + DisplaySize == lower-right of the orthogonal projection matrix to use)",
|
|
"name": "TotalVtxCount",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Amount of pixels for each unit of DisplaySize. Based on io.DisplayFramebufferScale. Generally (1,1) on normal display, (2,2) on OSX with Retina display.",
|
|
"name": "DisplayPos",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Viewport carrying the ImDrawData instance, might be of use to the renderer (generally not).",
|
|
"name": "DisplaySize",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "FramebufferScale",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "OwnerViewport",
|
|
"type": "ImGuiViewport*"
|
|
}
|
|
],
|
|
"ImDrawDataBuilder": [
|
|
{
|
|
"name": "Layers[2]",
|
|
"size": 2,
|
|
"template_type": "ImDrawList*",
|
|
"type": "ImVector_ImDrawListPtr"
|
|
}
|
|
],
|
|
"ImDrawList": [
|
|
{
|
|
"comment": " // Vertex buffer.",
|
|
"name": "CmdBuffer",
|
|
"template_type": "ImDrawCmd",
|
|
"type": "ImVector_ImDrawCmd"
|
|
},
|
|
{
|
|
"comment": " // Flags, you may poke into these to adjust anti-aliasing settings per-primitive.",
|
|
"name": "IdxBuffer",
|
|
"template_type": "ImDrawIdx",
|
|
"type": "ImVector_ImDrawIdx"
|
|
},
|
|
{
|
|
"comment": " // Pointer to shared draw data (you can use ImGui::GetDrawListSharedData() to get the one from current ImGui context)",
|
|
"name": "VtxBuffer",
|
|
"template_type": "ImDrawVert",
|
|
"type": "ImVector_ImDrawVert"
|
|
},
|
|
{
|
|
"comment": " // Pointer to owner window's name for debugging",
|
|
"name": "Flags",
|
|
"type": "ImDrawListFlags"
|
|
},
|
|
{
|
|
"comment": " // [Internal] Generally == VtxBuffer.Size unless we are past 64K vertices, in which case this gets reset to 0.",
|
|
"name": "_Data",
|
|
"type": "const ImDrawListSharedData*"
|
|
},
|
|
{
|
|
"comment": " // [Internal] point within VtxBuffer.Data after each add command (to avoid using the ImVector<> operators too much)",
|
|
"name": "_OwnerName",
|
|
"type": "const char*"
|
|
},
|
|
{
|
|
"comment": " // [Internal] point within IdxBuffer.Data after each add command (to avoid using the ImVector<> operators too much)",
|
|
"name": "_VtxCurrentIdx",
|
|
"type": "unsigned int"
|
|
},
|
|
{
|
|
"comment": " // [Internal]",
|
|
"name": "_VtxWritePtr",
|
|
"type": "ImDrawVert*"
|
|
},
|
|
{
|
|
"comment": " // [Internal]",
|
|
"name": "_IdxWritePtr",
|
|
"type": "ImDrawIdx*"
|
|
},
|
|
{
|
|
"comment": " // [Internal] current path building",
|
|
"name": "_ClipRectStack",
|
|
"template_type": "ImVec4",
|
|
"type": "ImVector_ImVec4"
|
|
},
|
|
{
|
|
"comment": " // [Internal] Template of active commands. Fields should match those of CmdBuffer.back().",
|
|
"name": "_TextureIdStack",
|
|
"template_type": "ImTextureID",
|
|
"type": "ImVector_ImTextureID"
|
|
},
|
|
{
|
|
"comment": " // [Internal] for channels api (note: prefer using your own persistent instance of ImDrawListSplitter!)",
|
|
"name": "_Path",
|
|
"template_type": "ImVec2",
|
|
"type": "ImVector_ImVec2"
|
|
},
|
|
{
|
|
"name": "_CmdHeader",
|
|
"type": "ImDrawCmd"
|
|
},
|
|
{
|
|
"name": "_Splitter",
|
|
"type": "ImDrawListSplitter"
|
|
}
|
|
],
|
|
"ImDrawListSharedData": [
|
|
{
|
|
"comment": " // Current/default font size (optional, for simplified AddText overload)",
|
|
"name": "TexUvWhitePixel",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Tessellation tolerance when using PathBezierCurveTo()",
|
|
"name": "Font",
|
|
"type": "ImFont*"
|
|
},
|
|
{
|
|
"comment": " // Number of circle segments to use per pixel of radius for AddCircle() etc",
|
|
"name": "FontSize",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Value for PushClipRectFullscreen()",
|
|
"name": "CurveTessellationTol",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Initial flags at the beginning of the frame (it is possible to alter flags on a per-drawlist basis afterwards)",
|
|
"name": "CircleSegmentMaxError",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // FIXME: Bake rounded corners fill/borders in atlas",
|
|
"name": "ClipRectFullscreen",
|
|
"type": "ImVec4"
|
|
},
|
|
{
|
|
"comment": " // Precomputed segment count for given radius (array index + 1) before we calculate it dynamically (to avoid calculation overhead)",
|
|
"name": "InitialFlags",
|
|
"type": "ImDrawListFlags"
|
|
},
|
|
{
|
|
"comment": " // UV of anti-aliased lines in the atlas",
|
|
"name": "ArcFastVtx[12*1]",
|
|
"size": 12,
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "CircleSegmentCounts[64]",
|
|
"size": 64,
|
|
"type": "ImU8"
|
|
},
|
|
{
|
|
"name": "TexUvLines",
|
|
"type": "const ImVec4*"
|
|
}
|
|
],
|
|
"ImDrawListSplitter": [
|
|
{
|
|
"comment": " // Draw channels (not resized down so _Count might be < Channels.Size)",
|
|
"name": "_Current",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "_Count",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "_Channels",
|
|
"template_type": "ImDrawChannel",
|
|
"type": "ImVector_ImDrawChannel"
|
|
}
|
|
],
|
|
"ImDrawVert": [
|
|
{
|
|
"name": "pos",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "uv",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "col",
|
|
"type": "ImU32"
|
|
}
|
|
],
|
|
"ImFont": [
|
|
{
|
|
"comment": " // 4 // in // // Height of characters/line, set during loading (don't change after loading)",
|
|
"name": "IndexAdvanceX",
|
|
"template_type": "float",
|
|
"type": "ImVector_float"
|
|
},
|
|
{
|
|
"comment": " // 12-16 // out // // Sparse. Index glyphs by Unicode code-point.",
|
|
"name": "FallbackAdvanceX",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // 12-16 // out // // All glyphs.",
|
|
"name": "FontSize",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // 4-8 // out // = FindGlyph(FontFallbackChar)",
|
|
"name": "IndexLookup",
|
|
"template_type": "ImWchar",
|
|
"type": "ImVector_ImWchar"
|
|
},
|
|
{
|
|
"comment": " // 8 // in // = (0,0) // Offset font rendering by xx pixels",
|
|
"name": "Glyphs",
|
|
"template_type": "ImFontGlyph",
|
|
"type": "ImVector_ImFontGlyph"
|
|
},
|
|
{
|
|
"comment": " // 4-8 // out // // What we has been loaded into",
|
|
"name": "FallbackGlyph",
|
|
"type": "const ImFontGlyph*"
|
|
},
|
|
{
|
|
"comment": " // 4-8 // in // // Pointer within ContainerAtlas->ConfigData",
|
|
"name": "DisplayOffset",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // 2 // in // ~ 1 // Number of ImFontConfig involved in creating this font. Bigger than 1 when merging multiple font sources into one ImFont.",
|
|
"name": "ContainerAtlas",
|
|
"type": "ImFontAtlas*"
|
|
},
|
|
{
|
|
"comment": " // 2 // in // = '?' // Replacement character if a glyph isn't found. Only set via SetFallbackChar()",
|
|
"name": "ConfigData",
|
|
"type": "const ImFontConfig*"
|
|
},
|
|
{
|
|
"comment": " // 2 // out // = -1 // Character used for ellipsis rendering.",
|
|
"name": "ConfigDataCount",
|
|
"type": "short"
|
|
},
|
|
{
|
|
"comment": " // 1 // out //",
|
|
"name": "FallbackChar",
|
|
"type": "ImWchar"
|
|
},
|
|
{
|
|
"comment": " // 4 // in // = 1.f // Base font scale, multiplied by the per-window font scale which you can adjust with SetWindowFontScale()",
|
|
"name": "EllipsisChar",
|
|
"type": "ImWchar"
|
|
},
|
|
{
|
|
"comment": " // 4+4 // out // // Ascent: distance from top to bottom of e.g. 'A' [0..FontSize]",
|
|
"name": "DirtyLookupTables",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": "// 4 // out // // Total surface in pixels to get an idea of the font rasterization/texture cost (not exact, we approximate the cost of padding between glyphs)",
|
|
"name": "Scale",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // 2 bytes if ImWchar=ImWchar16, 34 bytes if ImWchar==ImWchar32. Store 1-bit for each block of 4K codepoints that has one active glyph. This is mainly used to facilitate iterations across all used codepoints.",
|
|
"name": "Ascent",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // 2 bytes if ImWchar=ImWchar16, 34 bytes if ImWchar==ImWchar32. Store 1-bit for each block of 4K codepoints that has one active glyph. This is mainly used to facilitate iterations across all used codepoints.",
|
|
"name": "Descent",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "MetricsTotalSurface",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "Used4kPagesMap[(0xFFFF+1)/4096/8]",
|
|
"size": 2,
|
|
"type": "ImU8"
|
|
}
|
|
],
|
|
"ImFontAtlas": [
|
|
{
|
|
"comment": " // User data to refer to the texture once it has been uploaded to user's graphic systems. It is passed back to you during rendering via the ImDrawCmd structure.",
|
|
"name": "Locked",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Texture width desired by user before Build(). Must be a power-of-two. If have many glyphs your graphics API have texture size restrictions you may want to increase texture width to decrease height.",
|
|
"name": "Flags",
|
|
"type": "ImFontAtlasFlags"
|
|
},
|
|
{
|
|
"comment": " // Padding between glyphs within texture in pixels. Defaults to 1. If your rendering method doesn't rely on bilinear filtering you may set this to 0.",
|
|
"name": "TexID",
|
|
"type": "ImTextureID"
|
|
},
|
|
{
|
|
"comment": " // 1 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight",
|
|
"name": "TexDesiredWidth",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // 4 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight * 4",
|
|
"name": "TexGlyphPadding",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Texture width calculated during Build().",
|
|
"name": "TexPixelsAlpha8",
|
|
"type": "unsigned char*"
|
|
},
|
|
{
|
|
"comment": " // Texture height calculated during Build().",
|
|
"name": "TexPixelsRGBA32",
|
|
"type": "unsigned int*"
|
|
},
|
|
{
|
|
"comment": " // = (1.0f/TexWidth, 1.0f/TexHeight)",
|
|
"name": "TexWidth",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Texture coordinates to a white pixel",
|
|
"name": "TexHeight",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Hold all the fonts returned by AddFont*. Fonts[0] is the default font upon calling ImGui::NewFrame(), use ImGui::PushFont()/PopFont() to change the current font.",
|
|
"name": "TexUvScale",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Rectangles for packing custom texture data into the atlas.",
|
|
"name": "TexUvWhitePixel",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Configuration data",
|
|
"name": "Fonts",
|
|
"template_type": "ImFont*",
|
|
"type": "ImVector_ImFontPtr"
|
|
},
|
|
{
|
|
"comment": " // UVs for baked anti-aliased lines",
|
|
"name": "CustomRects",
|
|
"template_type": "ImFontAtlasCustomRect",
|
|
"type": "ImVector_ImFontAtlasCustomRect"
|
|
},
|
|
{
|
|
"comment": " // Custom texture rectangle ID for white pixel and mouse cursors",
|
|
"name": "ConfigData",
|
|
"template_type": "ImFontConfig",
|
|
"type": "ImVector_ImFontConfig"
|
|
},
|
|
{
|
|
"comment": " // Custom texture rectangle ID for baked anti-aliased lines",
|
|
"name": "TexUvLines[(63)+1]",
|
|
"size": 64,
|
|
"type": "ImVec4"
|
|
},
|
|
{
|
|
"name": "PackIdMouseCursors",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "PackIdLines",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"ImFontAtlasCustomRect": [
|
|
{
|
|
"comment": " // Input // For custom font glyphs only (ID < 0x110000)",
|
|
"name": "Width",
|
|
"type": "unsigned short"
|
|
},
|
|
{
|
|
"comment": " // Input // For custom font glyphs only (ID < 0x110000)",
|
|
"name": "Height",
|
|
"type": "unsigned short"
|
|
},
|
|
{
|
|
"comment": " // Input // For custom font glyphs only: glyph xadvance",
|
|
"name": "X",
|
|
"type": "unsigned short"
|
|
},
|
|
{
|
|
"comment": " // Input // For custom font glyphs only: glyph xadvance",
|
|
"name": "Y",
|
|
"type": "unsigned short"
|
|
},
|
|
{
|
|
"comment": " // Input // For custom font glyphs only: glyph display offset",
|
|
"name": "GlyphID",
|
|
"type": "unsigned int"
|
|
},
|
|
{
|
|
"comment": " // Input // For custom font glyphs only: target font",
|
|
"name": "GlyphAdvanceX",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "GlyphOffset",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "Font",
|
|
"type": "ImFont*"
|
|
}
|
|
],
|
|
"ImFontConfig": [
|
|
{
|
|
"comment": " // true // TTF/OTF data ownership taken by the container ImFontAtlas (will delete memory itself).",
|
|
"name": "FontData",
|
|
"type": "void*"
|
|
},
|
|
{
|
|
"comment": " // 0 // Index of font within TTF/OTF file",
|
|
"name": "FontDataSize",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // // Size in pixels for rasterizer (more or less maps to the resulting font height).",
|
|
"name": "FontDataOwnedByAtlas",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // 3 // Rasterize at higher quality for sub-pixel positioning. Read https://github.com/nothings/stb/blob/master/tests/oversample/README.md for details.",
|
|
"name": "FontNo",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // 1 // Rasterize at higher quality for sub-pixel positioning. We don't use sub-pixel positions on the Y axis.",
|
|
"name": "SizePixels",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // false // Align every glyph to pixel boundary. Useful e.g. if you are merging a non-pixel aligned font with the default font. If enabled, you can set OversampleH/V to 1.",
|
|
"name": "OversampleH",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // 0, 0 // Extra spacing (in pixels) between glyphs. Only X axis is supported for now.",
|
|
"name": "OversampleV",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // 0, 0 // Offset all glyphs from this font input.",
|
|
"name": "PixelSnapH",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // NULL // Pointer to a user-provided list of Unicode range (2 value per range, values are inclusive, zero-terminated list). THE ARRAY DATA NEEDS TO PERSIST AS LONG AS THE FONT IS ALIVE.",
|
|
"name": "GlyphExtraSpacing",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // 0 // Minimum AdvanceX for glyphs, set Min to align font icons, set both Min/Max to enforce mono-space font",
|
|
"name": "GlyphOffset",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // FLT_MAX // Maximum AdvanceX for glyphs",
|
|
"name": "GlyphRanges",
|
|
"type": "const ImWchar*"
|
|
},
|
|
{
|
|
"comment": " // false // Merge into previous ImFont, so you can combine multiple inputs font into one ImFont (e.g. ASCII font + icons + Japanese glyphs). You may want to use GlyphOffset.y when merge font of different heights.",
|
|
"name": "GlyphMinAdvanceX",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // 0x00 // Settings for custom font rasterizer (e.g. ImGuiFreeType). Leave as zero if you aren't using one.",
|
|
"name": "GlyphMaxAdvanceX",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // 1.0f // Brighten (>1.0f) or darken (<1.0f) font output. Brightening small fonts may be a good workaround to make them more readable.",
|
|
"name": "MergeMode",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // -1 // Explicitly specify unicode codepoint of ellipsis character. When fonts are being merged first specified ellipsis will be used.",
|
|
"name": "RasterizerFlags",
|
|
"type": "unsigned int"
|
|
},
|
|
{
|
|
"comment": " // Name (strictly to ease debugging)",
|
|
"name": "RasterizerMultiply",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "EllipsisChar",
|
|
"type": "ImWchar"
|
|
},
|
|
{
|
|
"name": "Name[40]",
|
|
"size": 40,
|
|
"type": "char"
|
|
},
|
|
{
|
|
"name": "DstFont",
|
|
"type": "ImFont*"
|
|
}
|
|
],
|
|
"ImFontGlyph": [
|
|
{
|
|
"bitfield": "31",
|
|
"comment": " // Distance to next character (= data from font + ImFontConfig::GlyphExtraSpacing.x baked in)",
|
|
"name": "Codepoint",
|
|
"type": "unsigned int"
|
|
},
|
|
{
|
|
"bitfield": "1",
|
|
"comment": " // Glyph corners",
|
|
"name": "Visible",
|
|
"type": "unsigned int"
|
|
},
|
|
{
|
|
"comment": " // Texture coordinates",
|
|
"name": "AdvanceX",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "X0",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "Y0",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "X1",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "Y1",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "U0",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "V0",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "U1",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "V1",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"ImFontGlyphRangesBuilder": [
|
|
{
|
|
"name": "UsedChars",
|
|
"template_type": "ImU32",
|
|
"type": "ImVector_ImU32"
|
|
}
|
|
],
|
|
"ImGuiColorMod": [
|
|
{
|
|
"name": "Col",
|
|
"type": "ImGuiCol"
|
|
},
|
|
{
|
|
"name": "BackupValue",
|
|
"type": "ImVec4"
|
|
}
|
|
],
|
|
"ImGuiColumnData": [
|
|
{
|
|
"name": "OffsetNorm",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "OffsetNormBeforeResize",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "Flags",
|
|
"type": "ImGuiColumnsFlags"
|
|
},
|
|
{
|
|
"name": "ClipRect",
|
|
"type": "ImRect"
|
|
}
|
|
],
|
|
"ImGuiColumns": [
|
|
{
|
|
"comment": " // Backup of CursorMaxPos at the time of BeginColumns()",
|
|
"name": "ID",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Backup of ClipRect at the time of BeginColumns()",
|
|
"name": "Flags",
|
|
"type": "ImGuiColumnsFlags"
|
|
},
|
|
{
|
|
"comment": " // Backup of ClipRect during PushColumnsBackground()/PopColumnsBackground()",
|
|
"name": "IsFirstFrame",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": "//Backup of WorkRect at the time of BeginColumns()",
|
|
"name": "IsBeingResized",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "Current",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "Count",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "OffMinX",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "OffMaxX",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "LineMinY",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "LineMaxY",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "HostCursorPosY",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "HostCursorMaxPosX",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "HostInitialClipRect",
|
|
"type": "ImRect"
|
|
},
|
|
{
|
|
"name": "HostBackupClipRect",
|
|
"type": "ImRect"
|
|
},
|
|
{
|
|
"name": "HostBackupParentWorkRect",
|
|
"type": "ImRect"
|
|
},
|
|
{
|
|
"name": "Columns",
|
|
"template_type": "ImGuiColumnData",
|
|
"type": "ImVector_ImGuiColumnData"
|
|
},
|
|
{
|
|
"name": "Splitter",
|
|
"type": "ImDrawListSplitter"
|
|
}
|
|
],
|
|
"ImGuiContext": [
|
|
{
|
|
"comment": " // (Shortcut) == FontStack.empty() ? IO.Font : FontStack.back()",
|
|
"name": "Initialized",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // (Shortcut) == FontBaseSize * g.CurrentWindow->FontWindowScale == window->FontSize(). Text height for current window.",
|
|
"name": "FontAtlasOwnedByContext",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // (Shortcut) == IO.FontGlobalScale * Font->Scale * Font->FontSize. Base text height.",
|
|
"name": "IO",
|
|
"type": "ImGuiIO"
|
|
},
|
|
{
|
|
"comment": " // Set by NewFrame(), cleared by EndFrame()",
|
|
"name": "PlatformIO",
|
|
"type": "ImGuiPlatformIO"
|
|
},
|
|
{
|
|
"comment": " // Set by NewFrame(), cleared by EndFrame() when the implicit debug window has been pushed",
|
|
"name": "Style",
|
|
"type": "ImGuiStyle"
|
|
},
|
|
{
|
|
"comment": " // Set within EndChild()",
|
|
"name": "ConfigFlagsCurrFrame",
|
|
"type": "ImGuiConfigFlags"
|
|
},
|
|
{
|
|
"comment": " // Will call test engine hooks: ImGuiTestEngineHook_ItemAdd(), ImGuiTestEngineHook_ItemInfo(), ImGuiTestEngineHook_Log()",
|
|
"name": "ConfigFlagsLastFrame",
|
|
"type": "ImGuiConfigFlags"
|
|
},
|
|
{
|
|
"comment": " // Will call test engine hooks: ImGuiTestEngineHook_IdInfo() from GetID()",
|
|
"name": "Font",
|
|
"type": "ImFont*"
|
|
},
|
|
{
|
|
"comment": " // Test engine user data",
|
|
"name": "FontSize",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Windows, sorted in display order, back to front",
|
|
"name": "FontBaseSize",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Windows, sorted in focus order, back to front. (FIXME: We could only store root windows here! Need to sort out the Docking equivalent which is RootWindowDockStop and is unfortunately a little more dynamic)",
|
|
"name": "DrawListSharedData",
|
|
"type": "ImDrawListSharedData"
|
|
},
|
|
{
|
|
"comment": " // Temporary buffer used in EndFrame() to reorder windows so parents are kept before their child",
|
|
"name": "Time",
|
|
"type": "double"
|
|
},
|
|
{
|
|
"comment": " // Map window's ImGuiID to ImGuiWindow*",
|
|
"name": "FrameCount",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Number of unique windows submitted by frame",
|
|
"name": "FrameCountEnded",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Window being drawn into",
|
|
"name": "FrameCountPlatformEnded",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Window the mouse is hovering. Will typically catch mouse inputs.",
|
|
"name": "FrameCountRendered",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // == HoveredWindow ? HoveredWindow->RootWindow : NULL, merely a shortcut to avoid null test in some situation.",
|
|
"name": "WithinFrameScope",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Hovered window ignoring MovingWindow. Only set if MovingWindow is set.",
|
|
"name": "WithinFrameScopeWithImplicitWindow",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Track the window we clicked on (in order to preserve focus). The actual window that is moved is generally MovingWindow->RootWindow.",
|
|
"name": "WithinEndChild",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Track the window we started mouse-wheeling on. Until a timer elapse or mouse has moved, generally keep scrolling the same window even if during the course of scrolling the mouse ends up hovering a child window.",
|
|
"name": "TestEngineHookItems",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Hovered widget",
|
|
"name": "TestEngineHookIdInfo",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // At least one widget passed the rect test, but has been discarded by disabled flag or popup inhibit. May be true even if HoveredId == 0.",
|
|
"name": "TestEngine",
|
|
"type": "void*"
|
|
},
|
|
{
|
|
"comment": " // Measure contiguous hovering time",
|
|
"name": "Windows",
|
|
"template_type": "ImGuiWindow*",
|
|
"type": "ImVector_ImGuiWindowPtr"
|
|
},
|
|
{
|
|
"comment": " // Measure contiguous hovering time where the item has not been active",
|
|
"name": "WindowsFocusOrder",
|
|
"template_type": "ImGuiWindow*",
|
|
"type": "ImVector_ImGuiWindowPtr"
|
|
},
|
|
{
|
|
"comment": " // Active widget",
|
|
"name": "WindowsTempSortBuffer",
|
|
"template_type": "ImGuiWindow*",
|
|
"type": "ImVector_ImGuiWindowPtr"
|
|
},
|
|
{
|
|
"comment": " // Active widget has been seen this frame (we can't use a bool as the ActiveId may change within the frame)",
|
|
"name": "CurrentWindowStack",
|
|
"template_type": "ImGuiWindow*",
|
|
"type": "ImVector_ImGuiWindowPtr"
|
|
},
|
|
{
|
|
"comment": " // Set at the time of activation for one frame",
|
|
"name": "WindowsById",
|
|
"type": "ImGuiStorage"
|
|
},
|
|
{
|
|
"comment": " // Active widget allows another widget to steal active id (generally for overlapping widgets, but not always)",
|
|
"name": "WindowsActiveCount",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Disable losing active id if the active id window gets unfocused.",
|
|
"name": "CurrentWindow",
|
|
"type": "ImGuiWindow*"
|
|
},
|
|
{
|
|
"comment": " // Track whether the active id led to a press (this is to allow changing between PressOnClick and PressOnRelease without pressing twice). Used by range_select branch.",
|
|
"name": "HoveredWindow",
|
|
"type": "ImGuiWindow*"
|
|
},
|
|
{
|
|
"comment": " // Was the value associated to the widget Edited over the course of the Active state.",
|
|
"name": "HoveredRootWindow",
|
|
"type": "ImGuiWindow*"
|
|
},
|
|
{
|
|
"comment": " // Active widget will want to read those nav move requests (e.g. can activate a button and move away from it)",
|
|
"name": "HoveredWindowUnderMovingWindow",
|
|
"type": "ImGuiWindow*"
|
|
},
|
|
{
|
|
"comment": " // Active widget will want to read those nav inputs.",
|
|
"name": "HoveredDockNode",
|
|
"type": "ImGuiDockNode*"
|
|
},
|
|
{
|
|
"comment": " // Active widget will want to read those key inputs. When we grow the ImGuiKey enum we'll need to either to order the enum to make useful keys come first, either redesign this into e.g. a small array.",
|
|
"name": "MovingWindow",
|
|
"type": "ImGuiWindow*"
|
|
},
|
|
{
|
|
"comment": " // Clicked offset from upper-left corner, if applicable (currently only set by ButtonBehavior)",
|
|
"name": "WheelingWindow",
|
|
"type": "ImGuiWindow*"
|
|
},
|
|
{
|
|
"comment": " // Activating with mouse or nav (gamepad/keyboard)",
|
|
"name": "WheelingWindowRefMousePos",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Store the last non-zero ActiveId, useful for animation.",
|
|
"name": "WheelingWindowTimer",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Store the last non-zero ActiveId timer since the beginning of activation, useful for animation.",
|
|
"name": "HoveredId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Storage for SetNextWindow** functions",
|
|
"name": "HoveredIdPreviousFrame",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Storage for SetNextItem** functions",
|
|
"name": "HoveredIdAllowOverlap",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Stack for PushStyleColor()/PopStyleColor()",
|
|
"name": "HoveredIdDisabled",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Stack for PushStyleVar()/PopStyleVar()",
|
|
"name": "HoveredIdTimer",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Stack for PushFont()/PopFont()",
|
|
"name": "HoveredIdNotActiveTimer",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Which popups are open (persistent)",
|
|
"name": "ActiveId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Which level of BeginPopup() we are in (reset every frame)",
|
|
"name": "ActiveIdIsAlive",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Active viewports (always 1+, and generally 1 unless multi-viewports are enabled). Each viewports hold their copy of ImDrawData.",
|
|
"name": "ActiveIdTimer",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // == CurrentViewport->DpiScale",
|
|
"name": "ActiveIdIsJustActivated",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // We track changes of viewport (happening in Begin) so we can call Platform_OnChangedViewport()",
|
|
"name": "ActiveIdAllowOverlap",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Last known viewport that was hovered by mouse (even if we are not hovering any viewport any more) + honoring the _NoInputs flag.",
|
|
"name": "ActiveIdNoClearOnFocusLoss",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Record of last focused platform window/viewport, when this changes we stamp the viewport as front-most",
|
|
"name": "ActiveIdHasBeenPressedBefore",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Every time the front-most window changes, we stamp its viewport with an incrementing counter",
|
|
"name": "ActiveIdHasBeenEditedBefore",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Focused window for navigation. Could be called 'FocusWindow'",
|
|
"name": "ActiveIdHasBeenEditedThisFrame",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Focused item for navigation",
|
|
"name": "ActiveIdUsingNavDirMask",
|
|
"type": "ImU32"
|
|
},
|
|
{
|
|
"comment": " // Identify a selection scope (selection code often wants to \"clear other items\" when landing on an item of the selection set)",
|
|
"name": "ActiveIdUsingNavInputMask",
|
|
"type": "ImU32"
|
|
},
|
|
{
|
|
"comment": " // ~~ (g.ActiveId == 0) && IsNavInputPressed(ImGuiNavInput_Activate) ? NavId : 0, also set when calling ActivateItem()",
|
|
"name": "ActiveIdUsingKeyInputMask",
|
|
"type": "ImU64"
|
|
},
|
|
{
|
|
"comment": " // ~~ IsNavInputDown(ImGuiNavInput_Activate) ? NavId : 0",
|
|
"name": "ActiveIdClickOffset",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // ~~ IsNavInputPressed(ImGuiNavInput_Activate) ? NavId : 0",
|
|
"name": "ActiveIdWindow",
|
|
"type": "ImGuiWindow*"
|
|
},
|
|
{
|
|
"comment": " // ~~ IsNavInputPressed(ImGuiNavInput_Input) ? NavId : 0",
|
|
"name": "ActiveIdSource",
|
|
"type": "ImGuiInputSource"
|
|
},
|
|
{
|
|
"comment": " // Just tabbed to this id.",
|
|
"name": "ActiveIdMouseButton",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Just navigated to this id (result of a successfully MoveRequest).",
|
|
"name": "ActiveIdPreviousFrame",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Just navigated to this focus scope id (result of a successfully MoveRequest).",
|
|
"name": "ActiveIdPreviousFrameIsAlive",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Set by ActivateItem(), queued until next frame.",
|
|
"name": "ActiveIdPreviousFrameHasBeenEditedBefore",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Keyboard or Gamepad mode? THIS WILL ONLY BE None or NavGamepad or NavKeyboard.",
|
|
"name": "ActiveIdPreviousFrameWindow",
|
|
"type": "ImGuiWindow*"
|
|
},
|
|
{
|
|
"comment": " // Rectangle used for scoring, in screen space. Based of window->DC.NavRefRectRel[], modified for directional navigation scoring.",
|
|
"name": "LastActiveId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Metrics for debugging",
|
|
"name": "LastActiveIdTimer",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Layer we are navigating on. For now the system is hard-coded for 0=main contents and 1=menu/title bar, may expose layers later.",
|
|
"name": "NextWindowData",
|
|
"type": "ImGuiNextWindowData"
|
|
},
|
|
{
|
|
"comment": " // == NavWindow->DC.FocusIdxTabCounter at time of NavId processing",
|
|
"name": "NextItemData",
|
|
"type": "ImGuiNextItemData"
|
|
},
|
|
{
|
|
"comment": " // Nav widget has been seen this frame ~~ NavRefRectRel is valid",
|
|
"name": "ColorModifiers",
|
|
"template_type": "ImGuiColorMod",
|
|
"type": "ImVector_ImGuiColorMod"
|
|
},
|
|
{
|
|
"comment": " // When set we will update mouse position if (io.ConfigFlags & ImGuiConfigFlags_NavEnableSetMousePos) if set (NB: this not enabled by default)",
|
|
"name": "StyleModifiers",
|
|
"template_type": "ImGuiStyleMod",
|
|
"type": "ImVector_ImGuiStyleMod"
|
|
},
|
|
{
|
|
"comment": " // When user starts using mouse, we hide gamepad/keyboard highlight (NB: but they are still available, which is why NavDisableHighlight isn't always != NavDisableMouseHover)",
|
|
"name": "FontStack",
|
|
"template_type": "ImFont*",
|
|
"type": "ImVector_ImFontPtr"
|
|
},
|
|
{
|
|
"comment": " // When user starts using gamepad/keyboard, we hide mouse hovering highlight until mouse is touched again.",
|
|
"name": "OpenPopupStack",
|
|
"template_type": "ImGuiPopupData",
|
|
"type": "ImVector_ImGuiPopupData"
|
|
},
|
|
{
|
|
"comment": " // ~~ NavMoveRequest || NavInitRequest",
|
|
"name": "BeginPopupStack",
|
|
"template_type": "ImGuiPopupData",
|
|
"type": "ImVector_ImGuiPopupData"
|
|
},
|
|
{
|
|
"comment": " // Init request for appearing window to select first item",
|
|
"name": "Viewports",
|
|
"template_type": "ImGuiViewportP*",
|
|
"type": "ImVector_ImGuiViewportPPtr"
|
|
},
|
|
{
|
|
"comment": " // Init request result (first item of the window, or one for which SetItemDefaultFocus() was called)",
|
|
"name": "CurrentDpiScale",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Init request result rectangle (relative to parent window)",
|
|
"name": "CurrentViewport",
|
|
"type": "ImGuiViewportP*"
|
|
},
|
|
{
|
|
"comment": " // Set by manual scrolling, if we scroll to a point where NavId isn't visible we reset navigation from visible items",
|
|
"name": "MouseViewport",
|
|
"type": "ImGuiViewportP*"
|
|
},
|
|
{
|
|
"comment": " // Move request for this frame",
|
|
"name": "MouseLastHoveredViewport",
|
|
"type": "ImGuiViewportP*"
|
|
},
|
|
{
|
|
"comment": " // None / ForwardQueued / ForwardActive (this is used to navigate sibling parent menus from a child menu)",
|
|
"name": "PlatformLastFocusedViewport",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Direction of the move request (left/right/up/down), direction of the previous move request",
|
|
"name": "ViewportFrontMostStampCount",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // FIXME-NAV: Describe the purpose of this better. Might want to rename?",
|
|
"name": "NavWindow",
|
|
"type": "ImGuiWindow*"
|
|
},
|
|
{
|
|
"comment": " // Best move request candidate within NavWindow",
|
|
"name": "NavId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Best move request candidate within NavWindow that are mostly visible (when using ImGuiNavMoveFlags_AlsoScoreVisibleSet flag)",
|
|
"name": "NavFocusScopeId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Best move request candidate within NavWindow's flattened hierarchy (when using ImGuiWindowFlags_NavFlattened flag)",
|
|
"name": "NavActivateId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Window which requested trying nav wrap-around.",
|
|
"name": "NavActivateDownId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Wrap-around operation flags.",
|
|
"name": "NavActivatePressedId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Target window when doing CTRL+Tab (or Pad Menu + FocusPrev/Next), this window is temporarily displayed top-most!",
|
|
"name": "NavInputId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Record of last valid NavWindowingTarget until DimBgRatio and NavWindowingHighlightAlpha becomes 0.0f, so the fade-out can stay on it.",
|
|
"name": "NavJustTabbedId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Internal window actually listing the CTRL+Tab contents",
|
|
"name": "NavJustMovedToId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " //",
|
|
"name": "NavJustMovedToFocusScopeId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " //",
|
|
"name": "NavJustMovedToKeyMods",
|
|
"type": "ImGuiKeyModFlags"
|
|
},
|
|
{
|
|
"comment": " // Any item being requested for focus, stored as an index (we on layout to be stable between the frame pressing TAB and the next frame, semi-ouch)",
|
|
"name": "NavNextActivateId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Tab item being requested for focus, stored as an index",
|
|
"name": "NavInputSource",
|
|
"type": "ImGuiInputSource"
|
|
},
|
|
{
|
|
"comment": " // Stored for next frame",
|
|
"name": "NavScoringRect",
|
|
"type": "ImRect"
|
|
},
|
|
{
|
|
"comment": " // \"",
|
|
"name": "NavScoringCount",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " //",
|
|
"name": "NavLayer",
|
|
"type": "ImGuiNavLayer"
|
|
},
|
|
{
|
|
"comment": " // 0.0..1.0 animation when fading in a dimming background (for modal window and CTRL+TAB list)",
|
|
"name": "NavIdTabCounter",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Set when within a BeginDragDropXXX/EndDragDropXXX block for a drag source.",
|
|
"name": "NavIdIsAlive",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Set when within a BeginDragDropXXX/EndDragDropXXX block for a drag target.",
|
|
"name": "NavMousePosDirty",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Store rectangle of current target candidate (we favor small targets when overlapping)",
|
|
"name": "NavDisableHighlight",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Target item surface (we resolve overlapping targets by prioritizing the smaller surface)",
|
|
"name": "NavDisableMouseHover",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Target item id (set at the time of accepting the payload)",
|
|
"name": "NavAnyRequest",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Target item id from previous frame (we need to store this to allow for overlapping drag and drop targets)",
|
|
"name": "NavInitRequest",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Last time a target expressed a desire to accept the source",
|
|
"name": "NavInitRequestFromMove",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Set when holding a payload just made ButtonBehavior() return a press.",
|
|
"name": "NavInitResultId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // We don't expose the ImVector<> directly, ImGuiPayload only holds pointer+size",
|
|
"name": "NavInitResultRectRel",
|
|
"type": "ImRect"
|
|
},
|
|
{
|
|
"comment": " // Local buffer for small payloads",
|
|
"name": "NavMoveFromClampedRefRect",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Temporary text input when CTRL+clicking on a slider, etc.",
|
|
"name": "NavMoveRequest",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Store user options for color edit widgets",
|
|
"name": "NavMoveRequestFlags",
|
|
"type": "ImGuiNavMoveFlags"
|
|
},
|
|
{
|
|
"comment": " // Backup of last Hue associated to LastColor[3], so we can restore Hue in lossy RGB<>HSV round trips",
|
|
"name": "NavMoveRequestForward",
|
|
"type": "ImGuiNavForward"
|
|
},
|
|
{
|
|
"comment": " // Backup of last Saturation associated to LastColor[3], so we can restore Saturation in lossy RGB<>HSV round trips",
|
|
"name": "NavMoveRequestKeyMods",
|
|
"type": "ImGuiKeyModFlags"
|
|
},
|
|
{
|
|
"comment": " // Initial/reference color at the time of opening the color picker.",
|
|
"name": "NavMoveDir",
|
|
"type": "ImGuiDir"
|
|
},
|
|
{
|
|
"comment": " // Initial/reference color at the time of opening the color picker.",
|
|
"name": "NavMoveDirLast",
|
|
"type": "ImGuiDir"
|
|
},
|
|
{
|
|
"comment": " // Accumulated slider delta when using navigation controls.",
|
|
"name": "NavMoveClipDir",
|
|
"type": "ImGuiDir"
|
|
},
|
|
{
|
|
"comment": " // Has the accumulated slider delta changed since last time we tried to apply it?",
|
|
"name": "NavMoveResultLocal",
|
|
"type": "ImGuiNavMoveResult"
|
|
},
|
|
{
|
|
"comment": " // Accumulator for dragging modification. Always high-precision, not rounded by end-user precision settings",
|
|
"name": "NavMoveResultLocalVisibleSet",
|
|
"type": "ImGuiNavMoveResult"
|
|
},
|
|
{
|
|
"comment": " // If speed == 0.0f, uses (max-min) * DragSpeedDefaultRatio",
|
|
"name": "NavMoveResultOther",
|
|
"type": "ImGuiNavMoveResult"
|
|
},
|
|
{
|
|
"comment": " // Distance between mouse and center of grab box, normalized in parent space. Use storage?",
|
|
"name": "NavWrapRequestWindow",
|
|
"type": "ImGuiWindow*"
|
|
},
|
|
{
|
|
"comment": " // If no custom clipboard handler is defined",
|
|
"name": "NavWrapRequestFlags",
|
|
"type": "ImGuiNavMoveFlags"
|
|
},
|
|
{
|
|
"comment": " // A list of menu IDs that were rendered at least once",
|
|
"name": "NavWindowingTarget",
|
|
"type": "ImGuiWindow*"
|
|
},
|
|
{
|
|
"comment": " // Cursor position request & last passed to the OS Input Method Editor",
|
|
"name": "NavWindowingTargetAnim",
|
|
"type": "ImGuiWindow*"
|
|
},
|
|
{
|
|
"comment": " // Save .ini Settings to memory when time reaches zero",
|
|
"name": "NavWindowingListWindow",
|
|
"type": "ImGuiWindow*"
|
|
},
|
|
{
|
|
"comment": " // In memory .ini settings",
|
|
"name": "NavWindowingTimer",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // List of .ini settings handlers",
|
|
"name": "NavWindowingHighlightAlpha",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // ImGuiWindow .ini settings entries",
|
|
"name": "NavWindowingToggleLayer",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Currently capturing",
|
|
"name": "FocusRequestCurrWindow",
|
|
"type": "ImGuiWindow*"
|
|
},
|
|
{
|
|
"comment": " // Capture target",
|
|
"name": "FocusRequestNextWindow",
|
|
"type": "ImGuiWindow*"
|
|
},
|
|
{
|
|
"comment": " // If != NULL log to stdout/ file",
|
|
"name": "FocusRequestCurrCounterRegular",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Accumulation buffer when log to clipboard. This is pointer so our GImGui static constructor doesn't call heap allocators.",
|
|
"name": "FocusRequestCurrCounterTabStop",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Default/stored value for LogDepthMaxExpand if not specified in the LogXXX function call.",
|
|
"name": "FocusRequestNextCounterRegular",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Item picker is active (started with DebugStartItemPicker())",
|
|
"name": "FocusRequestNextCounterTabStop",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Will call IM_DEBUG_BREAK() when encountering this id",
|
|
"name": "FocusTabPressed",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Calculate estimate of framerate for user over the last 2 seconds.",
|
|
"name": "DimBgRatio",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Explicit capture via CaptureKeyboardFromApp()/CaptureMouseFromApp() sets those flags",
|
|
"name": "MouseCursor",
|
|
"type": "ImGuiMouseCursor"
|
|
},
|
|
{
|
|
"comment": " // Temporary text buffer",
|
|
"name": "DragDropActive",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "DragDropWithinSource",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "DragDropWithinTarget",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "DragDropSourceFlags",
|
|
"type": "ImGuiDragDropFlags"
|
|
},
|
|
{
|
|
"name": "DragDropSourceFrameCount",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "DragDropMouseButton",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "DragDropPayload",
|
|
"type": "ImGuiPayload"
|
|
},
|
|
{
|
|
"name": "DragDropTargetRect",
|
|
"type": "ImRect"
|
|
},
|
|
{
|
|
"name": "DragDropTargetId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"name": "DragDropAcceptFlags",
|
|
"type": "ImGuiDragDropFlags"
|
|
},
|
|
{
|
|
"name": "DragDropAcceptIdCurrRectSurface",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "DragDropAcceptIdCurr",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"name": "DragDropAcceptIdPrev",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"name": "DragDropAcceptFrameCount",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "DragDropHoldJustPressedId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"name": "DragDropPayloadBufHeap",
|
|
"template_type": "unsigned char",
|
|
"type": "ImVector_unsigned_char"
|
|
},
|
|
{
|
|
"name": "DragDropPayloadBufLocal[16]",
|
|
"size": 16,
|
|
"type": "unsigned char"
|
|
},
|
|
{
|
|
"name": "CurrentTabBar",
|
|
"type": "ImGuiTabBar*"
|
|
},
|
|
{
|
|
"name": "TabBars",
|
|
"template_type": "ImGuiTabBar",
|
|
"type": "ImPool_ImGuiTabBar"
|
|
},
|
|
{
|
|
"name": "CurrentTabBarStack",
|
|
"template_type": "ImGuiPtrOrIndex",
|
|
"type": "ImVector_ImGuiPtrOrIndex"
|
|
},
|
|
{
|
|
"name": "ShrinkWidthBuffer",
|
|
"template_type": "ImGuiShrinkWidthItem",
|
|
"type": "ImVector_ImGuiShrinkWidthItem"
|
|
},
|
|
{
|
|
"name": "LastValidMousePos",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "InputTextState",
|
|
"type": "ImGuiInputTextState"
|
|
},
|
|
{
|
|
"name": "InputTextPasswordFont",
|
|
"type": "ImFont"
|
|
},
|
|
{
|
|
"name": "TempInputId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"name": "ColorEditOptions",
|
|
"type": "ImGuiColorEditFlags"
|
|
},
|
|
{
|
|
"name": "ColorEditLastHue",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "ColorEditLastSat",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "ColorEditLastColor[3]",
|
|
"size": 3,
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "ColorPickerRef",
|
|
"type": "ImVec4"
|
|
},
|
|
{
|
|
"name": "SliderCurrentAccum",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "SliderCurrentAccumDirty",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "DragCurrentAccumDirty",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "DragCurrentAccum",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "DragSpeedDefaultRatio",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "ScrollbarClickDeltaToGrabCenter",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "TooltipOverrideCount",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "ClipboardHandlerData",
|
|
"template_type": "char",
|
|
"type": "ImVector_char"
|
|
},
|
|
{
|
|
"name": "MenusIdSubmittedThisFrame",
|
|
"template_type": "ImGuiID",
|
|
"type": "ImVector_ImGuiID"
|
|
},
|
|
{
|
|
"name": "PlatformImePos",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "PlatformImeLastPos",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "PlatformImePosViewport",
|
|
"type": "ImGuiViewportP*"
|
|
},
|
|
{
|
|
"name": "DockContext",
|
|
"type": "ImGuiDockContext"
|
|
},
|
|
{
|
|
"name": "SettingsLoaded",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "SettingsDirtyTimer",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "SettingsIniData",
|
|
"type": "ImGuiTextBuffer"
|
|
},
|
|
{
|
|
"name": "SettingsHandlers",
|
|
"template_type": "ImGuiSettingsHandler",
|
|
"type": "ImVector_ImGuiSettingsHandler"
|
|
},
|
|
{
|
|
"name": "SettingsWindows",
|
|
"template_type": "ImGuiWindowSettings",
|
|
"type": "ImChunkStream_ImGuiWindowSettings"
|
|
},
|
|
{
|
|
"name": "LogEnabled",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "LogType",
|
|
"type": "ImGuiLogType"
|
|
},
|
|
{
|
|
"name": "LogFile",
|
|
"type": "ImFileHandle"
|
|
},
|
|
{
|
|
"name": "LogBuffer",
|
|
"type": "ImGuiTextBuffer"
|
|
},
|
|
{
|
|
"name": "LogLinePosY",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "LogLineFirstItem",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "LogDepthRef",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "LogDepthToExpand",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "LogDepthToExpandDefault",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "DebugItemPickerActive",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "DebugItemPickerBreakId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"name": "FramerateSecPerFrame[120]",
|
|
"size": 120,
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "FramerateSecPerFrameIdx",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "FramerateSecPerFrameAccum",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "WantCaptureMouseNextFrame",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "WantCaptureKeyboardNextFrame",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "WantTextInputNextFrame",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "TempBuffer[1024*3+1]",
|
|
"size": 3073,
|
|
"type": "char"
|
|
}
|
|
],
|
|
"ImGuiDataTypeInfo": [
|
|
{
|
|
"comment": " // Default scanf format for the type",
|
|
"name": "Size",
|
|
"type": "size_t"
|
|
},
|
|
{
|
|
"name": "PrintFmt",
|
|
"type": "const char*"
|
|
},
|
|
{
|
|
"name": "ScanFmt",
|
|
"type": "const char*"
|
|
}
|
|
],
|
|
"ImGuiDataTypeTempStorage": [
|
|
{
|
|
"name": "Data[8]",
|
|
"size": 8,
|
|
"type": "ImU8"
|
|
}
|
|
],
|
|
"ImGuiDockContext": [
|
|
{
|
|
"name": "Nodes",
|
|
"type": "ImGuiStorage"
|
|
},
|
|
{
|
|
"name": "Requests",
|
|
"template_type": "ImGuiDockRequest",
|
|
"type": "ImVector_ImGuiDockRequest"
|
|
},
|
|
{
|
|
"name": "NodesSettings",
|
|
"template_type": "ImGuiDockNodeSettings",
|
|
"type": "ImVector_ImGuiDockNodeSettings"
|
|
},
|
|
{
|
|
"name": "WantFullRebuild",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"ImGuiDockNode": [
|
|
{
|
|
"comment": " // [Split node only] Child nodes (left/right or top/bottom). Consider switching to an array.",
|
|
"name": "ID",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Note: unordered list! Iterate TabBar->Tabs for user-order.",
|
|
"name": "SharedFlags",
|
|
"type": "ImGuiDockNodeFlags"
|
|
},
|
|
{
|
|
"comment": " // Current position",
|
|
"name": "LocalFlags",
|
|
"type": "ImGuiDockNodeFlags"
|
|
},
|
|
{
|
|
"comment": " // Current size",
|
|
"name": "ParentNode",
|
|
"type": "ImGuiDockNode*"
|
|
},
|
|
{
|
|
"comment": " // [Split node only] Last explicitly written-to size (overridden when using a splitter affecting the node), used to calculate Size.",
|
|
"name": "ChildNodes[2]",
|
|
"size": 2,
|
|
"type": "ImGuiDockNode*"
|
|
},
|
|
{
|
|
"comment": " // [Split node only] Split axis (X or Y)",
|
|
"name": "Windows",
|
|
"template_type": "ImGuiWindow*",
|
|
"type": "ImVector_ImGuiWindowPtr"
|
|
},
|
|
{
|
|
"comment": " // [Root node only]",
|
|
"name": "TabBar",
|
|
"type": "ImGuiTabBar*"
|
|
},
|
|
{
|
|
"comment": " // Generally point to window which is ID is == SelectedTabID, but when CTRL+Tabbing this can be a different window.",
|
|
"name": "Pos",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // [Root node only] Pointer to central node.",
|
|
"name": "Size",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // [Root node only] Set when there is a single visible node within the hierarchy.",
|
|
"name": "SizeRef",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Last frame number the node was updated or kept alive explicitly with DockSpace() + ImGuiDockNodeFlags_KeepAliveOnly",
|
|
"name": "SplitAxis",
|
|
"type": "ImGuiAxis"
|
|
},
|
|
{
|
|
"comment": " // Last frame number the node was updated.",
|
|
"name": "WindowClass",
|
|
"type": "ImGuiWindowClass"
|
|
},
|
|
{
|
|
"comment": " // Last frame number the node was focused.",
|
|
"name": "State",
|
|
"type": "ImGuiDockNodeState"
|
|
},
|
|
{
|
|
"comment": " // [Root node only] Which of our child docking node (any ancestor in the hierarchy) was last focused.",
|
|
"name": "HostWindow",
|
|
"type": "ImGuiWindow*"
|
|
},
|
|
{
|
|
"comment": " // [Leaf node only] Which of our tab/window is selected.",
|
|
"name": "VisibleWindow",
|
|
"type": "ImGuiWindow*"
|
|
},
|
|
{
|
|
"comment": " // [Leaf node only] Set when closing a specific tab/window.",
|
|
"name": "CentralNode",
|
|
"type": "ImGuiDockNode*"
|
|
},
|
|
{
|
|
"comment": " // Set to false when the node is hidden (usually disabled as it has no active window)",
|
|
"name": "OnlyNodeWithWindows",
|
|
"type": "ImGuiDockNode*"
|
|
},
|
|
{
|
|
"comment": " // Set when closing all tabs at once.",
|
|
"name": "LastFrameAlive",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // After a node extraction we need to transition toward moving the newly created host window",
|
|
"name": "LastFrameActive",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Update by DockNodeTreeUpdatePosSize() write-filtering",
|
|
"name": "LastFrameFocused",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "LastFocusedNodeId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"name": "SelectedTabId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"name": "WantCloseTabId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"bitfield": "3",
|
|
"name": "AuthorityForPos",
|
|
"type": "ImGuiDataAuthority"
|
|
},
|
|
{
|
|
"bitfield": "3",
|
|
"name": "AuthorityForSize",
|
|
"type": "ImGuiDataAuthority"
|
|
},
|
|
{
|
|
"bitfield": "3",
|
|
"name": "AuthorityForViewport",
|
|
"type": "ImGuiDataAuthority"
|
|
},
|
|
{
|
|
"bitfield": "1",
|
|
"name": "IsVisible",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"bitfield": "1",
|
|
"name": "IsFocused",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"bitfield": "1",
|
|
"name": "HasCloseButton",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"bitfield": "1",
|
|
"name": "HasWindowMenuButton",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"bitfield": "1",
|
|
"name": "EnableCloseButton",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"bitfield": "1",
|
|
"name": "WantCloseAll",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"bitfield": "1",
|
|
"name": "WantLockSizeOnce",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"bitfield": "1",
|
|
"name": "WantMouseMove",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"bitfield": "1",
|
|
"name": "WantHiddenTabBarUpdate",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"bitfield": "1",
|
|
"name": "WantHiddenTabBarToggle",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"bitfield": "1",
|
|
"name": "MarkedForPosSizeWrite",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"ImGuiGroupData": [
|
|
{
|
|
"name": "BackupCursorPos",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "BackupCursorMaxPos",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "BackupIndent",
|
|
"type": "ImVec1"
|
|
},
|
|
{
|
|
"name": "BackupGroupOffset",
|
|
"type": "ImVec1"
|
|
},
|
|
{
|
|
"name": "BackupCurrLineSize",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "BackupCurrLineTextBaseOffset",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "BackupActiveIdIsAlive",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"name": "BackupActiveIdPreviousFrameIsAlive",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "EmitItem",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"ImGuiIO": [
|
|
{
|
|
"comment": " // <unset> // Main display size, in pixels. This is for the default viewport.",
|
|
"name": "ConfigFlags",
|
|
"type": "ImGuiConfigFlags"
|
|
},
|
|
{
|
|
"comment": " // = 1.0f/60.0f // Time elapsed since last frame, in seconds.",
|
|
"name": "BackendFlags",
|
|
"type": "ImGuiBackendFlags"
|
|
},
|
|
{
|
|
"comment": " // = 5.0f // Minimum time between saving positions/sizes to .ini file, in seconds.",
|
|
"name": "DisplaySize",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // = \"imgui.ini\" // Path to .ini file. Set NULL to disable automatic .ini loading/saving, if e.g. you want to manually load/save from memory.",
|
|
"name": "DeltaTime",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // = \"imgui_log.txt\"// Path to .log file (default parameter to ImGui::LogToFile when no file is specified).",
|
|
"name": "IniSavingRate",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // = 0.30f // Time for a double-click, in seconds.",
|
|
"name": "IniFilename",
|
|
"type": "const char*"
|
|
},
|
|
{
|
|
"comment": " // = 6.0f // Distance threshold to stay in to validate a double-click, in pixels.",
|
|
"name": "LogFilename",
|
|
"type": "const char*"
|
|
},
|
|
{
|
|
"comment": " // = 6.0f // Distance threshold before considering we are dragging.",
|
|
"name": "MouseDoubleClickTime",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // <unset> // Map of indices into the KeysDown[512] entries array which represent your \"native\" keyboard state.",
|
|
"name": "MouseDoubleClickMaxDist",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // = 0.250f // When holding a key/button, time before it starts repeating, in seconds (for buttons in Repeat mode, etc.).",
|
|
"name": "MouseDragThreshold",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // = 0.050f // When holding a key/button, rate at which it repeats, in seconds.",
|
|
"name": "KeyMap[ImGuiKey_COUNT]",
|
|
"size": 22,
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // = NULL // Store your own data for retrieval by callbacks.",
|
|
"name": "KeyRepeatDelay",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // <auto> // Font atlas: load, rasterize and pack one or more fonts into a single texture.",
|
|
"name": "KeyRepeatRate",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // = 1.0f // Global scale all fonts",
|
|
"name": "UserData",
|
|
"type": "void*"
|
|
},
|
|
{
|
|
"comment": " // = false // Allow user scaling text of individual window with CTRL+Wheel.",
|
|
"name": "Fonts",
|
|
"type": "ImFontAtlas*"
|
|
},
|
|
{
|
|
"comment": " // = NULL // Font to use on NewFrame(). Use NULL to uses Fonts->Fonts[0].",
|
|
"name": "FontGlobalScale",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // = (1, 1) // For retina display or other situations where window coordinates are different from framebuffer coordinates. This generally ends up in ImDrawData::FramebufferScale.",
|
|
"name": "FontAllowUserScaling",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // = false // Simplified docking mode: disable window splitting, so docking is limited to merging multiple windows together into tab-bars.",
|
|
"name": "FontDefault",
|
|
"type": "ImFont*"
|
|
},
|
|
{
|
|
"comment": " // = false // Enable docking with holding Shift key (reduce visual noise, allows dropping in wider space)",
|
|
"name": "DisplayFramebufferScale",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // = false // [BETA] [FIXME: This currently creates regression with auto-sizing and general overhead] Make every single floating window display within a docking node.",
|
|
"name": "ConfigDockingNoSplit",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": "// = false // [BETA] Make window or viewport transparent when docking and only display docking boxes on the target viewport. Useful if rendering of multiple viewport cannot be synced. Best used with ConfigViewportsNoAutoMerge.",
|
|
"name": "ConfigDockingWithShift",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // = false; // Set to make all floating imgui windows always create their own viewport. Otherwise, they are merged into the main host viewports when overlapping it. May also set ImGuiViewportFlags_NoAutoMerge on individual viewport.",
|
|
"name": "ConfigDockingAlwaysTabBar",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // = false // Disable default OS task bar icon flag for secondary viewports. When a viewport doesn't want a task bar icon, ImGuiViewportFlags_NoTaskBarIcon will be set on it.",
|
|
"name": "ConfigDockingTransparentPayload",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // = true // [BETA] Disable default OS window decoration flag for secondary viewports. When a viewport doesn't want window decorations, ImGuiViewportFlags_NoDecoration will be set on it. Enabling decoration can create subsequent issues at OS levels (e.g. minimum window size).",
|
|
"name": "ConfigViewportsNoAutoMerge",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // = false // Disable default OS parenting to main viewport for secondary viewports. By default, viewports are marked with ParentViewportId = <main_viewport>, expecting the platform back-end to setup a parent/child relationship between the OS windows (some back-end may ignore this). Set to true if you want the default to be 0, then all viewports will be top-level OS windows.",
|
|
"name": "ConfigViewportsNoTaskBarIcon",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // = false // Request ImGui to draw a mouse cursor for you (if you are on a platform without a mouse cursor). Cannot be easily renamed to 'io.ConfigXXX' because this is frequently used by back-end implementations.",
|
|
"name": "ConfigViewportsNoDecoration",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // = defined(__APPLE__) // OS X style: Text editing cursor movement using Alt instead of Ctrl, Shortcuts using Cmd/Super instead of Ctrl, Line/Text Start and End using Cmd+Arrows instead of Home/End, Double click selects by word instead of selecting whole text, Multi-selection in lists uses Cmd/Super instead of Ctrl (was called io.OptMacOSXBehaviors prior to 1.63)",
|
|
"name": "ConfigViewportsNoDefaultParent",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // = true // Set to false to disable blinking cursor, for users who consider it distracting. (was called: io.OptCursorBlink prior to 1.63)",
|
|
"name": "MouseDrawCursor",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // = true // Enable resizing of windows from their edges and from the lower-left corner. This requires (io.BackendFlags & ImGuiBackendFlags_HasMouseCursors) because it needs mouse cursor feedback. (This used to be a per-window ImGuiWindowFlags_ResizeFromAnySide flag)",
|
|
"name": "ConfigMacOSXBehaviors",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // = false // [BETA] Set to true to only allow moving windows when clicked+dragged from the title bar. Windows without a title bar are not affected.",
|
|
"name": "ConfigInputTextCursorBlink",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": "// = 60.0f // [BETA] Compact window memory usage when unused. Set to -1.0f to disable.",
|
|
"name": "ConfigWindowsResizeFromEdges",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // = NULL",
|
|
"name": "ConfigWindowsMoveFromTitleBarOnly",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // = NULL",
|
|
"name": "ConfigWindowsMemoryCompactTimer",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // = NULL // User data for platform back-end",
|
|
"name": "BackendPlatformName",
|
|
"type": "const char*"
|
|
},
|
|
{
|
|
"comment": " // = NULL // User data for renderer back-end",
|
|
"name": "BackendRendererName",
|
|
"type": "const char*"
|
|
},
|
|
{
|
|
"comment": " // = NULL // User data for non C++ programming language back-end",
|
|
"name": "BackendPlatformUserData",
|
|
"type": "void*"
|
|
},
|
|
{
|
|
"comment": " // Mouse position, in pixels. Set to ImVec2(-FLT_MAX, -FLT_MAX) if mouse is unavailable (on another screen, etc.)",
|
|
"name": "BackendRendererUserData",
|
|
"type": "void*"
|
|
},
|
|
{
|
|
"comment": " // Mouse buttons: 0=left, 1=right, 2=middle + extras (ImGuiMouseButton_COUNT == 5). Dear ImGui mostly uses left and right buttons. Others buttons allows us to track if the mouse is being used by your application + available to user as a convenience via IsMouse** API.",
|
|
"name": "BackendLanguageUserData",
|
|
"type": "void*"
|
|
},
|
|
{
|
|
"comment": " // Mouse wheel Vertical: 1 unit scrolls about 5 lines text.",
|
|
"name": "GetClipboardTextFn",
|
|
"type": "const char*(*)(void* user_data)"
|
|
},
|
|
{
|
|
"comment": " // Mouse wheel Horizontal. Most users don't have a mouse with an horizontal wheel, may not be filled by all back-ends.",
|
|
"name": "SetClipboardTextFn",
|
|
"type": "void(*)(void* user_data,const char* text)"
|
|
},
|
|
{
|
|
"comment": " // (Optional) When using multiple viewports: viewport the OS mouse cursor is hovering _IGNORING_ viewports with the ImGuiViewportFlags_NoInputs flag, and _REGARDLESS_ of whether another viewport is focused. Set io.BackendFlags |= ImGuiBackendFlags_HasMouseHoveredViewport if you can provide this info. If you don't imgui will infer the value using the rectangles and last focused time of the viewports it knows about (ignoring other OS windows).",
|
|
"name": "ClipboardUserData",
|
|
"type": "void*"
|
|
},
|
|
{
|
|
"comment": " // Keyboard modifier pressed: Control",
|
|
"name": "RenderDrawListsFnUnused",
|
|
"type": "void*"
|
|
},
|
|
{
|
|
"comment": " // Keyboard modifier pressed: Shift",
|
|
"name": "MousePos",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Keyboard modifier pressed: Alt",
|
|
"name": "MouseDown[5]",
|
|
"size": 5,
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Keyboard modifier pressed: Cmd/Super/Windows",
|
|
"name": "MouseWheel",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Keyboard keys that are pressed (ideally left in the \"native\" order your engine has access to keyboard keys, so you can use your own defines/enums for keys).",
|
|
"name": "MouseWheelH",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Gamepad inputs. Cleared back to zero by EndFrame(). Keyboard keys will be auto-mapped and be written here by NewFrame().",
|
|
"name": "MouseHoveredViewport",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Set when Dear ImGui will use mouse inputs, in this case do not dispatch them to your main game/application (either way, always pass on mouse inputs to imgui). (e.g. unclicked mouse is hovering over an imgui window, widget is active, mouse was clicked over an imgui window, etc.).",
|
|
"name": "KeyCtrl",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Set when Dear ImGui will use keyboard inputs, in this case do not dispatch them to your main game/application (either way, always pass keyboard inputs to imgui). (e.g. InputText active, or an imgui window is focused and navigation is enabled, etc.).",
|
|
"name": "KeyShift",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Mobile/console: when set, you may display an on-screen keyboard. This is set by Dear ImGui when it wants textual keyboard input to happen (e.g. when a InputText widget is active).",
|
|
"name": "KeyAlt",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // MousePos has been altered, back-end should reposition mouse on next frame. Rarely used! Set only when ImGuiConfigFlags_NavEnableSetMousePos flag is enabled.",
|
|
"name": "KeySuper",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // When manual .ini load/save is active (io.IniFilename == NULL), this will be set to notify your application that you can call SaveIniSettingsToMemory() and save yourself. Important: clear io.WantSaveIniSettings yourself after saving!",
|
|
"name": "KeysDown[512]",
|
|
"size": 512,
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Keyboard/Gamepad navigation is currently allowed (will handle ImGuiKey_NavXXX events) = a window is focused and it doesn't use the ImGuiWindowFlags_NoNavInputs flag.",
|
|
"name": "NavInputs[ImGuiNavInput_COUNT]",
|
|
"size": 21,
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Keyboard/Gamepad navigation is visible and allowed (will handle ImGuiKey_NavXXX events).",
|
|
"name": "WantCaptureMouse",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Application framerate estimate, in frame per second. Solely for convenience. Rolling average estimation based on io.DeltaTime over 120 frames.",
|
|
"name": "WantCaptureKeyboard",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Vertices output during last call to Render()",
|
|
"name": "WantTextInput",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Indices output during last call to Render() = number of triangles * 3",
|
|
"name": "WantSetMousePos",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Number of visible windows",
|
|
"name": "WantSaveIniSettings",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Number of active windows",
|
|
"name": "NavActive",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Number of active allocations, updated by MemAlloc/MemFree based on current context. May be off if you have multiple imgui contexts.",
|
|
"name": "NavVisible",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Mouse delta. Note that this is zero if either current or previous position are invalid (-FLT_MAX,-FLT_MAX), so a disappearing/reappearing mouse won't have a huge delta.",
|
|
"name": "Framerate",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Key mods flags (same as io.KeyCtrl/KeyShift/KeyAlt/KeySuper but merged into flags), updated by NewFrame()",
|
|
"name": "MetricsRenderVertices",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Previous mouse position (note that MouseDelta is not necessary == MousePos-MousePosPrev, in case either position is invalid)",
|
|
"name": "MetricsRenderIndices",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Position at time of clicking",
|
|
"name": "MetricsRenderWindows",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Time of last click (used to figure out double-click)",
|
|
"name": "MetricsActiveWindows",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Mouse button went from !Down to Down",
|
|
"name": "MetricsActiveAllocations",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Has mouse button been double-clicked?",
|
|
"name": "MouseDelta",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Mouse button went from Down to !Down",
|
|
"name": "KeyMods",
|
|
"type": "ImGuiKeyModFlags"
|
|
},
|
|
{
|
|
"comment": " // Track if button was clicked inside a dear imgui window. We don't request mouse capture from the application if click started outside ImGui bounds.",
|
|
"name": "MousePosPrev",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Track if button down was a double-click",
|
|
"name": "MouseClickedPos[5]",
|
|
"size": 5,
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Duration the mouse button has been down (0.0f == just clicked)",
|
|
"name": "MouseClickedTime[5]",
|
|
"size": 5,
|
|
"type": "double"
|
|
},
|
|
{
|
|
"comment": " // Previous time the mouse button has been down",
|
|
"name": "MouseClicked[5]",
|
|
"size": 5,
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Maximum distance, absolute, on each axis, of how much mouse has traveled from the clicking point",
|
|
"name": "MouseDoubleClicked[5]",
|
|
"size": 5,
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Squared maximum distance of how much mouse has traveled from the clicking point",
|
|
"name": "MouseReleased[5]",
|
|
"size": 5,
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Duration the keyboard key has been down (0.0f == just pressed)",
|
|
"name": "MouseDownOwned[5]",
|
|
"size": 5,
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Previous duration the key has been down",
|
|
"name": "MouseDownWasDoubleClick[5]",
|
|
"size": 5,
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Touch/Pen pressure (0.0f to 1.0f, should be >0.0f only when MouseDown[0] == true). Helper storage currently unused by Dear ImGui.",
|
|
"name": "MouseDownDuration[5]",
|
|
"size": 5,
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // For AddInputCharacterUTF16",
|
|
"name": "MouseDownDurationPrev[5]",
|
|
"size": 5,
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Queue of _characters_ input (obtained by platform back-end). Fill using AddInputCharacter() helper.",
|
|
"name": "MouseDragMaxDistanceAbs[5]",
|
|
"size": 5,
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "MouseDragMaxDistanceSqr[5]",
|
|
"size": 5,
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "KeysDownDuration[512]",
|
|
"size": 512,
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "KeysDownDurationPrev[512]",
|
|
"size": 512,
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "NavInputsDownDuration[ImGuiNavInput_COUNT]",
|
|
"size": 21,
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "NavInputsDownDurationPrev[ImGuiNavInput_COUNT]",
|
|
"size": 21,
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "PenPressure",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "InputQueueSurrogate",
|
|
"type": "ImWchar16"
|
|
},
|
|
{
|
|
"name": "InputQueueCharacters",
|
|
"template_type": "ImWchar",
|
|
"type": "ImVector_ImWchar"
|
|
}
|
|
],
|
|
"ImGuiInputTextCallbackData": [
|
|
{
|
|
"comment": " // What user passed to InputText() // Read-only",
|
|
"name": "EventFlag",
|
|
"type": "ImGuiInputTextFlags"
|
|
},
|
|
{
|
|
"comment": " // Character input // Read-write // [CharFilter] Replace character with another one, or set to zero to drop. return 1 is equivalent to setting EventChar=0;",
|
|
"name": "Flags",
|
|
"type": "ImGuiInputTextFlags"
|
|
},
|
|
{
|
|
"comment": " // Key pressed (Up/Down/TAB) // Read-only // [Completion,History]",
|
|
"name": "UserData",
|
|
"type": "void*"
|
|
},
|
|
{
|
|
"comment": " // Text buffer // Read-write // [Resize] Can replace pointer / [Completion,History,Always] Only write to pointed data, don't replace the actual pointer!",
|
|
"name": "EventChar",
|
|
"type": "ImWchar"
|
|
},
|
|
{
|
|
"comment": " // Text length (in bytes) // Read-write // [Resize,Completion,History,Always] Exclude zero-terminator storage. In C land: == strlen(some_text), in C++ land: string.length()",
|
|
"name": "EventKey",
|
|
"type": "ImGuiKey"
|
|
},
|
|
{
|
|
"comment": " // Buffer size (in bytes) = capacity+1 // Read-only // [Resize,Completion,History,Always] Include zero-terminator storage. In C land == ARRAYSIZE(my_char_array), in C++ land: string.capacity()+1",
|
|
"name": "Buf",
|
|
"type": "char*"
|
|
},
|
|
{
|
|
"comment": " // Set if you modify Buf/BufTextLen! // Write // [Completion,History,Always]",
|
|
"name": "BufTextLen",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // // Read-write // [Completion,History,Always]",
|
|
"name": "BufSize",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // // Read-write // [Completion,History,Always] == to SelectionEnd when no selection)",
|
|
"name": "BufDirty",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // // Read-write // [Completion,History,Always]",
|
|
"name": "CursorPos",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "SelectionStart",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "SelectionEnd",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"ImGuiInputTextState": [
|
|
{
|
|
"comment": " // edit buffer, we need to persist but can't guarantee the persistence of the user-provided buffer. so we copy into own buffer.",
|
|
"name": "ID",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // temporary UTF8 buffer for callbacks and other operations. this is not updated in every code-path! size=capacity.",
|
|
"name": "CurLenW",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // temporary UTF8 buffer for callbacks and other operations. this is not updated in every code-path! size=capacity.",
|
|
"name": "CurLenA",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // backup of end-user buffer at the time of focus (in UTF-8, unaltered)",
|
|
"name": "TextW",
|
|
"template_type": "ImWchar",
|
|
"type": "ImVector_ImWchar"
|
|
},
|
|
{
|
|
"comment": " // temporary UTF8 buffer is not initially valid before we make the widget active (until then we pull the data from user argument)",
|
|
"name": "TextA",
|
|
"template_type": "char",
|
|
"type": "ImVector_char"
|
|
},
|
|
{
|
|
"comment": " // end-user buffer capacity",
|
|
"name": "InitialTextA",
|
|
"template_type": "char",
|
|
"type": "ImVector_char"
|
|
},
|
|
{
|
|
"comment": " // horizontal scrolling/offset",
|
|
"name": "TextAIsValid",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // state for stb_textedit.h",
|
|
"name": "BufCapacityA",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // timer for cursor blink, reset on every user action so the cursor reappears immediately",
|
|
"name": "ScrollX",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // set when we want scrolling to follow the current cursor position (not always!)",
|
|
"name": "Stb",
|
|
"type": "STB_TexteditState"
|
|
},
|
|
{
|
|
"comment": " // after a double-click to select all, we ignore further mouse drags to update selection",
|
|
"name": "CursorAnim",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Temporarily set while we call user's callback",
|
|
"name": "CursorFollow",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // \"",
|
|
"name": "SelectedAllMouseLock",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // \"",
|
|
"name": "UserFlags",
|
|
"type": "ImGuiInputTextFlags"
|
|
},
|
|
{
|
|
"name": "UserCallback",
|
|
"type": "ImGuiInputTextCallback"
|
|
},
|
|
{
|
|
"name": "UserCallbackData",
|
|
"type": "void*"
|
|
}
|
|
],
|
|
"ImGuiLastItemDataBackup": [
|
|
{
|
|
"name": "LastItemId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"name": "LastItemStatusFlags",
|
|
"type": "ImGuiItemStatusFlags"
|
|
},
|
|
{
|
|
"name": "LastItemRect",
|
|
"type": "ImRect"
|
|
},
|
|
{
|
|
"name": "LastItemDisplayRect",
|
|
"type": "ImRect"
|
|
}
|
|
],
|
|
"ImGuiListClipper": [
|
|
{
|
|
"name": "DisplayStart",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "DisplayEnd",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "ItemsCount",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "StepNo",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "ItemsHeight",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "StartPosY",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"ImGuiMenuColumns": [
|
|
{
|
|
"name": "Spacing",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "Width",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "NextWidth",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "Pos[3]",
|
|
"size": 3,
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "NextWidths[3]",
|
|
"size": 3,
|
|
"type": "float"
|
|
}
|
|
],
|
|
"ImGuiNavMoveResult": [
|
|
{
|
|
"comment": " // Best candidate focus scope ID",
|
|
"name": "Window",
|
|
"type": "ImGuiWindow*"
|
|
},
|
|
{
|
|
"comment": " // Best candidate box distance to current NavId",
|
|
"name": "ID",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Best candidate center distance to current NavId",
|
|
"name": "FocusScopeId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Best candidate bounding box in window relative space",
|
|
"name": "DistBox",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "DistCenter",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "DistAxial",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "RectRel",
|
|
"type": "ImRect"
|
|
}
|
|
],
|
|
"ImGuiNextItemData": [
|
|
{
|
|
"comment": " // Set by SetNextItemOpen()",
|
|
"name": "Flags",
|
|
"type": "ImGuiNextItemDataFlags"
|
|
},
|
|
{
|
|
"name": "Width",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "FocusScopeId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"name": "OpenCond",
|
|
"type": "ImGuiCond"
|
|
},
|
|
{
|
|
"name": "OpenVal",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"ImGuiNextWindowData": [
|
|
{
|
|
"name": "Flags",
|
|
"type": "ImGuiNextWindowDataFlags"
|
|
},
|
|
{
|
|
"name": "PosCond",
|
|
"type": "ImGuiCond"
|
|
},
|
|
{
|
|
"name": "SizeCond",
|
|
"type": "ImGuiCond"
|
|
},
|
|
{
|
|
"name": "CollapsedCond",
|
|
"type": "ImGuiCond"
|
|
},
|
|
{
|
|
"name": "DockCond",
|
|
"type": "ImGuiCond"
|
|
},
|
|
{
|
|
"name": "PosVal",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "PosPivotVal",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "SizeVal",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "ContentSizeVal",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "ScrollVal",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "PosUndock",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "CollapsedVal",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "SizeConstraintRect",
|
|
"type": "ImRect"
|
|
},
|
|
{
|
|
"name": "SizeCallback",
|
|
"type": "ImGuiSizeCallback"
|
|
},
|
|
{
|
|
"name": "SizeCallbackUserData",
|
|
"type": "void*"
|
|
},
|
|
{
|
|
"name": "BgAlphaVal",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "ViewportId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"name": "DockId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"name": "WindowClass",
|
|
"type": "ImGuiWindowClass"
|
|
},
|
|
{
|
|
"name": "MenuBarOffsetMinVal",
|
|
"type": "ImVec2"
|
|
}
|
|
],
|
|
"ImGuiOnceUponAFrame": [
|
|
{
|
|
"name": "RefFrame",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"ImGuiPayload": [
|
|
{
|
|
"comment": " // Source item id",
|
|
"name": "Data",
|
|
"type": "void*"
|
|
},
|
|
{
|
|
"comment": " // Source parent id (if available)",
|
|
"name": "DataSize",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Data timestamp",
|
|
"name": "SourceId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Data type tag (short user-supplied string, 32 characters max)",
|
|
"name": "SourceParentId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Set when AcceptDragDropPayload() was called and mouse has been hovering the target item (nb: handle overlapping drag targets)",
|
|
"name": "DataFrameCount",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Set when AcceptDragDropPayload() was called and mouse button is released over the target item.",
|
|
"name": "DataType[32+1]",
|
|
"size": 33,
|
|
"type": "char"
|
|
},
|
|
{
|
|
"name": "Preview",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "Delivery",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"ImGuiPlatformIO": [
|
|
{
|
|
"comment": " // . . U . . // Newly created windows are initially hidden so SetWindowPos/Size/Title can be called on them before showing the window",
|
|
"name": "Platform_CreateWindow",
|
|
"type": "void(*)(ImGuiViewport* vp)"
|
|
},
|
|
{
|
|
"comment": " // . . U . . // Set platform window position (given the upper-left corner of client area)",
|
|
"name": "Platform_DestroyWindow",
|
|
"type": "void(*)(ImGuiViewport* vp)"
|
|
},
|
|
{
|
|
"comment": " // N . . . . //",
|
|
"name": "Platform_ShowWindow",
|
|
"type": "void(*)(ImGuiViewport* vp)"
|
|
},
|
|
{
|
|
"comment": " // . . U . . // Set platform window client area size (ignoring OS decorations such as OS title bar etc.)",
|
|
"name": "Platform_SetWindowPos",
|
|
"type": "void(*)(ImGuiViewport* vp,ImVec2 pos)"
|
|
},
|
|
{
|
|
"comment": " // N . . . . // Get platform window client area size",
|
|
"name": "Platform_GetWindowPos",
|
|
"type": "ImVec2(*)(ImGuiViewport* vp)"
|
|
},
|
|
{
|
|
"comment": " // N . . . . // Move window to front and set input focus",
|
|
"name": "Platform_SetWindowSize",
|
|
"type": "void(*)(ImGuiViewport* vp,ImVec2 size)"
|
|
},
|
|
{
|
|
"comment": " // . . U . . //",
|
|
"name": "Platform_GetWindowSize",
|
|
"type": "ImVec2(*)(ImGuiViewport* vp)"
|
|
},
|
|
{
|
|
"comment": " // N . . . . // Get platform window minimized state. When minimized, we generally won't attempt to get/set size and contents will be culled more easily",
|
|
"name": "Platform_SetWindowFocus",
|
|
"type": "void(*)(ImGuiViewport* vp)"
|
|
},
|
|
{
|
|
"comment": " // . . U . . // Set platform window title (given an UTF-8 string)",
|
|
"name": "Platform_GetWindowFocus",
|
|
"type": "bool(*)(ImGuiViewport* vp)"
|
|
},
|
|
{
|
|
"comment": " // . . U . . // (Optional) Setup window transparency",
|
|
"name": "Platform_GetWindowMinimized",
|
|
"type": "bool(*)(ImGuiViewport* vp)"
|
|
},
|
|
{
|
|
"comment": " // . . U . . // (Optional) Called by UpdatePlatformWindows(). Optional hook to allow the platform back-end from doing general book-keeping every frame.",
|
|
"name": "Platform_SetWindowTitle",
|
|
"type": "void(*)(ImGuiViewport* vp,const char* str)"
|
|
},
|
|
{
|
|
"comment": " // . . . R . // (Optional) Main rendering (platform side! This is often unused, or just setting a \"current\" context for OpenGL bindings). 'render_arg' is the value passed to RenderPlatformWindowsDefault().",
|
|
"name": "Platform_SetWindowAlpha",
|
|
"type": "void(*)(ImGuiViewport* vp,float alpha)"
|
|
},
|
|
{
|
|
"comment": " // . . . R . // (Optional) Call Present/SwapBuffers (platform side! This is often unused!). 'render_arg' is the value passed to RenderPlatformWindowsDefault().",
|
|
"name": "Platform_UpdateWindow",
|
|
"type": "void(*)(ImGuiViewport* vp)"
|
|
},
|
|
{
|
|
"comment": " // N . . . . // (Optional) [BETA] FIXME-DPI: DPI handling: Return DPI scale for this viewport. 1.0f = 96 DPI.",
|
|
"name": "Platform_RenderWindow",
|
|
"type": "void(*)(ImGuiViewport* vp,void* render_arg)"
|
|
},
|
|
{
|
|
"comment": " // . F . . . // (Optional) [BETA] FIXME-DPI: DPI handling: Called during Begin() every time the viewport we are outputting into changes, so back-end has a chance to swap fonts to adjust style.",
|
|
"name": "Platform_SwapBuffers",
|
|
"type": "void(*)(ImGuiViewport* vp,void* render_arg)"
|
|
},
|
|
{
|
|
"comment": " // . F . . . // (Optional) Set IME (Input Method Editor, e.g. for Asian languages) input position, so text preview appears over the imgui input box. FIXME: The call timing of this is inconsistent because we want to support without multi-viewports.",
|
|
"name": "Platform_GetWindowDpiScale",
|
|
"type": "float(*)(ImGuiViewport* vp)"
|
|
},
|
|
{
|
|
"comment": " // (Optional) For a Vulkan Renderer to call into Platform code (since the surface creation needs to tie them both).",
|
|
"name": "Platform_OnChangedViewport",
|
|
"type": "void(*)(ImGuiViewport* vp)"
|
|
},
|
|
{
|
|
"comment": " // . . U . . // Create swap chain, frame buffers etc. (called after Platform_CreateWindow)",
|
|
"name": "Platform_SetImeInputPos",
|
|
"type": "void(*)(ImGuiViewport* vp,ImVec2 pos)"
|
|
},
|
|
{
|
|
"comment": " // N . U . D // Destroy swap chain, frame buffers etc. (called before Platform_DestroyWindow)",
|
|
"name": "Platform_CreateVkSurface",
|
|
"type": "int(*)(ImGuiViewport* vp,ImU64 vk_inst,const void* vk_allocators,ImU64* out_vk_surface)"
|
|
},
|
|
{
|
|
"comment": " // . . U . . // Resize swap chain, frame buffers etc. (called after Platform_SetWindowSize)",
|
|
"name": "Renderer_CreateWindow",
|
|
"type": "void(*)(ImGuiViewport* vp)"
|
|
},
|
|
{
|
|
"comment": " // . . . R . // (Optional) Clear framebuffer, setup render target, then render the viewport->DrawData. 'render_arg' is the value passed to RenderPlatformWindowsDefault().",
|
|
"name": "Renderer_DestroyWindow",
|
|
"type": "void(*)(ImGuiViewport* vp)"
|
|
},
|
|
{
|
|
"comment": " // . . . R . // (Optional) Call Present/SwapBuffers. 'render_arg' is the value passed to RenderPlatformWindowsDefault().",
|
|
"name": "Renderer_SetWindowSize",
|
|
"type": "void(*)(ImGuiViewport* vp,ImVec2 size)"
|
|
},
|
|
{
|
|
"comment": " // Guaranteed to be == Viewports[0]",
|
|
"name": "Renderer_RenderWindow",
|
|
"type": "void(*)(ImGuiViewport* vp,void* render_arg)"
|
|
},
|
|
{
|
|
"comment": " // Main viewports, followed by all secondary viewports.",
|
|
"name": "Renderer_SwapBuffers",
|
|
"type": "void(*)(ImGuiViewport* vp,void* render_arg)"
|
|
},
|
|
{
|
|
"name": "Monitors",
|
|
"template_type": "ImGuiPlatformMonitor",
|
|
"type": "ImVector_ImGuiPlatformMonitor"
|
|
},
|
|
{
|
|
"name": "MainViewport",
|
|
"type": "ImGuiViewport*"
|
|
},
|
|
{
|
|
"name": "Viewports",
|
|
"template_type": "ImGuiViewport*",
|
|
"type": "ImVector_ImGuiViewportPtr"
|
|
}
|
|
],
|
|
"ImGuiPlatformMonitor": [
|
|
{
|
|
"comment": " // 1.0f = 96 DPI",
|
|
"name": "MainPos",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // 1.0f = 96 DPI",
|
|
"name": "MainSize",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "WorkPos",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "WorkSize",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "DpiScale",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"ImGuiPopupData": [
|
|
{
|
|
"comment": " // Set on OpenPopup() copy of NavWindow at the time of opening the popup",
|
|
"name": "PopupId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Set on OpenPopup()",
|
|
"name": "Window",
|
|
"type": "ImGuiWindow*"
|
|
},
|
|
{
|
|
"comment": " // Set on OpenPopup(), we need this to differentiate multiple menu sets from each others (e.g. inside menu bar vs loose menu items)",
|
|
"name": "SourceWindow",
|
|
"type": "ImGuiWindow*"
|
|
},
|
|
{
|
|
"comment": " // Set on OpenPopup(), preferred popup position (typically == OpenMousePos when using mouse)",
|
|
"name": "OpenFrameCount",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Set on OpenPopup(), copy of mouse position at the time of opening popup",
|
|
"name": "OpenParentId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"name": "OpenPopupPos",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "OpenMousePos",
|
|
"type": "ImVec2"
|
|
}
|
|
],
|
|
"ImGuiPtrOrIndex": [
|
|
{
|
|
"name": "Ptr",
|
|
"type": "void*"
|
|
},
|
|
{
|
|
"name": "Index",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"ImGuiSettingsHandler": [
|
|
{
|
|
"comment": " // Clear all settings data",
|
|
"name": "TypeName",
|
|
"type": "const char*"
|
|
},
|
|
{
|
|
"comment": " // Read: Called before reading (in registration order)",
|
|
"name": "TypeHash",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Read: Called when entering into a new ini entry e.g. \"[Window][Name]\"",
|
|
"name": "ClearAllFn",
|
|
"type": "void(*)(ImGuiContext* ctx,ImGuiSettingsHandler* handler)"
|
|
},
|
|
{
|
|
"comment": " // Read: Called for every line of text within an ini entry",
|
|
"name": "ReadInitFn",
|
|
"type": "void(*)(ImGuiContext* ctx,ImGuiSettingsHandler* handler)"
|
|
},
|
|
{
|
|
"comment": " // Read: Called after reading (in registration order)",
|
|
"name": "ReadOpenFn",
|
|
"type": "void*(*)(ImGuiContext* ctx,ImGuiSettingsHandler* handler,const char* name)"
|
|
},
|
|
{
|
|
"comment": " // Write: Output every entries into 'out_buf'",
|
|
"name": "ReadLineFn",
|
|
"type": "void(*)(ImGuiContext* ctx,ImGuiSettingsHandler* handler,void* entry,const char* line)"
|
|
},
|
|
{
|
|
"name": "ApplyAllFn",
|
|
"type": "void(*)(ImGuiContext* ctx,ImGuiSettingsHandler* handler)"
|
|
},
|
|
{
|
|
"name": "WriteAllFn",
|
|
"type": "void(*)(ImGuiContext* ctx,ImGuiSettingsHandler* handler,ImGuiTextBuffer* out_buf)"
|
|
},
|
|
{
|
|
"name": "UserData",
|
|
"type": "void*"
|
|
}
|
|
],
|
|
"ImGuiShrinkWidthItem": [
|
|
{
|
|
"name": "Index",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "Width",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"ImGuiSizeCallbackData": [
|
|
{
|
|
"comment": " // Read-only. Current window size.",
|
|
"name": "UserData",
|
|
"type": "void*"
|
|
},
|
|
{
|
|
"comment": " // Read-write. Desired size, based on user's mouse position. Write to this field to restrain resizing.",
|
|
"name": "Pos",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "CurrentSize",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "DesiredSize",
|
|
"type": "ImVec2"
|
|
}
|
|
],
|
|
"ImGuiStorage": [
|
|
{
|
|
"name": "Data",
|
|
"template_type": "ImGuiStoragePair",
|
|
"type": "ImVector_ImGuiStoragePair"
|
|
}
|
|
],
|
|
"ImGuiStoragePair": [
|
|
{
|
|
"name": "key",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"name": "",
|
|
"type": "union { int val_i; float val_f; void* val_p;}"
|
|
}
|
|
],
|
|
"ImGuiStyle": [
|
|
{
|
|
"comment": " // Radius of window corners rounding. Set to 0.0f to have rectangular windows. Large values tend to lead to variety of artifacts and are not recommended.",
|
|
"name": "Alpha",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Thickness of border around windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly).",
|
|
"name": "WindowPadding",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Minimum window size. This is a global setting. If you want to constraint individual windows, use SetNextWindowSizeConstraints().",
|
|
"name": "WindowRounding",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Alignment for title bar text. Defaults to (0.0f,0.5f) for left-aligned,vertically centered.",
|
|
"name": "WindowBorderSize",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Side of the collapsing/docking button in the title bar (None/Left/Right). Defaults to ImGuiDir_Left.",
|
|
"name": "WindowMinSize",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Radius of child window corners rounding. Set to 0.0f to have rectangular windows.",
|
|
"name": "WindowTitleAlign",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Thickness of border around child windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly).",
|
|
"name": "WindowMenuButtonPosition",
|
|
"type": "ImGuiDir"
|
|
},
|
|
{
|
|
"comment": " // Radius of popup window corners rounding. (Note that tooltip windows use WindowRounding)",
|
|
"name": "ChildRounding",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Thickness of border around popup/tooltip windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly).",
|
|
"name": "ChildBorderSize",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Padding within a framed rectangle (used by most widgets).",
|
|
"name": "PopupRounding",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Radius of frame corners rounding. Set to 0.0f to have rectangular frame (used by most widgets).",
|
|
"name": "PopupBorderSize",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Thickness of border around frames. Generally set to 0.0f or 1.0f. (Other values are not well tested and more CPU/GPU costly).",
|
|
"name": "FramePadding",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Horizontal and vertical spacing between widgets/lines.",
|
|
"name": "FrameRounding",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its label).",
|
|
"name": "FrameBorderSize",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Expand reactive bounding box for touch-based system where touch position is not accurate enough. Unfortunately we don't sort widgets so priority on overlap will always be given to the first widget. So don't grow this too much!",
|
|
"name": "ItemSpacing",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Horizontal indentation when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2).",
|
|
"name": "ItemInnerSpacing",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Minimum horizontal spacing between two columns. Preferably > (FramePadding.x + 1).",
|
|
"name": "TouchExtraPadding",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Width of the vertical scrollbar, Height of the horizontal scrollbar.",
|
|
"name": "IndentSpacing",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Radius of grab corners for scrollbar.",
|
|
"name": "ColumnsMinSpacing",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Minimum width/height of a grab box for slider/scrollbar.",
|
|
"name": "ScrollbarSize",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs.",
|
|
"name": "ScrollbarRounding",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // The size in pixels of the dead-zone around zero on logarithmic sliders that cross zero.",
|
|
"name": "GrabMinSize",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Radius of upper corners of a tab. Set to 0.0f to have rectangular tabs.",
|
|
"name": "GrabRounding",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Thickness of border around tabs.",
|
|
"name": "LogSliderDeadzone",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Minimum width for close button to appears on an unselected tab when hovered. Set to 0.0f to always show when hovering, set to FLT_MAX to never show close button unless selected.",
|
|
"name": "TabRounding",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Side of the color button in the ColorEdit4 widget (left/right). Defaults to ImGuiDir_Right.",
|
|
"name": "TabBorderSize",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Alignment of button text when button is larger than text. Defaults to (0.5f, 0.5f) (centered).",
|
|
"name": "TabMinWidthForUnselectedCloseButton",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Alignment of selectable text. Defaults to (0.0f, 0.0f) (top-left aligned). It's generally important to keep this left-aligned if you want to lay multiple items on a same line.",
|
|
"name": "ColorButtonPosition",
|
|
"type": "ImGuiDir"
|
|
},
|
|
{
|
|
"comment": " // Window position are clamped to be visible within the display area or monitors by at least this amount. Only applies to regular windows.",
|
|
"name": "ButtonTextAlign",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // If you cannot see the edges of your screen (e.g. on a TV) increase the safe area padding. Apply to popups/tooltips as well regular windows. NB: Prefer configuring your TV sets correctly!",
|
|
"name": "SelectableTextAlign",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled). We apply per-monitor DPI scaling over this scale. May be removed later.",
|
|
"name": "DisplayWindowPadding",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Enable anti-aliased lines/borders. Disable if you are really tight on CPU/GPU. Latched at the beginning of the frame (copied to ImDrawList).",
|
|
"name": "DisplaySafeAreaPadding",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Enable anti-aliased lines/borders using textures where possible. Require back-end to render with bilinear filtering. Latched at the beginning of the frame (copied to ImDrawList).",
|
|
"name": "MouseCursorScale",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Enable anti-aliased edges around filled shapes (rounded rectangles, circles, etc.). Disable if you are really tight on CPU/GPU. Latched at the beginning of the frame (copied to ImDrawList).",
|
|
"name": "AntiAliasedLines",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease for highly tessellated curves (higher quality, more polygons), increase to reduce quality.",
|
|
"name": "AntiAliasedLinesUseTex",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Maximum error (in pixels) allowed when using AddCircle()/AddCircleFilled() or drawing rounded corner rectangles with no explicit segment count specified. Decrease for higher quality but more geometry.",
|
|
"name": "AntiAliasedFill",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "CurveTessellationTol",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "CircleSegmentMaxError",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "Colors[ImGuiCol_COUNT]",
|
|
"size": 50,
|
|
"type": "ImVec4"
|
|
}
|
|
],
|
|
"ImGuiStyleMod": [
|
|
{
|
|
"name": "VarIdx",
|
|
"type": "ImGuiStyleVar"
|
|
},
|
|
{
|
|
"name": "",
|
|
"type": "union { int BackupInt[2]; float BackupFloat[2];}"
|
|
}
|
|
],
|
|
"ImGuiTabBar": [
|
|
{
|
|
"comment": " // Can occasionally be != SelectedTabId (e.g. when previewing contents for CTRL+TAB preview)",
|
|
"name": "Tabs",
|
|
"template_type": "ImGuiTabItem",
|
|
"type": "ImVector_ImGuiTabItem"
|
|
},
|
|
{
|
|
"comment": " // Record the height of contents submitted below the tab bar",
|
|
"name": "ID",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Distance from BarRect.Min.x, locked during layout",
|
|
"name": "SelectedTabId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Ideal offset if all tabs were visible and not clipped",
|
|
"name": "NextSelectedTabId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Distance from BarRect.Min.x, incremented with each BeginTabItem() call, not used if ImGuiTabBarFlags_Reorderable if set.",
|
|
"name": "VisibleTabId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // For BeginTabItem()/EndTabItem()",
|
|
"name": "CurrFrameVisible",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // style.FramePadding locked at the time of BeginTabBar()",
|
|
"name": "PrevFrameVisible",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // For non-docking tab bar we re-append names in a contiguous buffer.",
|
|
"name": "BarRect",
|
|
"type": "ImRect"
|
|
},
|
|
{
|
|
"name": "LastTabContentHeight",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "OffsetMax",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "OffsetMaxIdeal",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "OffsetNextTab",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "ScrollingAnim",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "ScrollingTarget",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "ScrollingTargetDistToVisibility",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "ScrollingSpeed",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "Flags",
|
|
"type": "ImGuiTabBarFlags"
|
|
},
|
|
{
|
|
"name": "ReorderRequestTabId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"name": "ReorderRequestDir",
|
|
"type": "ImS8"
|
|
},
|
|
{
|
|
"name": "WantLayout",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "VisibleTabWasSubmitted",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "LastTabItemIdx",
|
|
"type": "short"
|
|
},
|
|
{
|
|
"name": "FramePadding",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "TabsNames",
|
|
"type": "ImGuiTextBuffer"
|
|
}
|
|
],
|
|
"ImGuiTabItem": [
|
|
{
|
|
"comment": " // Position relative to beginning of tab",
|
|
"name": "ID",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Width currently displayed",
|
|
"name": "Flags",
|
|
"type": "ImGuiTabItemFlags"
|
|
},
|
|
{
|
|
"comment": " // Width of actual contents, stored during BeginTabItem() call",
|
|
"name": "Window",
|
|
"type": "ImGuiWindow*"
|
|
},
|
|
{
|
|
"comment": " // When Window==NULL, offset to name within parent ImGuiTabBar::TabsNames",
|
|
"name": "LastFrameVisible",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Marked as closed by SetTabItemClosed()",
|
|
"name": "LastFrameSelected",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "Offset",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "Width",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "ContentWidth",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "NameOffset",
|
|
"type": "ImS16"
|
|
},
|
|
{
|
|
"name": "WantClose",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"ImGuiTextBuffer": [
|
|
{
|
|
"name": "Buf",
|
|
"template_type": "char",
|
|
"type": "ImVector_char"
|
|
}
|
|
],
|
|
"ImGuiTextFilter": [
|
|
{
|
|
"name": "InputBuf[256]",
|
|
"size": 256,
|
|
"type": "char"
|
|
},
|
|
{
|
|
"name": "Filters",
|
|
"template_type": "ImGuiTextRange",
|
|
"type": "ImVector_ImGuiTextRange"
|
|
},
|
|
{
|
|
"name": "CountGrep",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"ImGuiTextRange": [
|
|
{
|
|
"name": "b",
|
|
"type": "const char*"
|
|
},
|
|
{
|
|
"name": "e",
|
|
"type": "const char*"
|
|
}
|
|
],
|
|
"ImGuiViewport": [
|
|
{
|
|
"comment": " // Main Area: Position of the viewport (the imgui coordinates are the same as OS desktop/native coordinates)",
|
|
"name": "ID",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Main Area: Size of the viewport.",
|
|
"name": "Flags",
|
|
"type": "ImGuiViewportFlags"
|
|
},
|
|
{
|
|
"comment": " // Work Area: Offset from Pos to top-left corner of Work Area. Generally (0,0) or (0,+main_menu_bar_height). Work Area is Full Area but without menu-bars/status-bars (so WorkArea always fit inside Pos/Size!)",
|
|
"name": "Pos",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Work Area: Offset from Pos+Size to bottom-right corner of Work Area. Generally (0,0) or (0,-status_bar_height).",
|
|
"name": "Size",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // 1.0f = 96 DPI = No extra scale.",
|
|
"name": "WorkOffsetMin",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // The ImDrawData corresponding to this viewport. Valid after Render() and until the next call to NewFrame().",
|
|
"name": "WorkOffsetMax",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // (Advanced) 0: no parent. Instruct the platform back-end to setup a parent/child relationship between platform windows.",
|
|
"name": "DpiScale",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // void* to hold custom data structure for the renderer (e.g. swap chain, framebuffers etc.). generally set by your Renderer_CreateWindow function.",
|
|
"name": "DrawData",
|
|
"type": "ImDrawData*"
|
|
},
|
|
{
|
|
"comment": " // void* to hold custom data structure for the OS / platform (e.g. windowing info, render context). generally set by your Platform_CreateWindow function.",
|
|
"name": "ParentViewportId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // void* for FindViewportByPlatformHandle(). (e.g. suggested to use natural platform handle such as HWND, GLFWWindow*, SDL_Window*)",
|
|
"name": "RendererUserData",
|
|
"type": "void*"
|
|
},
|
|
{
|
|
"comment": " // void* to hold lower-level, platform-native window handle (e.g. the HWND) when using an abstraction layer like GLFW or SDL (where PlatformHandle would be a SDL_Window*)",
|
|
"name": "PlatformUserData",
|
|
"type": "void*"
|
|
},
|
|
{
|
|
"comment": " // Platform window requested move (e.g. window was moved by the OS / host window manager, authoritative position will be OS window position)",
|
|
"name": "PlatformHandle",
|
|
"type": "void*"
|
|
},
|
|
{
|
|
"comment": " // Platform window requested resize (e.g. window was resized by the OS / host window manager, authoritative size will be OS window size)",
|
|
"name": "PlatformHandleRaw",
|
|
"type": "void*"
|
|
},
|
|
{
|
|
"comment": " // Platform window requested closure (e.g. window was moved by the OS / host window manager, e.g. pressing ALT-F4)",
|
|
"name": "PlatformRequestMove",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "PlatformRequestResize",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "PlatformRequestClose",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"ImGuiViewportP": [
|
|
{
|
|
"comment": " // Last stamp number from when a window hosted by this viewport was made front-most (by comparing this value between two viewport we have an implicit viewport z-order",
|
|
"name": "_ImGuiViewport",
|
|
"type": "ImGuiViewport"
|
|
},
|
|
{
|
|
"comment": " // Window opacity (when dragging dockable windows/viewports we make them transparent)",
|
|
"name": "Idx",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Set when the viewport is owned by a window (and ImGuiViewportFlags_CanHostOtherWindows is NOT set)",
|
|
"name": "LastFrameActive",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Convenience background (0) and foreground (1) draw lists. We use them to draw software mouser cursor when io.MouseDrawCursor is set and to draw most debug overlays.",
|
|
"name": "LastFrameDrawLists[2]",
|
|
"size": 2,
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Work area top-left offset being increased during the frame",
|
|
"name": "LastFrontMostStampCount",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Work area bottom-right offset being decreased during the frame",
|
|
"name": "LastNameHash",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"name": "LastPos",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "Alpha",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "LastAlpha",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "PlatformMonitor",
|
|
"type": "short"
|
|
},
|
|
{
|
|
"name": "PlatformWindowCreated",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "Window",
|
|
"type": "ImGuiWindow*"
|
|
},
|
|
{
|
|
"name": "DrawLists[2]",
|
|
"size": 2,
|
|
"type": "ImDrawList*"
|
|
},
|
|
{
|
|
"name": "DrawDataP",
|
|
"type": "ImDrawData"
|
|
},
|
|
{
|
|
"name": "DrawDataBuilder",
|
|
"type": "ImDrawDataBuilder"
|
|
},
|
|
{
|
|
"name": "LastPlatformPos",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "LastPlatformSize",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "LastRendererSize",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "CurrWorkOffsetMin",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "CurrWorkOffsetMax",
|
|
"type": "ImVec2"
|
|
}
|
|
],
|
|
"ImGuiWindow": [
|
|
{
|
|
"comment": " // See enum ImGuiWindowFlags_",
|
|
"name": "Name",
|
|
"type": "char*"
|
|
},
|
|
{
|
|
"comment": " // Advanced users only. Set with SetNextWindowClass()",
|
|
"name": "ID",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Always set in Begin(), only inactive windows may have a NULL value here",
|
|
"name": "Flags",
|
|
"type": "ImGuiWindowFlags"
|
|
},
|
|
{
|
|
"comment": " // Always set in Begin(), only inactive windows may have a NULL value here",
|
|
"name": "FlagsPreviousFrame",
|
|
"type": "ImGuiWindowFlags"
|
|
},
|
|
{
|
|
"comment": " // We backup the viewport id (since the viewport may disappear or never be created if the window is inactive)",
|
|
"name": "WindowClass",
|
|
"type": "ImGuiWindowClass"
|
|
},
|
|
{
|
|
"comment": " // We backup the viewport position (since the viewport may disappear or never be created if the window is inactive)",
|
|
"name": "Viewport",
|
|
"type": "ImGuiViewportP*"
|
|
},
|
|
{
|
|
"comment": " // Reset to -1 every frame (index is guaranteed to be valid between NewFrame..EndFrame), only used in the Appearing frame of a tooltip/popup to enforce clamping to a given monitor",
|
|
"name": "ViewportId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Position (always rounded-up to nearest pixel)",
|
|
"name": "ViewportPos",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Current size (==SizeFull or collapsed title bar size)",
|
|
"name": "ViewportAllowPlatformMonitorExtend",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Size when non collapsed",
|
|
"name": "Pos",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Size of contents/scrollable client area (calculated from the extents reach of the cursor) from previous frame. Does not include window decoration or window padding.",
|
|
"name": "Size",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Size of contents/scrollable client area explicitly request by the user via SetNextWindowContentSize().",
|
|
"name": "SizeFull",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Window padding at the time of Begin().",
|
|
"name": "ContentSize",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Window rounding at the time of Begin(). May be clamped lower to avoid rendering artifacts with title bar, menu bar etc.",
|
|
"name": "ContentSizeExplicit",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Window border size at the time of Begin().",
|
|
"name": "WindowPadding",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Size of buffer storing Name. May be larger than strlen(Name)!",
|
|
"name": "WindowRounding",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // == window->GetID(\"#MOVE\")",
|
|
"name": "WindowBorderSize",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // ID of corresponding item in parent window (for navigation to return from child window to parent window)",
|
|
"name": "NameBufLen",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // target scroll position. stored as cursor position with scrolling canceled out, so the highest point is always 0.0f. (FLT_MAX for no change)",
|
|
"name": "MoveId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // 0.0f = scroll so that target position is at top, 0.5f = scroll so that target position is centered",
|
|
"name": "ChildId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Size taken by each scrollbars on their smaller axis. Pay attention! ScrollbarSizes.x == width of the vertical scrollbar, ScrollbarSizes.y = height of the horizontal scrollbar.",
|
|
"name": "Scroll",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Are scrollbars visible?",
|
|
"name": "ScrollMax",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Set to true on Begin(), unless Collapsed",
|
|
"name": "ScrollTarget",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Set to true when any widget access the current window",
|
|
"name": "ScrollTargetCenterRatio",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Set when collapsing window to become only title-bar",
|
|
"name": "ScrollbarSizes",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Set when items can safely be all clipped (e.g. window not visible or collapsed)",
|
|
"name": "ScrollbarX",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Set when items can safely be all clipped (e.g. window not visible or collapsed)",
|
|
"name": "ScrollbarY",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Set during the frame where the window is appearing (or re-appearing)",
|
|
"name": "ViewportOwned",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Do not display (== HiddenFrames*** > 0)",
|
|
"name": "Active",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Set on the \"Debug##Default\" window.",
|
|
"name": "WasActive",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Set when the window has a close button (p_open != NULL)",
|
|
"name": "WriteAccessed",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Current border being held for resize (-1: none, otherwise 0-3)",
|
|
"name": "Collapsed",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Number of Begin() during the current frame (generally 0 or 1, 1+ if appending via multiple Begin/End pairs)",
|
|
"name": "WantCollapseToggle",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Order within immediate parent window, if we are a child window. Otherwise 0.",
|
|
"name": "SkipItems",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Order within entire imgui context. This is mostly used for debugging submission order related issues.",
|
|
"name": "Appearing",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // ID in the popup stack when this window is used as a popup/menu (because we use generic Name/ID for recycling)",
|
|
"name": "Hidden",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Hide the window for N frames",
|
|
"name": "IsFallbackWindow",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Hide the window for N frames while allowing items to be submitted so we can measure their size",
|
|
"name": "HasCloseButton",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // store acceptable condition flags for SetNextWindowPos() use.",
|
|
"name": "ResizeBorderHeld",
|
|
"type": "signed char"
|
|
},
|
|
{
|
|
"comment": " // store acceptable condition flags for SetNextWindowSize() use.",
|
|
"name": "BeginCount",
|
|
"type": "short"
|
|
},
|
|
{
|
|
"comment": " // store acceptable condition flags for SetNextWindowCollapsed() use.",
|
|
"name": "BeginOrderWithinParent",
|
|
"type": "short"
|
|
},
|
|
{
|
|
"comment": " // store acceptable condition flags for SetNextWindowDock() use.",
|
|
"name": "BeginOrderWithinContext",
|
|
"type": "short"
|
|
},
|
|
{
|
|
"comment": " // store window position when using a non-zero Pivot (position set needs to be processed when we know the window size)",
|
|
"name": "PopupId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // store window pivot for positioning. ImVec2(0, 0) when positioning from top-left corner; ImVec2(0.5f, 0.5f) for centering; ImVec2(1, 1) for bottom right.",
|
|
"name": "AutoFitFramesX",
|
|
"type": "ImS8"
|
|
},
|
|
{
|
|
"comment": " // store window pivot for positioning. ImVec2(0, 0) when positioning from top-left corner; ImVec2(0.5f, 0.5f) for centering; ImVec2(1, 1) for bottom right.",
|
|
"name": "AutoFitFramesY",
|
|
"type": "ImS8"
|
|
},
|
|
{
|
|
"comment": " // ID stack. ID are hashes seeded with the value at the top of the stack. (In theory this should be in the TempData structure)",
|
|
"name": "AutoFitChildAxises",
|
|
"type": "ImS8"
|
|
},
|
|
{
|
|
"comment": " // Temporary per-window data, reset at the beginning of the frame. This used to be called ImGuiDrawContext, hence the \"DC\" variable name.",
|
|
"name": "AutoFitOnlyGrows",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // == Window->Rect() just after setup in Begin(). == window->Rect() for root window.",
|
|
"name": "AutoPosLastDirection",
|
|
"type": "ImGuiDir"
|
|
},
|
|
{
|
|
"comment": " // Inner rectangle (omit title bar, menu bar, scroll bar)",
|
|
"name": "HiddenFramesCanSkipItems",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // == InnerRect shrunk by WindowPadding*0.5f on each side, clipped within viewport or parent clip rect.",
|
|
"name": "HiddenFramesCannotSkipItems",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Initially covers the whole scrolling region. Reduced by containers e.g columns/tables when active. Shrunk by WindowPadding*1.0f on each side. This is meant to replace ContentRegionRect over time (from 1.71+ onward).",
|
|
"name": "SetWindowPosAllowFlags",
|
|
"type": "ImGuiCond"
|
|
},
|
|
{
|
|
"comment": " // Backup of WorkRect before entering a container such as columns/tables. Used by e.g. SpanAllColumns functions to easily access. Stacked containers are responsible for maintaining this. // FIXME-WORKRECT: Could be a stack?",
|
|
"name": "SetWindowSizeAllowFlags",
|
|
"type": "ImGuiCond"
|
|
},
|
|
{
|
|
"comment": " // Current clipping/scissoring rectangle, evolve as we are using PushClipRect(), etc. == DrawList->clip_rect_stack.back().",
|
|
"name": "SetWindowCollapsedAllowFlags",
|
|
"type": "ImGuiCond"
|
|
},
|
|
{
|
|
"comment": " // FIXME: This is currently confusing/misleading. It is essentially WorkRect but not handling of scrolling. We currently rely on it as right/bottom aligned sizing operation need some size to rely on.",
|
|
"name": "SetWindowDockAllowFlags",
|
|
"type": "ImGuiCond"
|
|
},
|
|
{
|
|
"comment": " // Define an optional rectangular hole where mouse will pass-through the window.",
|
|
"name": "SetWindowPosVal",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Last frame number the window was Active.",
|
|
"name": "SetWindowPosPivot",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Last frame number the window was made Focused.",
|
|
"name": "IDStack",
|
|
"template_type": "ImGuiID",
|
|
"type": "ImVector_ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Last timestamp the window was Active (using float as we don't need high precision there)",
|
|
"name": "DC",
|
|
"type": "ImGuiWindowTempData"
|
|
},
|
|
{
|
|
"comment": " // User scale multiplier per-window, via SetWindowFontScale()",
|
|
"name": "OuterRectClipped",
|
|
"type": "ImRect"
|
|
},
|
|
{
|
|
"comment": " // Offset into SettingsWindows[] (offsets are always valid as we only grow the array from the back)",
|
|
"name": "InnerRect",
|
|
"type": "ImRect"
|
|
},
|
|
{
|
|
"comment": " // == &DrawListInst (for backward compatibility reason with code using imgui_internal.h we keep this a pointer)",
|
|
"name": "InnerClipRect",
|
|
"type": "ImRect"
|
|
},
|
|
{
|
|
"comment": " // If we are a child _or_ popup window, this is pointing to our parent. Otherwise NULL.",
|
|
"name": "WorkRect",
|
|
"type": "ImRect"
|
|
},
|
|
{
|
|
"comment": " // Point to ourself or first ancestor that is not a child window == Top-level window.",
|
|
"name": "ParentWorkRect",
|
|
"type": "ImRect"
|
|
},
|
|
{
|
|
"comment": " // Point to ourself or first ancestor that is not a child window. Doesn't cross through dock nodes. We use this so IsWindowFocused() can behave consistently regardless of docking state.",
|
|
"name": "ClipRect",
|
|
"type": "ImRect"
|
|
},
|
|
{
|
|
"comment": " // Point to ourself or first ancestor which will display TitleBgActive color when this window is active.",
|
|
"name": "ContentRegionRect",
|
|
"type": "ImRect"
|
|
},
|
|
{
|
|
"comment": " // Point to ourself or first ancestor which doesn't have the NavFlattened flag.",
|
|
"name": "HitTestHoleSize",
|
|
"type": "ImVec2ih"
|
|
},
|
|
{
|
|
"comment": " // When going to the menu bar, we remember the child window we came from. (This could probably be made implicit if we kept g.Windows sorted by last focused including child window.)",
|
|
"name": "HitTestHoleOffset",
|
|
"type": "ImVec2ih"
|
|
},
|
|
{
|
|
"comment": " // Last known NavId for this window, per layer (0/1)",
|
|
"name": "LastFrameActive",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Reference rectangle, in window relative space",
|
|
"name": "LastFrameJustFocused",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Set when window extraneous data have been garbage collected",
|
|
"name": "LastTimeActive",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Backup of last idx/vtx count, so when waking up the window we can preallocate and avoid iterative alloc/copy",
|
|
"name": "ItemWidthDefault",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Which node are we docked into. Important: Prefer testing DockIsActive in many cases as this will still be set when the dock node is hidden.",
|
|
"name": "StateStorage",
|
|
"type": "ImGuiStorage"
|
|
},
|
|
{
|
|
"comment": " // Which node are we owning (for parent windows)",
|
|
"name": "ColumnsStorage",
|
|
"template_type": "ImGuiColumns",
|
|
"type": "ImVector_ImGuiColumns"
|
|
},
|
|
{
|
|
"comment": " // Backup of last valid DockNode->ID, so single window remember their dock node id even when they are not bound any more",
|
|
"name": "FontWindowScale",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Order of the last time the window was visible within its DockNode. This is used to reorder windows that are reappearing on the same frame. Same value between windows that were active and windows that were none are possible.",
|
|
"name": "FontDpiScale",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // When docking artifacts are actually visible. When this is set, DockNode is guaranteed to be != NULL. ~~ (DockNode != NULL) && (DockNode->Windows.Size > 1).",
|
|
"name": "SettingsOffset",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Is our window visible this frame? ~~ is the corresponding tab selected?",
|
|
"name": "DrawList",
|
|
"type": "ImDrawList*"
|
|
},
|
|
{
|
|
"name": "DrawListInst",
|
|
"type": "ImDrawList"
|
|
},
|
|
{
|
|
"name": "ParentWindow",
|
|
"type": "ImGuiWindow*"
|
|
},
|
|
{
|
|
"name": "RootWindow",
|
|
"type": "ImGuiWindow*"
|
|
},
|
|
{
|
|
"name": "RootWindowDockStop",
|
|
"type": "ImGuiWindow*"
|
|
},
|
|
{
|
|
"name": "RootWindowForTitleBarHighlight",
|
|
"type": "ImGuiWindow*"
|
|
},
|
|
{
|
|
"name": "RootWindowForNav",
|
|
"type": "ImGuiWindow*"
|
|
},
|
|
{
|
|
"name": "NavLastChildNavWindow",
|
|
"type": "ImGuiWindow*"
|
|
},
|
|
{
|
|
"name": "NavLastIds[ImGuiNavLayer_COUNT]",
|
|
"size": 2,
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"name": "NavRectRel[ImGuiNavLayer_COUNT]",
|
|
"size": 2,
|
|
"type": "ImRect"
|
|
},
|
|
{
|
|
"name": "MemoryCompacted",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "MemoryDrawListIdxCapacity",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "MemoryDrawListVtxCapacity",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "DockNode",
|
|
"type": "ImGuiDockNode*"
|
|
},
|
|
{
|
|
"name": "DockNodeAsHost",
|
|
"type": "ImGuiDockNode*"
|
|
},
|
|
{
|
|
"name": "DockId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"name": "DockTabItemStatusFlags",
|
|
"type": "ImGuiItemStatusFlags"
|
|
},
|
|
{
|
|
"name": "DockTabItemRect",
|
|
"type": "ImRect"
|
|
},
|
|
{
|
|
"name": "DockOrder",
|
|
"type": "short"
|
|
},
|
|
{
|
|
"bitfield": "1",
|
|
"name": "DockIsActive",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"bitfield": "1",
|
|
"name": "DockTabIsVisible",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"bitfield": "1",
|
|
"name": "DockTabWantClose",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"ImGuiWindowClass": [
|
|
{
|
|
"comment": " // Viewport flags to set when a window of this class owns a viewport. This allows you to enforce OS decoration or task bar icon, override the defaults on a per-window basis.",
|
|
"name": "ClassId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Viewport flags to clear when a window of this class owns a viewport. This allows you to enforce OS decoration or task bar icon, override the defaults on a per-window basis.",
|
|
"name": "ParentViewportId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // [EXPERIMENTAL] Dock node flags to set when a window of this class is hosted by a dock node (it doesn't have to be selected!)",
|
|
"name": "ViewportFlagsOverrideSet",
|
|
"type": "ImGuiViewportFlags"
|
|
},
|
|
{
|
|
"comment": " // [EXPERIMENTAL]",
|
|
"name": "ViewportFlagsOverrideClear",
|
|
"type": "ImGuiViewportFlags"
|
|
},
|
|
{
|
|
"comment": " // Set to true to enforce single floating windows of this class always having their own docking node (equivalent of setting the global io.ConfigDockingAlwaysTabBar)",
|
|
"name": "DockNodeFlagsOverrideSet",
|
|
"type": "ImGuiDockNodeFlags"
|
|
},
|
|
{
|
|
"comment": " // Set to true to allow windows of this class to be docked/merged with an unclassed window. // FIXME-DOCK: Move to DockNodeFlags override?",
|
|
"name": "DockNodeFlagsOverrideClear",
|
|
"type": "ImGuiDockNodeFlags"
|
|
},
|
|
{
|
|
"name": "DockingAlwaysTabBar",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "DockingAllowUnclassed",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"ImGuiWindowSettings": [
|
|
{
|
|
"comment": " // ID of window class if specified",
|
|
"name": "ID",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Order of the last time the window was visible within its DockNode. This is used to reorder windows that are reappearing on the same frame. Same value between windows that were active and windows that were none are possible.",
|
|
"name": "Pos",
|
|
"type": "ImVec2ih"
|
|
},
|
|
{
|
|
"comment": " // Set when loaded from .ini data (to enable merging/loading .ini data into an already running context)",
|
|
"name": "Size",
|
|
"type": "ImVec2ih"
|
|
},
|
|
{
|
|
"name": "ViewportPos",
|
|
"type": "ImVec2ih"
|
|
},
|
|
{
|
|
"name": "ViewportId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"name": "DockId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"name": "ClassId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"name": "DockOrder",
|
|
"type": "short"
|
|
},
|
|
{
|
|
"name": "Collapsed",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"name": "WantApply",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"ImGuiWindowTempData": [
|
|
{
|
|
"comment": " // Used to implicitly calculate the size of our contents, always growing during the frame. Used to calculate window->ContentSize at the beginning of next frame",
|
|
"name": "CursorPos",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Baseline offset (0.0f by default on a new line, generally == style.FramePadding.y when a framed item has been added).",
|
|
"name": "CursorPosPrevLine",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Indentation / start position from left of window (increased by TreePush/TreePop, etc.)",
|
|
"name": "CursorStartPos",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Offset to the current column (if ColumnsCurrent > 0). FIXME: This and the above should be a stack to allow use cases like Tree->Column->Tree. Need revamp columns API.",
|
|
"name": "CursorMaxPos",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // ID for last item",
|
|
"name": "CurrLineSize",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Status flags for last item (see ImGuiItemStatusFlags_)",
|
|
"name": "PrevLineSize",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // Interaction rect for last item",
|
|
"name": "CurrLineTextBaseOffset",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // End-user display rect for last item (only valid if LastItemStatusFlags & ImGuiItemStatusFlags_HasDisplayRect)",
|
|
"name": "PrevLineTextBaseOffset",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // Current layer, 0..31 (we currently only use 0..1)",
|
|
"name": "Indent",
|
|
"type": "ImVec1"
|
|
},
|
|
{
|
|
"comment": " // = (1 << NavLayerCurrent) used by ItemAdd prior to clipping.",
|
|
"name": "ColumnsOffset",
|
|
"type": "ImVec1"
|
|
},
|
|
{
|
|
"comment": " // Which layer have been written to (result from previous frame)",
|
|
"name": "GroupOffset",
|
|
"type": "ImVec1"
|
|
},
|
|
{
|
|
"comment": " // Which layer have been written to (buffer for current frame)",
|
|
"name": "LastItemId",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Current focus scope ID while appending",
|
|
"name": "LastItemStatusFlags",
|
|
"type": "ImGuiItemStatusFlags"
|
|
},
|
|
{
|
|
"comment": " // Set when scrolling can be used (ScrollMax > 0.0f)",
|
|
"name": "LastItemRect",
|
|
"type": "ImRect"
|
|
},
|
|
{
|
|
"comment": " // FIXME: Remove this",
|
|
"name": "LastItemDisplayRect",
|
|
"type": "ImRect"
|
|
},
|
|
{
|
|
"comment": " // MenuBarOffset.x is sort of equivalent of a per-layer CursorPos.x, saved/restored as we switch to the menu bar. The only situation when MenuBarOffset.y is > 0 if when (SafeAreaPadding.y > FramePadding.y), often used on TVs.",
|
|
"name": "NavLayerCurrent",
|
|
"type": "ImGuiNavLayer"
|
|
},
|
|
{
|
|
"comment": " // Simplified columns storage for menu items measurement",
|
|
"name": "NavLayerCurrentMask",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Current tree depth.",
|
|
"name": "NavLayerActiveMask",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Store a copy of !g.NavIdIsAlive for TreeDepth 0..31.. Could be turned into a ImU64 if necessary.",
|
|
"name": "NavLayerActiveMaskNext",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // Current persistent per-window storage (store e.g. tree node open/close state)",
|
|
"name": "NavFocusScopeIdCurrent",
|
|
"type": "ImGuiID"
|
|
},
|
|
{
|
|
"comment": " // Current columns set",
|
|
"name": "NavHideHighlightOneFrame",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // Layout type of parent window at the time of Begin()",
|
|
"name": "NavHasScroll",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // (Legacy Focus/Tabbing system) Sequential counter, start at -1 and increase as assigned via FocusableItemRegister() (FIXME-NAV: Needs redesign)",
|
|
"name": "MenuBarAppending",
|
|
"type": "bool"
|
|
},
|
|
{
|
|
"comment": " // (Legacy Focus/Tabbing system) Same, but only count widgets which you can Tab through.",
|
|
"name": "MenuBarOffset",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"comment": " // == ItemFlagsStack.back() [empty == ImGuiItemFlags_Default]",
|
|
"name": "MenuColumns",
|
|
"type": "ImGuiMenuColumns"
|
|
},
|
|
{
|
|
"comment": " // == ItemWidthStack.back(). 0.0: default, >0.0: width in pixels, <0.0: align xx pixels to the right of window",
|
|
"name": "TreeDepth",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"comment": " // == TextWrapPosStack.back() [empty == -1.0f]",
|
|
"name": "TreeJumpToParentOnPopMask",
|
|
"type": "ImU32"
|
|
},
|
|
{
|
|
"comment": " // Store size of various stacks for asserting",
|
|
"name": "ChildWindows",
|
|
"template_type": "ImGuiWindow*",
|
|
"type": "ImVector_ImGuiWindowPtr"
|
|
},
|
|
{
|
|
"name": "StateStorage",
|
|
"type": "ImGuiStorage*"
|
|
},
|
|
{
|
|
"name": "CurrentColumns",
|
|
"type": "ImGuiColumns*"
|
|
},
|
|
{
|
|
"name": "LayoutType",
|
|
"type": "ImGuiLayoutType"
|
|
},
|
|
{
|
|
"name": "ParentLayoutType",
|
|
"type": "ImGuiLayoutType"
|
|
},
|
|
{
|
|
"name": "FocusCounterRegular",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "FocusCounterTabStop",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "ItemFlags",
|
|
"type": "ImGuiItemFlags"
|
|
},
|
|
{
|
|
"name": "ItemWidth",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "TextWrapPos",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "ItemFlagsStack",
|
|
"template_type": "ImGuiItemFlags",
|
|
"type": "ImVector_ImGuiItemFlags"
|
|
},
|
|
{
|
|
"name": "ItemWidthStack",
|
|
"template_type": "float",
|
|
"type": "ImVector_float"
|
|
},
|
|
{
|
|
"name": "TextWrapPosStack",
|
|
"template_type": "float",
|
|
"type": "ImVector_float"
|
|
},
|
|
{
|
|
"name": "GroupStack",
|
|
"template_type": "ImGuiGroupData",
|
|
"type": "ImVector_ImGuiGroupData"
|
|
},
|
|
{
|
|
"name": "StackSizesBackup[6]",
|
|
"size": 6,
|
|
"type": "short"
|
|
}
|
|
],
|
|
"ImRect": [
|
|
{
|
|
"name": "Min",
|
|
"type": "ImVec2"
|
|
},
|
|
{
|
|
"name": "Max",
|
|
"type": "ImVec2"
|
|
}
|
|
],
|
|
"ImVec1": [
|
|
{
|
|
"name": "x",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"ImVec2": [
|
|
{
|
|
"name": "x",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "y",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"ImVec2ih": [
|
|
{
|
|
"name": "x",
|
|
"type": "short"
|
|
},
|
|
{
|
|
"name": "y",
|
|
"type": "short"
|
|
}
|
|
],
|
|
"ImVec4": [
|
|
{
|
|
"name": "x",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "y",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "z",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "w",
|
|
"type": "float"
|
|
}
|
|
],
|
|
"STB_TexteditState": [
|
|
{
|
|
"comment": " // this determines where the cursor up/down tries to seek to along x",
|
|
"name": "cursor",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "select_start",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "select_end",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "insert_mode",
|
|
"type": "unsigned char"
|
|
},
|
|
{
|
|
"name": "cursor_at_end_of_line",
|
|
"type": "unsigned char"
|
|
},
|
|
{
|
|
"name": "initialized",
|
|
"type": "unsigned char"
|
|
},
|
|
{
|
|
"name": "has_preferred_x",
|
|
"type": "unsigned char"
|
|
},
|
|
{
|
|
"name": "single_line",
|
|
"type": "unsigned char"
|
|
},
|
|
{
|
|
"name": "padding1",
|
|
"type": "unsigned char"
|
|
},
|
|
{
|
|
"name": "padding2",
|
|
"type": "unsigned char"
|
|
},
|
|
{
|
|
"name": "padding3",
|
|
"type": "unsigned char"
|
|
},
|
|
{
|
|
"name": "preferred_x",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "undostate",
|
|
"type": "StbUndoState"
|
|
}
|
|
],
|
|
"StbTexteditRow": [
|
|
{
|
|
"comment": " // height of row above and below baseline",
|
|
"name": "x0",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"comment": " // height of row above and below baseline",
|
|
"name": "x1",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "baseline_y_delta",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "ymin",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "ymax",
|
|
"type": "float"
|
|
},
|
|
{
|
|
"name": "num_chars",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"StbUndoRecord": [
|
|
{
|
|
"name": "where",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "insert_length",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "delete_length",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "char_storage",
|
|
"type": "int"
|
|
}
|
|
],
|
|
"StbUndoState": [
|
|
{
|
|
"name": "undo_rec[99]",
|
|
"size": 99,
|
|
"type": "StbUndoRecord"
|
|
},
|
|
{
|
|
"name": "undo_char[999]",
|
|
"size": 999,
|
|
"type": "ImWchar"
|
|
},
|
|
{
|
|
"name": "undo_point",
|
|
"type": "short"
|
|
},
|
|
{
|
|
"name": "redo_point",
|
|
"type": "short"
|
|
},
|
|
{
|
|
"name": "undo_char_point",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "redo_char_point",
|
|
"type": "int"
|
|
}
|
|
]
|
|
}
|
|
} |