mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
Regenerate bindings
This commit is contained in:
parent
6078c42963
commit
e559ae6b20
310 changed files with 361033 additions and 717041 deletions
|
|
@ -7,14 +7,19 @@ Set-Location -Path $PSScriptRoot
|
|||
# Copy cimgui files from the cimgui repository to Hexa.NET.ImGui
|
||||
Copy-Item -Path "lib/cimgui/cimgui.h" -Destination "lib/Hexa.NET.ImGui/Generator/cimgui" -Force
|
||||
Copy-Item -Path "lib/cimgui/generator/output/definitions.json" -Destination "lib/Hexa.NET.ImGui/Generator/cimgui" -Force
|
||||
Copy-Item -Path "lib/cimgui/generator/output/structs_and_enums.json" -Destination "lib/Hexa.NET.ImGui/Generator/cimgui" -Force
|
||||
Copy-Item -Path "lib/cimgui/generator/output/typedefs_dict.json" -Destination "lib/Hexa.NET.ImGui/Generator/cimgui" -Force
|
||||
|
||||
# Copy cimplot.h and cimguizmo.h
|
||||
Copy-Item -Path "lib/cimplot/cimplot.h" -Destination "lib/Hexa.NET.ImGui/Generator/cimplot" -Force
|
||||
Copy-Item -Path "lib/cimplot/generator/output/definitions.json" -Destination "lib/Hexa.NET.ImGui/Generator/cimplot" -Force
|
||||
Copy-Item -Path "lib/cimplot/generator/output/structs_and_enums.json" -Destination "lib/Hexa.NET.ImGui/Generator/cimplot" -Force
|
||||
Copy-Item -Path "lib/cimplot/generator/output/typedefs_dict.json" -Destination "lib/Hexa.NET.ImGui/Generator/cimplot" -Force
|
||||
|
||||
Copy-Item -Path "lib/cimguizmo/cimguizmo.h" -Destination "lib/Hexa.NET.ImGui/Generator/cimguizmo" -Force
|
||||
Copy-Item -Path "lib/cimguizmo/generator/output/definitions.json" -Destination "lib/Hexa.NET.ImGui/Generator/cimguizmo" -Force
|
||||
|
||||
Copy-Item -Path "lib/cimguizmo/generator/output/structs_and_enums.json" -Destination "lib/Hexa.NET.ImGui/Generator/cimguizmo" -Force
|
||||
#Copy-Item -Path "lib/cimguizmo/generator/output/typedefs_dict.json" -Destination "lib/Hexa.NET.ImGui/Generator/cimguizmo" -Force
|
||||
|
||||
# Find the first `#ifdef CIMGUI_DEFINE_ENUMS_AND_STRUCTS` in cimgui.h and insert `#define CIMGUI_DEFINE_ENUMS_AND_STRUCTS` before it
|
||||
function InsertDefine {
|
||||
|
|
@ -66,6 +71,7 @@ Set-Location -Path "Generator"
|
|||
dotnet build
|
||||
|
||||
# Run generator
|
||||
Read-Host -Prompt "Press any key to generate" | Out-Null
|
||||
Set-Location -Path "bin/Debug/net9.0"
|
||||
.\Generator.exe
|
||||
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="HexaGen.Runtime" Version="1.1.17" />
|
||||
<PackageReference Include="HexaGen.Runtime" Version="1.1.20" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
|
|||
|
|
@ -15,10 +15,14 @@ namespace Dalamud.Bindings.ImGui
|
|||
{
|
||||
public unsafe partial class ImGui
|
||||
{
|
||||
public const int CIMGUI_VARGS0 = 1;
|
||||
|
||||
public const int IMGUI_USE_WCHAR32 = 1;
|
||||
|
||||
public const int IMGUI_ENABLE_FREETYPE = 1;
|
||||
|
||||
public const int CIMGUI_DEFINE_ENUMS_AND_STRUCTS = 1;
|
||||
|
||||
public const int IMGUI_HAS_DOCK = 1;
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -661,14 +661,14 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// To be documented.
|
||||
/// </summary>
|
||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||
public unsafe delegate void* ImGuiMemAllocFunc([NativeName(NativeNameType.Param, "sz")] [NativeName(NativeNameType.Type, "size_t")] ulong sz, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] void* userData);
|
||||
public unsafe delegate void* ImGuiMemAllocFunc([NativeName(NativeNameType.Param, "sz")] [NativeName(NativeNameType.Type, "size_t")] nuint sz, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] void* userData);
|
||||
|
||||
#else
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||
public unsafe delegate nint ImGuiMemAllocFunc([NativeName(NativeNameType.Param, "sz")] [NativeName(NativeNameType.Type, "size_t")] ulong sz, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] nint userData);
|
||||
public unsafe delegate nint ImGuiMemAllocFunc([NativeName(NativeNameType.Param, "sz")] [NativeName(NativeNameType.Type, "size_t")] nuint sz, [NativeName(NativeNameType.Param, "user_data")] [NativeName(NativeNameType.Type, "void*")] nint userData);
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -25,32 +25,32 @@ namespace Dalamud.Bindings.ImGui
|
|||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// PathStroke(), AddPolyline(): specify that shape should be closed (Important: this is always == 1 for legacy reason)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Closed = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// AddRect(), AddRectFilled(), PathRect(): enable rounding top-left corner only (when rounding > 0.0f, we default to all corners). Was 0x01.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
RoundCornersTopLeft = unchecked(16),
|
||||
|
||||
/// <summary>
|
||||
/// AddRect(), AddRectFilled(), PathRect(): enable rounding top-right corner only (when rounding > 0.0f, we default to all corners). Was 0x02.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
RoundCornersTopRight = unchecked(32),
|
||||
|
||||
/// <summary>
|
||||
/// AddRect(), AddRectFilled(), PathRect(): enable rounding bottom-left corner only (when rounding > 0.0f, we default to all corners). Was 0x04.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
RoundCornersBottomLeft = unchecked(64),
|
||||
|
||||
/// <summary>
|
||||
/// AddRect(), AddRectFilled(), PathRect(): enable rounding bottom-right corner only (when rounding > 0.0f, we default to all corners). Wax 0x08.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
RoundCornersBottomRight = unchecked(128),
|
||||
|
||||
/// <summary>
|
||||
/// AddRect(), AddRectFilled(), PathRect(): disable rounding on all corners (when rounding > 0.0f). This is NOT zero, NOT an implicit flag!<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
RoundCornersNone = unchecked(256),
|
||||
|
||||
|
|
@ -80,7 +80,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
RoundCornersAll = unchecked(240),
|
||||
|
||||
/// <summary>
|
||||
/// Default to ALL corners if none of the _RoundCornersXX flags are specified.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
RoundCornersDefault = RoundCornersAll,
|
||||
|
||||
|
|
|
|||
|
|
@ -25,22 +25,22 @@ namespace Dalamud.Bindings.ImGui
|
|||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// Enable anti-aliased linesborders (*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)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AntiAliasedLines = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// Enable anti-aliased linesborders using textures when possible. Require backend to render with bilinear filtering (NOT pointnearest filtering).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AntiAliasedLinesUseTex = unchecked(2),
|
||||
|
||||
/// <summary>
|
||||
/// Enable anti-aliased edge around filled shapes (rounded rectangles, circles).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AntiAliasedFill = unchecked(4),
|
||||
|
||||
/// <summary>
|
||||
/// Can emit 'VtxOffset > 0' to allow large meshes. Set when 'ImGuiBackendFlags_RendererHasVtxOffset' is enabled.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AllowVtxOffset = unchecked(8),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,17 +25,17 @@ namespace Dalamud.Bindings.ImGui
|
|||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// Don't round the height to next power of two<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoPowerOfTwoHeight = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// Don't build software mouse cursors into the atlas (save a little texture memory)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoMouseCursors = unchecked(2),
|
||||
|
||||
/// <summary>
|
||||
/// Don't build thick line textures into the atlas (save a little texture memory, allow support for pointnearest filtering). The AntiAliasedLinesUseTex features uses them, otherwise they will be rendered using polygons (more expensive for CPUGPU).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoBakedLines = unchecked(4),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,17 +25,17 @@ namespace Dalamud.Bindings.ImGui
|
|||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// Favor activation that requires keyboard text input (e.g. for SliderDrag). Default for Enter key.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
PreferInput = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// Favor activation for tweaking with arrows or gamepad (e.g. for SliderDrag). Default for Space key and if keyboard is not used.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
PreferTweak = unchecked(2),
|
||||
|
||||
/// <summary>
|
||||
/// Request widget to preserve state if it can (e.g. InputText will try to preserve cursorselection)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
TryToPreserveState = unchecked(4),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,37 +25,37 @@ namespace Dalamud.Bindings.ImGui
|
|||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// Backend Platform supports gamepad and currently has one connected.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
HasGamepad = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// Backend Platform supports honoring GetMouseCursor() value to change the OS cursor shape.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
HasMouseCursors = unchecked(2),
|
||||
|
||||
/// <summary>
|
||||
/// Backend Platform supports io.WantSetMousePos requests to reposition the OS mouse position (only used if io.ConfigNavMoveSetMousePos is set).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
HasSetMousePos = unchecked(4),
|
||||
|
||||
/// <summary>
|
||||
/// Backend Renderer supports ImDrawCmd::VtxOffset. This enables output of large meshes (64K+ vertices) while still using 16-bit indices.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
RendererHasVtxOffset = unchecked(8),
|
||||
|
||||
/// <summary>
|
||||
/// Backend Platform supports multiple viewports.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
PlatformHasViewports = unchecked(1024),
|
||||
|
||||
/// <summary>
|
||||
/// Backend Platform supports calling io.AddMouseViewportEvent() with the viewport under the mouse. IF POSSIBLE, ignore viewports with the ImGuiViewportFlags_NoInputs flag (Win32 backend, GLFW 3.30+ backend can do this, SDL backend cannot). If this cannot be done, Dear ImGui needs to use a flawed heuristic to find the viewport under.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
HasMouseHoveredViewport = unchecked(2048),
|
||||
|
||||
/// <summary>
|
||||
/// Backend Renderer supports multiple viewports.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
RendererHasViewports = unchecked(4096),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,22 +25,22 @@ namespace Dalamud.Bindings.ImGui
|
|||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// React on left mouse button (default)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
MouseButtonLeft = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// React on right mouse button<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
MouseButtonRight = unchecked(2),
|
||||
|
||||
/// <summary>
|
||||
/// React on center mouse button<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
MouseButtonMiddle = unchecked(4),
|
||||
|
||||
/// <summary>
|
||||
/// [Internal]<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
MouseButtonMask = unchecked(7),
|
||||
|
||||
|
|
|
|||
|
|
@ -20,32 +20,32 @@ namespace Dalamud.Bindings.ImGui
|
|||
public enum ImGuiButtonFlagsPrivate : int
|
||||
{
|
||||
/// <summary>
|
||||
/// return true on click (mouse down event)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
PressedOnClick = unchecked(16),
|
||||
|
||||
/// <summary>
|
||||
/// [Default] return true on click + release on same item <-- this is what the majority of Button are using<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
PressedOnClickRelease = unchecked(32),
|
||||
|
||||
/// <summary>
|
||||
/// return true on click + release even if the release event is not done while hovering the item<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
PressedOnClickReleaseAnywhere = unchecked(64),
|
||||
|
||||
/// <summary>
|
||||
/// return true on release (default requires click+release)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
PressedOnRelease = unchecked(128),
|
||||
|
||||
/// <summary>
|
||||
/// return true on double-click (default requires click+release)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
PressedOnDoubleClick = unchecked(256),
|
||||
|
||||
/// <summary>
|
||||
/// return true when held into while we are drag and dropping another item (used by e.g. tree nodes, collapsing headers)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
PressedOnDragDropHold = unchecked(512),
|
||||
|
||||
|
|
@ -55,7 +55,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
Repeat = unchecked(1024),
|
||||
|
||||
/// <summary>
|
||||
/// allow interactions even if a child window is overlapping<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
FlattenChildren = unchecked(2048),
|
||||
|
||||
|
|
@ -70,7 +70,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
DontClosePopups = unchecked(8192),
|
||||
|
||||
/// <summary>
|
||||
/// vertically align button to match text baseline - ButtonEx() only FIXME: Should be removed and handled by SmallButton(), not possible currently because of DC.CursorPosPrevLine<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AlignTextBaseLine = unchecked(32768),
|
||||
|
||||
|
|
@ -80,17 +80,17 @@ namespace Dalamud.Bindings.ImGui
|
|||
NoKeyModifiers = unchecked(65536),
|
||||
|
||||
/// <summary>
|
||||
/// don't set ActiveId while holding the mouse (ImGuiButtonFlags_PressedOnClick only)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoHoldingActiveId = unchecked(131072),
|
||||
|
||||
/// <summary>
|
||||
/// don't override navigation focus when activated (FIXME: this is essentially used every time an item uses ImGuiItemFlags_NoNav, but because legacy specs don't requires LastItemData to be set ButtonBehavior(), we can't poll g.LastItemData.ItemFlags)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoNavFocus = unchecked(262144),
|
||||
|
||||
/// <summary>
|
||||
/// don't report as hovered when nav focus is on this item<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoHoveredOnFocus = unchecked(524288),
|
||||
|
||||
|
|
|
|||
|
|
@ -30,17 +30,17 @@ namespace Dalamud.Bindings.ImGui
|
|||
TextDisabled = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// Background of normal windows<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
WindowBg = unchecked(2),
|
||||
|
||||
/// <summary>
|
||||
/// Background of child windows<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ChildBg = unchecked(3),
|
||||
|
||||
/// <summary>
|
||||
/// Background of popups, menus, tooltips windows<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
PopupBg = unchecked(4),
|
||||
|
||||
|
|
@ -55,7 +55,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
BorderShadow = unchecked(6),
|
||||
|
||||
/// <summary>
|
||||
/// Background of checkbox, radio button, plot, slider, text input<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
FrameBg = unchecked(7),
|
||||
|
||||
|
|
@ -70,17 +70,17 @@ namespace Dalamud.Bindings.ImGui
|
|||
FrameBgActive = unchecked(9),
|
||||
|
||||
/// <summary>
|
||||
/// Title bar<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
TitleBg = unchecked(10),
|
||||
|
||||
/// <summary>
|
||||
/// Title bar when focused<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
TitleBgActive = unchecked(11),
|
||||
|
||||
/// <summary>
|
||||
/// Title bar when collapsed<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
TitleBgCollapsed = unchecked(12),
|
||||
|
||||
|
|
@ -110,7 +110,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
ScrollbarGrabActive = unchecked(17),
|
||||
|
||||
/// <summary>
|
||||
/// Checkbox tick and RadioButton circle<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
CheckMark = unchecked(18),
|
||||
|
||||
|
|
@ -140,7 +140,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
ButtonActive = unchecked(23),
|
||||
|
||||
/// <summary>
|
||||
/// Header* colors are used for CollapsingHeader, TreeNode, Selectable, MenuItem<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Header = unchecked(24),
|
||||
|
||||
|
|
@ -170,7 +170,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
SeparatorActive = unchecked(29),
|
||||
|
||||
/// <summary>
|
||||
/// Resize grip in lower-right and lower-left corners of windows.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ResizeGrip = unchecked(30),
|
||||
|
||||
|
|
@ -185,12 +185,12 @@ namespace Dalamud.Bindings.ImGui
|
|||
ResizeGripActive = unchecked(32),
|
||||
|
||||
/// <summary>
|
||||
/// Tab background, when tab-bar is focused & tab is unselected<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Tab = unchecked(33),
|
||||
|
||||
/// <summary>
|
||||
/// Tab background, when hovered<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
TabHovered = unchecked(34),
|
||||
|
||||
|
|
@ -210,12 +210,12 @@ namespace Dalamud.Bindings.ImGui
|
|||
TabUnfocusedActive = unchecked(37),
|
||||
|
||||
/// <summary>
|
||||
/// Preview overlay color when about to docking something<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
DockingPreview = unchecked(38),
|
||||
|
||||
/// <summary>
|
||||
/// Background color for empty node (e.g. CentralNode with no window docked into it)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
DockingEmptyBg = unchecked(39),
|
||||
|
||||
|
|
@ -240,27 +240,27 @@ namespace Dalamud.Bindings.ImGui
|
|||
PlotHistogramHovered = unchecked(43),
|
||||
|
||||
/// <summary>
|
||||
/// Table header background<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
TableHeaderBg = unchecked(44),
|
||||
|
||||
/// <summary>
|
||||
/// Table outer and header borders (prefer using Alpha=1.0 here)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
TableBorderStrong = unchecked(45),
|
||||
|
||||
/// <summary>
|
||||
/// Table inner borders (prefer using Alpha=1.0 here)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
TableBorderLight = unchecked(46),
|
||||
|
||||
/// <summary>
|
||||
/// Table row background (even rows)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
TableRowBg = unchecked(47),
|
||||
|
||||
/// <summary>
|
||||
/// Table row background (odd rows)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
TableRowBgAlt = unchecked(48),
|
||||
|
||||
|
|
@ -270,7 +270,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
TextSelectedBg = unchecked(49),
|
||||
|
||||
/// <summary>
|
||||
/// Rectangle highlighting a drop target<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
DragDropTarget = unchecked(50),
|
||||
|
||||
|
|
@ -280,17 +280,17 @@ namespace Dalamud.Bindings.ImGui
|
|||
NavHighlight = unchecked(51),
|
||||
|
||||
/// <summary>
|
||||
/// Highlight window when using CTRL+TAB<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NavWindowingHighlight = unchecked(52),
|
||||
|
||||
/// <summary>
|
||||
/// Darkencolorize entire screen behind the CTRL+TAB window list, when active<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NavWindowingDimBg = unchecked(53),
|
||||
|
||||
/// <summary>
|
||||
/// Darkencolorize entire screen behind a modal window, when one is active<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ModalWindowDimBg = unchecked(54),
|
||||
|
||||
|
|
|
|||
|
|
@ -25,57 +25,57 @@ namespace Dalamud.Bindings.ImGui
|
|||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// ColorEdit, ColorPicker, ColorButton: ignore Alpha component (will only read 3 components from the input pointer).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoAlpha = unchecked(2),
|
||||
|
||||
/// <summary>
|
||||
/// ColorEdit: disable picker when clicking on color square.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoPicker = unchecked(4),
|
||||
|
||||
/// <summary>
|
||||
/// ColorEdit: disable toggling options menu when right-clicking on inputssmall preview.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoOptions = unchecked(8),
|
||||
|
||||
/// <summary>
|
||||
/// ColorEdit, ColorPicker: disable color square preview next to the inputs. (e.g. to show only the inputs)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoSmallPreview = unchecked(16),
|
||||
|
||||
/// <summary>
|
||||
/// ColorEdit, ColorPicker: disable inputs sliderstext widgets (e.g. to show only the small preview color square).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoInputs = unchecked(32),
|
||||
|
||||
/// <summary>
|
||||
/// ColorEdit, ColorPicker, ColorButton: disable tooltip when hovering the preview.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoTooltip = unchecked(64),
|
||||
|
||||
/// <summary>
|
||||
/// ColorEdit, ColorPicker: disable display of inline text label (the label is still forwarded to the tooltip and picker).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoLabel = unchecked(128),
|
||||
|
||||
/// <summary>
|
||||
/// ColorPicker: disable bigger color preview on right side of the picker, use small color square preview instead.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoSidePreview = unchecked(256),
|
||||
|
||||
/// <summary>
|
||||
/// ColorEdit: disable drag and drop target. ColorButton: disable drag and drop source.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoDragDrop = unchecked(512),
|
||||
|
||||
/// <summary>
|
||||
/// ColorButton: disable border (which is enforced by default)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoBorder = unchecked(1024),
|
||||
|
||||
/// <summary>
|
||||
/// ColorEdit, ColorPicker: show vertical alpha bargradient in picker.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AlphaBar = unchecked(65536),
|
||||
|
||||
|
|
@ -85,57 +85,57 @@ namespace Dalamud.Bindings.ImGui
|
|||
AlphaPreview = unchecked(131072),
|
||||
|
||||
/// <summary>
|
||||
/// ColorEdit, ColorPicker, ColorButton: display half opaque half transparent preview.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AlphaPreviewHalf = unchecked(262144),
|
||||
|
||||
/// <summary>
|
||||
/// (WIP) ColorEdit: Currently only disable 0.0f..1.0f limits in RGBA edition (note: you probably want to use ImGuiColorEditFlags_Float flag as well).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Hdr = unchecked(524288),
|
||||
|
||||
/// <summary>
|
||||
/// [Display] ColorEdit: override _display_ type among RGBHSVHex. ColorPicker: select any combination using one or more of RGBHSVHex.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
DisplayRgb = unchecked(1048576),
|
||||
|
||||
/// <summary>
|
||||
/// [Display] "<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
DisplayHsv = unchecked(2097152),
|
||||
|
||||
/// <summary>
|
||||
/// [Display] "<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
DisplayHex = unchecked(4194304),
|
||||
|
||||
/// <summary>
|
||||
/// [DataType] ColorEdit, ColorPicker, ColorButton: _display_ values formatted as 0..255.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Uint8 = unchecked(8388608),
|
||||
|
||||
/// <summary>
|
||||
/// [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.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Float = unchecked(16777216),
|
||||
|
||||
/// <summary>
|
||||
/// [Picker] ColorPicker: bar for Hue, rectangle for SatValue.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
PickerHueBar = unchecked(33554432),
|
||||
|
||||
/// <summary>
|
||||
/// [Picker] ColorPicker: wheel for Hue, triangle for SatValue.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
PickerHueWheel = unchecked(67108864),
|
||||
|
||||
/// <summary>
|
||||
/// [Input] ColorEdit, ColorPicker: input and output data in RGB format.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
InputRgb = unchecked(134217728),
|
||||
|
||||
/// <summary>
|
||||
/// [Input] ColorEdit, ColorPicker: input and output data in HSV format.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
InputHsv = unchecked(268435456),
|
||||
|
||||
|
|
|
|||
|
|
@ -25,37 +25,37 @@ namespace Dalamud.Bindings.ImGui
|
|||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// Align the popup toward the left by default<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
PopupAlignLeft = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// Max ~4 items visible. Tip: If you want your combo popup to be a specific size you can use SetNextWindowSizeConstraints() prior to calling BeginCombo()<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
HeightSmall = unchecked(2),
|
||||
|
||||
/// <summary>
|
||||
/// Max ~8 items visible (default)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
HeightRegular = unchecked(4),
|
||||
|
||||
/// <summary>
|
||||
/// Max ~20 items visible<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
HeightLarge = unchecked(8),
|
||||
|
||||
/// <summary>
|
||||
/// As many fitting items as possible<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
HeightLargest = unchecked(16),
|
||||
|
||||
/// <summary>
|
||||
/// Display on the preview box without the square arrow button<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoArrowButton = unchecked(32),
|
||||
|
||||
/// <summary>
|
||||
/// Display only a square arrow button<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoPreview = unchecked(64),
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
public enum ImGuiComboFlagsPrivate : int
|
||||
{
|
||||
/// <summary>
|
||||
/// enable BeginComboPreview()<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
CustomPreview = unchecked(1048576),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,27 +20,27 @@ namespace Dalamud.Bindings.ImGui
|
|||
public enum ImGuiCond : int
|
||||
{
|
||||
/// <summary>
|
||||
/// No condition (always set the variable), same as _Always<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// No condition (always set the variable), same as _None<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Always = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// Set the variable once per runtime session (only the first call will succeed)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Once = unchecked(2),
|
||||
|
||||
/// <summary>
|
||||
/// Set the variable if the objectwindow has no persistently saved data (no entry in .ini file)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
FirstUseEver = unchecked(4),
|
||||
|
||||
/// <summary>
|
||||
/// Set the variable if the objectwindow is appearing after being hiddeninactive (or the first time)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Appearing = unchecked(8),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,12 +25,12 @@ namespace Dalamud.Bindings.ImGui
|
|||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// Master keyboard navigation enable flag. Enable full Tabbing + directional arrows + spaceenter to activate.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NavEnableKeyboard = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// Master gamepad navigation enable flag. Backend also needs to set ImGuiBackendFlags_HasGamepad.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NavEnableGamepad = unchecked(2),
|
||||
|
||||
|
|
@ -45,12 +45,12 @@ namespace Dalamud.Bindings.ImGui
|
|||
NavNoCaptureKeyboard = unchecked(8),
|
||||
|
||||
/// <summary>
|
||||
/// Instruct dear imgui to disable mouse inputs and interactions.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoMouse = unchecked(16),
|
||||
|
||||
/// <summary>
|
||||
/// Instruct backend to not alter mouse cursor shape and visibility. Use if the backend cursor changes are interfering with yours and you don't want to use SetMouseCursor() to change mouse cursor. You may want to honor requests from imgui by reading GetMouseCursor() yourself instead.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoMouseCursorChange = unchecked(32),
|
||||
|
||||
|
|
@ -60,32 +60,32 @@ namespace Dalamud.Bindings.ImGui
|
|||
NoKerning = unchecked(128),
|
||||
|
||||
/// <summary>
|
||||
/// Docking enable flags.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
DockingEnable = unchecked(64),
|
||||
|
||||
/// <summary>
|
||||
/// Viewport enable flags (require both ImGuiBackendFlags_PlatformHasViewports + ImGuiBackendFlags_RendererHasViewports set by the respective backends)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ViewportsEnable = unchecked(1024),
|
||||
|
||||
/// <summary>
|
||||
/// [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.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
DpiEnableScaleViewports = unchecked(16384),
|
||||
|
||||
/// <summary>
|
||||
/// [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 andor fonts in the Platform_OnChangedViewport callback, but this is all early work in progress.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
DpiEnableScaleFonts = unchecked(32768),
|
||||
|
||||
/// <summary>
|
||||
/// Application is SRGB-aware.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
IsSrgb = unchecked(1048576),
|
||||
|
||||
/// <summary>
|
||||
/// Application is using a touch screen instead of a mouse.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
IsTouchScreen = unchecked(2097152),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,52 +20,52 @@ namespace Dalamud.Bindings.ImGui
|
|||
public enum ImGuiDataType : int
|
||||
{
|
||||
/// <summary>
|
||||
/// signed char char (with sensible compilers)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
S8 = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// unsigned char<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
U8 = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// short<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
S16 = unchecked(2),
|
||||
|
||||
/// <summary>
|
||||
/// unsigned short<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
U16 = unchecked(3),
|
||||
|
||||
/// <summary>
|
||||
/// int<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
S32 = unchecked(4),
|
||||
|
||||
/// <summary>
|
||||
/// unsigned int<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
U32 = unchecked(5),
|
||||
|
||||
/// <summary>
|
||||
/// long long __int64<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
S64 = unchecked(6),
|
||||
|
||||
/// <summary>
|
||||
/// unsigned long long unsigned __int64<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
U64 = unchecked(7),
|
||||
|
||||
/// <summary>
|
||||
/// float<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Float = unchecked(8),
|
||||
|
||||
/// <summary>
|
||||
/// double<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Double = unchecked(9),
|
||||
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
EventMask = unchecked(127),
|
||||
|
||||
/// <summary>
|
||||
/// Also send output to TTY<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
OutputToTty = unchecked(1024),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// Don't display the dockspace node but keep it alive. Windows docked into this dockspace node won't be undocked.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
KeepAliveOnly = unchecked(1),
|
||||
|
||||
|
|
@ -35,7 +35,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
NoDockingInCentralNode = unchecked(4),
|
||||
|
||||
/// <summary>
|
||||
/// 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.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
PassthruCentralNode = unchecked(8),
|
||||
|
||||
|
|
@ -45,12 +45,12 @@ namespace Dalamud.Bindings.ImGui
|
|||
NoSplit = unchecked(16),
|
||||
|
||||
/// <summary>
|
||||
/// Saved Disable resizing node using the splitterseparators. Useful with programmatically setup dockspaces.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoResize = unchecked(32),
|
||||
|
||||
/// <summary>
|
||||
/// Tab bar will automatically hide when there is a single window in the dock node.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AutoHideTabBar = unchecked(64),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,32 +20,32 @@ namespace Dalamud.Bindings.ImGui
|
|||
public enum ImGuiDockNodeFlagsPrivate : int
|
||||
{
|
||||
/// <summary>
|
||||
/// Saved A dockspace is a node that occupy space within an existing user window. Otherwise the node is floating and create its own window.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Space = unchecked(1024),
|
||||
|
||||
/// <summary>
|
||||
/// Saved The central node has 2 main properties: stay visible when empty, only use "remaining" spaces from its neighbor.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
CentralNode = unchecked(2048),
|
||||
|
||||
/// <summary>
|
||||
/// Saved Tab bar is completely unavailable. No triangle in the corner to enable it back.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoTabBar = unchecked(4096),
|
||||
|
||||
/// <summary>
|
||||
/// 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)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
HiddenTabBar = unchecked(8192),
|
||||
|
||||
/// <summary>
|
||||
/// Saved Disable windowdocking menu (that one that appears instead of the collapse button)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoWindowMenuButton = unchecked(16384),
|
||||
|
||||
/// <summary>
|
||||
/// Saved Disable close button<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoCloseButton = unchecked(32768),
|
||||
|
||||
|
|
@ -60,30 +60,32 @@ namespace Dalamud.Bindings.ImGui
|
|||
NoDockingSplitMe = unchecked(131072),
|
||||
|
||||
/// <summary>
|
||||
/// Disable this node from splitting other windowsnodes.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoDockingSplitOther = unchecked(262144),
|
||||
|
||||
/// <summary>
|
||||
/// Disable other windowsnodes from being docked over this node.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoDockingOverMe = unchecked(524288),
|
||||
|
||||
/// <summary>
|
||||
/// Disable this node from being docked over another window or non-empty node.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoDockingOverOther = unchecked(1048576),
|
||||
|
||||
/// <summary>
|
||||
/// Disable this node from being docked over an empty node (e.g. DockSpace with no other windows)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoDockingOverEmpty = unchecked(2097152),
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoResizeX = unchecked(4194304),
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoResizeY = unchecked(8388608),
|
||||
|
||||
|
|
|
|||
|
|
@ -25,27 +25,27 @@ namespace Dalamud.Bindings.ImGui
|
|||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// Disable preview tooltip. By default, a successful call to BeginDragDropSource opens a tooltip so you can display a preview or description of the source contents. This flag disables this behavior.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
SourceNoPreviewTooltip = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// By default, when dragging we clear data so that IsItemHovered() will return false, to avoid subsequent user code submitting tooltips. This flag disables this behavior so you can still call IsItemHovered() on the source item.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
SourceNoDisableHover = unchecked(2),
|
||||
|
||||
/// <summary>
|
||||
/// Disable the behavior that allows to open tree nodes and collapsing header by holding over them while dragging a source item.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
SourceNoHoldToOpenOthers = unchecked(4),
|
||||
|
||||
/// <summary>
|
||||
/// 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.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
SourceAllowNullId = unchecked(8),
|
||||
|
||||
/// <summary>
|
||||
/// External source (from outside of dear imgui), won't attempt to read current itemwindow info. Will always return true. Only one Extern source can be active simultaneously.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
SourceExtern = unchecked(16),
|
||||
|
||||
|
|
@ -55,22 +55,22 @@ namespace Dalamud.Bindings.ImGui
|
|||
SourceAutoExpirePayload = unchecked(32),
|
||||
|
||||
/// <summary>
|
||||
/// 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.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AcceptBeforeDelivery = unchecked(1024),
|
||||
|
||||
/// <summary>
|
||||
/// Do not draw the default highlight rectangle when hovering over target.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AcceptNoDrawDefaultRect = unchecked(2048),
|
||||
|
||||
/// <summary>
|
||||
/// Request hiding the BeginDragDropSource tooltip from the BeginDragDropTarget site.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AcceptNoPreviewTooltip = unchecked(4096),
|
||||
|
||||
/// <summary>
|
||||
/// For peeking ahead and inspecting the payload before delivery.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AcceptPeekOnly = unchecked(3072),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,27 +25,27 @@ namespace Dalamud.Bindings.ImGui
|
|||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// Return true if any children of the window is focused<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ChildWindows = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// Test from root window (top most parent of the current hierarchy)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
RootWindow = unchecked(2),
|
||||
|
||||
/// <summary>
|
||||
/// 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!<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AnyWindow = unchecked(4),
|
||||
|
||||
/// <summary>
|
||||
/// Do not consider popup hierarchy (do not treat popup emitter as parent of popup) (when used with _ChildWindows or _RootWindow)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoPopupHierarchy = unchecked(8),
|
||||
|
||||
/// <summary>
|
||||
/// Consider docking hierarchy (treat dockspace host as parent of docked window) (when used with _ChildWindows or _RootWindow)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
DockHierarchy = unchecked(16),
|
||||
|
||||
|
|
|
|||
|
|
@ -20,32 +20,32 @@ namespace Dalamud.Bindings.ImGui
|
|||
public enum ImGuiHoveredFlags : int
|
||||
{
|
||||
/// <summary>
|
||||
/// Return true if directly over the itemwindow, not obstructed by another window, not obstructed by an active popup or modal blocking inputs under them.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// IsWindowHovered() only: Return true if any children of the window is hovered<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ChildWindows = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// IsWindowHovered() only: Test from root window (top most parent of the current hierarchy)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
RootWindow = unchecked(2),
|
||||
|
||||
/// <summary>
|
||||
/// IsWindowHovered() only: Return true if any window is hovered<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AnyWindow = unchecked(4),
|
||||
|
||||
/// <summary>
|
||||
/// Return true even if a popup window is normally blocking access to this itemwindow<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AllowWhenBlockedByPopup = unchecked(8),
|
||||
|
||||
/// <summary>
|
||||
/// Return true even if an active item is blocking access to this itemwindow. Useful for Drag and Drop patterns.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AllowWhenBlockedByActiveItem = unchecked(32),
|
||||
|
||||
|
|
@ -55,12 +55,12 @@ namespace Dalamud.Bindings.ImGui
|
|||
AllowWhenOverlapped = unchecked(64),
|
||||
|
||||
/// <summary>
|
||||
/// IsItemHovered() only: Return true even if the item is disabled<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AllowWhenDisabled = unchecked(128),
|
||||
|
||||
/// <summary>
|
||||
/// IsItemHovered() only: Disable using keyboardgamepad navigation state when active, always query mouse<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoNavOverride = unchecked(256),
|
||||
|
||||
|
|
@ -75,12 +75,12 @@ namespace Dalamud.Bindings.ImGui
|
|||
RootAndChildWindows = unchecked(3),
|
||||
|
||||
/// <summary>
|
||||
/// IsWindowHovered() only: Do not consider popup hierarchy (do not treat popup emitter as parent of popup) (when used with _ChildWindows or _RootWindow)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoPopupHierarchy = unchecked(512),
|
||||
|
||||
/// <summary>
|
||||
/// IsWindowHovered() only: Consider docking hierarchy (treat dockspace host as parent of docked window) (when used with _ChildWindows or _RootWindow)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
DockHierarchy = unchecked(1024),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// Note: may be Mouse or TouchScreen or Pen. See io.MouseSource to distinguish them.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Mouse = unchecked(1),
|
||||
|
||||
|
|
|
|||
|
|
@ -25,102 +25,102 @@ namespace Dalamud.Bindings.ImGui
|
|||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// Allow 0123456789.+-*<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
CharsDecimal = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// Allow 0123456789ABCDEFabcdef<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
CharsHexadecimal = unchecked(2),
|
||||
|
||||
/// <summary>
|
||||
/// Turn a..z into A..Z<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
CharsUppercase = unchecked(4),
|
||||
|
||||
/// <summary>
|
||||
/// Filter out spaces, tabs<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
CharsNoBlank = unchecked(8),
|
||||
|
||||
/// <summary>
|
||||
/// Select entire text when first taking mouse focus<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AutoSelectAll = unchecked(16),
|
||||
|
||||
/// <summary>
|
||||
/// Return 'true' when Enter is pressed (as opposed to every time the value was modified). Consider using IsItemDeactivatedAfterEdit() instead!<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
EnterReturnsTrue = unchecked(32),
|
||||
|
||||
/// <summary>
|
||||
/// Callback on pressing TAB (for completion handling)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
CallbackCompletion = unchecked(64),
|
||||
|
||||
/// <summary>
|
||||
/// Callback on pressing UpDown arrows (for history handling)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
CallbackHistory = unchecked(128),
|
||||
|
||||
/// <summary>
|
||||
/// Callback on each iteration. User code may query cursor position, modify text buffer.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
CallbackAlways = unchecked(256),
|
||||
|
||||
/// <summary>
|
||||
/// Callback on character inputs to replace or discard them. Modify 'EventChar' to replace or discard, or return 1 in callback to discard.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
CallbackCharFilter = unchecked(512),
|
||||
|
||||
/// <summary>
|
||||
/// Pressing TAB input a '\t' character into the text field<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AllowTabInput = unchecked(1024),
|
||||
|
||||
/// <summary>
|
||||
/// In multi-line mode, validate with Enter, add new line with Ctrl+Enter (default is opposite: validate with Ctrl+Enter, add line with Enter).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
CtrlEnterForNewLine = unchecked(2048),
|
||||
|
||||
/// <summary>
|
||||
/// Disable following the cursor horizontally<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoHorizontalScroll = unchecked(4096),
|
||||
|
||||
/// <summary>
|
||||
/// Overwrite mode<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AlwaysOverwrite = unchecked(8192),
|
||||
|
||||
/// <summary>
|
||||
/// Read-only mode<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ReadOnly = unchecked(16384),
|
||||
|
||||
/// <summary>
|
||||
/// Password mode, display all characters as '*', disable copy<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Password = unchecked(32768),
|
||||
|
||||
/// <summary>
|
||||
/// Disable undoredo. Note that input text owns the text data while active, if you want to provide your own undoredo stack you need e.g. to call ClearActiveID().<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoUndoRedo = unchecked(65536),
|
||||
|
||||
/// <summary>
|
||||
/// Allow 0123456789.+-*eE (Scientific notation input)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
CharsScientific = unchecked(131072),
|
||||
|
||||
/// <summary>
|
||||
/// 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 misccppimgui_stdlib.h for an example of using this)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
CallbackResize = unchecked(262144),
|
||||
|
||||
/// <summary>
|
||||
/// Callback on any edit. Note that InputText() already returns true on edit + you can always use IsItemEdited(). The callback is useful to manipulate the underlying buffer while focus is active.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
CallbackEdit = unchecked(524288),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
public enum ImGuiInputTextFlagsPrivate : int
|
||||
{
|
||||
/// <summary>
|
||||
/// For internal use by InputTextMultiline()<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Multiline = unchecked(67108864),
|
||||
|
||||
|
|
@ -30,7 +30,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
NoMarkEdited = unchecked(134217728),
|
||||
|
||||
/// <summary>
|
||||
/// For internal use by TempInputText(), will skip calling ItemAdd(). Require bounding-box to strictly match.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
MergedItem = unchecked(268435456),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,17 +20,17 @@ namespace Dalamud.Bindings.ImGui
|
|||
public enum ImGuiItemFlags : int
|
||||
{
|
||||
/// <summary>
|
||||
/// (Default)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// false Disable keyboard tabbing. This is a "lighter" version of ImGuiItemFlags_NoNav.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoTabStop = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// false Any button-like behavior will have repeat mode enabled (based on io.KeyRepeatDelay and io.KeyRepeatRate values). Note that you can also call IsItemActive() after any button to tell if it is being held.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ButtonRepeat = unchecked(2),
|
||||
|
||||
|
|
@ -40,12 +40,12 @@ namespace Dalamud.Bindings.ImGui
|
|||
Disabled = unchecked(4),
|
||||
|
||||
/// <summary>
|
||||
/// false Disable any form of focusing (keyboardgamepad directional navigation and SetKeyboardFocusHere() calls).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoNav = unchecked(8),
|
||||
|
||||
/// <summary>
|
||||
/// false Disable item being a candidate for default focus (e.g. used by title bar items).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoNavDefaultFocus = unchecked(16),
|
||||
|
||||
|
|
|
|||
|
|
@ -25,42 +25,42 @@ namespace Dalamud.Bindings.ImGui
|
|||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// Mouse position is within item rectangle (does NOT mean that the window is in correct z-order and can be hovered!, this is only one part of the most-common IsItemHovered test)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
HoveredRect = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// g.LastItemData.DisplayRect is valid<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
HasDisplayRect = unchecked(2),
|
||||
|
||||
/// <summary>
|
||||
/// Value exposed by item was edited in the current frame (should match the bool return value of most widgets)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Edited = unchecked(4),
|
||||
|
||||
/// <summary>
|
||||
/// Set when Selectable(), TreeNode() reports toggling a selection. We can't report "Selected", only state changes, in order to easily handle clipping with less issues.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ToggledSelection = unchecked(8),
|
||||
|
||||
/// <summary>
|
||||
/// Set when TreeNode() reports toggling their open state.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ToggledOpen = unchecked(16),
|
||||
|
||||
/// <summary>
|
||||
/// Set if the widgetgroup is able to provide data for the ImGuiItemStatusFlags_Deactivated flag.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
HasDeactivated = unchecked(32),
|
||||
|
||||
/// <summary>
|
||||
/// Only valid if ImGuiItemStatusFlags_HasDeactivated is set.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Deactivated = unchecked(64),
|
||||
|
||||
/// <summary>
|
||||
/// Override the HoveredWindow test to allow cross-window hover testing.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
HoveredWindow = unchecked(128),
|
||||
|
||||
|
|
|
|||
|
|
@ -30,42 +30,42 @@ namespace Dalamud.Bindings.ImGui
|
|||
Arrow = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// When hovering over InputText, etc.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
TextInput = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// (Unused by Dear ImGui functions)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ResizeAll = unchecked(2),
|
||||
|
||||
/// <summary>
|
||||
/// When hovering over a horizontal border<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ResizeNs = unchecked(3),
|
||||
|
||||
/// <summary>
|
||||
/// When hovering over a vertical border or a column<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ResizeEw = unchecked(4),
|
||||
|
||||
/// <summary>
|
||||
/// When hovering over the bottom-left corner of a window<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ResizeNesw = unchecked(5),
|
||||
|
||||
/// <summary>
|
||||
/// When hovering over the bottom-right corner of a window<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ResizeNwse = unchecked(6),
|
||||
|
||||
/// <summary>
|
||||
/// (Unused by Dear ImGui functions. Use for e.g. hyperlinks)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Hand = unchecked(7),
|
||||
|
||||
/// <summary>
|
||||
/// When hovering something with disallowed interaction. Usually a crossed circle.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NotAllowed = unchecked(8),
|
||||
|
||||
|
|
|
|||
|
|
@ -20,12 +20,12 @@ namespace Dalamud.Bindings.ImGui
|
|||
public enum ImGuiNavLayer : int
|
||||
{
|
||||
/// <summary>
|
||||
/// Main scrolling layer<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Main = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// Menu layer (access with Alt)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Menu = unchecked(1),
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// On failed request, restart from opposite side<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
LoopX = unchecked(1),
|
||||
|
||||
|
|
@ -35,27 +35,27 @@ namespace Dalamud.Bindings.ImGui
|
|||
LoopY = unchecked(2),
|
||||
|
||||
/// <summary>
|
||||
/// On failed request, request from opposite side one line down (when NavDir==right) or one line up (when NavDir==left)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
WrapX = unchecked(4),
|
||||
|
||||
/// <summary>
|
||||
/// This is not super useful but provided for completeness<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
WrapY = unchecked(8),
|
||||
|
||||
/// <summary>
|
||||
/// 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)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AllowCurrentNavId = unchecked(16),
|
||||
|
||||
/// <summary>
|
||||
/// Store alternate result in NavMoveResultLocalVisible that only comprise elements that are already fully visible (used by PageUpPageDown)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AlsoScoreVisibleSet = unchecked(32),
|
||||
|
||||
/// <summary>
|
||||
/// Force scrolling to minmax (used by HomeEnd) FIXME-NAV: Aim to remove or reword, probably unnecessary<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ScrollToEdgeY = unchecked(64),
|
||||
|
||||
|
|
@ -65,12 +65,12 @@ namespace Dalamud.Bindings.ImGui
|
|||
Forwarded = unchecked(128),
|
||||
|
||||
/// <summary>
|
||||
/// Dummy scoring for debug purpose, don't apply result<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
DebugNoResult = unchecked(256),
|
||||
|
||||
/// <summary>
|
||||
/// Requests from focus API can landfocusactivate items even if they are marked with _NoTabStop (see NavProcessItemForTabbingRequest() for details)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
FocusApi = unchecked(512),
|
||||
|
||||
|
|
@ -80,7 +80,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
Tabbing = unchecked(1024),
|
||||
|
||||
/// <summary>
|
||||
/// Activateselect target item.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Activate = unchecked(2048),
|
||||
|
||||
|
|
|
|||
|
|
@ -25,27 +25,27 @@ namespace Dalamud.Bindings.ImGui
|
|||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// Disable column dividers<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoBorder = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// Disable resizing columns when clicking on the dividers<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoResize = unchecked(2),
|
||||
|
||||
/// <summary>
|
||||
/// Disable column width preservation when adjusting columns<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoPreserveWidths = unchecked(4),
|
||||
|
||||
/// <summary>
|
||||
/// Disable forcing columns to fit within window<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoForceWithinWindow = unchecked(8),
|
||||
|
||||
/// <summary>
|
||||
/// Restore pre-1.51 behavior of extending the parent window contents size but _without affecting the columns width at all_. Will eventually remove.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
GrowParentContentsSize = unchecked(16),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,17 +25,17 @@ namespace Dalamud.Bindings.ImGui
|
|||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// For BeginPopupContext*(): open on Left Mouse release. Guaranteed to always be == 0 (same as ImGuiMouseButton_Left)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
MouseButtonLeft = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// For BeginPopupContext*(): open on Right Mouse release. Guaranteed to always be == 1 (same as ImGuiMouseButton_Right)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
MouseButtonRight = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// For BeginPopupContext*(): open on Middle Mouse release. Guaranteed to always be == 2 (same as ImGuiMouseButton_Middle)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
MouseButtonMiddle = unchecked(2),
|
||||
|
||||
|
|
@ -50,22 +50,22 @@ namespace Dalamud.Bindings.ImGui
|
|||
MouseButtonDefault = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// For OpenPopup*(), BeginPopupContext*(): don't open if there's already a popup at the same level of the popup stack<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoOpenOverExistingPopup = unchecked(32),
|
||||
|
||||
/// <summary>
|
||||
/// For BeginPopupContextWindow(): don't return true when hovering items, only when hovering empty space<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoOpenOverItems = unchecked(64),
|
||||
|
||||
/// <summary>
|
||||
/// For IsPopupOpen(): ignore the ImGuiID parameter and test for any popup.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AnyPopupId = unchecked(128),
|
||||
|
||||
/// <summary>
|
||||
/// For IsPopupOpen(): searchtest at any level of the popup stack (default test in the current level)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AnyPopupLevel = unchecked(256),
|
||||
|
||||
|
|
|
|||
|
|
@ -25,37 +25,37 @@ namespace Dalamud.Bindings.ImGui
|
|||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// If item is not visible: scroll as little as possible on X axis to bring item back into view [default for X axis]<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
KeepVisibleEdgeX = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// If item is not visible: scroll as little as possible on Y axis to bring item back into view [default for Y axis for windows that are already visible]<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
KeepVisibleEdgeY = unchecked(2),
|
||||
|
||||
/// <summary>
|
||||
/// If item is not visible: scroll to make the item centered on X axis [rarely used]<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
KeepVisibleCenterX = unchecked(4),
|
||||
|
||||
/// <summary>
|
||||
/// If item is not visible: scroll to make the item centered on Y axis<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
KeepVisibleCenterY = unchecked(8),
|
||||
|
||||
/// <summary>
|
||||
/// Always center the result item on X axis [rarely used]<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AlwaysCenterX = unchecked(16),
|
||||
|
||||
/// <summary>
|
||||
/// Always center the result item on Y axis [default for Y axis for appearing window)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AlwaysCenterY = unchecked(32),
|
||||
|
||||
/// <summary>
|
||||
/// Disable forwarding scrolling to parent window if required to keep itemrect visible (only scroll window the function was applied to).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoScrollParent = unchecked(64),
|
||||
|
||||
|
|
|
|||
|
|
@ -30,17 +30,17 @@ namespace Dalamud.Bindings.ImGui
|
|||
DontClosePopups = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// Frame will span all columns of its container table (text will still fit in current column)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
SpanAllColumns = unchecked(2),
|
||||
|
||||
/// <summary>
|
||||
/// Generate press events on double clicks too<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AllowDoubleClick = unchecked(4),
|
||||
|
||||
/// <summary>
|
||||
/// Cannot be selected, display grayed out text<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Disabled = unchecked(8),
|
||||
|
||||
|
|
|
|||
|
|
@ -25,22 +25,22 @@ namespace Dalamud.Bindings.ImGui
|
|||
NoHoldingActiveId = unchecked(1048576),
|
||||
|
||||
/// <summary>
|
||||
/// (WIP) Auto-select when moved into. This is not exposed in public API as to handle multi-select and modifiers we will need user to explicitly control focus scope. May be replaced with a BeginSelection() API.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
SelectOnNav = unchecked(2097152),
|
||||
|
||||
/// <summary>
|
||||
/// Override button behavior to react on Click (default is Click+Release)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
SelectOnClick = unchecked(4194304),
|
||||
|
||||
/// <summary>
|
||||
/// Override button behavior to react on Release (default is Click+Release)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
SelectOnRelease = unchecked(8388608),
|
||||
|
||||
/// <summary>
|
||||
/// 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)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
SpanAvailWidth = unchecked(16777216),
|
||||
|
||||
|
|
@ -50,12 +50,12 @@ namespace Dalamud.Bindings.ImGui
|
|||
DrawHoveredWhenHeld = unchecked(33554432),
|
||||
|
||||
/// <summary>
|
||||
/// Set NavFocus ID on mouse hover (used by MenuItem)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
SetNavIdOnHover = unchecked(67108864),
|
||||
|
||||
/// <summary>
|
||||
/// Disable padding each side with ItemSpacing * 0.5f<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoPadWithHalfSpacing = unchecked(134217728),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// Axis default to current layout type, so generally Horizontal unless e.g. in a menu bar<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Horizontal = unchecked(1),
|
||||
|
||||
|
|
@ -35,7 +35,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
Vertical = unchecked(2),
|
||||
|
||||
/// <summary>
|
||||
/// Make separator cover all columns of a legacy Columns() set.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
SpanAllColumns = unchecked(4),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,22 +30,22 @@ namespace Dalamud.Bindings.ImGui
|
|||
AlwaysClamp = unchecked(16),
|
||||
|
||||
/// <summary>
|
||||
/// Make the widget logarithmic (linear otherwise). Consider using ImGuiSliderFlags_NoRoundToFormat with this if using a format-string with small amount of digits.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Logarithmic = unchecked(32),
|
||||
|
||||
/// <summary>
|
||||
/// Disable rounding underlying value to match precision of the display format string (e.g. %.3f values are rounded to those 3 digits).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoRoundToFormat = unchecked(64),
|
||||
|
||||
/// <summary>
|
||||
/// Disable CTRL+Click or Enter key allowing to input text directly into the widget.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoInput = unchecked(128),
|
||||
|
||||
/// <summary>
|
||||
/// [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.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
InvalidMask = unchecked(1879048207),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,12 +20,12 @@ namespace Dalamud.Bindings.ImGui
|
|||
public enum ImGuiSliderFlagsPrivate : int
|
||||
{
|
||||
/// <summary>
|
||||
/// Should this slider be orientated vertically?<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Vertical = unchecked(1048576),
|
||||
|
||||
/// <summary>
|
||||
/// Consider using g.NextItemData.ItemFlags |= ImGuiItemFlags_ReadOnly instead.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ReadOnly = unchecked(2097152),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -20,127 +20,127 @@ namespace Dalamud.Bindings.ImGui
|
|||
public enum ImGuiStyleVar : int
|
||||
{
|
||||
/// <summary>
|
||||
/// float Alpha<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Alpha = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// ImVec2 WindowPadding<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
WindowPadding = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// float WindowRounding<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
WindowRounding = unchecked(2),
|
||||
|
||||
/// <summary>
|
||||
/// float WindowBorderSize<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
WindowBorderSize = unchecked(3),
|
||||
|
||||
/// <summary>
|
||||
/// ImVec2 WindowMinSize<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
WindowMinSize = unchecked(4),
|
||||
|
||||
/// <summary>
|
||||
/// ImVec2 WindowTitleAlign<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
WindowTitleAlign = unchecked(5),
|
||||
|
||||
/// <summary>
|
||||
/// float ChildRounding<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ChildRounding = unchecked(6),
|
||||
|
||||
/// <summary>
|
||||
/// float ChildBorderSize<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ChildBorderSize = unchecked(7),
|
||||
|
||||
/// <summary>
|
||||
/// float PopupRounding<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
PopupRounding = unchecked(8),
|
||||
|
||||
/// <summary>
|
||||
/// float PopupBorderSize<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
PopupBorderSize = unchecked(9),
|
||||
|
||||
/// <summary>
|
||||
/// ImVec2 FramePadding<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
FramePadding = unchecked(10),
|
||||
|
||||
/// <summary>
|
||||
/// float FrameRounding<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
FrameRounding = unchecked(11),
|
||||
|
||||
/// <summary>
|
||||
/// float FrameBorderSize<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
FrameBorderSize = unchecked(12),
|
||||
|
||||
/// <summary>
|
||||
/// ImVec2 ItemSpacing<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ItemSpacing = unchecked(13),
|
||||
|
||||
/// <summary>
|
||||
/// ImVec2 ItemInnerSpacing<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ItemInnerSpacing = unchecked(14),
|
||||
|
||||
/// <summary>
|
||||
/// float IndentSpacing<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
IndentSpacing = unchecked(15),
|
||||
|
||||
/// <summary>
|
||||
/// ImVec2 CellPadding<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
CellPadding = unchecked(16),
|
||||
|
||||
/// <summary>
|
||||
/// float ScrollbarSize<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ScrollbarSize = unchecked(17),
|
||||
|
||||
/// <summary>
|
||||
/// float ScrollbarRounding<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ScrollbarRounding = unchecked(18),
|
||||
|
||||
/// <summary>
|
||||
/// float GrabMinSize<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
GrabMinSize = unchecked(19),
|
||||
|
||||
/// <summary>
|
||||
/// float GrabRounding<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
GrabRounding = unchecked(20),
|
||||
|
||||
/// <summary>
|
||||
/// float TabRounding<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
TabRounding = unchecked(21),
|
||||
|
||||
/// <summary>
|
||||
/// ImVec2 ButtonTextAlign<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ButtonTextAlign = unchecked(22),
|
||||
|
||||
/// <summary>
|
||||
/// ImVec2 SelectableTextAlign<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
SelectableTextAlign = unchecked(23),
|
||||
|
||||
/// <summary>
|
||||
/// float DisabledAlpha<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
DisabledAlpha = unchecked(24),
|
||||
|
||||
|
|
|
|||
|
|
@ -25,42 +25,42 @@ namespace Dalamud.Bindings.ImGui
|
|||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// Allow manually dragging tabs to re-order them + New tabs are appended at the end of list<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Reorderable = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// Automatically select new tabs when they appear<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AutoSelectNewTabs = unchecked(2),
|
||||
|
||||
/// <summary>
|
||||
/// Disable buttons to open the tab list popup<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ListPopupButton = unchecked(4),
|
||||
|
||||
/// <summary>
|
||||
/// Disable behavior of closing tabs (that are submitted with p_open != NULL) with middle mouse button. You may handle this behavior manually on user's side with if (IsItemHovered() && IsMouseClicked(2)) *p_open = false.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoCloseWithMiddleMouseButton = unchecked(8),
|
||||
|
||||
/// <summary>
|
||||
/// Disable scrolling buttons (apply when fitting policy is ImGuiTabBarFlags_FittingPolicyScroll)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoTabListScrollingButtons = unchecked(16),
|
||||
|
||||
/// <summary>
|
||||
/// Disable tooltips when hovering a tab<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoTooltip = unchecked(32),
|
||||
|
||||
/// <summary>
|
||||
/// Resize tabs when they don't fit<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
FittingPolicyResizeDown = unchecked(64),
|
||||
|
||||
/// <summary>
|
||||
/// Add scroll buttons when tabs don't fit<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
FittingPolicyScroll = unchecked(128),
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
public enum ImGuiTabBarFlagsPrivate : int
|
||||
{
|
||||
/// <summary>
|
||||
/// Part of a dock node [we don't use this in the master branch but it facilitate branch syncing to keep this around]<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
DockNode = unchecked(1048576),
|
||||
|
||||
|
|
@ -30,7 +30,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
IsFocused = unchecked(2097152),
|
||||
|
||||
/// <summary>
|
||||
/// FIXME: Settings are handled by the docking system, this only request the tab bar to mark settings dirty when reordering tabs<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
SaveSettings = unchecked(4194304),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,42 +25,42 @@ namespace Dalamud.Bindings.ImGui
|
|||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// Display a dot next to the title + set ImGuiTabItemFlags_NoAssumedClosure.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
UnsavedDocument = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// Trigger flag to programmatically make the tab selected when calling BeginTabItem()<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
SetSelected = unchecked(2),
|
||||
|
||||
/// <summary>
|
||||
/// Disable behavior of closing tabs (that are submitted with p_open != NULL) with middle mouse button. You may handle this behavior manually on user's side with if (IsItemHovered() && IsMouseClicked(2)) *p_open = false.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoCloseWithMiddleMouseButton = unchecked(4),
|
||||
|
||||
/// <summary>
|
||||
/// Don't call PushID()PopID() on BeginTabItem()EndTabItem()<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoPushId = unchecked(8),
|
||||
|
||||
/// <summary>
|
||||
/// Disable tooltip for the given tab<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoTooltip = unchecked(16),
|
||||
|
||||
/// <summary>
|
||||
/// Disable reordering this tab or having another tab cross over this tab<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoReorder = unchecked(32),
|
||||
|
||||
/// <summary>
|
||||
/// Enforce the tab position to the left of the tab bar (after the tab list popup button)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Leading = unchecked(64),
|
||||
|
||||
/// <summary>
|
||||
/// Enforce the tab position to the right of the tab bar (before the scrolling buttons)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Trailing = unchecked(128),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,17 +25,17 @@ namespace Dalamud.Bindings.ImGui
|
|||
SectionMask = unchecked(192),
|
||||
|
||||
/// <summary>
|
||||
/// Track whether p_open was set or not (we'll need this info on the next frame to recompute ContentWidth during layout)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoCloseButton = unchecked(1048576),
|
||||
|
||||
/// <summary>
|
||||
/// Used by TabItemButton, change the tab item behavior to mimic a button<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Button = unchecked(2097152),
|
||||
|
||||
/// <summary>
|
||||
/// [Docking] Trailing tabs with the _Unsorted flag will be sorted based on the DockOrder of their Window.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Unsorted = unchecked(4194304),
|
||||
|
||||
|
|
|
|||
|
|
@ -25,17 +25,17 @@ namespace Dalamud.Bindings.ImGui
|
|||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// Set row background color 0 (generally used for background, automatically set when ImGuiTableFlags_RowBg is used)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
RowBg0 = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// Set row background color 1 (generally used for selection marking)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
RowBg1 = unchecked(2),
|
||||
|
||||
/// <summary>
|
||||
/// Set cell background color (top-most color)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
CellBg = unchecked(3),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,112 +25,112 @@ namespace Dalamud.Bindings.ImGui
|
|||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// Default as a hiddendisabled column.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
DefaultHide = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// Default as a sorting column.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
DefaultSort = unchecked(2),
|
||||
|
||||
/// <summary>
|
||||
/// Column will stretch. Preferable with horizontal scrolling disabled (default if table sizing policy is _SizingStretchSame or _SizingStretchProp).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
WidthStretch = unchecked(4),
|
||||
|
||||
/// <summary>
|
||||
/// Column will not stretch. Preferable with horizontal scrolling enabled (default if table sizing policy is _SizingFixedFit and table is resizable).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
WidthFixed = unchecked(8),
|
||||
|
||||
/// <summary>
|
||||
/// Disable manual resizing.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoResize = unchecked(16),
|
||||
|
||||
/// <summary>
|
||||
/// Disable manual reordering this column, this will also prevent other columns from crossing over this column.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoReorder = unchecked(32),
|
||||
|
||||
/// <summary>
|
||||
/// Disable ability to hidedisable this column.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoHide = unchecked(64),
|
||||
|
||||
/// <summary>
|
||||
/// Disable clipping for this column (all NoClip columns will render in a same draw command).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoClip = unchecked(128),
|
||||
|
||||
/// <summary>
|
||||
/// Disable ability to sort on this field (even if ImGuiTableFlags_Sortable is set on the table).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoSort = unchecked(256),
|
||||
|
||||
/// <summary>
|
||||
/// Disable ability to sort in the ascending direction.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoSortAscending = unchecked(512),
|
||||
|
||||
/// <summary>
|
||||
/// Disable ability to sort in the descending direction.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoSortDescending = unchecked(1024),
|
||||
|
||||
/// <summary>
|
||||
/// Disable header text width contribution to automatic column width.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoHeaderWidth = unchecked(2048),
|
||||
|
||||
/// <summary>
|
||||
/// Make the initial sort direction Ascending when first sorting on this column (default).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
PreferSortAscending = unchecked(4096),
|
||||
|
||||
/// <summary>
|
||||
/// Make the initial sort direction Descending when first sorting on this column.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
PreferSortDescending = unchecked(8192),
|
||||
|
||||
/// <summary>
|
||||
/// Use current Indent value when entering cell (default for column 0).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
IndentEnable = unchecked(16384),
|
||||
|
||||
/// <summary>
|
||||
/// Ignore current Indent value when entering cell (default for columns > 0). Indentation changes _within_ the cell will still be honored.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
IndentDisable = unchecked(32768),
|
||||
|
||||
/// <summary>
|
||||
/// Status: is enabled == not hidden by userapi (referred to as "Hide" in _DefaultHide and _NoHide) flags.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
IsEnabled = unchecked(1048576),
|
||||
|
||||
/// <summary>
|
||||
/// Status: is visible == is enabled AND not clipped by scrolling.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
IsVisible = unchecked(2097152),
|
||||
|
||||
/// <summary>
|
||||
/// Status: is currently part of the sort specs<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
IsSorted = unchecked(4194304),
|
||||
|
||||
/// <summary>
|
||||
/// Status: is hovered by mouse<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
IsHovered = unchecked(8388608),
|
||||
|
||||
/// <summary>
|
||||
/// Overridingmaster disable flag: hide column, won't show in context menu (unlike calling TableSetColumnEnabled() which manipulates the user accessible state)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Disabled = unchecked(65536),
|
||||
|
||||
/// <summary>
|
||||
/// TableHeadersRow() will submit an empty label for this column. Convenient for some small columns. Name will still appear in context menu or in angled headers. You may append into this cell by calling TableSetColumnIndex() right after the TableHeadersRow() call.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoHeaderLabel = unchecked(131072),
|
||||
|
||||
|
|
@ -150,7 +150,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
StatusMask = unchecked(15728640),
|
||||
|
||||
/// <summary>
|
||||
/// [Internal] Disable user resizing this column directly (it may however we resized indirectly from its left edge)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoDirectResize = unchecked(1073741824),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,172 +25,172 @@ namespace Dalamud.Bindings.ImGui
|
|||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// Enable resizing columns.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Resizable = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// Enable reordering columns in header row (need calling TableSetupColumn() + TableHeadersRow() to display headers)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Reorderable = unchecked(2),
|
||||
|
||||
/// <summary>
|
||||
/// Enable hidingdisabling columns in context menu.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Hideable = unchecked(4),
|
||||
|
||||
/// <summary>
|
||||
/// Enable sorting. Call TableGetSortSpecs() to obtain sort specs. Also see ImGuiTableFlags_SortMulti and ImGuiTableFlags_SortTristate.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Sortable = unchecked(8),
|
||||
|
||||
/// <summary>
|
||||
/// Disable persisting columns order, width and sort settings in the .ini file.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoSavedSettings = unchecked(16),
|
||||
|
||||
/// <summary>
|
||||
/// Right-click on columns bodycontents will display table context menu. By default it is available in TableHeadersRow().<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ContextMenuInBody = unchecked(32),
|
||||
|
||||
/// <summary>
|
||||
/// Set each RowBg color with ImGuiCol_TableRowBg or ImGuiCol_TableRowBgAlt (equivalent of calling TableSetBgColor with ImGuiTableBgFlags_RowBg0 on each row manually)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
RowBg = unchecked(64),
|
||||
|
||||
/// <summary>
|
||||
/// Draw horizontal borders between rows.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
BordersInnerH = unchecked(128),
|
||||
|
||||
/// <summary>
|
||||
/// Draw horizontal borders at the top and bottom.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
BordersOuterH = unchecked(256),
|
||||
|
||||
/// <summary>
|
||||
/// Draw vertical borders between columns.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
BordersInnerV = unchecked(512),
|
||||
|
||||
/// <summary>
|
||||
/// Draw vertical borders on the left and right sides.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
BordersOuterV = unchecked(1024),
|
||||
|
||||
/// <summary>
|
||||
/// Draw horizontal borders.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
BordersH = unchecked(384),
|
||||
|
||||
/// <summary>
|
||||
/// Draw vertical borders.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
BordersV = unchecked(1536),
|
||||
|
||||
/// <summary>
|
||||
/// Draw inner borders.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
BordersInner = unchecked(640),
|
||||
|
||||
/// <summary>
|
||||
/// Draw outer borders.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
BordersOuter = unchecked(1280),
|
||||
|
||||
/// <summary>
|
||||
/// Draw all borders.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Borders = unchecked(1920),
|
||||
|
||||
/// <summary>
|
||||
/// [ALPHA] Disable vertical borders in columns Body (borders will always appear in Headers). -> May move to style<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoBordersInBody = unchecked(2048),
|
||||
|
||||
/// <summary>
|
||||
/// [ALPHA] Disable vertical borders in columns Body until hovered for resize (borders will always appear in Headers). -> May move to style<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoBordersInBodyUntilResize = unchecked(4096),
|
||||
|
||||
/// <summary>
|
||||
/// Columns default to _WidthFixed or _WidthAuto (if resizable or not resizable), matching contents width.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
SizingFixedFit = unchecked(8192),
|
||||
|
||||
/// <summary>
|
||||
/// Columns default to _WidthFixed or _WidthAuto (if resizable or not resizable), matching the maximum contents width of all columns. Implicitly enable ImGuiTableFlags_NoKeepColumnsVisible.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
SizingFixedSame = unchecked(16384),
|
||||
|
||||
/// <summary>
|
||||
/// Columns default to _WidthStretch with default weights proportional to each columns contents widths.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
SizingStretchProp = unchecked(24576),
|
||||
|
||||
/// <summary>
|
||||
/// Columns default to _WidthStretch with default weights all equal, unless overridden by TableSetupColumn().<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
SizingStretchSame = unchecked(32768),
|
||||
|
||||
/// <summary>
|
||||
/// Make outer width auto-fit to columns, overriding outer_size.x value. Only available when ScrollXScrollY are disabled and Stretch columns are not used.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoHostExtendX = unchecked(65536),
|
||||
|
||||
/// <summary>
|
||||
/// Make outer height stop exactly at outer_size.y (prevent auto-extending table past the limit). Only available when ScrollXScrollY are disabled. Data below the limit will be clipped and not visible.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoHostExtendY = unchecked(131072),
|
||||
|
||||
/// <summary>
|
||||
/// Disable keeping column always minimally visible when ScrollX is off and table gets too small. Not recommended if columns are resizable.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoKeepColumnsVisible = unchecked(262144),
|
||||
|
||||
/// <summary>
|
||||
/// Disable distributing remainder width to stretched columns (width allocation on a 100-wide table with 3 columns: Without this flag: 33,33,34. With this flag: 33,33,33). With larger number of columns, resizing will appear to be less smooth.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
PreciseWidths = unchecked(524288),
|
||||
|
||||
/// <summary>
|
||||
/// Disable clipping rectangle for every individual columns (reduce draw command count, items will be able to overflow into other columns). Generally incompatible with TableSetupScrollFreeze().<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoClip = unchecked(1048576),
|
||||
|
||||
/// <summary>
|
||||
/// Default if BordersOuterV is on. Enable outermost padding. Generally desirable if you have headers.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
PadOuterX = unchecked(2097152),
|
||||
|
||||
/// <summary>
|
||||
/// Default if BordersOuterV is off. Disable outermost padding.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoPadOuterX = unchecked(4194304),
|
||||
|
||||
/// <summary>
|
||||
/// Disable inner padding between columns (double inner padding if BordersOuterV is on, single inner padding if BordersOuterV is off).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoPadInnerX = unchecked(8388608),
|
||||
|
||||
/// <summary>
|
||||
/// Enable horizontal scrolling. Require 'outer_size' parameter of BeginTable() to specify the container size. Changes default sizing policy. Because this creates a child window, ScrollY is currently generally recommended when using ScrollX.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ScrollX = unchecked(16777216),
|
||||
|
||||
/// <summary>
|
||||
/// Enable vertical scrolling. Require 'outer_size' parameter of BeginTable() to specify the container size.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ScrollY = unchecked(33554432),
|
||||
|
||||
/// <summary>
|
||||
/// Hold shift when clicking headers to sort on multiple column. TableGetSortSpecs() may return specs where (SpecsCount > 1).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
SortMulti = unchecked(67108864),
|
||||
|
||||
/// <summary>
|
||||
/// Allow no sorting, disable default sorting. TableGetSortSpecs() may return specs where (SpecsCount == 0).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
SortTristate = unchecked(134217728),
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// Identify header row (set default background color + width of its contents accounted differently for auto column width)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Headers = unchecked(1),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,12 +25,12 @@ namespace Dalamud.Bindings.ImGui
|
|||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// Draw as selected<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Selected = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// Draw frame with background (e.g. for CollapsingHeader)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Framed = unchecked(2),
|
||||
|
||||
|
|
@ -40,57 +40,57 @@ namespace Dalamud.Bindings.ImGui
|
|||
AllowItemOverlap = unchecked(4),
|
||||
|
||||
/// <summary>
|
||||
/// Don't do a TreePush() when open (e.g. for CollapsingHeader) = no extra indent nor pushing on ID stack<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoTreePushOnOpen = unchecked(8),
|
||||
|
||||
/// <summary>
|
||||
/// Don't automatically and temporarily open node when Logging is active (by default logging will automatically open tree nodes)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoAutoOpenOnLog = unchecked(16),
|
||||
|
||||
/// <summary>
|
||||
/// Default node to be open<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
DefaultOpen = unchecked(32),
|
||||
|
||||
/// <summary>
|
||||
/// Open on double-click instead of simple click (default for multi-select unless any _OpenOnXXX behavior is set explicitly). Both behaviors may be combined.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
OpenOnDoubleClick = unchecked(64),
|
||||
|
||||
/// <summary>
|
||||
/// Open when clicking on the arrow part (default for multi-select unless any _OpenOnXXX behavior is set explicitly). Both behaviors may be combined.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
OpenOnArrow = unchecked(128),
|
||||
|
||||
/// <summary>
|
||||
/// No collapsing, no arrow (use as a convenience for leaf nodes).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Leaf = unchecked(256),
|
||||
|
||||
/// <summary>
|
||||
/// Display a bullet instead of arrow. IMPORTANT: node can still be marked openclose if you don't set the _Leaf flag!<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Bullet = unchecked(512),
|
||||
|
||||
/// <summary>
|
||||
/// Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget height. Equivalent to calling AlignTextToFramePadding() before the node.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
FramePadding = unchecked(1024),
|
||||
|
||||
/// <summary>
|
||||
/// 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 without using AllowOverlap mode.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
SpanAvailWidth = unchecked(2048),
|
||||
|
||||
/// <summary>
|
||||
/// Extend hit box to the left-most and right-most edges (cover the indent area).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
SpanFullWidth = unchecked(4096),
|
||||
|
||||
/// <summary>
|
||||
/// (WIP) Nav: left direction may move to this TreeNode() from any of its child (items submitted between TreeNode and TreePop)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NavLeftJumpsBackHere = unchecked(8192),
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
public enum ImGuiTreeNodeFlagsPrivate : int
|
||||
{
|
||||
/// <summary>
|
||||
/// FIXME-WIP: Hard-coded for CollapsingHeader()<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ClipLabelForTrailingButton = unchecked(1048576),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,52 +25,52 @@ namespace Dalamud.Bindings.ImGui
|
|||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// Represent a Platform Window<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
IsPlatformWindow = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// Represent a Platform Monitor (unused yet)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
IsPlatformMonitor = unchecked(2),
|
||||
|
||||
/// <summary>
|
||||
/// Platform Window: Is createdmanaged by the user application? (rather than our backend)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
OwnedByApp = unchecked(4),
|
||||
|
||||
/// <summary>
|
||||
/// Platform Window: Disable platform decorations: title bar, borders, etc. (generally set all windows, but if ImGuiConfigFlags_ViewportsDecoration is set we only set this on popupstooltips)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoDecoration = unchecked(8),
|
||||
|
||||
/// <summary>
|
||||
/// Platform Window: Disable platform task bar icon (generally set on popupstooltips, or all windows if ImGuiConfigFlags_ViewportsNoTaskBarIcon is set)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoTaskBarIcon = unchecked(16),
|
||||
|
||||
/// <summary>
|
||||
/// Platform Window: Don't take focus when created.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoFocusOnAppearing = unchecked(32),
|
||||
|
||||
/// <summary>
|
||||
/// Platform Window: Don't take focus when clicked on.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoFocusOnClick = unchecked(64),
|
||||
|
||||
/// <summary>
|
||||
/// Platform Window: Make mouse pass through so we can drag this window while peaking behind it.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoInputs = unchecked(128),
|
||||
|
||||
/// <summary>
|
||||
/// Platform Window: Renderer doesn't need to clear the framebuffer ahead (because we will fill it entirely).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoRendererClear = unchecked(256),
|
||||
|
||||
/// <summary>
|
||||
/// Platform Window: Display on top (for tooltips only).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
TopMost = unchecked(512),
|
||||
|
||||
|
|
@ -80,12 +80,12 @@ namespace Dalamud.Bindings.ImGui
|
|||
Minimized = unchecked(1024),
|
||||
|
||||
/// <summary>
|
||||
/// 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!).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoAutoMerge = unchecked(2048),
|
||||
|
||||
/// <summary>
|
||||
/// Viewport can host multiple imgui windows (secondary viewports are associated to a single window). FIXME: In practice there's still probably code making the assumption that this is always and only on the MainViewport. Will fix once we add support for "no main viewport".<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
CanHostOtherWindows = unchecked(4096),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,82 +25,82 @@ namespace Dalamud.Bindings.ImGui
|
|||
None = unchecked(0),
|
||||
|
||||
/// <summary>
|
||||
/// Disable title-bar<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoTitleBar = unchecked(1),
|
||||
|
||||
/// <summary>
|
||||
/// Disable user resizing with the lower-right grip<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoResize = unchecked(2),
|
||||
|
||||
/// <summary>
|
||||
/// Disable user moving the window<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoMove = unchecked(4),
|
||||
|
||||
/// <summary>
|
||||
/// Disable scrollbars (window can still scroll with mouse or programmatically)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoScrollbar = unchecked(8),
|
||||
|
||||
/// <summary>
|
||||
/// Disable user vertically scrolling with mouse wheel. On child window, mouse wheel will be forwarded to the parent unless NoScrollbar is also set.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoScrollWithMouse = unchecked(16),
|
||||
|
||||
/// <summary>
|
||||
/// Disable user collapsing window by double-clicking on it. Also referred to as Window Menu Button (e.g. within a docking node).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoCollapse = unchecked(32),
|
||||
|
||||
/// <summary>
|
||||
/// Resize every window to its content every frame<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AlwaysAutoResize = unchecked(64),
|
||||
|
||||
/// <summary>
|
||||
/// Disable drawing background color (WindowBg, etc.) and outside border. Similar as using SetNextWindowBgAlpha(0.0f).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoBackground = unchecked(128),
|
||||
|
||||
/// <summary>
|
||||
/// Never loadsave settings in .ini file<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoSavedSettings = unchecked(256),
|
||||
|
||||
/// <summary>
|
||||
/// Disable catching mouse, hovering test with pass through.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoMouseInputs = unchecked(512),
|
||||
|
||||
/// <summary>
|
||||
/// Has a menu-bar<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
MenuBar = unchecked(1024),
|
||||
|
||||
/// <summary>
|
||||
/// 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.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
HorizontalScrollbar = unchecked(2048),
|
||||
|
||||
/// <summary>
|
||||
/// Disable taking focus when transitioning from hidden to visible state<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoFocusOnAppearing = unchecked(4096),
|
||||
|
||||
/// <summary>
|
||||
/// Disable bringing window to front when taking focus (e.g. clicking on it or programmatically giving it focus)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoBringToFrontOnFocus = unchecked(8192),
|
||||
|
||||
/// <summary>
|
||||
/// Always show vertical scrollbar (even if ContentSize.y < Size.y)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AlwaysVerticalScrollbar = unchecked(16384),
|
||||
|
||||
/// <summary>
|
||||
/// Always show horizontal scrollbar (even if ContentSize.x < Size.x)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
AlwaysHorizontalScrollbar = unchecked(32768),
|
||||
|
||||
|
|
@ -110,22 +110,22 @@ namespace Dalamud.Bindings.ImGui
|
|||
AlwaysUseWindowPadding = unchecked(65536),
|
||||
|
||||
/// <summary>
|
||||
/// No keyboardgamepad navigation within the window<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoNavInputs = unchecked(262144),
|
||||
|
||||
/// <summary>
|
||||
/// No focusing toward this window with keyboardgamepad navigation (e.g. skipped by CTRL+TAB)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoNavFocus = unchecked(524288),
|
||||
|
||||
/// <summary>
|
||||
/// Display a dot next to the title. When used in a tabdocking context, tab is selected when clicking the X + closure is not assumed (will wait for user to stop submitting the tab). Otherwise closure is assumed when pressing the X, so if you keep submitting the tab may reappear at end of tab bar.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
UnsavedDocument = unchecked(1048576),
|
||||
|
||||
/// <summary>
|
||||
/// Disable docking of this window<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
NoDocking = unchecked(2097152),
|
||||
|
||||
|
|
@ -150,32 +150,32 @@ namespace Dalamud.Bindings.ImGui
|
|||
NavFlattened = unchecked(8388608),
|
||||
|
||||
/// <summary>
|
||||
/// Don't use! For internal use by BeginChild()<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ChildWindow = unchecked(16777216),
|
||||
|
||||
/// <summary>
|
||||
/// Don't use! For internal use by BeginTooltip()<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Tooltip = unchecked(33554432),
|
||||
|
||||
/// <summary>
|
||||
/// Don't use! For internal use by BeginPopup()<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Popup = unchecked(67108864),
|
||||
|
||||
/// <summary>
|
||||
/// Don't use! For internal use by BeginPopupModal()<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
Modal = unchecked(134217728),
|
||||
|
||||
/// <summary>
|
||||
/// Don't use! For internal use by BeginMenu()<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
ChildMenu = unchecked(268435456),
|
||||
|
||||
/// <summary>
|
||||
/// Don't use! For internal use by Begin()NewFrame()<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
DockNodeHost = unchecked(536870912),
|
||||
}
|
||||
|
|
|
|||
|
|
@ -683,236 +683,236 @@ namespace Dalamud.Bindings.ImGui
|
|||
funcTable.Load(655, "ImGuiNextWindowData_destroy");
|
||||
funcTable.Load(656, "ImGuiNextItemData_destroy");
|
||||
funcTable.Load(657, "ImGuiLastItemData_destroy");
|
||||
funcTable.Load(658, "ImGuiStackSizes_ImGuiStackSizes");
|
||||
funcTable.Load(659, "ImGuiStackSizes_destroy");
|
||||
funcTable.Load(660, "ImGuiStackSizes_SetToCurrentState");
|
||||
funcTable.Load(661, "ImGuiStackSizes_CompareWithCurrentState");
|
||||
funcTable.Load(662, "ImGuiPtrOrIndex_destroy");
|
||||
funcTable.Load(663, "ImGuiInputEvent_destroy");
|
||||
funcTable.Load(664, "ImGuiListClipperData_destroy");
|
||||
funcTable.Load(665, "ImGuiNavItemData_destroy");
|
||||
funcTable.Load(666, "ImGuiOldColumnData_destroy");
|
||||
funcTable.Load(667, "ImGuiOldColumns_destroy");
|
||||
funcTable.Load(668, "ImGuiDockContext_destroy");
|
||||
funcTable.Load(669, "ImGuiWindowSettings_destroy");
|
||||
funcTable.Load(670, "ImGuiSettingsHandler_destroy");
|
||||
funcTable.Load(671, "ImGuiMetricsConfig_destroy");
|
||||
funcTable.Load(672, "ImGuiStackLevelInfo_destroy");
|
||||
funcTable.Load(673, "ImGuiStackTool_ImGuiStackTool");
|
||||
funcTable.Load(674, "ImGuiStackTool_destroy");
|
||||
funcTable.Load(675, "ImGuiContextHook_destroy");
|
||||
funcTable.Load(676, "ImGuiContext_destroy");
|
||||
funcTable.Load(677, "ImGuiTabItem_destroy");
|
||||
funcTable.Load(678, "ImGuiTabBar_destroy");
|
||||
funcTable.Load(679, "ImGuiTableColumn_destroy");
|
||||
funcTable.Load(680, "ImGuiTableInstanceData_destroy");
|
||||
funcTable.Load(681, "ImGuiTableTempData_destroy");
|
||||
funcTable.Load(682, "ImGuiTableColumnSettings_destroy");
|
||||
funcTable.Load(683, "ImGuiTableSettings_destroy");
|
||||
funcTable.Load(684, "igLogText");
|
||||
funcTable.Load(685, "ImGuiTextBuffer_appendf");
|
||||
funcTable.Load(686, "igGET_FLT_MAX");
|
||||
funcTable.Load(687, "igGET_FLT_MIN");
|
||||
funcTable.Load(688, "ImVector_ImWchar_create");
|
||||
funcTable.Load(689, "ImVector_ImWchar_destroy");
|
||||
funcTable.Load(690, "ImVector_ImWchar_Init");
|
||||
funcTable.Load(691, "ImVector_ImWchar_UnInit");
|
||||
funcTable.Load(692, "igImHashData");
|
||||
funcTable.Load(693, "igImHashStr");
|
||||
funcTable.Load(694, "igImQsort");
|
||||
funcTable.Load(695, "igImAlphaBlendColors");
|
||||
funcTable.Load(696, "igImIsPowerOfTwo_Int");
|
||||
funcTable.Load(697, "igImIsPowerOfTwo_U64");
|
||||
funcTable.Load(698, "igImUpperPowerOfTwo");
|
||||
funcTable.Load(699, "igImStricmp");
|
||||
funcTable.Load(700, "igImStrnicmp");
|
||||
funcTable.Load(701, "igImStrncpy");
|
||||
funcTable.Load(702, "igImStrdup");
|
||||
funcTable.Load(703, "igImStrdupcpy");
|
||||
funcTable.Load(704, "igImStrchrRange");
|
||||
funcTable.Load(705, "igImStrlenW");
|
||||
funcTable.Load(706, "igImStreolRange");
|
||||
funcTable.Load(707, "igImStrbolW");
|
||||
funcTable.Load(708, "igImStristr");
|
||||
funcTable.Load(709, "igImStrTrimBlanks");
|
||||
funcTable.Load(710, "igImStrSkipBlank");
|
||||
funcTable.Load(711, "igImCharIsBlankA");
|
||||
funcTable.Load(712, "igImCharIsBlankW");
|
||||
funcTable.Load(713, "igImFormatStringToTempBuffer");
|
||||
funcTable.Load(714, "igImFormatStringToTempBufferV");
|
||||
funcTable.Load(715, "igImParseFormatFindStart");
|
||||
funcTable.Load(716, "igImParseFormatFindEnd");
|
||||
funcTable.Load(717, "igImParseFormatSanitizeForPrinting");
|
||||
funcTable.Load(718, "igImParseFormatSanitizeForScanning");
|
||||
funcTable.Load(719, "igImParseFormatPrecision");
|
||||
funcTable.Load(720, "igImTextCharToUtf8");
|
||||
funcTable.Load(721, "igImTextCharFromUtf8");
|
||||
funcTable.Load(722, "igImTextCountCharsFromUtf8");
|
||||
funcTable.Load(723, "igImTextCountUtf8BytesFromChar");
|
||||
funcTable.Load(724, "igImTextCountUtf8BytesFromStr");
|
||||
funcTable.Load(725, "igImFileOpen");
|
||||
funcTable.Load(726, "igImFileClose");
|
||||
funcTable.Load(727, "igImFileGetSize");
|
||||
funcTable.Load(728, "igImFileRead");
|
||||
funcTable.Load(729, "igImFileWrite");
|
||||
funcTable.Load(730, "igImFileLoadToMemory");
|
||||
funcTable.Load(731, "igImPow_Float");
|
||||
funcTable.Load(732, "igImPow_double");
|
||||
funcTable.Load(733, "igImLog_Float");
|
||||
funcTable.Load(734, "igImLog_double");
|
||||
funcTable.Load(735, "igImAbs_Int");
|
||||
funcTable.Load(736, "igImAbs_Float");
|
||||
funcTable.Load(737, "igImAbs_double");
|
||||
funcTable.Load(738, "igImSign_Float");
|
||||
funcTable.Load(739, "igImSign_double");
|
||||
funcTable.Load(740, "igImRsqrt_Float");
|
||||
funcTable.Load(741, "igImRsqrt_double");
|
||||
funcTable.Load(742, "igImMin");
|
||||
funcTable.Load(743, "igImMax");
|
||||
funcTable.Load(744, "igImClamp");
|
||||
funcTable.Load(745, "igImLerp_Vec2Float");
|
||||
funcTable.Load(746, "igImLerp_Vec2Vec2");
|
||||
funcTable.Load(747, "igImLerp_Vec4");
|
||||
funcTable.Load(748, "igImSaturate");
|
||||
funcTable.Load(749, "igImLengthSqr_Vec2");
|
||||
funcTable.Load(750, "igImLengthSqr_Vec4");
|
||||
funcTable.Load(751, "igImInvLength");
|
||||
funcTable.Load(752, "igImFloor_Float");
|
||||
funcTable.Load(753, "igImFloorSigned_Float");
|
||||
funcTable.Load(754, "igImFloor_Vec2");
|
||||
funcTable.Load(755, "igImFloorSigned_Vec2");
|
||||
funcTable.Load(756, "igImModPositive");
|
||||
funcTable.Load(757, "igImDot");
|
||||
funcTable.Load(758, "igImRotate");
|
||||
funcTable.Load(759, "igImLinearSweep");
|
||||
funcTable.Load(760, "igImMul");
|
||||
funcTable.Load(761, "igImIsFloatAboveGuaranteedIntegerPrecision");
|
||||
funcTable.Load(762, "igImBezierCubicCalc");
|
||||
funcTable.Load(763, "igImBezierCubicClosestPoint");
|
||||
funcTable.Load(764, "igImBezierCubicClosestPointCasteljau");
|
||||
funcTable.Load(765, "igImBezierQuadraticCalc");
|
||||
funcTable.Load(766, "igImLineClosestPoint");
|
||||
funcTable.Load(767, "igImTriangleContainsPoint");
|
||||
funcTable.Load(768, "igImTriangleClosestPoint");
|
||||
funcTable.Load(769, "igImTriangleBarycentricCoords");
|
||||
funcTable.Load(770, "igImTriangleArea");
|
||||
funcTable.Load(771, "igImGetDirQuadrantFromDelta");
|
||||
funcTable.Load(772, "ImVec1_ImVec1_Nil");
|
||||
funcTable.Load(773, "ImVec1_ImVec1_Float");
|
||||
funcTable.Load(774, "ImVec2ih_ImVec2ih_Nil");
|
||||
funcTable.Load(775, "ImVec2ih_ImVec2ih_short");
|
||||
funcTable.Load(776, "ImVec2ih_ImVec2ih_Vec2");
|
||||
funcTable.Load(777, "ImRect_ImRect_Nil");
|
||||
funcTable.Load(778, "ImRect_ImRect_Vec2");
|
||||
funcTable.Load(779, "ImRect_ImRect_Vec4");
|
||||
funcTable.Load(780, "ImRect_ImRect_Float");
|
||||
funcTable.Load(781, "ImRect_GetCenter");
|
||||
funcTable.Load(782, "ImRect_GetSize");
|
||||
funcTable.Load(783, "ImRect_GetWidth");
|
||||
funcTable.Load(784, "ImRect_GetHeight");
|
||||
funcTable.Load(785, "ImRect_GetArea");
|
||||
funcTable.Load(786, "ImRect_GetTL");
|
||||
funcTable.Load(787, "ImRect_GetTR");
|
||||
funcTable.Load(788, "ImRect_GetBL");
|
||||
funcTable.Load(789, "ImRect_GetBR");
|
||||
funcTable.Load(790, "ImRect_Contains_Vec2");
|
||||
funcTable.Load(791, "ImRect_Contains_Rect");
|
||||
funcTable.Load(792, "ImRect_Overlaps");
|
||||
funcTable.Load(793, "ImRect_Add_Vec2");
|
||||
funcTable.Load(794, "ImRect_Add_Rect");
|
||||
funcTable.Load(795, "ImRect_Expand_Float");
|
||||
funcTable.Load(796, "ImRect_Expand_Vec2");
|
||||
funcTable.Load(797, "ImRect_Translate");
|
||||
funcTable.Load(798, "ImRect_TranslateX");
|
||||
funcTable.Load(799, "ImRect_TranslateY");
|
||||
funcTable.Load(800, "ImRect_ClipWith");
|
||||
funcTable.Load(801, "ImRect_ClipWithFull");
|
||||
funcTable.Load(802, "ImRect_Floor");
|
||||
funcTable.Load(803, "ImRect_IsInverted");
|
||||
funcTable.Load(804, "ImRect_ToVec4");
|
||||
funcTable.Load(805, "igImBitArrayTestBit");
|
||||
funcTable.Load(806, "igImBitArrayClearBit");
|
||||
funcTable.Load(807, "igImBitArraySetBit");
|
||||
funcTable.Load(808, "igImBitArraySetBitRange");
|
||||
funcTable.Load(809, "ImBitVector_Create");
|
||||
funcTable.Load(810, "ImBitVector_Clear");
|
||||
funcTable.Load(811, "ImBitVector_TestBit");
|
||||
funcTable.Load(812, "ImBitVector_SetBit");
|
||||
funcTable.Load(813, "ImBitVector_ClearBit");
|
||||
funcTable.Load(814, "ImDrawListSharedData_ImDrawListSharedData");
|
||||
funcTable.Load(815, "ImDrawListSharedData_SetCircleTessellationMaxError");
|
||||
funcTable.Load(816, "ImDrawDataBuilder_Clear");
|
||||
funcTable.Load(817, "ImDrawDataBuilder_ClearFreeMemory");
|
||||
funcTable.Load(818, "ImDrawDataBuilder_GetDrawListCount");
|
||||
funcTable.Load(819, "ImDrawDataBuilder_FlattenIntoSingleLayer");
|
||||
funcTable.Load(820, "ImGuiStyleMod_ImGuiStyleMod_Int");
|
||||
funcTable.Load(821, "ImGuiStyleMod_ImGuiStyleMod_Float");
|
||||
funcTable.Load(822, "ImGuiStyleMod_ImGuiStyleMod_Vec2");
|
||||
funcTable.Load(823, "ImGuiComboPreviewData_ImGuiComboPreviewData");
|
||||
funcTable.Load(824, "ImGuiMenuColumns_ImGuiMenuColumns");
|
||||
funcTable.Load(825, "ImGuiMenuColumns_Update");
|
||||
funcTable.Load(826, "ImGuiMenuColumns_DeclColumns");
|
||||
funcTable.Load(827, "ImGuiMenuColumns_CalcNextTotalWidth");
|
||||
funcTable.Load(828, "ImGuiInputTextState_ImGuiInputTextState");
|
||||
funcTable.Load(829, "ImGuiInputTextState_ClearText");
|
||||
funcTable.Load(830, "ImGuiInputTextState_ClearFreeMemory");
|
||||
funcTable.Load(831, "ImGuiInputTextState_GetUndoAvailCount");
|
||||
funcTable.Load(832, "ImGuiInputTextState_GetRedoAvailCount");
|
||||
funcTable.Load(833, "ImGuiInputTextState_OnKeyPressed");
|
||||
funcTable.Load(834, "ImGuiInputTextState_CursorAnimReset");
|
||||
funcTable.Load(835, "ImGuiInputTextState_CursorClamp");
|
||||
funcTable.Load(836, "ImGuiInputTextState_HasSelection");
|
||||
funcTable.Load(837, "ImGuiInputTextState_ClearSelection");
|
||||
funcTable.Load(838, "ImGuiInputTextState_GetCursorPos");
|
||||
funcTable.Load(839, "ImGuiInputTextState_GetSelectionStart");
|
||||
funcTable.Load(840, "ImGuiInputTextState_GetSelectionEnd");
|
||||
funcTable.Load(841, "ImGuiInputTextState_SelectAll");
|
||||
funcTable.Load(842, "ImGuiPopupData_ImGuiPopupData");
|
||||
funcTable.Load(843, "ImGuiNextWindowData_ImGuiNextWindowData");
|
||||
funcTable.Load(844, "ImGuiNextWindowData_ClearFlags");
|
||||
funcTable.Load(845, "ImGuiNextItemData_ImGuiNextItemData");
|
||||
funcTable.Load(846, "ImGuiNextItemData_ClearFlags");
|
||||
funcTable.Load(847, "ImGuiLastItemData_ImGuiLastItemData");
|
||||
funcTable.Load(848, "ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr");
|
||||
funcTable.Load(849, "ImGuiPtrOrIndex_ImGuiPtrOrIndex_Int");
|
||||
funcTable.Load(850, "ImGuiInputEvent_ImGuiInputEvent");
|
||||
funcTable.Load(851, "ImGuiListClipperRange_FromIndices");
|
||||
funcTable.Load(852, "ImGuiListClipperRange_FromPositions");
|
||||
funcTable.Load(853, "ImGuiListClipperData_ImGuiListClipperData");
|
||||
funcTable.Load(854, "ImGuiListClipperData_Reset");
|
||||
funcTable.Load(855, "ImGuiNavItemData_ImGuiNavItemData");
|
||||
funcTable.Load(856, "ImGuiNavItemData_Clear");
|
||||
funcTable.Load(857, "ImGuiOldColumnData_ImGuiOldColumnData");
|
||||
funcTable.Load(858, "ImGuiOldColumns_ImGuiOldColumns");
|
||||
funcTable.Load(859, "ImGuiDockNode_ImGuiDockNode");
|
||||
funcTable.Load(860, "ImGuiDockNode_destroy");
|
||||
funcTable.Load(861, "ImGuiDockNode_IsRootNode");
|
||||
funcTable.Load(862, "ImGuiDockNode_IsDockSpace");
|
||||
funcTable.Load(863, "ImGuiDockNode_IsFloatingNode");
|
||||
funcTable.Load(864, "ImGuiDockNode_IsCentralNode");
|
||||
funcTable.Load(865, "ImGuiDockNode_IsHiddenTabBar");
|
||||
funcTable.Load(866, "ImGuiDockNode_IsNoTabBar");
|
||||
funcTable.Load(867, "ImGuiDockNode_IsSplitNode");
|
||||
funcTable.Load(868, "ImGuiDockNode_IsLeafNode");
|
||||
funcTable.Load(869, "ImGuiDockNode_IsEmpty");
|
||||
funcTable.Load(870, "ImGuiDockNode_Rect");
|
||||
funcTable.Load(871, "ImGuiDockNode_SetLocalFlags");
|
||||
funcTable.Load(872, "ImGuiDockNode_UpdateMergedFlags");
|
||||
funcTable.Load(873, "ImGuiDockContext_ImGuiDockContext");
|
||||
funcTable.Load(874, "ImGuiViewportP_ImGuiViewportP");
|
||||
funcTable.Load(875, "ImGuiViewportP_destroy");
|
||||
funcTable.Load(876, "ImGuiViewportP_ClearRequestFlags");
|
||||
funcTable.Load(877, "ImGuiViewportP_CalcWorkRectPos");
|
||||
funcTable.Load(878, "ImGuiViewportP_CalcWorkRectSize");
|
||||
funcTable.Load(879, "ImGuiViewportP_UpdateWorkRect");
|
||||
funcTable.Load(880, "ImGuiViewportP_GetMainRect");
|
||||
funcTable.Load(881, "ImGuiViewportP_GetWorkRect");
|
||||
funcTable.Load(882, "ImGuiViewportP_GetBuildWorkRect");
|
||||
funcTable.Load(883, "ImGuiWindowSettings_ImGuiWindowSettings");
|
||||
funcTable.Load(884, "ImGuiWindowSettings_GetName");
|
||||
funcTable.Load(885, "ImGuiSettingsHandler_ImGuiSettingsHandler");
|
||||
funcTable.Load(886, "ImGuiMetricsConfig_ImGuiMetricsConfig");
|
||||
funcTable.Load(887, "ImGuiStackLevelInfo_ImGuiStackLevelInfo");
|
||||
funcTable.Load(658, "ImGuiStackSizes_destroy");
|
||||
funcTable.Load(659, "ImGuiPtrOrIndex_destroy");
|
||||
funcTable.Load(660, "ImGuiInputEvent_destroy");
|
||||
funcTable.Load(661, "ImGuiListClipperData_destroy");
|
||||
funcTable.Load(662, "ImGuiNavItemData_destroy");
|
||||
funcTable.Load(663, "ImGuiOldColumnData_destroy");
|
||||
funcTable.Load(664, "ImGuiOldColumns_destroy");
|
||||
funcTable.Load(665, "ImGuiDockContext_destroy");
|
||||
funcTable.Load(666, "ImGuiWindowSettings_destroy");
|
||||
funcTable.Load(667, "ImGuiSettingsHandler_destroy");
|
||||
funcTable.Load(668, "ImGuiMetricsConfig_destroy");
|
||||
funcTable.Load(669, "ImGuiStackLevelInfo_destroy");
|
||||
funcTable.Load(670, "ImGuiStackTool_destroy");
|
||||
funcTable.Load(671, "ImGuiContextHook_destroy");
|
||||
funcTable.Load(672, "ImGuiContext_destroy");
|
||||
funcTable.Load(673, "ImGuiTabItem_destroy");
|
||||
funcTable.Load(674, "ImGuiTabBar_destroy");
|
||||
funcTable.Load(675, "ImGuiTableColumn_destroy");
|
||||
funcTable.Load(676, "ImGuiTableInstanceData_destroy");
|
||||
funcTable.Load(677, "ImGuiTableTempData_destroy");
|
||||
funcTable.Load(678, "ImGuiTableColumnSettings_destroy");
|
||||
funcTable.Load(679, "ImGuiTableSettings_destroy");
|
||||
funcTable.Load(680, "igLogText");
|
||||
funcTable.Load(681, "ImGuiTextBuffer_appendf");
|
||||
funcTable.Load(682, "igGET_FLT_MAX");
|
||||
funcTable.Load(683, "igGET_FLT_MIN");
|
||||
funcTable.Load(684, "ImVector_ImWchar_create");
|
||||
funcTable.Load(685, "ImVector_ImWchar_destroy");
|
||||
funcTable.Load(686, "ImVector_ImWchar_Init");
|
||||
funcTable.Load(687, "ImVector_ImWchar_UnInit");
|
||||
funcTable.Load(688, "igImHashData");
|
||||
funcTable.Load(689, "igImHashStr");
|
||||
funcTable.Load(690, "igImQsort");
|
||||
funcTable.Load(691, "igImAlphaBlendColors");
|
||||
funcTable.Load(692, "igImIsPowerOfTwo_Int");
|
||||
funcTable.Load(693, "igImIsPowerOfTwo_U64");
|
||||
funcTable.Load(694, "igImUpperPowerOfTwo");
|
||||
funcTable.Load(695, "igImStricmp");
|
||||
funcTable.Load(696, "igImStrnicmp");
|
||||
funcTable.Load(697, "igImStrncpy");
|
||||
funcTable.Load(698, "igImStrdup");
|
||||
funcTable.Load(699, "igImStrdupcpy");
|
||||
funcTable.Load(700, "igImStrchrRange");
|
||||
funcTable.Load(701, "igImStrlenW");
|
||||
funcTable.Load(702, "igImStreolRange");
|
||||
funcTable.Load(703, "igImStrbolW");
|
||||
funcTable.Load(704, "igImStristr");
|
||||
funcTable.Load(705, "igImStrTrimBlanks");
|
||||
funcTable.Load(706, "igImStrSkipBlank");
|
||||
funcTable.Load(707, "igImCharIsBlankA");
|
||||
funcTable.Load(708, "igImCharIsBlankW");
|
||||
funcTable.Load(709, "igImFormatStringToTempBuffer");
|
||||
funcTable.Load(710, "igImFormatStringToTempBufferV");
|
||||
funcTable.Load(711, "igImParseFormatFindStart");
|
||||
funcTable.Load(712, "igImParseFormatFindEnd");
|
||||
funcTable.Load(713, "igImParseFormatSanitizeForPrinting");
|
||||
funcTable.Load(714, "igImParseFormatSanitizeForScanning");
|
||||
funcTable.Load(715, "igImParseFormatPrecision");
|
||||
funcTable.Load(716, "igImTextCharToUtf8");
|
||||
funcTable.Load(717, "igImTextCharFromUtf8");
|
||||
funcTable.Load(718, "igImTextCountCharsFromUtf8");
|
||||
funcTable.Load(719, "igImTextCountUtf8BytesFromChar");
|
||||
funcTable.Load(720, "igImTextCountUtf8BytesFromStr");
|
||||
funcTable.Load(721, "igImFileOpen");
|
||||
funcTable.Load(722, "igImFileClose");
|
||||
funcTable.Load(723, "igImFileGetSize");
|
||||
funcTable.Load(724, "igImFileRead");
|
||||
funcTable.Load(725, "igImFileWrite");
|
||||
funcTable.Load(726, "igImFileLoadToMemory");
|
||||
funcTable.Load(727, "igImPow_Float");
|
||||
funcTable.Load(728, "igImPow_double");
|
||||
funcTable.Load(729, "igImLog_Float");
|
||||
funcTable.Load(730, "igImLog_double");
|
||||
funcTable.Load(731, "igImAbs_Int");
|
||||
funcTable.Load(732, "igImAbs_Float");
|
||||
funcTable.Load(733, "igImAbs_double");
|
||||
funcTable.Load(734, "igImSign_Float");
|
||||
funcTable.Load(735, "igImSign_double");
|
||||
funcTable.Load(736, "igImRsqrt_Float");
|
||||
funcTable.Load(737, "igImRsqrt_double");
|
||||
funcTable.Load(738, "igImMin");
|
||||
funcTable.Load(739, "igImMax");
|
||||
funcTable.Load(740, "igImClamp");
|
||||
funcTable.Load(741, "igImLerp_Vec2Float");
|
||||
funcTable.Load(742, "igImLerp_Vec2Vec2");
|
||||
funcTable.Load(743, "igImLerp_Vec4");
|
||||
funcTable.Load(744, "igImSaturate");
|
||||
funcTable.Load(745, "igImLengthSqr_Vec2");
|
||||
funcTable.Load(746, "igImLengthSqr_Vec4");
|
||||
funcTable.Load(747, "igImInvLength");
|
||||
funcTable.Load(748, "igImFloor_Float");
|
||||
funcTable.Load(749, "igImFloorSigned_Float");
|
||||
funcTable.Load(750, "igImFloor_Vec2");
|
||||
funcTable.Load(751, "igImFloorSigned_Vec2");
|
||||
funcTable.Load(752, "igImModPositive");
|
||||
funcTable.Load(753, "igImDot");
|
||||
funcTable.Load(754, "igImRotate");
|
||||
funcTable.Load(755, "igImLinearSweep");
|
||||
funcTable.Load(756, "igImMul");
|
||||
funcTable.Load(757, "igImIsFloatAboveGuaranteedIntegerPrecision");
|
||||
funcTable.Load(758, "igImBezierCubicCalc");
|
||||
funcTable.Load(759, "igImBezierCubicClosestPoint");
|
||||
funcTable.Load(760, "igImBezierCubicClosestPointCasteljau");
|
||||
funcTable.Load(761, "igImBezierQuadraticCalc");
|
||||
funcTable.Load(762, "igImLineClosestPoint");
|
||||
funcTable.Load(763, "igImTriangleContainsPoint");
|
||||
funcTable.Load(764, "igImTriangleClosestPoint");
|
||||
funcTable.Load(765, "igImTriangleBarycentricCoords");
|
||||
funcTable.Load(766, "igImTriangleArea");
|
||||
funcTable.Load(767, "igImGetDirQuadrantFromDelta");
|
||||
funcTable.Load(768, "ImVec1_ImVec1_Nil");
|
||||
funcTable.Load(769, "ImVec1_ImVec1_Float");
|
||||
funcTable.Load(770, "ImVec2ih_ImVec2ih_Nil");
|
||||
funcTable.Load(771, "ImVec2ih_ImVec2ih_short");
|
||||
funcTable.Load(772, "ImVec2ih_ImVec2ih_Vec2");
|
||||
funcTable.Load(773, "ImRect_ImRect_Nil");
|
||||
funcTable.Load(774, "ImRect_ImRect_Vec2");
|
||||
funcTable.Load(775, "ImRect_ImRect_Vec4");
|
||||
funcTable.Load(776, "ImRect_ImRect_Float");
|
||||
funcTable.Load(777, "ImRect_GetCenter");
|
||||
funcTable.Load(778, "ImRect_GetSize");
|
||||
funcTable.Load(779, "ImRect_GetWidth");
|
||||
funcTable.Load(780, "ImRect_GetHeight");
|
||||
funcTable.Load(781, "ImRect_GetArea");
|
||||
funcTable.Load(782, "ImRect_GetTL");
|
||||
funcTable.Load(783, "ImRect_GetTR");
|
||||
funcTable.Load(784, "ImRect_GetBL");
|
||||
funcTable.Load(785, "ImRect_GetBR");
|
||||
funcTable.Load(786, "ImRect_Contains_Vec2");
|
||||
funcTable.Load(787, "ImRect_Contains_Rect");
|
||||
funcTable.Load(788, "ImRect_Overlaps");
|
||||
funcTable.Load(789, "ImRect_Add_Vec2");
|
||||
funcTable.Load(790, "ImRect_Add_Rect");
|
||||
funcTable.Load(791, "ImRect_Expand_Float");
|
||||
funcTable.Load(792, "ImRect_Expand_Vec2");
|
||||
funcTable.Load(793, "ImRect_Translate");
|
||||
funcTable.Load(794, "ImRect_TranslateX");
|
||||
funcTable.Load(795, "ImRect_TranslateY");
|
||||
funcTable.Load(796, "ImRect_ClipWith");
|
||||
funcTable.Load(797, "ImRect_ClipWithFull");
|
||||
funcTable.Load(798, "ImRect_Floor");
|
||||
funcTable.Load(799, "ImRect_IsInverted");
|
||||
funcTable.Load(800, "ImRect_ToVec4");
|
||||
funcTable.Load(801, "igImBitArrayTestBit");
|
||||
funcTable.Load(802, "igImBitArrayClearBit");
|
||||
funcTable.Load(803, "igImBitArraySetBit");
|
||||
funcTable.Load(804, "igImBitArraySetBitRange");
|
||||
funcTable.Load(805, "ImBitVector_Create");
|
||||
funcTable.Load(806, "ImBitVector_Clear");
|
||||
funcTable.Load(807, "ImBitVector_TestBit");
|
||||
funcTable.Load(808, "ImBitVector_SetBit");
|
||||
funcTable.Load(809, "ImBitVector_ClearBit");
|
||||
funcTable.Load(810, "ImDrawListSharedData_ImDrawListSharedData");
|
||||
funcTable.Load(811, "ImDrawListSharedData_SetCircleTessellationMaxError");
|
||||
funcTable.Load(812, "ImDrawDataBuilder_Clear");
|
||||
funcTable.Load(813, "ImDrawDataBuilder_ClearFreeMemory");
|
||||
funcTable.Load(814, "ImDrawDataBuilder_GetDrawListCount");
|
||||
funcTable.Load(815, "ImDrawDataBuilder_FlattenIntoSingleLayer");
|
||||
funcTable.Load(816, "ImGuiStyleMod_ImGuiStyleMod_Int");
|
||||
funcTable.Load(817, "ImGuiStyleMod_ImGuiStyleMod_Float");
|
||||
funcTable.Load(818, "ImGuiStyleMod_ImGuiStyleMod_Vec2");
|
||||
funcTable.Load(819, "ImGuiComboPreviewData_ImGuiComboPreviewData");
|
||||
funcTable.Load(820, "ImGuiMenuColumns_ImGuiMenuColumns");
|
||||
funcTable.Load(821, "ImGuiMenuColumns_Update");
|
||||
funcTable.Load(822, "ImGuiMenuColumns_DeclColumns");
|
||||
funcTable.Load(823, "ImGuiMenuColumns_CalcNextTotalWidth");
|
||||
funcTable.Load(824, "ImGuiInputTextState_ImGuiInputTextState");
|
||||
funcTable.Load(825, "ImGuiInputTextState_ClearText");
|
||||
funcTable.Load(826, "ImGuiInputTextState_ClearFreeMemory");
|
||||
funcTable.Load(827, "ImGuiInputTextState_GetUndoAvailCount");
|
||||
funcTable.Load(828, "ImGuiInputTextState_GetRedoAvailCount");
|
||||
funcTable.Load(829, "ImGuiInputTextState_OnKeyPressed");
|
||||
funcTable.Load(830, "ImGuiInputTextState_CursorAnimReset");
|
||||
funcTable.Load(831, "ImGuiInputTextState_CursorClamp");
|
||||
funcTable.Load(832, "ImGuiInputTextState_HasSelection");
|
||||
funcTable.Load(833, "ImGuiInputTextState_ClearSelection");
|
||||
funcTable.Load(834, "ImGuiInputTextState_GetCursorPos");
|
||||
funcTable.Load(835, "ImGuiInputTextState_GetSelectionStart");
|
||||
funcTable.Load(836, "ImGuiInputTextState_GetSelectionEnd");
|
||||
funcTable.Load(837, "ImGuiInputTextState_SelectAll");
|
||||
funcTable.Load(838, "ImGuiPopupData_ImGuiPopupData");
|
||||
funcTable.Load(839, "ImGuiNextWindowData_ImGuiNextWindowData");
|
||||
funcTable.Load(840, "ImGuiNextWindowData_ClearFlags");
|
||||
funcTable.Load(841, "ImGuiNextItemData_ImGuiNextItemData");
|
||||
funcTable.Load(842, "ImGuiNextItemData_ClearFlags");
|
||||
funcTable.Load(843, "ImGuiLastItemData_ImGuiLastItemData");
|
||||
funcTable.Load(844, "ImGuiStackSizes_ImGuiStackSizes");
|
||||
funcTable.Load(845, "ImGuiStackSizes_SetToCurrentState");
|
||||
funcTable.Load(846, "ImGuiStackSizes_CompareWithCurrentState");
|
||||
funcTable.Load(847, "ImGuiPtrOrIndex_ImGuiPtrOrIndex_Ptr");
|
||||
funcTable.Load(848, "ImGuiPtrOrIndex_ImGuiPtrOrIndex_Int");
|
||||
funcTable.Load(849, "ImGuiInputEvent_ImGuiInputEvent");
|
||||
funcTable.Load(850, "ImGuiListClipperRange_FromIndices");
|
||||
funcTable.Load(851, "ImGuiListClipperRange_FromPositions");
|
||||
funcTable.Load(852, "ImGuiListClipperData_ImGuiListClipperData");
|
||||
funcTable.Load(853, "ImGuiListClipperData_Reset");
|
||||
funcTable.Load(854, "ImGuiNavItemData_ImGuiNavItemData");
|
||||
funcTable.Load(855, "ImGuiNavItemData_Clear");
|
||||
funcTable.Load(856, "ImGuiOldColumnData_ImGuiOldColumnData");
|
||||
funcTable.Load(857, "ImGuiOldColumns_ImGuiOldColumns");
|
||||
funcTable.Load(858, "ImGuiDockNode_ImGuiDockNode");
|
||||
funcTable.Load(859, "ImGuiDockNode_destroy");
|
||||
funcTable.Load(860, "ImGuiDockNode_IsRootNode");
|
||||
funcTable.Load(861, "ImGuiDockNode_IsDockSpace");
|
||||
funcTable.Load(862, "ImGuiDockNode_IsFloatingNode");
|
||||
funcTable.Load(863, "ImGuiDockNode_IsCentralNode");
|
||||
funcTable.Load(864, "ImGuiDockNode_IsHiddenTabBar");
|
||||
funcTable.Load(865, "ImGuiDockNode_IsNoTabBar");
|
||||
funcTable.Load(866, "ImGuiDockNode_IsSplitNode");
|
||||
funcTable.Load(867, "ImGuiDockNode_IsLeafNode");
|
||||
funcTable.Load(868, "ImGuiDockNode_IsEmpty");
|
||||
funcTable.Load(869, "ImGuiDockNode_Rect");
|
||||
funcTable.Load(870, "ImGuiDockNode_SetLocalFlags");
|
||||
funcTable.Load(871, "ImGuiDockNode_UpdateMergedFlags");
|
||||
funcTable.Load(872, "ImGuiDockContext_ImGuiDockContext");
|
||||
funcTable.Load(873, "ImGuiViewportP_ImGuiViewportP");
|
||||
funcTable.Load(874, "ImGuiViewportP_destroy");
|
||||
funcTable.Load(875, "ImGuiViewportP_ClearRequestFlags");
|
||||
funcTable.Load(876, "ImGuiViewportP_CalcWorkRectPos");
|
||||
funcTable.Load(877, "ImGuiViewportP_CalcWorkRectSize");
|
||||
funcTable.Load(878, "ImGuiViewportP_UpdateWorkRect");
|
||||
funcTable.Load(879, "ImGuiViewportP_GetMainRect");
|
||||
funcTable.Load(880, "ImGuiViewportP_GetWorkRect");
|
||||
funcTable.Load(881, "ImGuiViewportP_GetBuildWorkRect");
|
||||
funcTable.Load(882, "ImGuiWindowSettings_ImGuiWindowSettings");
|
||||
funcTable.Load(883, "ImGuiWindowSettings_GetName");
|
||||
funcTable.Load(884, "ImGuiSettingsHandler_ImGuiSettingsHandler");
|
||||
funcTable.Load(885, "ImGuiMetricsConfig_ImGuiMetricsConfig");
|
||||
funcTable.Load(886, "ImGuiStackLevelInfo_ImGuiStackLevelInfo");
|
||||
funcTable.Load(887, "ImGuiStackTool_ImGuiStackTool");
|
||||
funcTable.Load(888, "ImGuiContextHook_ImGuiContextHook");
|
||||
funcTable.Load(889, "ImGuiContext_ImGuiContext");
|
||||
funcTable.Load(890, "ImGuiWindow_ImGuiWindow");
|
||||
|
|
|
|||
|
|
@ -3035,141 +3035,15 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// To be documented.
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
internal static byte SetDragDropPayloadNative(byte* type, void* data, ulong sz, ImGuiCond cond)
|
||||
internal static byte SetDragDropPayloadNative(byte* type, void* data, nuint sz, ImGuiCond cond)
|
||||
{
|
||||
#if NET5_0_OR_GREATER
|
||||
return ((delegate* unmanaged[Cdecl]<byte*, void*, ulong, ImGuiCond, byte>)funcTable[305])(type, data, sz, cond);
|
||||
return ((delegate* unmanaged[Cdecl]<byte*, void*, nuint, ImGuiCond, byte>)funcTable[305])(type, data, sz, cond);
|
||||
#else
|
||||
return (byte)((delegate* unmanaged[Cdecl]<nint, nint, ulong, ImGuiCond, byte>)funcTable[305])((nint)type, (nint)data, sz, cond);
|
||||
return (byte)((delegate* unmanaged[Cdecl]<nint, nint, nuint, ImGuiCond, byte>)funcTable[305])((nint)type, (nint)data, sz, cond);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public static bool SetDragDropPayload(byte* type, void* data, ulong sz, ImGuiCond cond)
|
||||
{
|
||||
byte ret = SetDragDropPayloadNative(type, data, sz, cond);
|
||||
return ret != 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public static bool SetDragDropPayload(byte* type, void* data, ulong sz)
|
||||
{
|
||||
byte ret = SetDragDropPayloadNative(type, data, sz, (ImGuiCond)(0));
|
||||
return ret != 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public static bool SetDragDropPayload(ref byte type, void* data, ulong sz, ImGuiCond cond)
|
||||
{
|
||||
fixed (byte* ptype = &type)
|
||||
{
|
||||
byte ret = SetDragDropPayloadNative((byte*)ptype, data, sz, cond);
|
||||
return ret != 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public static bool SetDragDropPayload(ref byte type, void* data, ulong sz)
|
||||
{
|
||||
fixed (byte* ptype = &type)
|
||||
{
|
||||
byte ret = SetDragDropPayloadNative((byte*)ptype, data, sz, (ImGuiCond)(0));
|
||||
return ret != 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public static bool SetDragDropPayload(ReadOnlySpan<byte> type, void* data, ulong sz, ImGuiCond cond)
|
||||
{
|
||||
fixed (byte* ptype = type)
|
||||
{
|
||||
byte ret = SetDragDropPayloadNative((byte*)ptype, data, sz, cond);
|
||||
return ret != 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public static bool SetDragDropPayload(ReadOnlySpan<byte> type, void* data, ulong sz)
|
||||
{
|
||||
fixed (byte* ptype = type)
|
||||
{
|
||||
byte ret = SetDragDropPayloadNative((byte*)ptype, data, sz, (ImGuiCond)(0));
|
||||
return ret != 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public static bool SetDragDropPayload(string type, void* data, ulong sz, ImGuiCond cond)
|
||||
{
|
||||
byte* pStr0 = null;
|
||||
int pStrSize0 = 0;
|
||||
if (type != null)
|
||||
{
|
||||
pStrSize0 = Utils.GetByteCountUTF8(type);
|
||||
if (pStrSize0 >= Utils.MaxStackallocSize)
|
||||
{
|
||||
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
|
||||
pStr0 = pStrStack0;
|
||||
}
|
||||
int pStrOffset0 = Utils.EncodeStringUTF8(type, pStr0, pStrSize0);
|
||||
pStr0[pStrOffset0] = 0;
|
||||
}
|
||||
byte ret = SetDragDropPayloadNative(pStr0, data, sz, cond);
|
||||
if (pStrSize0 >= Utils.MaxStackallocSize)
|
||||
{
|
||||
Utils.Free(pStr0);
|
||||
}
|
||||
return ret != 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public static bool SetDragDropPayload(string type, void* data, ulong sz)
|
||||
{
|
||||
byte* pStr0 = null;
|
||||
int pStrSize0 = 0;
|
||||
if (type != null)
|
||||
{
|
||||
pStrSize0 = Utils.GetByteCountUTF8(type);
|
||||
if (pStrSize0 >= Utils.MaxStackallocSize)
|
||||
{
|
||||
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
|
||||
pStr0 = pStrStack0;
|
||||
}
|
||||
int pStrOffset0 = Utils.EncodeStringUTF8(type, pStr0, pStrSize0);
|
||||
pStr0[pStrOffset0] = 0;
|
||||
}
|
||||
byte ret = SetDragDropPayloadNative(pStr0, data, sz, (ImGuiCond)(0));
|
||||
if (pStrSize0 >= Utils.MaxStackallocSize)
|
||||
{
|
||||
Utils.Free(pStr0);
|
||||
}
|
||||
return ret != 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -5022,5 +4896,140 @@ namespace Dalamud.Bindings.ImGui
|
|||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public static Vector2 CalcTextSize(ReadOnlySpan<byte> text, byte* textEnd, bool hideTextAfterDoubleHash, float wrapWidth)
|
||||
{
|
||||
fixed (byte* ptext = text)
|
||||
{
|
||||
Vector2 ret;
|
||||
CalcTextSizeNative(&ret, (byte*)ptext, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public static Vector2 CalcTextSize(string text)
|
||||
{
|
||||
byte* pStr0 = null;
|
||||
int pStrSize0 = 0;
|
||||
if (text != null)
|
||||
{
|
||||
pStrSize0 = Utils.GetByteCountUTF8(text);
|
||||
if (pStrSize0 >= Utils.MaxStackallocSize)
|
||||
{
|
||||
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
|
||||
pStr0 = pStrStack0;
|
||||
}
|
||||
int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
|
||||
pStr0[pStrOffset0] = 0;
|
||||
}
|
||||
Vector2 ret;
|
||||
CalcTextSizeNative(&ret, pStr0, (byte*)(default), (byte)(0), (float)(-1.0f));
|
||||
if (pStrSize0 >= Utils.MaxStackallocSize)
|
||||
{
|
||||
Utils.Free(pStr0);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public static Vector2 CalcTextSize(string text, byte* textEnd)
|
||||
{
|
||||
byte* pStr0 = null;
|
||||
int pStrSize0 = 0;
|
||||
if (text != null)
|
||||
{
|
||||
pStrSize0 = Utils.GetByteCountUTF8(text);
|
||||
if (pStrSize0 >= Utils.MaxStackallocSize)
|
||||
{
|
||||
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
|
||||
pStr0 = pStrStack0;
|
||||
}
|
||||
int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
|
||||
pStr0[pStrOffset0] = 0;
|
||||
}
|
||||
Vector2 ret;
|
||||
CalcTextSizeNative(&ret, pStr0, textEnd, (byte)(0), (float)(-1.0f));
|
||||
if (pStrSize0 >= Utils.MaxStackallocSize)
|
||||
{
|
||||
Utils.Free(pStr0);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public static void CalcTextSize(Vector2* pOut, string text)
|
||||
{
|
||||
byte* pStr0 = null;
|
||||
int pStrSize0 = 0;
|
||||
if (text != null)
|
||||
{
|
||||
pStrSize0 = Utils.GetByteCountUTF8(text);
|
||||
if (pStrSize0 >= Utils.MaxStackallocSize)
|
||||
{
|
||||
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
|
||||
pStr0 = pStrStack0;
|
||||
}
|
||||
int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
|
||||
pStr0[pStrOffset0] = 0;
|
||||
}
|
||||
CalcTextSizeNative(pOut, pStr0, (byte*)(default), (byte)(0), (float)(-1.0f));
|
||||
if (pStrSize0 >= Utils.MaxStackallocSize)
|
||||
{
|
||||
Utils.Free(pStr0);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public static Vector2 CalcTextSize(string text, bool hideTextAfterDoubleHash)
|
||||
{
|
||||
byte* pStr0 = null;
|
||||
int pStrSize0 = 0;
|
||||
if (text != null)
|
||||
{
|
||||
pStrSize0 = Utils.GetByteCountUTF8(text);
|
||||
if (pStrSize0 >= Utils.MaxStackallocSize)
|
||||
{
|
||||
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
|
||||
pStr0 = pStrStack0;
|
||||
}
|
||||
int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
|
||||
pStr0[pStrOffset0] = 0;
|
||||
}
|
||||
Vector2 ret;
|
||||
CalcTextSizeNative(&ret, pStr0, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f));
|
||||
if (pStrSize0 >= Utils.MaxStackallocSize)
|
||||
{
|
||||
Utils.Free(pStr0);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -18,141 +18,6 @@ namespace Dalamud.Bindings.ImGui
|
|||
public unsafe partial class ImGui
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public static Vector2 CalcTextSize(ReadOnlySpan<byte> text, byte* textEnd, bool hideTextAfterDoubleHash, float wrapWidth)
|
||||
{
|
||||
fixed (byte* ptext = text)
|
||||
{
|
||||
Vector2 ret;
|
||||
CalcTextSizeNative(&ret, (byte*)ptext, textEnd, hideTextAfterDoubleHash ? (byte)1 : (byte)0, wrapWidth);
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public static Vector2 CalcTextSize(string text)
|
||||
{
|
||||
byte* pStr0 = null;
|
||||
int pStrSize0 = 0;
|
||||
if (text != null)
|
||||
{
|
||||
pStrSize0 = Utils.GetByteCountUTF8(text);
|
||||
if (pStrSize0 >= Utils.MaxStackallocSize)
|
||||
{
|
||||
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
|
||||
pStr0 = pStrStack0;
|
||||
}
|
||||
int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
|
||||
pStr0[pStrOffset0] = 0;
|
||||
}
|
||||
Vector2 ret;
|
||||
CalcTextSizeNative(&ret, pStr0, (byte*)(default), (byte)(0), (float)(-1.0f));
|
||||
if (pStrSize0 >= Utils.MaxStackallocSize)
|
||||
{
|
||||
Utils.Free(pStr0);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public static Vector2 CalcTextSize(string text, byte* textEnd)
|
||||
{
|
||||
byte* pStr0 = null;
|
||||
int pStrSize0 = 0;
|
||||
if (text != null)
|
||||
{
|
||||
pStrSize0 = Utils.GetByteCountUTF8(text);
|
||||
if (pStrSize0 >= Utils.MaxStackallocSize)
|
||||
{
|
||||
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
|
||||
pStr0 = pStrStack0;
|
||||
}
|
||||
int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
|
||||
pStr0[pStrOffset0] = 0;
|
||||
}
|
||||
Vector2 ret;
|
||||
CalcTextSizeNative(&ret, pStr0, textEnd, (byte)(0), (float)(-1.0f));
|
||||
if (pStrSize0 >= Utils.MaxStackallocSize)
|
||||
{
|
||||
Utils.Free(pStr0);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public static void CalcTextSize(Vector2* pOut, string text)
|
||||
{
|
||||
byte* pStr0 = null;
|
||||
int pStrSize0 = 0;
|
||||
if (text != null)
|
||||
{
|
||||
pStrSize0 = Utils.GetByteCountUTF8(text);
|
||||
if (pStrSize0 >= Utils.MaxStackallocSize)
|
||||
{
|
||||
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
|
||||
pStr0 = pStrStack0;
|
||||
}
|
||||
int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
|
||||
pStr0[pStrOffset0] = 0;
|
||||
}
|
||||
CalcTextSizeNative(pOut, pStr0, (byte*)(default), (byte)(0), (float)(-1.0f));
|
||||
if (pStrSize0 >= Utils.MaxStackallocSize)
|
||||
{
|
||||
Utils.Free(pStr0);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public static Vector2 CalcTextSize(string text, bool hideTextAfterDoubleHash)
|
||||
{
|
||||
byte* pStr0 = null;
|
||||
int pStrSize0 = 0;
|
||||
if (text != null)
|
||||
{
|
||||
pStrSize0 = Utils.GetByteCountUTF8(text);
|
||||
if (pStrSize0 >= Utils.MaxStackallocSize)
|
||||
{
|
||||
pStr0 = Utils.Alloc<byte>(pStrSize0 + 1);
|
||||
}
|
||||
else
|
||||
{
|
||||
byte* pStrStack0 = stackalloc byte[pStrSize0 + 1];
|
||||
pStr0 = pStrStack0;
|
||||
}
|
||||
int pStrOffset0 = Utils.EncodeStringUTF8(text, pStr0, pStrSize0);
|
||||
pStr0[pStrOffset0] = 0;
|
||||
}
|
||||
Vector2 ret;
|
||||
CalcTextSizeNative(&ret, pStr0, (byte*)(default), hideTextAfterDoubleHash ? (byte)1 : (byte)0, (float)(-1.0f));
|
||||
if (pStrSize0 >= Utils.MaxStackallocSize)
|
||||
{
|
||||
Utils.Free(pStr0);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -5028,5 +4893,133 @@ namespace Dalamud.Bindings.ImGui
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
internal static byte IsKeyDownNative(ImGuiKey key)
|
||||
{
|
||||
#if NET5_0_OR_GREATER
|
||||
return ((delegate* unmanaged[Cdecl]<ImGuiKey, byte>)funcTable[354])(key);
|
||||
#else
|
||||
return (byte)((delegate* unmanaged[Cdecl]<ImGuiKey, byte>)funcTable[354])(key);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public static bool IsKeyDown(ImGuiKey key)
|
||||
{
|
||||
byte ret = IsKeyDownNative(key);
|
||||
return ret != 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
internal static byte IsKeyPressedNative(ImGuiKey key, byte repeat)
|
||||
{
|
||||
#if NET5_0_OR_GREATER
|
||||
return ((delegate* unmanaged[Cdecl]<ImGuiKey, byte, byte>)funcTable[355])(key, repeat);
|
||||
#else
|
||||
return (byte)((delegate* unmanaged[Cdecl]<ImGuiKey, byte, byte>)funcTable[355])(key, repeat);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public static bool IsKeyPressed(ImGuiKey key, bool repeat)
|
||||
{
|
||||
byte ret = IsKeyPressedNative(key, repeat ? (byte)1 : (byte)0);
|
||||
return ret != 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public static bool IsKeyPressed(ImGuiKey key)
|
||||
{
|
||||
byte ret = IsKeyPressedNative(key, (byte)(1));
|
||||
return ret != 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
internal static byte IsKeyReleasedNative(ImGuiKey key)
|
||||
{
|
||||
#if NET5_0_OR_GREATER
|
||||
return ((delegate* unmanaged[Cdecl]<ImGuiKey, byte>)funcTable[356])(key);
|
||||
#else
|
||||
return (byte)((delegate* unmanaged[Cdecl]<ImGuiKey, byte>)funcTable[356])(key);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public static bool IsKeyReleased(ImGuiKey key)
|
||||
{
|
||||
byte ret = IsKeyReleasedNative(key);
|
||||
return ret != 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
internal static int GetKeyPressedAmountNative(ImGuiKey key, float repeatDelay, float rate)
|
||||
{
|
||||
#if NET5_0_OR_GREATER
|
||||
return ((delegate* unmanaged[Cdecl]<ImGuiKey, float, float, int>)funcTable[357])(key, repeatDelay, rate);
|
||||
#else
|
||||
return (int)((delegate* unmanaged[Cdecl]<ImGuiKey, float, float, int>)funcTable[357])(key, repeatDelay, rate);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public static int GetKeyPressedAmount(ImGuiKey key, float repeatDelay, float rate)
|
||||
{
|
||||
int ret = GetKeyPressedAmountNative(key, repeatDelay, rate);
|
||||
return ret;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[MethodImpl(MethodImplOptions.AggressiveInlining)]
|
||||
internal static byte* GetKeyNameNative(ImGuiKey key)
|
||||
{
|
||||
#if NET5_0_OR_GREATER
|
||||
return ((delegate* unmanaged[Cdecl]<ImGuiKey, byte*>)funcTable[358])(key);
|
||||
#else
|
||||
return (byte*)((delegate* unmanaged[Cdecl]<ImGuiKey, nint>)funcTable[358])(key);
|
||||
#endif
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public static byte* GetKeyName(ImGuiKey key)
|
||||
{
|
||||
byte* ret = GetKeyNameNative(key);
|
||||
return ret;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public static string GetKeyNameS(ImGuiKey key)
|
||||
{
|
||||
string ret = Utils.DecodeStringUTF8(GetKeyNameNative(key));
|
||||
return ret;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -17,8 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Helper: ImBitVector<br/>
|
||||
/// Store 1-bit per value.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImBitVector
|
||||
|
|
|
|||
|
|
@ -17,18 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Helpers: ImVec2ImVec4 operators<br/>
|
||||
/// - It is important that we are keeping those disabled by default so they don't leak in user space.<br/>
|
||||
/// - This is in order to allow user enabling implicit cast operators between ImVec2ImVec4 and their own types (using IM_VEC2_CLASS_EXTRA in imconfig.h)<br/>
|
||||
/// - Add '#define IMGUI_DEFINE_MATH_OPERATORS' before including this file (or in imconfig.h) to access courtesy maths operators for ImVec2 and ImVec4.<br/>
|
||||
/// - We intentionally provide ImVec2*float but not float*ImVec2: this is rare enough and we want to reduce the surface for possible user mistake.<br/>
|
||||
/// Helpers macros to generate 32-bit encoded colors<br/>
|
||||
/// - User can declare their own format by #defining the 5 _SHIFT_MASK macros in their imconfig file.<br/>
|
||||
/// - Any setting other than the default will need custom backend support. The only standard backend that supports anything else than the default is DirectX9.<br/>
|
||||
/// Helper: ImColor() implicitly converts colors to either ImU32 (packed 4x1 byte) or ImVec4 (4x1 float)<br/>
|
||||
/// Prefer using IM_COL32() macros if you want a guaranteed compile-time ImU32 for usage with ImDrawList API.<br/>
|
||||
/// **Avoid storing ImColor! Store either u32 of ImVec4. This is not a full-featured color class. MAY OBSOLETE.<br/>
|
||||
/// **None of the ImGui API are using ImColor directly but you can use it as a convenience to pass colors in either ImU32 or ImVec4 formats. Explicitly cast to ImU32 or ImVec4 if needed.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImColor
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// [Internal] For use by ImDrawListSplitter<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImDrawChannel
|
||||
|
|
|
|||
|
|
@ -17,11 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Typically, 1 command = 1 GPU draw call (unless command is a callback)<br/>
|
||||
/// - VtxOffset: When 'io.BackendFlags & ImGuiBackendFlags_RendererHasVtxOffset' is enabled,<br/>
|
||||
/// this fields allow us to render meshes larger than 64K vertices while keeping 16-bit indices.<br/>
|
||||
/// Backends made for <1.71. will typically ignore the VtxOffset fields.<br/>
|
||||
/// - The ClipRectTextureIdVtxOffset fields must be contiguous as we memcmp() them together (this is asserted for).<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImDrawCmd
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// [Internal] For use by ImDrawList<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImDrawCmdHeader
|
||||
|
|
|
|||
|
|
@ -17,9 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// All draw data to render a Dear ImGui frame<br/>
|
||||
/// (NB: the style and the naming convention here is a little inconsistent, we currently preserve them for backward compatibility purpose,<br/>
|
||||
/// as this is one of the oldest structure exposed by the library! Basically, ImDrawList == CmdList)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImDrawData
|
||||
|
|
|
|||
|
|
@ -17,15 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Draw command list<br/>
|
||||
/// This is the low-level list of polygons that ImGui:: functions are filling. At the end of the frame,<br/>
|
||||
/// all command lists are passed to your ImGuiIO::RenderDrawListFn function for rendering.<br/>
|
||||
/// Each dear imgui window contains its own ImDrawList. You can use ImGui::GetWindowDrawList() to<br/>
|
||||
/// access the current window draw list and draw custom primitives.<br/>
|
||||
/// You can interleave normal ImGui:: calls and adding primitives to the current draw list.<br/>
|
||||
/// In single viewport mode, top-left is == GetMainViewport()->Pos (generally 0,0), bottom-right is == GetMainViewport()->Pos+Size (generally io.DisplaySize).<br/>
|
||||
/// You are totally free to apply whatever transformation matrix you want to the data (depending on the use of the transformation you may want to apply it to ClipRect as well!)<br/>
|
||||
/// Important: Primitives are always added to the list and not culled (culling is done at higher-level by ImGui:: functions), if you use this API a lot consider coarse culling your drawn objects.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImDrawList
|
||||
|
|
@ -14423,9 +14415,9 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe ImDrawList* CloneOutput()
|
||||
public unsafe ImDrawListPtr CloneOutput()
|
||||
{
|
||||
ImDrawList* ret = ImGui.CloneOutputNative(Handle);
|
||||
ImDrawListPtr ret = ImGui.CloneOutputNative(Handle);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -17,10 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Data shared between all ImDrawList instances<br/>
|
||||
/// Conceptually this could have been called e.g. ImDrawListSharedContext<br/>
|
||||
/// Typically one ImGui context would create and maintain one of this.<br/>
|
||||
/// You may want to create your own instance of you try to ImDrawList completely without ImGui. In that case, watch out for future changes to this structure.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImDrawListSharedData
|
||||
|
|
|
|||
|
|
@ -17,8 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// SplitMerge functions are used to split the draw list into different layers which can be drawn into out of order.<br/>
|
||||
/// This is used by the ColumnsTables API, so items of each column can be batched together in a same draw call.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImDrawListSplitter
|
||||
|
|
|
|||
|
|
@ -17,8 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Font runtime data and rendering<br/>
|
||||
/// ImFontAtlas automatically loads a default embedded font for you when you call GetTexDataAsAlpha8() or GetTexDataAsRGBA32().<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImFont
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// See ImFontAtlas::AddCustomRectXXX functions.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImFontAtlasCustomRect
|
||||
|
|
@ -42,21 +42,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// </summary>
|
||||
public ushort Y;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public uint Reserved;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public uint TextureIndex;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public uint GlyphID;
|
||||
|
||||
public uint RawBits0;
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -91,6 +77,12 @@ namespace Dalamud.Bindings.ImGui
|
|||
}
|
||||
|
||||
|
||||
public uint Reserved { get => Bitfield.Get(RawBits0, 0, 2); set => Bitfield.Set(ref RawBits0, value, 0, 2); }
|
||||
|
||||
public uint TextureIndex { get => Bitfield.Get(RawBits0, 2, 9); set => Bitfield.Set(ref RawBits0, value, 2, 9); }
|
||||
|
||||
public uint GlyphID { get => Bitfield.Get(RawBits0, 11, 21); set => Bitfield.Set(ref RawBits0, value, 11, 21); }
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -176,15 +168,15 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref uint Reserved => ref Unsafe.AsRef<uint>(&Handle->Reserved);
|
||||
public uint Reserved { get => Handle->Reserved; set => Handle->Reserved = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref uint TextureIndex => ref Unsafe.AsRef<uint>(&Handle->TextureIndex);
|
||||
public uint TextureIndex { get => Handle->TextureIndex; set => Handle->TextureIndex = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref uint GlyphID => ref Unsafe.AsRef<uint>(&Handle->GlyphID);
|
||||
public uint GlyphID { get => Handle->GlyphID; set => Handle->GlyphID = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -17,8 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// This structure is likely to evolve as we add support for incremental atlas updates.<br/>
|
||||
/// Conceptually this could be in ImGuiPlatformIO, but we are far from ready to make this public.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImFontBuilderIO
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// A font inputsource (we may rename this to ImFontSource in the future)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImFontConfig
|
||||
|
|
|
|||
|
|
@ -17,32 +17,12 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Hold rendering data for one glyph.<br/>
|
||||
/// (Note: some language parsers may fail to convert the 31+1 bitfield members, in this case maybe drop store a single u32 or we can rework this)<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImFontGlyph
|
||||
{
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public uint Colored;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public uint Visible;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public uint TextureIndex;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public uint Codepoint;
|
||||
|
||||
public uint RawBits0;
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -110,6 +90,14 @@ namespace Dalamud.Bindings.ImGui
|
|||
}
|
||||
|
||||
|
||||
public uint Colored { get => Bitfield.Get(RawBits0, 0, 1); set => Bitfield.Set(ref RawBits0, value, 0, 1); }
|
||||
|
||||
public uint Visible { get => Bitfield.Get(RawBits0, 1, 1); set => Bitfield.Set(ref RawBits0, value, 1, 1); }
|
||||
|
||||
public uint TextureIndex { get => Bitfield.Get(RawBits0, 2, 9); set => Bitfield.Set(ref RawBits0, value, 2, 9); }
|
||||
|
||||
public uint Codepoint { get => Bitfield.Get(RawBits0, 11, 21); set => Bitfield.Set(ref RawBits0, value, 11, 21); }
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -156,19 +144,19 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref uint Colored => ref Unsafe.AsRef<uint>(&Handle->Colored);
|
||||
public uint Colored { get => Handle->Colored; set => Handle->Colored = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref uint Visible => ref Unsafe.AsRef<uint>(&Handle->Visible);
|
||||
public uint Visible { get => Handle->Visible; set => Handle->Visible = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref uint TextureIndex => ref Unsafe.AsRef<uint>(&Handle->TextureIndex);
|
||||
public uint TextureIndex { get => Handle->TextureIndex; set => Handle->TextureIndex = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref uint Codepoint => ref Unsafe.AsRef<uint>(&Handle->Codepoint);
|
||||
public uint Codepoint { get => Handle->Codepoint; set => Handle->Codepoint = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -32,21 +32,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// </summary>
|
||||
public float OccupiedWidth;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public uint KerningPairUseBisect;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public uint KerningPairOffset;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public uint KerningPairCount;
|
||||
|
||||
public uint RawBits0;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
|
|
@ -61,6 +47,12 @@ namespace Dalamud.Bindings.ImGui
|
|||
}
|
||||
|
||||
|
||||
public uint KerningPairUseBisect { get => Bitfield.Get(RawBits0, 0, 1); set => Bitfield.Set(ref RawBits0, value, 0, 1); }
|
||||
|
||||
public uint KerningPairOffset { get => Bitfield.Get(RawBits0, 1, 19); set => Bitfield.Set(ref RawBits0, value, 1, 19); }
|
||||
|
||||
public uint KerningPairCount { get => Bitfield.Get(RawBits0, 20, 12); set => Bitfield.Set(ref RawBits0, value, 20, 12); }
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -115,15 +107,15 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref uint KerningPairUseBisect => ref Unsafe.AsRef<uint>(&Handle->KerningPairUseBisect);
|
||||
public uint KerningPairUseBisect { get => Handle->KerningPairUseBisect; set => Handle->KerningPairUseBisect = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref uint KerningPairOffset => ref Unsafe.AsRef<uint>(&Handle->KerningPairOffset);
|
||||
public uint KerningPairOffset { get => Handle->KerningPairOffset; set => Handle->KerningPairOffset = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref uint KerningPairCount => ref Unsafe.AsRef<uint>(&Handle->KerningPairCount);
|
||||
public uint KerningPairCount { get => Handle->KerningPairCount; set => Handle->KerningPairCount = value; }
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,8 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Helper to build glyph ranges from textstring data. Feed your application stringscharacters to it then call BuildRanges().<br/>
|
||||
/// This is essentially a tightly packed of vector of 64k booleans = 8KB storage.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImFontGlyphRangesBuilder
|
||||
|
|
@ -60,20 +59,6 @@ namespace Dalamud.Bindings.ImGui
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe void AddRanges(ref ushort ranges)
|
||||
{
|
||||
fixed (ImFontGlyphRangesBuilder* @this = &this)
|
||||
{
|
||||
fixed (ushort* pranges = &ranges)
|
||||
{
|
||||
ImGui.AddRangesNative(@this, (ushort*)pranges);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -584,18 +569,6 @@ namespace Dalamud.Bindings.ImGui
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe bool GetBit(ulong n)
|
||||
{
|
||||
fixed (ImFontGlyphRangesBuilder* @this = &this)
|
||||
{
|
||||
byte ret = ImGui.GetBitNative(@this, n);
|
||||
return ret != 0;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -608,17 +581,6 @@ namespace Dalamud.Bindings.ImGui
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe void SetBit(ulong n)
|
||||
{
|
||||
fixed (ImFontGlyphRangesBuilder* @this = &this)
|
||||
{
|
||||
ImGui.SetBitNative(@this, n);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -693,17 +655,6 @@ namespace Dalamud.Bindings.ImGui
|
|||
ImGui.AddRangesNative(Handle, ranges);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe void AddRanges(ref ushort ranges)
|
||||
{
|
||||
fixed (ushort* pranges = &ranges)
|
||||
{
|
||||
ImGui.AddRangesNative(Handle, (ushort*)pranges);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -1142,15 +1093,6 @@ namespace Dalamud.Bindings.ImGui
|
|||
ImGui.DestroyNative(Handle);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe bool GetBit(ulong n)
|
||||
{
|
||||
byte ret = ImGui.GetBitNative(Handle, n);
|
||||
return ret != 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -1160,14 +1102,6 @@ namespace Dalamud.Bindings.ImGui
|
|||
return ret != 0;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe void SetBit(ulong n)
|
||||
{
|
||||
ImGui.SetBitNative(Handle, n);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Stacked color modifier, backup of modified data so we can restore it<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiColorMod
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Storage data for BeginComboPreview()EndComboPreview()<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiComboPreviewData
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Type information associated to one ImGuiDataType. Retrieve with DataTypeGetInfo().<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiDataTypeInfo
|
||||
|
|
@ -25,7 +25,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ulong Size;
|
||||
public nuint Size;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
|
|
@ -46,7 +46,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe ImGuiDataTypeInfo(ulong size = default, byte* name = default, byte* printFmt = default, byte* scanFmt = default)
|
||||
public unsafe ImGuiDataTypeInfo(nuint size = default, byte* name = default, byte* printFmt = default, byte* scanFmt = default)
|
||||
{
|
||||
Size = size;
|
||||
Name = name;
|
||||
|
|
@ -101,7 +101,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref ulong Size => ref Unsafe.AsRef<ulong>(&Handle->Size);
|
||||
public ref nuint Size => ref Unsafe.AsRef<nuint>(&Handle->Size);
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// sizeof() 156~192<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiDockNode
|
||||
|
|
@ -158,76 +158,9 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// </summary>
|
||||
public uint WantCloseTabId;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ImGuiDataAuthority AuthorityForPos;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ImGuiDataAuthority AuthorityForSize;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ImGuiDataAuthority AuthorityForViewport;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte IsVisible;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte IsFocused;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte IsBgDrawnThisFrame;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte HasCloseButton;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte HasWindowMenuButton;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte HasCentralNodeChild;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte WantCloseAll;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte WantLockSizeOnce;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte WantMouseMove;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte WantHiddenTabBarUpdate;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte WantHiddenTabBarToggle;
|
||||
|
||||
public ImGuiDataAuthority RawBits0;
|
||||
public bool RawBits1;
|
||||
public bool RawBits2;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
|
|
@ -268,17 +201,17 @@ namespace Dalamud.Bindings.ImGui
|
|||
AuthorityForPos = authorityForPos;
|
||||
AuthorityForSize = authorityForSize;
|
||||
AuthorityForViewport = authorityForViewport;
|
||||
IsVisible = isVisible ? (byte)1 : (byte)0;
|
||||
IsFocused = isFocused ? (byte)1 : (byte)0;
|
||||
IsBgDrawnThisFrame = isBgDrawnThisFrame ? (byte)1 : (byte)0;
|
||||
HasCloseButton = hasCloseButton ? (byte)1 : (byte)0;
|
||||
HasWindowMenuButton = hasWindowMenuButton ? (byte)1 : (byte)0;
|
||||
HasCentralNodeChild = hasCentralNodeChild ? (byte)1 : (byte)0;
|
||||
WantCloseAll = wantCloseAll ? (byte)1 : (byte)0;
|
||||
WantLockSizeOnce = wantLockSizeOnce ? (byte)1 : (byte)0;
|
||||
WantMouseMove = wantMouseMove ? (byte)1 : (byte)0;
|
||||
WantHiddenTabBarUpdate = wantHiddenTabBarUpdate ? (byte)1 : (byte)0;
|
||||
WantHiddenTabBarToggle = wantHiddenTabBarToggle ? (byte)1 : (byte)0;
|
||||
IsVisible = isVisible;
|
||||
IsFocused = isFocused;
|
||||
IsBgDrawnThisFrame = isBgDrawnThisFrame;
|
||||
HasCloseButton = hasCloseButton;
|
||||
HasWindowMenuButton = hasWindowMenuButton;
|
||||
HasCentralNodeChild = hasCentralNodeChild;
|
||||
WantCloseAll = wantCloseAll;
|
||||
WantLockSizeOnce = wantLockSizeOnce;
|
||||
WantMouseMove = wantMouseMove;
|
||||
WantHiddenTabBarUpdate = wantHiddenTabBarUpdate;
|
||||
WantHiddenTabBarToggle = wantHiddenTabBarToggle;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -320,20 +253,48 @@ namespace Dalamud.Bindings.ImGui
|
|||
AuthorityForPos = authorityForPos;
|
||||
AuthorityForSize = authorityForSize;
|
||||
AuthorityForViewport = authorityForViewport;
|
||||
IsVisible = isVisible ? (byte)1 : (byte)0;
|
||||
IsFocused = isFocused ? (byte)1 : (byte)0;
|
||||
IsBgDrawnThisFrame = isBgDrawnThisFrame ? (byte)1 : (byte)0;
|
||||
HasCloseButton = hasCloseButton ? (byte)1 : (byte)0;
|
||||
HasWindowMenuButton = hasWindowMenuButton ? (byte)1 : (byte)0;
|
||||
HasCentralNodeChild = hasCentralNodeChild ? (byte)1 : (byte)0;
|
||||
WantCloseAll = wantCloseAll ? (byte)1 : (byte)0;
|
||||
WantLockSizeOnce = wantLockSizeOnce ? (byte)1 : (byte)0;
|
||||
WantMouseMove = wantMouseMove ? (byte)1 : (byte)0;
|
||||
WantHiddenTabBarUpdate = wantHiddenTabBarUpdate ? (byte)1 : (byte)0;
|
||||
WantHiddenTabBarToggle = wantHiddenTabBarToggle ? (byte)1 : (byte)0;
|
||||
IsVisible = isVisible;
|
||||
IsFocused = isFocused;
|
||||
IsBgDrawnThisFrame = isBgDrawnThisFrame;
|
||||
HasCloseButton = hasCloseButton;
|
||||
HasWindowMenuButton = hasWindowMenuButton;
|
||||
HasCentralNodeChild = hasCentralNodeChild;
|
||||
WantCloseAll = wantCloseAll;
|
||||
WantLockSizeOnce = wantLockSizeOnce;
|
||||
WantMouseMove = wantMouseMove;
|
||||
WantHiddenTabBarUpdate = wantHiddenTabBarUpdate;
|
||||
WantHiddenTabBarToggle = wantHiddenTabBarToggle;
|
||||
}
|
||||
|
||||
|
||||
public ImGuiDataAuthority AuthorityForPos { get => Bitfield.Get(RawBits0, 0, 3); set => Bitfield.Set(ref RawBits0, value, 0, 3); }
|
||||
|
||||
public ImGuiDataAuthority AuthorityForSize { get => Bitfield.Get(RawBits0, 3, 3); set => Bitfield.Set(ref RawBits0, value, 3, 3); }
|
||||
|
||||
public ImGuiDataAuthority AuthorityForViewport { get => Bitfield.Get(RawBits0, 6, 3); set => Bitfield.Set(ref RawBits0, value, 6, 3); }
|
||||
|
||||
public bool IsVisible { get => Bitfield.Get(RawBits1, 0, 1); set => Bitfield.Set(ref RawBits1, value, 0, 1); }
|
||||
|
||||
public bool IsFocused { get => Bitfield.Get(RawBits1, 1, 1); set => Bitfield.Set(ref RawBits1, value, 1, 1); }
|
||||
|
||||
public bool IsBgDrawnThisFrame { get => Bitfield.Get(RawBits1, 2, 1); set => Bitfield.Set(ref RawBits1, value, 2, 1); }
|
||||
|
||||
public bool HasCloseButton { get => Bitfield.Get(RawBits1, 3, 1); set => Bitfield.Set(ref RawBits1, value, 3, 1); }
|
||||
|
||||
public bool HasWindowMenuButton { get => Bitfield.Get(RawBits1, 4, 1); set => Bitfield.Set(ref RawBits1, value, 4, 1); }
|
||||
|
||||
public bool HasCentralNodeChild { get => Bitfield.Get(RawBits1, 5, 1); set => Bitfield.Set(ref RawBits1, value, 5, 1); }
|
||||
|
||||
public bool WantCloseAll { get => Bitfield.Get(RawBits1, 6, 1); set => Bitfield.Set(ref RawBits1, value, 6, 1); }
|
||||
|
||||
public bool WantLockSizeOnce { get => Bitfield.Get(RawBits1, 7, 1); set => Bitfield.Set(ref RawBits1, value, 7, 1); }
|
||||
|
||||
public bool WantMouseMove { get => Bitfield.Get(RawBits2, 0, 1); set => Bitfield.Set(ref RawBits2, value, 0, 1); }
|
||||
|
||||
public bool WantHiddenTabBarUpdate { get => Bitfield.Get(RawBits2, 1, 1); set => Bitfield.Set(ref RawBits2, value, 1, 1); }
|
||||
|
||||
public bool WantHiddenTabBarToggle { get => Bitfield.Get(RawBits2, 2, 1); set => Bitfield.Set(ref RawBits2, value, 2, 1); }
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
@ -501,59 +462,59 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref ImGuiDataAuthority AuthorityForPos => ref Unsafe.AsRef<ImGuiDataAuthority>(&Handle->AuthorityForPos);
|
||||
public ImGuiDataAuthority AuthorityForPos { get => Handle->AuthorityForPos; set => Handle->AuthorityForPos = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref ImGuiDataAuthority AuthorityForSize => ref Unsafe.AsRef<ImGuiDataAuthority>(&Handle->AuthorityForSize);
|
||||
public ImGuiDataAuthority AuthorityForSize { get => Handle->AuthorityForSize; set => Handle->AuthorityForSize = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref ImGuiDataAuthority AuthorityForViewport => ref Unsafe.AsRef<ImGuiDataAuthority>(&Handle->AuthorityForViewport);
|
||||
public ImGuiDataAuthority AuthorityForViewport { get => Handle->AuthorityForViewport; set => Handle->AuthorityForViewport = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref bool IsVisible => ref Unsafe.AsRef<bool>(&Handle->IsVisible);
|
||||
public bool IsVisible { get => Handle->IsVisible; set => Handle->IsVisible = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref bool IsFocused => ref Unsafe.AsRef<bool>(&Handle->IsFocused);
|
||||
public bool IsFocused { get => Handle->IsFocused; set => Handle->IsFocused = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref bool IsBgDrawnThisFrame => ref Unsafe.AsRef<bool>(&Handle->IsBgDrawnThisFrame);
|
||||
public bool IsBgDrawnThisFrame { get => Handle->IsBgDrawnThisFrame; set => Handle->IsBgDrawnThisFrame = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref bool HasCloseButton => ref Unsafe.AsRef<bool>(&Handle->HasCloseButton);
|
||||
public bool HasCloseButton { get => Handle->HasCloseButton; set => Handle->HasCloseButton = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref bool HasWindowMenuButton => ref Unsafe.AsRef<bool>(&Handle->HasWindowMenuButton);
|
||||
public bool HasWindowMenuButton { get => Handle->HasWindowMenuButton; set => Handle->HasWindowMenuButton = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref bool HasCentralNodeChild => ref Unsafe.AsRef<bool>(&Handle->HasCentralNodeChild);
|
||||
public bool HasCentralNodeChild { get => Handle->HasCentralNodeChild; set => Handle->HasCentralNodeChild = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref bool WantCloseAll => ref Unsafe.AsRef<bool>(&Handle->WantCloseAll);
|
||||
public bool WantCloseAll { get => Handle->WantCloseAll; set => Handle->WantCloseAll = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref bool WantLockSizeOnce => ref Unsafe.AsRef<bool>(&Handle->WantLockSizeOnce);
|
||||
public bool WantLockSizeOnce { get => Handle->WantLockSizeOnce; set => Handle->WantLockSizeOnce = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref bool WantMouseMove => ref Unsafe.AsRef<bool>(&Handle->WantMouseMove);
|
||||
public bool WantMouseMove { get => Handle->WantMouseMove; set => Handle->WantMouseMove = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref bool WantHiddenTabBarUpdate => ref Unsafe.AsRef<bool>(&Handle->WantHiddenTabBarUpdate);
|
||||
public bool WantHiddenTabBarUpdate { get => Handle->WantHiddenTabBarUpdate; set => Handle->WantHiddenTabBarUpdate = value; }
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref bool WantHiddenTabBarToggle => ref Unsafe.AsRef<bool>(&Handle->WantHiddenTabBarToggle);
|
||||
public bool WantHiddenTabBarToggle { get => Handle->WantHiddenTabBarToggle; set => Handle->WantHiddenTabBarToggle = value; }
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Stacked storage data for BeginGroup()EndGroup()<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiGroupData
|
||||
|
|
|
|||
|
|
@ -2533,7 +2533,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte BackendUsingLegacyKeyArrays;
|
||||
public sbyte BackendUsingLegacyKeyArrays;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
|
|
@ -2554,7 +2554,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe ImGuiIO(ImGuiConfigFlags configFlags = default, ImGuiBackendFlags backendFlags = default, Vector2 displaySize = default, float deltaTime = default, float iniSavingRate = default, byte* iniFilename = default, byte* logFilename = default, float mouseDoubleClickTime = default, float mouseDoubleClickMaxDist = default, float mouseDragThreshold = default, float keyRepeatDelay = default, float keyRepeatRate = default, void* userData = default, ImFontAtlasPtr fonts = default, float fontGlobalScale = default, bool fontAllowUserScaling = default, ImFontPtr fontDefault = default, Vector2 displayFramebufferScale = default, bool configDockingNoSplit = default, bool configDockingWithShift = default, bool configDockingAlwaysTabBar = default, bool configDockingTransparentPayload = default, bool configViewportsNoAutoMerge = default, bool configViewportsNoTaskBarIcon = default, bool configViewportsNoDecoration = default, bool configViewportsNoDefaultParent = default, bool mouseDrawCursor = default, bool configMacOsxBehaviors = default, bool configInputTrickleEventQueue = default, bool configInputTextCursorBlink = default, bool configDragClickToInputText = default, bool configWindowsResizeFromEdges = default, bool configWindowsMoveFromTitleBarOnly = default, float configMemoryCompactTimer = default, byte* backendPlatformName = default, byte* backendRendererName = default, void* backendPlatformUserData = default, void* backendRendererUserData = default, void* backendLanguageUserData = default, delegate*<void*, byte*> getClipboardTextFn = default, delegate*<void*, byte*, void> setClipboardTextFn = default, void* clipboardUserData = default, delegate*<ImGuiViewport*, ImGuiPlatformImeData*, void> setPlatformImeDataFn = default, void* unusedPadding = default, bool wantCaptureMouse = default, bool wantCaptureKeyboard = default, bool wantTextInput = default, bool wantSetMousePos = default, bool wantSaveIniSettings = default, bool navActive = default, bool navVisible = default, float framerate = default, int metricsRenderVertices = default, int metricsRenderIndices = default, int metricsRenderWindows = default, int metricsActiveWindows = default, int metricsActiveAllocations = default, Vector2 mouseDelta = default, int* keyMap = default, bool* keysDown = default, Vector2 mousePos = default, bool* mouseDown = default, float mouseWheel = default, float mouseWheelH = default, uint mouseHoveredViewport = default, bool keyCtrl = default, bool keyShift = default, bool keyAlt = default, bool keySuper = default, float* navInputs = default, ImGuiModFlags keyMods = default, ImGuiKeyData* keysData = default, bool wantCaptureMouseUnlessPopupClose = default, Vector2 mousePosPrev = default, Vector2* mouseClickedPos = default, double* mouseClickedTime = default, bool* mouseClicked = default, bool* mouseDoubleClicked = default, ushort* mouseClickedCount = default, ushort* mouseClickedLastCount = default, bool* mouseReleased = default, bool* mouseDownOwned = default, bool* mouseDownOwnedUnlessPopupClose = default, float* mouseDownDuration = default, float* mouseDownDurationPrev = default, Vector2* mouseDragMaxDistanceAbs = default, float* mouseDragMaxDistanceSqr = default, float* navInputsDownDuration = default, float* navInputsDownDurationPrev = default, float penPressure = default, bool appFocusLost = default, bool appAcceptingEvents = default, byte backendUsingLegacyKeyArrays = default, bool backendUsingLegacyNavInputArray = default, ushort inputQueueSurrogate = default, ImVector<ushort> inputQueueCharacters = default)
|
||||
public unsafe ImGuiIO(ImGuiConfigFlags configFlags = default, ImGuiBackendFlags backendFlags = default, Vector2 displaySize = default, float deltaTime = default, float iniSavingRate = default, byte* iniFilename = default, byte* logFilename = default, float mouseDoubleClickTime = default, float mouseDoubleClickMaxDist = default, float mouseDragThreshold = default, float keyRepeatDelay = default, float keyRepeatRate = default, void* userData = default, ImFontAtlasPtr fonts = default, float fontGlobalScale = default, bool fontAllowUserScaling = default, ImFontPtr fontDefault = default, Vector2 displayFramebufferScale = default, bool configDockingNoSplit = default, bool configDockingWithShift = default, bool configDockingAlwaysTabBar = default, bool configDockingTransparentPayload = default, bool configViewportsNoAutoMerge = default, bool configViewportsNoTaskBarIcon = default, bool configViewportsNoDecoration = default, bool configViewportsNoDefaultParent = default, bool mouseDrawCursor = default, bool configMacOsxBehaviors = default, bool configInputTrickleEventQueue = default, bool configInputTextCursorBlink = default, bool configDragClickToInputText = default, bool configWindowsResizeFromEdges = default, bool configWindowsMoveFromTitleBarOnly = default, float configMemoryCompactTimer = default, byte* backendPlatformName = default, byte* backendRendererName = default, void* backendPlatformUserData = default, void* backendRendererUserData = default, void* backendLanguageUserData = default, delegate*<void*, byte*> getClipboardTextFn = default, delegate*<void*, byte*, void> setClipboardTextFn = default, void* clipboardUserData = default, delegate*<ImGuiViewport*, ImGuiPlatformImeData*, void> setPlatformImeDataFn = default, void* unusedPadding = default, bool wantCaptureMouse = default, bool wantCaptureKeyboard = default, bool wantTextInput = default, bool wantSetMousePos = default, bool wantSaveIniSettings = default, bool navActive = default, bool navVisible = default, float framerate = default, int metricsRenderVertices = default, int metricsRenderIndices = default, int metricsRenderWindows = default, int metricsActiveWindows = default, int metricsActiveAllocations = default, Vector2 mouseDelta = default, int* keyMap = default, bool* keysDown = default, Vector2 mousePos = default, bool* mouseDown = default, float mouseWheel = default, float mouseWheelH = default, uint mouseHoveredViewport = default, bool keyCtrl = default, bool keyShift = default, bool keyAlt = default, bool keySuper = default, float* navInputs = default, ImGuiModFlags keyMods = default, ImGuiKeyData* keysData = default, bool wantCaptureMouseUnlessPopupClose = default, Vector2 mousePosPrev = default, Vector2* mouseClickedPos = default, double* mouseClickedTime = default, bool* mouseClicked = default, bool* mouseDoubleClicked = default, ushort* mouseClickedCount = default, ushort* mouseClickedLastCount = default, bool* mouseReleased = default, bool* mouseDownOwned = default, bool* mouseDownOwnedUnlessPopupClose = default, float* mouseDownDuration = default, float* mouseDownDurationPrev = default, Vector2* mouseDragMaxDistanceAbs = default, float* mouseDragMaxDistanceSqr = default, float* navInputsDownDuration = default, float* navInputsDownDurationPrev = default, float penPressure = default, bool appFocusLost = default, bool appAcceptingEvents = default, sbyte backendUsingLegacyKeyArrays = default, bool backendUsingLegacyNavInputArray = default, ushort inputQueueSurrogate = default, ImVector<ushort> inputQueueCharacters = default)
|
||||
{
|
||||
ConfigFlags = configFlags;
|
||||
BackendFlags = backendFlags;
|
||||
|
|
@ -4765,7 +4765,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe ImGuiIO(ImGuiConfigFlags configFlags = default, ImGuiBackendFlags backendFlags = default, Vector2 displaySize = default, float deltaTime = default, float iniSavingRate = default, byte* iniFilename = default, byte* logFilename = default, float mouseDoubleClickTime = default, float mouseDoubleClickMaxDist = default, float mouseDragThreshold = default, float keyRepeatDelay = default, float keyRepeatRate = default, void* userData = default, ImFontAtlasPtr fonts = default, float fontGlobalScale = default, bool fontAllowUserScaling = default, ImFontPtr fontDefault = default, Vector2 displayFramebufferScale = default, bool configDockingNoSplit = default, bool configDockingWithShift = default, bool configDockingAlwaysTabBar = default, bool configDockingTransparentPayload = default, bool configViewportsNoAutoMerge = default, bool configViewportsNoTaskBarIcon = default, bool configViewportsNoDecoration = default, bool configViewportsNoDefaultParent = default, bool mouseDrawCursor = default, bool configMacOsxBehaviors = default, bool configInputTrickleEventQueue = default, bool configInputTextCursorBlink = default, bool configDragClickToInputText = default, bool configWindowsResizeFromEdges = default, bool configWindowsMoveFromTitleBarOnly = default, float configMemoryCompactTimer = default, byte* backendPlatformName = default, byte* backendRendererName = default, void* backendPlatformUserData = default, void* backendRendererUserData = default, void* backendLanguageUserData = default, delegate*<void*, byte*> getClipboardTextFn = default, delegate*<void*, byte*, void> setClipboardTextFn = default, void* clipboardUserData = default, delegate*<ImGuiViewport*, ImGuiPlatformImeData*, void> setPlatformImeDataFn = default, void* unusedPadding = default, bool wantCaptureMouse = default, bool wantCaptureKeyboard = default, bool wantTextInput = default, bool wantSetMousePos = default, bool wantSaveIniSettings = default, bool navActive = default, bool navVisible = default, float framerate = default, int metricsRenderVertices = default, int metricsRenderIndices = default, int metricsRenderWindows = default, int metricsActiveWindows = default, int metricsActiveAllocations = default, Vector2 mouseDelta = default, Span<int> keyMap = default, Span<bool> keysDown = default, Vector2 mousePos = default, Span<bool> mouseDown = default, float mouseWheel = default, float mouseWheelH = default, uint mouseHoveredViewport = default, bool keyCtrl = default, bool keyShift = default, bool keyAlt = default, bool keySuper = default, Span<float> navInputs = default, ImGuiModFlags keyMods = default, Span<ImGuiKeyData> keysData = default, bool wantCaptureMouseUnlessPopupClose = default, Vector2 mousePosPrev = default, Span<Vector2> mouseClickedPos = default, Span<double> mouseClickedTime = default, Span<bool> mouseClicked = default, Span<bool> mouseDoubleClicked = default, Span<ushort> mouseClickedCount = default, Span<ushort> mouseClickedLastCount = default, Span<bool> mouseReleased = default, Span<bool> mouseDownOwned = default, Span<bool> mouseDownOwnedUnlessPopupClose = default, Span<float> mouseDownDuration = default, Span<float> mouseDownDurationPrev = default, Span<Vector2> mouseDragMaxDistanceAbs = default, Span<float> mouseDragMaxDistanceSqr = default, Span<float> navInputsDownDuration = default, Span<float> navInputsDownDurationPrev = default, float penPressure = default, bool appFocusLost = default, bool appAcceptingEvents = default, byte backendUsingLegacyKeyArrays = default, bool backendUsingLegacyNavInputArray = default, ushort inputQueueSurrogate = default, ImVector<ushort> inputQueueCharacters = default)
|
||||
public unsafe ImGuiIO(ImGuiConfigFlags configFlags = default, ImGuiBackendFlags backendFlags = default, Vector2 displaySize = default, float deltaTime = default, float iniSavingRate = default, byte* iniFilename = default, byte* logFilename = default, float mouseDoubleClickTime = default, float mouseDoubleClickMaxDist = default, float mouseDragThreshold = default, float keyRepeatDelay = default, float keyRepeatRate = default, void* userData = default, ImFontAtlasPtr fonts = default, float fontGlobalScale = default, bool fontAllowUserScaling = default, ImFontPtr fontDefault = default, Vector2 displayFramebufferScale = default, bool configDockingNoSplit = default, bool configDockingWithShift = default, bool configDockingAlwaysTabBar = default, bool configDockingTransparentPayload = default, bool configViewportsNoAutoMerge = default, bool configViewportsNoTaskBarIcon = default, bool configViewportsNoDecoration = default, bool configViewportsNoDefaultParent = default, bool mouseDrawCursor = default, bool configMacOsxBehaviors = default, bool configInputTrickleEventQueue = default, bool configInputTextCursorBlink = default, bool configDragClickToInputText = default, bool configWindowsResizeFromEdges = default, bool configWindowsMoveFromTitleBarOnly = default, float configMemoryCompactTimer = default, byte* backendPlatformName = default, byte* backendRendererName = default, void* backendPlatformUserData = default, void* backendRendererUserData = default, void* backendLanguageUserData = default, delegate*<void*, byte*> getClipboardTextFn = default, delegate*<void*, byte*, void> setClipboardTextFn = default, void* clipboardUserData = default, delegate*<ImGuiViewport*, ImGuiPlatformImeData*, void> setPlatformImeDataFn = default, void* unusedPadding = default, bool wantCaptureMouse = default, bool wantCaptureKeyboard = default, bool wantTextInput = default, bool wantSetMousePos = default, bool wantSaveIniSettings = default, bool navActive = default, bool navVisible = default, float framerate = default, int metricsRenderVertices = default, int metricsRenderIndices = default, int metricsRenderWindows = default, int metricsActiveWindows = default, int metricsActiveAllocations = default, Vector2 mouseDelta = default, Span<int> keyMap = default, Span<bool> keysDown = default, Vector2 mousePos = default, Span<bool> mouseDown = default, float mouseWheel = default, float mouseWheelH = default, uint mouseHoveredViewport = default, bool keyCtrl = default, bool keyShift = default, bool keyAlt = default, bool keySuper = default, Span<float> navInputs = default, ImGuiModFlags keyMods = default, Span<ImGuiKeyData> keysData = default, bool wantCaptureMouseUnlessPopupClose = default, Vector2 mousePosPrev = default, Span<Vector2> mouseClickedPos = default, Span<double> mouseClickedTime = default, Span<bool> mouseClicked = default, Span<bool> mouseDoubleClicked = default, Span<ushort> mouseClickedCount = default, Span<ushort> mouseClickedLastCount = default, Span<bool> mouseReleased = default, Span<bool> mouseDownOwned = default, Span<bool> mouseDownOwnedUnlessPopupClose = default, Span<float> mouseDownDuration = default, Span<float> mouseDownDurationPrev = default, Span<Vector2> mouseDragMaxDistanceAbs = default, Span<float> mouseDragMaxDistanceSqr = default, Span<float> navInputsDownDuration = default, Span<float> navInputsDownDurationPrev = default, float penPressure = default, bool appFocusLost = default, bool appAcceptingEvents = default, sbyte backendUsingLegacyKeyArrays = default, bool backendUsingLegacyNavInputArray = default, ushort inputQueueSurrogate = default, ImVector<ushort> inputQueueCharacters = default)
|
||||
{
|
||||
ConfigFlags = configFlags;
|
||||
BackendFlags = backendFlags;
|
||||
|
|
@ -7806,7 +7806,7 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref byte BackendUsingLegacyKeyArrays => ref Unsafe.AsRef<byte>(&Handle->BackendUsingLegacyKeyArrays);
|
||||
public ref sbyte BackendUsingLegacyKeyArrays => ref Unsafe.AsRef<sbyte>(&Handle->BackendUsingLegacyKeyArrays);
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
|
|
|
|||
|
|
@ -17,8 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// FIXME: Structures in the union below need to be declared as anonymous unions appears to be an extension?<br/>
|
||||
/// Using ImVec2() would fail on Clang 'union member 'MousePos' has a non-trivial default constructor'<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiInputEventMousePos
|
||||
|
|
|
|||
|
|
@ -17,15 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Shared state of InputText(), passed as an argument to your callback when a ImGuiInputTextFlags_Callback* flag is used.<br/>
|
||||
/// The callback function should return 0 by default.<br/>
|
||||
/// Callbacks (follow a flag name and see comments in ImGuiInputTextFlags_ declarations for more details)<br/>
|
||||
/// - ImGuiInputTextFlags_CallbackEdit: Callback on buffer edit. Note that InputText() already returns true on edit + you can always use IsItemEdited(). The callback is useful to manipulate the underlying buffer while focus is active.<br/>
|
||||
/// - ImGuiInputTextFlags_CallbackAlways: Callback on each iteration<br/>
|
||||
/// - ImGuiInputTextFlags_CallbackCompletion: Callback on pressing TAB<br/>
|
||||
/// - ImGuiInputTextFlags_CallbackHistory: Callback on pressing UpDown arrows<br/>
|
||||
/// - ImGuiInputTextFlags_CallbackCharFilter: Callback on character inputs to replace or discard them. Modify 'EventChar' to replace or discard, or return 1 in callback to discard.<br/>
|
||||
/// - ImGuiInputTextFlags_CallbackResize: Callback on buffer capacity changes request (beyond 'buf_size' parameter value), allowing the string to grow.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiInputTextCallbackData
|
||||
|
|
|
|||
|
|
@ -17,8 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Internal state of the currently focusededited text input box<br/>
|
||||
/// For a given item ID, access with ImGui::GetInputTextState()<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiInputTextState
|
||||
|
|
|
|||
|
|
@ -17,8 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// [Internal] Storage used by IsKeyDown(), IsKeyPressed() etc functions.<br/>
|
||||
/// If prior to 1.87 you used io.KeysDownDuration[] (which was marked as internal), you should use GetKeyData(key)->DownDuration and *NOT* io.KeysData[key]->DownDuration.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiKeyData
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Status storage for the last submitted item<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiLastItemData
|
||||
|
|
|
|||
|
|
@ -17,26 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Helper: Manually clip large list of items.<br/>
|
||||
/// If you have lots evenly spaced items and you have random access to the list, you can perform coarse<br/>
|
||||
/// clipping based on visibility to only submit items that are in view.<br/>
|
||||
/// The clipper calculates the range of visible items and advance the cursor to compensate for the non-visible items we have skipped.<br/>
|
||||
/// (Dear ImGui already clip items based on their bounds but: it needs to first layout the item to do so, and generally<br/>
|
||||
/// fetchingsubmitting your own data incurs additional cost. Coarse clipping using ImGuiListClipper allows you to easily<br/>
|
||||
/// scale using lists with tens of thousands of items without a problem)<br/>
|
||||
/// Usage:<br/>
|
||||
/// ImGuiListClipper clipper;<br/>
|
||||
/// clipper.Begin(1000); We have 1000 elements, evenly spaced.<br/>
|
||||
/// while (clipper.Step())<br/>
|
||||
/// for (int i = clipper.DisplayStart; i < clipper.DisplayEnd; i++)<br/>
|
||||
/// ImGui::Text("line number %d", i);<br/>
|
||||
/// Generally what happens is:<br/>
|
||||
/// - Clipper lets you process the first element (DisplayStart = 0, DisplayEnd = 1) regardless of it being visible or not.<br/>
|
||||
/// - User code submit that one element.<br/>
|
||||
/// - Clipper can measure the height of the first element<br/>
|
||||
/// - Clipper calculate the actual range of elements to display based on the current clipping rectangle, position the cursor before the first visible element.<br/>
|
||||
/// - User code submit visible elements.<br/>
|
||||
/// - The clipper also handles various subtleties related to keyboardgamepad navigation, wrapping etc.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiListClipper
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Temporary clipper data, buffers sharedreused between instances<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiListClipperData
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ using System.Numerics;
|
|||
namespace Dalamud.Bindings.ImGui
|
||||
{
|
||||
/// <summary>
|
||||
/// Note that Max is exclusive, so perhaps should be using a BeginEnd convention.<br/>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
[StructLayout(LayoutKind.Sequential)]
|
||||
public partial struct ImGuiListClipperRange
|
||||
|
|
@ -40,18 +40,18 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte PosToIndexOffsetMin;
|
||||
public sbyte PosToIndexOffsetMin;
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public byte PosToIndexOffsetMax;
|
||||
public sbyte PosToIndexOffsetMax;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public unsafe ImGuiListClipperRange(int min = default, int max = default, bool posToIndexConvert = default, byte posToIndexOffsetMin = default, byte posToIndexOffsetMax = default)
|
||||
public unsafe ImGuiListClipperRange(int min = default, int max = default, bool posToIndexConvert = default, sbyte posToIndexOffsetMin = default, sbyte posToIndexOffsetMax = default)
|
||||
{
|
||||
Min = min;
|
||||
Max = max;
|
||||
|
|
@ -119,11 +119,11 @@ namespace Dalamud.Bindings.ImGui
|
|||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref byte PosToIndexOffsetMin => ref Unsafe.AsRef<byte>(&Handle->PosToIndexOffsetMin);
|
||||
public ref sbyte PosToIndexOffsetMin => ref Unsafe.AsRef<sbyte>(&Handle->PosToIndexOffsetMin);
|
||||
/// <summary>
|
||||
/// To be documented.
|
||||
/// </summary>
|
||||
public ref byte PosToIndexOffsetMax => ref Unsafe.AsRef<byte>(&Handle->PosToIndexOffsetMax);
|
||||
public ref sbyte PosToIndexOffsetMax => ref Unsafe.AsRef<sbyte>(&Handle->PosToIndexOffsetMax);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue