//
// Generated by Brutal.ImGui.Generator; do not edit by hand.
#nullable enable
using System.Runtime.CompilerServices;
namespace Brutal.ImGuiApi
{
///
///
/// Runtime data for styling/colors
///
///
/// C++:
/// imgui.h:212
///
struct ImGuiStyle
///
///
///
///
/// Forward declarations: ImGui layer
///
///
[StructLayout(LayoutKind.Explicit, Size = 1276)]
public partial struct ImGuiStyle
{
///
///
/// Current base font size before external global factors are applied. Use PushFont(NULL, size) to modify.
/// Use ImGui::GetFontSize() to obtain scaled value.
///
///
/// C++:
/// imgui.h:2330
///
float FontSizeBase
///
///
///
///
/// Font scaling
/// - recap: ImGui::GetFontSize() == FontSizeBase * (FontScaleMain * FontScaleDpi * other_scaling_factors)
///
///
[FieldOffset(0)]
public float FontSizeBase;
///
///
/// Main global scale factor. May be set by application once, or exposed to end-user.
///
///
/// C++:
/// imgui.h:2331
///
float FontScaleMain
///
///
///
///
/// Font scaling
/// - recap: ImGui::GetFontSize() == FontSizeBase * (FontScaleMain * FontScaleDpi * other_scaling_factors)
///
///
[FieldOffset(4)]
public float FontScaleMain;
///
///
/// Additional global scale factor from viewport/monitor contents scale. When io.ConfigDpiScaleFonts is
/// enabled, this is automatically overwritten when changing monitor DPI.
///
///
/// C++:
/// imgui.h:2332
///
float FontScaleDpi
///
///
///
///
/// Font scaling
/// - recap: ImGui::GetFontSize() == FontSizeBase * (FontScaleMain * FontScaleDpi * other_scaling_factors)
///
///
[FieldOffset(8)]
public float FontScaleDpi;
///
///
/// Global alpha applies to everything in Dear ImGui.
///
///
/// C++:
/// imgui.h:2334
///
float Alpha
///
///
[FieldOffset(12)]
public float Alpha;
///
///
/// Additional alpha multiplier applied by BeginDisabled(). Multiply over current value of Alpha.
///
///
/// C++:
/// imgui.h:2335
///
float DisabledAlpha
///
///
[FieldOffset(16)]
public float DisabledAlpha;
///
///
/// Padding within a window.
///
///
/// C++:
/// imgui.h:2336
///
ImVec2 WindowPadding
///
///
[FieldOffset(20)]
public float2 WindowPadding;
///
///
/// Radius of window corners rounding. Set to 0.0f to have rectangular windows. Large values tend to lead to
/// variety of artifacts and are not recommended.
///
///
/// C++:
/// imgui.h:2337
///
float WindowRounding
///
///
[FieldOffset(28)]
public float WindowRounding;
///
///
/// Thickness of border around windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and
/// more CPU/GPU costly).
///
///
/// C++:
/// imgui.h:2338
///
float WindowBorderSize
///
///
[FieldOffset(32)]
public float WindowBorderSize;
///
///
/// Hit-testing extent outside/inside resizing border. Also extend determination of hovered window.
/// Generally meaningfully larger than WindowBorderSize to make it easy to reach borders.
///
///
/// C++:
/// imgui.h:2339
///
float WindowBorderHoverPadding
///
///
[FieldOffset(36)]
public float WindowBorderHoverPadding;
///
///
/// Minimum window size. This is a global setting. If you want to constrain individual windows, use
/// SetNextWindowSizeConstraints().
///
///
/// C++:
/// imgui.h:2340
///
ImVec2 WindowMinSize
///
///
[FieldOffset(40)]
public float2 WindowMinSize;
///
///
/// Alignment for title bar text. Defaults to (0.0f,0.5f) for left-aligned,vertically centered.
///
///
/// C++:
/// imgui.h:2341
///
ImVec2 WindowTitleAlign
///
///
[FieldOffset(48)]
public float2 WindowTitleAlign;
///
///
/// Side of the collapsing/docking button in the title bar (None/Left/Right). Defaults to ImGuiDir_Left.
///
///
/// C++:
/// imgui.h:2342
///
ImGuiDir WindowMenuButtonPosition
///
///
[FieldOffset(56)]
public ImGuiDir WindowMenuButtonPosition;
///
///
/// Radius of child window corners rounding. Set to 0.0f to have rectangular windows.
///
///
/// C++:
/// imgui.h:2343
///
float ChildRounding
///
///
[FieldOffset(60)]
public float ChildRounding;
///
///
/// Thickness of border around child windows. Generally set to 0.0f or 1.0f. (Other values are not well
/// tested and more CPU/GPU costly).
///
///
/// C++:
/// imgui.h:2344
///
float ChildBorderSize
///
///
[FieldOffset(64)]
public float ChildBorderSize;
///
///
/// Radius of popup window corners rounding. (Note that tooltip windows use WindowRounding)
///
///
/// C++:
/// imgui.h:2345
///
float PopupRounding
///
///
[FieldOffset(68)]
public float PopupRounding;
///
///
/// Thickness of border around popup/tooltip windows. Generally set to 0.0f or 1.0f. (Other values are not
/// well tested and more CPU/GPU costly).
///
///
/// C++:
/// imgui.h:2346
///
float PopupBorderSize
///
///
[FieldOffset(72)]
public float PopupBorderSize;
///
///
/// Padding within a framed rectangle (used by most widgets).
///
///
/// C++:
/// imgui.h:2347
///
ImVec2 FramePadding
///
///
[FieldOffset(76)]
public float2 FramePadding;
///
///
/// Radius of frame corners rounding. Set to 0.0f to have rectangular frame (used by most widgets).
///
///
/// C++:
/// imgui.h:2348
///
float FrameRounding
///
///
[FieldOffset(84)]
public float FrameRounding;
///
///
/// Thickness of border around frames. Generally set to 0.0f or 1.0f. (Other values are not well tested and
/// more CPU/GPU costly).
///
///
/// C++:
/// imgui.h:2349
///
float FrameBorderSize
///
///
[FieldOffset(88)]
public float FrameBorderSize;
///
///
/// Horizontal and vertical spacing between widgets/lines.
///
///
/// C++:
/// imgui.h:2350
///
ImVec2 ItemSpacing
///
///
[FieldOffset(92)]
public float2 ItemSpacing;
///
///
/// Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its
/// label).
///
///
/// C++:
/// imgui.h:2351
///
ImVec2 ItemInnerSpacing
///
///
[FieldOffset(100)]
public float2 ItemInnerSpacing;
///
///
/// Padding within a table cell. Cellpadding.x is locked for entire table. CellPadding.y may be altered
/// between different rows.
///
///
/// C++:
/// imgui.h:2352
///
ImVec2 CellPadding
///
///
[FieldOffset(108)]
public float2 CellPadding;
///
///
/// Expand reactive bounding box for touch-based system where touch position is not accurate enough.
/// Unfortunately we don't sort widgets so priority on overlap will always be given to the first widget. So
/// don't grow this too much!
///
///
/// C++:
/// imgui.h:2353
///
ImVec2 TouchExtraPadding
///
///
[FieldOffset(116)]
public float2 TouchExtraPadding;
///
///
/// Horizontal indentation when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2).
///
///
/// C++:
/// imgui.h:2354
///
float IndentSpacing
///
///
[FieldOffset(124)]
public float IndentSpacing;
///
///
/// Minimum horizontal spacing between two columns. Preferably > (FramePadding.x + 1).
///
///
/// C++:
/// imgui.h:2355
///
float ColumnsMinSpacing
///
///
[FieldOffset(128)]
public float ColumnsMinSpacing;
///
///
/// Width of the vertical scrollbar, Height of the horizontal scrollbar.
///
///
/// C++:
/// imgui.h:2356
///
float ScrollbarSize
///
///
[FieldOffset(132)]
public float ScrollbarSize;
///
///
/// Radius of grab corners for scrollbar.
///
///
/// C++:
/// imgui.h:2357
///
float ScrollbarRounding
///
///
[FieldOffset(136)]
public float ScrollbarRounding;
///
///
/// Minimum width/height of a grab box for slider/scrollbar.
///
///
/// C++:
/// imgui.h:2358
///
float GrabMinSize
///
///
[FieldOffset(140)]
public float GrabMinSize;
///
///
/// Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs.
///
///
/// C++:
/// imgui.h:2359
///
float GrabRounding
///
///
[FieldOffset(144)]
public float GrabRounding;
///
///
/// The size in pixels of the dead-zone around zero on logarithmic sliders that cross zero.
///
///
/// C++:
/// imgui.h:2360
///
float LogSliderDeadzone
///
///
[FieldOffset(148)]
public float LogSliderDeadzone;
///
///
/// Thickness of border around Image() calls.
///
///
/// C++:
/// imgui.h:2361
///
float ImageBorderSize
///
///
[FieldOffset(152)]
public float ImageBorderSize;
///
///
/// Radius of upper corners of a tab. Set to 0.0f to have rectangular tabs.
///
///
/// C++:
/// imgui.h:2362
///
float TabRounding
///
///
[FieldOffset(156)]
public float TabRounding;
///
///
/// Thickness of border around tabs.
///
///
/// C++:
/// imgui.h:2363
///
float TabBorderSize
///
///
[FieldOffset(160)]
public float TabBorderSize;
///
///
/// Minimum tab width, to make tabs larger than their contents. TabBar buttons are not affected.
///
///
/// C++:
/// imgui.h:2364
///
float TabMinWidthBase
///
///
[FieldOffset(164)]
public float TabMinWidthBase;
///
///
/// Minimum tab width after shrinking, when using ImGuiTabBarFlags_FittingPolicyMixed policy.
///
///
/// C++:
/// imgui.h:2365
///
float TabMinWidthShrink
///
///
[FieldOffset(168)]
public float TabMinWidthShrink;
///
///
/// -1: always visible. 0.0f: visible when hovered. >0.0f: visible when hovered if minimum width.
///
///
/// C++:
/// imgui.h:2366
///
float TabCloseButtonMinWidthSelected
///
///
[FieldOffset(172)]
public float TabCloseButtonMinWidthSelected;
///
///
/// -1: always visible. 0.0f: visible when hovered. >0.0f: visible when hovered if minimum width.
/// FLT_MAX: never show close button when unselected.
///
///
/// C++:
/// imgui.h:2367
///
float TabCloseButtonMinWidthUnselected
///
///
[FieldOffset(176)]
public float TabCloseButtonMinWidthUnselected;
///
///
/// Thickness of tab-bar separator, which takes on the tab active color to denote focus.
///
///
/// C++:
/// imgui.h:2368
///
float TabBarBorderSize
///
///
[FieldOffset(180)]
public float TabBarBorderSize;
///
///
/// Thickness of tab-bar overline, which highlights the selected tab-bar.
///
///
/// C++:
/// imgui.h:2369
///
float TabBarOverlineSize
///
///
[FieldOffset(184)]
public float TabBarOverlineSize;
///
///
/// Angle of angled headers (supported values range from -50.0f degrees to +50.0f degrees).
///
///
/// C++:
/// imgui.h:2370
///
float TableAngledHeadersAngle
///
///
[FieldOffset(188)]
public float TableAngledHeadersAngle;
///
///
/// Alignment of angled headers within the cell
///
///
/// C++:
/// imgui.h:2371
///
ImVec2 TableAngledHeadersTextAlign
///
///
[FieldOffset(192)]
public float2 TableAngledHeadersTextAlign;
///
///
/// Default way to draw lines connecting TreeNode hierarchy. ImGuiTreeNodeFlags_DrawLinesNone or
/// ImGuiTreeNodeFlags_DrawLinesFull or ImGuiTreeNodeFlags_DrawLinesToNodes.
///
///
/// C++:
/// imgui.h:2372
///
ImGuiTreeNodeFlags TreeLinesFlags
///
///
[FieldOffset(200)]
public ImGuiTreeNodeFlags TreeLinesFlags;
///
///
/// Thickness of outlines when using ImGuiTreeNodeFlags_DrawLines.
///
///
/// C++:
/// imgui.h:2373
///
float TreeLinesSize
///
///
[FieldOffset(204)]
public float TreeLinesSize;
///
///
/// Radius of lines connecting child nodes to the vertical line.
///
///
/// C++:
/// imgui.h:2374
///
float TreeLinesRounding
///
///
[FieldOffset(208)]
public float TreeLinesRounding;
///
///
/// Side of the color button in the ColorEdit4 widget (left/right). Defaults to ImGuiDir_Right.
///
///
/// C++:
/// imgui.h:2375
///
ImGuiDir ColorButtonPosition
///
///
[FieldOffset(212)]
public ImGuiDir ColorButtonPosition;
///
///
/// Alignment of button text when button is larger than text. Defaults to (0.5f, 0.5f) (centered).
///
///
/// C++:
/// imgui.h:2376
///
ImVec2 ButtonTextAlign
///
///
[FieldOffset(216)]
public float2 ButtonTextAlign;
///
///
/// Alignment of selectable text. Defaults to (0.0f, 0.0f) (top-left aligned). It's generally important to
/// keep this left-aligned if you want to lay multiple items on a same line.
///
///
/// C++:
/// imgui.h:2377
///
ImVec2 SelectableTextAlign
///
///
[FieldOffset(224)]
public float2 SelectableTextAlign;
///
///
/// Thickness of border in SeparatorText()
///
///
/// C++:
/// imgui.h:2378
///
float SeparatorTextBorderSize
///
///
[FieldOffset(232)]
public float SeparatorTextBorderSize;
///
///
/// Alignment of text within the separator. Defaults to (0.0f, 0.5f) (left aligned, center).
///
///
/// C++:
/// imgui.h:2379
///
ImVec2 SeparatorTextAlign
///
///
[FieldOffset(236)]
public float2 SeparatorTextAlign;
///
///
/// Horizontal offset of text from each edge of the separator + spacing on other axis. Generally small
/// values. .y is recommended to be == FramePadding.y.
///
///
/// C++:
/// imgui.h:2380
///
ImVec2 SeparatorTextPadding
///
///
[FieldOffset(244)]
public float2 SeparatorTextPadding;
///
///
/// Apply to regular windows: amount which we enforce to keep visible when moving near edges of your screen.
///
///
/// C++:
/// imgui.h:2381
///
ImVec2 DisplayWindowPadding
///
///
[FieldOffset(252)]
public float2 DisplayWindowPadding;
///
///
/// Apply to every windows, menus, popups, tooltips: amount where we avoid displaying contents. Adjust if
/// you cannot see the edges of your screen (e.g. on a TV where scaling has not been configured).
///
///
/// C++:
/// imgui.h:2382
///
ImVec2 DisplaySafeAreaPadding
///
///
[FieldOffset(260)]
public float2 DisplaySafeAreaPadding;
///
///
/// Thickness of resizing border between docked windows
///
///
/// C++:
/// imgui.h:2383
///
float DockingSeparatorSize
///
///
[FieldOffset(268)]
public float DockingSeparatorSize;
///
///
/// Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled). We apply per-monitor DPI
/// scaling over this scale. May be removed later.
///
///
/// C++:
/// imgui.h:2384
///
float MouseCursorScale
///
///
[FieldOffset(272)]
public float MouseCursorScale;
///
///
/// Enable anti-aliased lines/borders. Disable if you are really tight on CPU/GPU. Latched at the beginning
/// of the frame (copied to ImDrawList).
///
///
/// C++:
/// imgui.h:2385
///
bool AntiAliasedLines
///
///
[FieldOffset(276)]
public Bool8 AntiAliasedLines;
///
///
/// Enable anti-aliased lines/borders using textures where possible. Require backend to render with bilinear
/// filtering (NOT point/nearest filtering). Latched at the beginning of the frame (copied to ImDrawList).
///
///
/// C++:
/// imgui.h:2386
///
bool AntiAliasedLinesUseTex
///
///
[FieldOffset(277)]
public Bool8 AntiAliasedLinesUseTex;
///
///
/// Enable anti-aliased edges around filled shapes (rounded rectangles, circles, etc.). Disable if you are
/// really tight on CPU/GPU. Latched at the beginning of the frame (copied to ImDrawList).
///
///
/// C++:
/// imgui.h:2387
///
bool AntiAliasedFill
///
///
[FieldOffset(278)]
public Bool8 AntiAliasedFill;
///
///
/// Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease
/// for highly tessellated curves (higher quality, more polygons), increase to reduce quality.
///
///
/// C++:
/// imgui.h:2388
///
float CurveTessellationTol
///
///
[FieldOffset(280)]
public float CurveTessellationTol;
///
///
/// Maximum error (in pixels) allowed when using AddCircle()/AddCircleFilled() or drawing rounded corner
/// rectangles with no explicit segment count specified. Decrease for higher quality but more geometry.
///
///
/// C++:
/// imgui.h:2389
///
float CircleTessellationMaxError
///
///
[FieldOffset(284)]
public float CircleTessellationMaxError;
///
///
/// C++:
/// imgui.h:2392
///
ImVec4 Colors[ImGuiCol_COUNT]
///
///
///
///
/// Colors
///
///
[FieldOffset(288)]
public float4_60 Colors;
///
///
/// Delay for IsItemHovered(ImGuiHoveredFlags_Stationary). Time required to consider mouse stationary.
///
///
/// C++:
/// imgui.h:2396
///
float HoverStationaryDelay
///
///
///
///
/// Behaviors
/// (It is possible to modify those fields mid-frame if specific behavior need it, unlike e.g. configuration fields in ImGuiIO)
///
///
[FieldOffset(1248)]
public float HoverStationaryDelay;
///
///
/// Delay for IsItemHovered(ImGuiHoveredFlags_DelayShort). Usually used along with HoverStationaryDelay.
///
///
/// C++:
/// imgui.h:2397
///
float HoverDelayShort
///
///
///
///
/// Behaviors
/// (It is possible to modify those fields mid-frame if specific behavior need it, unlike e.g. configuration fields in ImGuiIO)
///
///
[FieldOffset(1252)]
public float HoverDelayShort;
///
///
/// Delay for IsItemHovered(ImGuiHoveredFlags_DelayNormal). "
///
///
/// C++:
/// imgui.h:2398
///
float HoverDelayNormal
///
///
///
///
/// Behaviors
/// (It is possible to modify those fields mid-frame if specific behavior need it, unlike e.g. configuration fields in ImGuiIO)
///
///
[FieldOffset(1256)]
public float HoverDelayNormal;
///
///
/// Default flags when using IsItemHovered(ImGuiHoveredFlags_ForTooltip) or
/// BeginItemTooltip()/SetItemTooltip() while using mouse.
///
///
/// C++:
/// imgui.h:2399
///
ImGuiHoveredFlags HoverFlagsForTooltipMouse
///
///
///
///
/// Behaviors
/// (It is possible to modify those fields mid-frame if specific behavior need it, unlike e.g. configuration fields in ImGuiIO)
///
///
[FieldOffset(1260)]
public ImGuiHoveredFlags HoverFlagsForTooltipMouse;
///
///
/// Default flags when using IsItemHovered(ImGuiHoveredFlags_ForTooltip) or
/// BeginItemTooltip()/SetItemTooltip() while using keyboard/gamepad.
///
///
/// C++:
/// imgui.h:2400
///
ImGuiHoveredFlags HoverFlagsForTooltipNav
///
///
///
///
/// Behaviors
/// (It is possible to modify those fields mid-frame if specific behavior need it, unlike e.g. configuration fields in ImGuiIO)
///
///
[FieldOffset(1264)]
public ImGuiHoveredFlags HoverFlagsForTooltipNav;
///
///
/// FIXME-WIP: Reference scale, as applied by ScaleAllSizes().
///
///
/// C++:
/// imgui.h:2403
///
float _MainScale
///
///
///
///
/// [Internal]
///
///
[FieldOffset(1268)]
public float _MainScale;
///
///
/// FIXME: Temporary hack until we finish remaining work.
///
///
/// C++:
/// imgui.h:2404
///
float _NextFrameFontSizeBase
///
///
///
///
/// [Internal]
///
///
[FieldOffset(1272)]
public float _NextFrameFontSizeBase;
}
///
///
/// Runtime data for styling/colors
///
///
/// C++:
/// imgui.h:212
///
struct ImGuiStyle
///
///
///
///
/// Forward declarations: ImGui layer
///
///
public unsafe partial struct ImGuiStylePtr(ImGuiStyle* ptr) : INullable
{
private ImGuiStyle* _ptr = ptr;
public ImGuiStyle* Ptr => _ptr;
public bool IsNull() => _ptr is null;
public static implicit operator ImGuiStylePtr(ImGuiStyle* ptr) => new(ptr);
public static implicit operator ImGuiStyle*(ImGuiStylePtr wrapper) => wrapper.Ptr;
///
///
/// Current base font size before external global factors are applied. Use PushFont(NULL, size) to modify.
/// Use ImGui::GetFontSize() to obtain scaled value.
///
///
/// C++:
/// imgui.h:2330
///
float FontSizeBase
///
///
///
///
/// Font scaling
/// - recap: ImGui::GetFontSize() == FontSizeBase * (FontScaleMain * FontScaleDpi * other_scaling_factors)
///
///
public ref float FontSizeBase => ref Unsafe.AsRef(&_ptr->FontSizeBase);
///
///
/// Main global scale factor. May be set by application once, or exposed to end-user.
///
///
/// C++:
/// imgui.h:2331
///
float FontScaleMain
///
///
///
///
/// Font scaling
/// - recap: ImGui::GetFontSize() == FontSizeBase * (FontScaleMain * FontScaleDpi * other_scaling_factors)
///
///
public ref float FontScaleMain => ref Unsafe.AsRef(&_ptr->FontScaleMain);
///
///
/// Additional global scale factor from viewport/monitor contents scale. When io.ConfigDpiScaleFonts is
/// enabled, this is automatically overwritten when changing monitor DPI.
///
///
/// C++:
/// imgui.h:2332
///
float FontScaleDpi
///
///
///
///
/// Font scaling
/// - recap: ImGui::GetFontSize() == FontSizeBase * (FontScaleMain * FontScaleDpi * other_scaling_factors)
///
///
public ref float FontScaleDpi => ref Unsafe.AsRef(&_ptr->FontScaleDpi);
///
///
/// Global alpha applies to everything in Dear ImGui.
///
///
/// C++:
/// imgui.h:2334
///
float Alpha
///
///
public ref float Alpha => ref Unsafe.AsRef(&_ptr->Alpha);
///
///
/// Additional alpha multiplier applied by BeginDisabled(). Multiply over current value of Alpha.
///
///
/// C++:
/// imgui.h:2335
///
float DisabledAlpha
///
///
public ref float DisabledAlpha => ref Unsafe.AsRef(&_ptr->DisabledAlpha);
///
///
/// Padding within a window.
///
///
/// C++:
/// imgui.h:2336
///
ImVec2 WindowPadding
///
///
public ref float2 WindowPadding => ref Unsafe.AsRef(&_ptr->WindowPadding);
///
///
/// Radius of window corners rounding. Set to 0.0f to have rectangular windows. Large values tend to lead to
/// variety of artifacts and are not recommended.
///
///
/// C++:
/// imgui.h:2337
///
float WindowRounding
///
///
public ref float WindowRounding => ref Unsafe.AsRef(&_ptr->WindowRounding);
///
///
/// Thickness of border around windows. Generally set to 0.0f or 1.0f. (Other values are not well tested and
/// more CPU/GPU costly).
///
///
/// C++:
/// imgui.h:2338
///
float WindowBorderSize
///
///
public ref float WindowBorderSize => ref Unsafe.AsRef(&_ptr->WindowBorderSize);
///
///
/// Hit-testing extent outside/inside resizing border. Also extend determination of hovered window.
/// Generally meaningfully larger than WindowBorderSize to make it easy to reach borders.
///
///
/// C++:
/// imgui.h:2339
///
float WindowBorderHoverPadding
///
///
public ref float WindowBorderHoverPadding => ref Unsafe.AsRef(&_ptr->WindowBorderHoverPadding);
///
///
/// Minimum window size. This is a global setting. If you want to constrain individual windows, use
/// SetNextWindowSizeConstraints().
///
///
/// C++:
/// imgui.h:2340
///
ImVec2 WindowMinSize
///
///
public ref float2 WindowMinSize => ref Unsafe.AsRef(&_ptr->WindowMinSize);
///
///
/// Alignment for title bar text. Defaults to (0.0f,0.5f) for left-aligned,vertically centered.
///
///
/// C++:
/// imgui.h:2341
///
ImVec2 WindowTitleAlign
///
///
public ref float2 WindowTitleAlign => ref Unsafe.AsRef(&_ptr->WindowTitleAlign);
///
///
/// Side of the collapsing/docking button in the title bar (None/Left/Right). Defaults to ImGuiDir_Left.
///
///
/// C++:
/// imgui.h:2342
///
ImGuiDir WindowMenuButtonPosition
///
///
public ref ImGuiDir WindowMenuButtonPosition => ref Unsafe.AsRef(&_ptr->WindowMenuButtonPosition);
///
///
/// Radius of child window corners rounding. Set to 0.0f to have rectangular windows.
///
///
/// C++:
/// imgui.h:2343
///
float ChildRounding
///
///
public ref float ChildRounding => ref Unsafe.AsRef(&_ptr->ChildRounding);
///
///
/// Thickness of border around child windows. Generally set to 0.0f or 1.0f. (Other values are not well
/// tested and more CPU/GPU costly).
///
///
/// C++:
/// imgui.h:2344
///
float ChildBorderSize
///
///
public ref float ChildBorderSize => ref Unsafe.AsRef(&_ptr->ChildBorderSize);
///
///
/// Radius of popup window corners rounding. (Note that tooltip windows use WindowRounding)
///
///
/// C++:
/// imgui.h:2345
///
float PopupRounding
///
///
public ref float PopupRounding => ref Unsafe.AsRef(&_ptr->PopupRounding);
///
///
/// Thickness of border around popup/tooltip windows. Generally set to 0.0f or 1.0f. (Other values are not
/// well tested and more CPU/GPU costly).
///
///
/// C++:
/// imgui.h:2346
///
float PopupBorderSize
///
///
public ref float PopupBorderSize => ref Unsafe.AsRef(&_ptr->PopupBorderSize);
///
///
/// Padding within a framed rectangle (used by most widgets).
///
///
/// C++:
/// imgui.h:2347
///
ImVec2 FramePadding
///
///
public ref float2 FramePadding => ref Unsafe.AsRef(&_ptr->FramePadding);
///
///
/// Radius of frame corners rounding. Set to 0.0f to have rectangular frame (used by most widgets).
///
///
/// C++:
/// imgui.h:2348
///
float FrameRounding
///
///
public ref float FrameRounding => ref Unsafe.AsRef(&_ptr->FrameRounding);
///
///
/// Thickness of border around frames. Generally set to 0.0f or 1.0f. (Other values are not well tested and
/// more CPU/GPU costly).
///
///
/// C++:
/// imgui.h:2349
///
float FrameBorderSize
///
///
public ref float FrameBorderSize => ref Unsafe.AsRef(&_ptr->FrameBorderSize);
///
///
/// Horizontal and vertical spacing between widgets/lines.
///
///
/// C++:
/// imgui.h:2350
///
ImVec2 ItemSpacing
///
///
public ref float2 ItemSpacing => ref Unsafe.AsRef(&_ptr->ItemSpacing);
///
///
/// Horizontal and vertical spacing between within elements of a composed widget (e.g. a slider and its
/// label).
///
///
/// C++:
/// imgui.h:2351
///
ImVec2 ItemInnerSpacing
///
///
public ref float2 ItemInnerSpacing => ref Unsafe.AsRef(&_ptr->ItemInnerSpacing);
///
///
/// Padding within a table cell. Cellpadding.x is locked for entire table. CellPadding.y may be altered
/// between different rows.
///
///
/// C++:
/// imgui.h:2352
///
ImVec2 CellPadding
///
///
public ref float2 CellPadding => ref Unsafe.AsRef(&_ptr->CellPadding);
///
///
/// Expand reactive bounding box for touch-based system where touch position is not accurate enough.
/// Unfortunately we don't sort widgets so priority on overlap will always be given to the first widget. So
/// don't grow this too much!
///
///
/// C++:
/// imgui.h:2353
///
ImVec2 TouchExtraPadding
///
///
public ref float2 TouchExtraPadding => ref Unsafe.AsRef(&_ptr->TouchExtraPadding);
///
///
/// Horizontal indentation when e.g. entering a tree node. Generally == (FontSize + FramePadding.x*2).
///
///
/// C++:
/// imgui.h:2354
///
float IndentSpacing
///
///
public ref float IndentSpacing => ref Unsafe.AsRef(&_ptr->IndentSpacing);
///
///
/// Minimum horizontal spacing between two columns. Preferably > (FramePadding.x + 1).
///
///
/// C++:
/// imgui.h:2355
///
float ColumnsMinSpacing
///
///
public ref float ColumnsMinSpacing => ref Unsafe.AsRef(&_ptr->ColumnsMinSpacing);
///
///
/// Width of the vertical scrollbar, Height of the horizontal scrollbar.
///
///
/// C++:
/// imgui.h:2356
///
float ScrollbarSize
///
///
public ref float ScrollbarSize => ref Unsafe.AsRef(&_ptr->ScrollbarSize);
///
///
/// Radius of grab corners for scrollbar.
///
///
/// C++:
/// imgui.h:2357
///
float ScrollbarRounding
///
///
public ref float ScrollbarRounding => ref Unsafe.AsRef(&_ptr->ScrollbarRounding);
///
///
/// Minimum width/height of a grab box for slider/scrollbar.
///
///
/// C++:
/// imgui.h:2358
///
float GrabMinSize
///
///
public ref float GrabMinSize => ref Unsafe.AsRef(&_ptr->GrabMinSize);
///
///
/// Radius of grabs corners rounding. Set to 0.0f to have rectangular slider grabs.
///
///
/// C++:
/// imgui.h:2359
///
float GrabRounding
///
///
public ref float GrabRounding => ref Unsafe.AsRef(&_ptr->GrabRounding);
///
///
/// The size in pixels of the dead-zone around zero on logarithmic sliders that cross zero.
///
///
/// C++:
/// imgui.h:2360
///
float LogSliderDeadzone
///
///
public ref float LogSliderDeadzone => ref Unsafe.AsRef(&_ptr->LogSliderDeadzone);
///
///
/// Thickness of border around Image() calls.
///
///
/// C++:
/// imgui.h:2361
///
float ImageBorderSize
///
///
public ref float ImageBorderSize => ref Unsafe.AsRef(&_ptr->ImageBorderSize);
///
///
/// Radius of upper corners of a tab. Set to 0.0f to have rectangular tabs.
///
///
/// C++:
/// imgui.h:2362
///
float TabRounding
///
///
public ref float TabRounding => ref Unsafe.AsRef(&_ptr->TabRounding);
///
///
/// Thickness of border around tabs.
///
///
/// C++:
/// imgui.h:2363
///
float TabBorderSize
///
///
public ref float TabBorderSize => ref Unsafe.AsRef(&_ptr->TabBorderSize);
///
///
/// Minimum tab width, to make tabs larger than their contents. TabBar buttons are not affected.
///
///
/// C++:
/// imgui.h:2364
///
float TabMinWidthBase
///
///
public ref float TabMinWidthBase => ref Unsafe.AsRef(&_ptr->TabMinWidthBase);
///
///
/// Minimum tab width after shrinking, when using ImGuiTabBarFlags_FittingPolicyMixed policy.
///
///
/// C++:
/// imgui.h:2365
///
float TabMinWidthShrink
///
///
public ref float TabMinWidthShrink => ref Unsafe.AsRef(&_ptr->TabMinWidthShrink);
///
///
/// -1: always visible. 0.0f: visible when hovered. >0.0f: visible when hovered if minimum width.
///
///
/// C++:
/// imgui.h:2366
///
float TabCloseButtonMinWidthSelected
///
///
public ref float TabCloseButtonMinWidthSelected =>
ref Unsafe.AsRef(&_ptr->TabCloseButtonMinWidthSelected);
///
///
/// -1: always visible. 0.0f: visible when hovered. >0.0f: visible when hovered if minimum width.
/// FLT_MAX: never show close button when unselected.
///
///
/// C++:
/// imgui.h:2367
///
float TabCloseButtonMinWidthUnselected
///
///
public ref float TabCloseButtonMinWidthUnselected =>
ref Unsafe.AsRef(&_ptr->TabCloseButtonMinWidthUnselected);
///
///
/// Thickness of tab-bar separator, which takes on the tab active color to denote focus.
///
///
/// C++:
/// imgui.h:2368
///
float TabBarBorderSize
///
///
public ref float TabBarBorderSize => ref Unsafe.AsRef(&_ptr->TabBarBorderSize);
///
///
/// Thickness of tab-bar overline, which highlights the selected tab-bar.
///
///
/// C++:
/// imgui.h:2369
///
float TabBarOverlineSize
///
///
public ref float TabBarOverlineSize => ref Unsafe.AsRef(&_ptr->TabBarOverlineSize);
///
///
/// Angle of angled headers (supported values range from -50.0f degrees to +50.0f degrees).
///
///
/// C++:
/// imgui.h:2370
///
float TableAngledHeadersAngle
///
///
public ref float TableAngledHeadersAngle => ref Unsafe.AsRef(&_ptr->TableAngledHeadersAngle);
///
///
/// Alignment of angled headers within the cell
///
///
/// C++:
/// imgui.h:2371
///
ImVec2 TableAngledHeadersTextAlign
///
///
public ref float2 TableAngledHeadersTextAlign => ref Unsafe.AsRef(&_ptr->TableAngledHeadersTextAlign);
///
///
/// Default way to draw lines connecting TreeNode hierarchy. ImGuiTreeNodeFlags_DrawLinesNone or
/// ImGuiTreeNodeFlags_DrawLinesFull or ImGuiTreeNodeFlags_DrawLinesToNodes.
///
///
/// C++:
/// imgui.h:2372
///
ImGuiTreeNodeFlags TreeLinesFlags
///
///
public ref ImGuiTreeNodeFlags TreeLinesFlags => ref Unsafe.AsRef(&_ptr->TreeLinesFlags);
///
///
/// Thickness of outlines when using ImGuiTreeNodeFlags_DrawLines.
///
///
/// C++:
/// imgui.h:2373
///
float TreeLinesSize
///
///
public ref float TreeLinesSize => ref Unsafe.AsRef(&_ptr->TreeLinesSize);
///
///
/// Radius of lines connecting child nodes to the vertical line.
///
///
/// C++:
/// imgui.h:2374
///
float TreeLinesRounding
///
///
public ref float TreeLinesRounding => ref Unsafe.AsRef(&_ptr->TreeLinesRounding);
///
///
/// Side of the color button in the ColorEdit4 widget (left/right). Defaults to ImGuiDir_Right.
///
///
/// C++:
/// imgui.h:2375
///
ImGuiDir ColorButtonPosition
///
///
public ref ImGuiDir ColorButtonPosition => ref Unsafe.AsRef(&_ptr->ColorButtonPosition);
///
///
/// Alignment of button text when button is larger than text. Defaults to (0.5f, 0.5f) (centered).
///
///
/// C++:
/// imgui.h:2376
///
ImVec2 ButtonTextAlign
///
///
public ref float2 ButtonTextAlign => ref Unsafe.AsRef(&_ptr->ButtonTextAlign);
///
///
/// Alignment of selectable text. Defaults to (0.0f, 0.0f) (top-left aligned). It's generally important to
/// keep this left-aligned if you want to lay multiple items on a same line.
///
///
/// C++:
/// imgui.h:2377
///
ImVec2 SelectableTextAlign
///
///
public ref float2 SelectableTextAlign => ref Unsafe.AsRef(&_ptr->SelectableTextAlign);
///
///
/// Thickness of border in SeparatorText()
///
///
/// C++:
/// imgui.h:2378
///
float SeparatorTextBorderSize
///
///
public ref float SeparatorTextBorderSize => ref Unsafe.AsRef(&_ptr->SeparatorTextBorderSize);
///
///
/// Alignment of text within the separator. Defaults to (0.0f, 0.5f) (left aligned, center).
///
///
/// C++:
/// imgui.h:2379
///
ImVec2 SeparatorTextAlign
///
///
public ref float2 SeparatorTextAlign => ref Unsafe.AsRef(&_ptr->SeparatorTextAlign);
///
///
/// Horizontal offset of text from each edge of the separator + spacing on other axis. Generally small
/// values. .y is recommended to be == FramePadding.y.
///
///
/// C++:
/// imgui.h:2380
///
ImVec2 SeparatorTextPadding
///
///
public ref float2 SeparatorTextPadding => ref Unsafe.AsRef(&_ptr->SeparatorTextPadding);
///
///
/// Apply to regular windows: amount which we enforce to keep visible when moving near edges of your screen.
///
///
/// C++:
/// imgui.h:2381
///
ImVec2 DisplayWindowPadding
///
///
public ref float2 DisplayWindowPadding => ref Unsafe.AsRef(&_ptr->DisplayWindowPadding);
///
///
/// Apply to every windows, menus, popups, tooltips: amount where we avoid displaying contents. Adjust if
/// you cannot see the edges of your screen (e.g. on a TV where scaling has not been configured).
///
///
/// C++:
/// imgui.h:2382
///
ImVec2 DisplaySafeAreaPadding
///
///
public ref float2 DisplaySafeAreaPadding => ref Unsafe.AsRef(&_ptr->DisplaySafeAreaPadding);
///
///
/// Thickness of resizing border between docked windows
///
///
/// C++:
/// imgui.h:2383
///
float DockingSeparatorSize
///
///
public ref float DockingSeparatorSize => ref Unsafe.AsRef(&_ptr->DockingSeparatorSize);
///
///
/// Scale software rendered mouse cursor (when io.MouseDrawCursor is enabled). We apply per-monitor DPI
/// scaling over this scale. May be removed later.
///
///
/// C++:
/// imgui.h:2384
///
float MouseCursorScale
///
///
public ref float MouseCursorScale => ref Unsafe.AsRef(&_ptr->MouseCursorScale);
///
///
/// Enable anti-aliased lines/borders. Disable if you are really tight on CPU/GPU. Latched at the beginning
/// of the frame (copied to ImDrawList).
///
///
/// C++:
/// imgui.h:2385
///
bool AntiAliasedLines
///
///
public ref bool AntiAliasedLines => ref Unsafe.AsRef(&_ptr->AntiAliasedLines);
///
///
/// Enable anti-aliased lines/borders using textures where possible. Require backend to render with bilinear
/// filtering (NOT point/nearest filtering). Latched at the beginning of the frame (copied to ImDrawList).
///
///
/// C++:
/// imgui.h:2386
///
bool AntiAliasedLinesUseTex
///
///
public ref bool AntiAliasedLinesUseTex => ref Unsafe.AsRef(&_ptr->AntiAliasedLinesUseTex);
///
///
/// Enable anti-aliased edges around filled shapes (rounded rectangles, circles, etc.). Disable if you are
/// really tight on CPU/GPU. Latched at the beginning of the frame (copied to ImDrawList).
///
///
/// C++:
/// imgui.h:2387
///
bool AntiAliasedFill
///
///
public ref bool AntiAliasedFill => ref Unsafe.AsRef(&_ptr->AntiAliasedFill);
///
///
/// Tessellation tolerance when using PathBezierCurveTo() without a specific number of segments. Decrease
/// for highly tessellated curves (higher quality, more polygons), increase to reduce quality.
///
///
/// C++:
/// imgui.h:2388
///
float CurveTessellationTol
///
///
public ref float CurveTessellationTol => ref Unsafe.AsRef(&_ptr->CurveTessellationTol);
///
///
/// Maximum error (in pixels) allowed when using AddCircle()/AddCircleFilled() or drawing rounded corner
/// rectangles with no explicit segment count specified. Decrease for higher quality but more geometry.
///
///
/// C++:
/// imgui.h:2389
///
float CircleTessellationMaxError
///
///
public ref float CircleTessellationMaxError => ref Unsafe.AsRef(&_ptr->CircleTessellationMaxError);
///
///
/// C++:
/// imgui.h:2392
///
ImVec4 Colors[ImGuiCol_COUNT]
///
///
///
///
/// Colors
///
///
public ref float4_60 Colors => ref Unsafe.AsRef(&_ptr->Colors);
///
///
/// Delay for IsItemHovered(ImGuiHoveredFlags_Stationary). Time required to consider mouse stationary.
///
///
/// C++:
/// imgui.h:2396
///
float HoverStationaryDelay
///
///
///
///
/// Behaviors
/// (It is possible to modify those fields mid-frame if specific behavior need it, unlike e.g. configuration fields in ImGuiIO)
///
///
public ref float HoverStationaryDelay => ref Unsafe.AsRef(&_ptr->HoverStationaryDelay);
///
///
/// Delay for IsItemHovered(ImGuiHoveredFlags_DelayShort). Usually used along with HoverStationaryDelay.
///
///
/// C++:
/// imgui.h:2397
///
float HoverDelayShort
///
///
///
///
/// Behaviors
/// (It is possible to modify those fields mid-frame if specific behavior need it, unlike e.g. configuration fields in ImGuiIO)
///
///
public ref float HoverDelayShort => ref Unsafe.AsRef(&_ptr->HoverDelayShort);
///
///
/// Delay for IsItemHovered(ImGuiHoveredFlags_DelayNormal). "
///
///
/// C++:
/// imgui.h:2398
///
float HoverDelayNormal
///
///
///
///
/// Behaviors
/// (It is possible to modify those fields mid-frame if specific behavior need it, unlike e.g. configuration fields in ImGuiIO)
///
///
public ref float HoverDelayNormal => ref Unsafe.AsRef(&_ptr->HoverDelayNormal);
///
///
/// Default flags when using IsItemHovered(ImGuiHoveredFlags_ForTooltip) or
/// BeginItemTooltip()/SetItemTooltip() while using mouse.
///
///
/// C++:
/// imgui.h:2399
///
ImGuiHoveredFlags HoverFlagsForTooltipMouse
///
///
///
///
/// Behaviors
/// (It is possible to modify those fields mid-frame if specific behavior need it, unlike e.g. configuration fields in ImGuiIO)
///
///
public ref ImGuiHoveredFlags HoverFlagsForTooltipMouse =>
ref Unsafe.AsRef(&_ptr->HoverFlagsForTooltipMouse);
///
///
/// Default flags when using IsItemHovered(ImGuiHoveredFlags_ForTooltip) or
/// BeginItemTooltip()/SetItemTooltip() while using keyboard/gamepad.
///
///
/// C++:
/// imgui.h:2400
///
ImGuiHoveredFlags HoverFlagsForTooltipNav
///
///
///
///
/// Behaviors
/// (It is possible to modify those fields mid-frame if specific behavior need it, unlike e.g. configuration fields in ImGuiIO)
///
///
public ref ImGuiHoveredFlags HoverFlagsForTooltipNav =>
ref Unsafe.AsRef(&_ptr->HoverFlagsForTooltipNav);
///
///
/// FIXME-WIP: Reference scale, as applied by ScaleAllSizes().
///
///
/// C++:
/// imgui.h:2403
///
float _MainScale
///
///
///
///
/// [Internal]
///
///
public ref float _MainScale => ref Unsafe.AsRef(&_ptr->_MainScale);
///
///
/// FIXME: Temporary hack until we finish remaining work.
///
///
/// C++:
/// imgui.h:2404
///
float _NextFrameFontSizeBase
///
///
///
///
/// [Internal]
///
///
public ref float _NextFrameFontSizeBase => ref Unsafe.AsRef(&_ptr->_NextFrameFontSizeBase);
}
}