// // Generated by Brutal.ImGui.Generator; do not edit by hand. #nullable enable using System.Runtime.CompilerServices; namespace Brutal.ImGuiApi.Internal { /// /// /// Simple column measurement, currently used for MenuItem() only /// /// /// C++: /// imgui_internal.h:165 ///
struct ImGuiMenuColumns ///
///
/// /// /// ImGui /// /// [StructLayout(LayoutKind.Explicit, Size = 28)] public partial struct ImGuiMenuColumns { /// /// /// C++: /// imgui_internal.h:1181 ///
ImU32 TotalWidth ///
///
/// /// /// Simple column measurement, currently used for MenuItem() only.. This is very short-sighted/throw-away /// code and NOT a generic helper. /// /// [FieldOffset(0)] public uint TotalWidth; /// /// /// C++: /// imgui_internal.h:1182 ///
ImU32 NextTotalWidth ///
///
/// /// /// Simple column measurement, currently used for MenuItem() only.. This is very short-sighted/throw-away /// code and NOT a generic helper. /// /// [FieldOffset(4)] public uint NextTotalWidth; /// /// /// C++: /// imgui_internal.h:1183 ///
ImU16 Spacing ///
///
/// /// /// Simple column measurement, currently used for MenuItem() only.. This is very short-sighted/throw-away /// code and NOT a generic helper. /// /// [FieldOffset(8)] public ushort Spacing; /// /// /// Always zero for now /// /// /// C++: /// imgui_internal.h:1184 ///
ImU16 OffsetIcon ///
///
/// /// /// Simple column measurement, currently used for MenuItem() only.. This is very short-sighted/throw-away /// code and NOT a generic helper. /// /// [FieldOffset(10)] public ushort OffsetIcon; /// /// /// Offsets are locked in Update() /// /// /// C++: /// imgui_internal.h:1185 ///
ImU16 OffsetLabel ///
///
/// /// /// Simple column measurement, currently used for MenuItem() only.. This is very short-sighted/throw-away /// code and NOT a generic helper. /// /// [FieldOffset(12)] public ushort OffsetLabel; /// /// /// C++: /// imgui_internal.h:1186 ///
ImU16 OffsetShortcut ///
///
/// /// /// Simple column measurement, currently used for MenuItem() only.. This is very short-sighted/throw-away /// code and NOT a generic helper. /// /// [FieldOffset(14)] public ushort OffsetShortcut; /// /// /// C++: /// imgui_internal.h:1187 ///
ImU16 OffsetMark ///
///
/// /// /// Simple column measurement, currently used for MenuItem() only.. This is very short-sighted/throw-away /// code and NOT a generic helper. /// /// [FieldOffset(16)] public ushort OffsetMark; /// /// /// Width of: Icon, Label, Shortcut, Mark (accumulators for current frame) /// /// /// C++: /// imgui_internal.h:1188 ///
ImU16 Widths[4] ///
///
/// /// /// Simple column measurement, currently used for MenuItem() only.. This is very short-sighted/throw-away /// code and NOT a generic helper. /// /// [FieldOffset(18)] public ushort_4 Widths; } /// /// /// Simple column measurement, currently used for MenuItem() only /// /// /// C++: /// imgui_internal.h:165 ///
struct ImGuiMenuColumns ///
///
/// /// /// ImGui /// /// public unsafe partial struct ImGuiMenuColumnsPtr(ImGuiMenuColumns* ptr) : INullable { private ImGuiMenuColumns* _ptr = ptr; public ImGuiMenuColumns* Ptr => _ptr; public bool IsNull() => _ptr is null; public static implicit operator ImGuiMenuColumnsPtr(ImGuiMenuColumns* ptr) => new(ptr); public static implicit operator ImGuiMenuColumns*(ImGuiMenuColumnsPtr wrapper) => wrapper.Ptr; /// /// /// C++: /// imgui_internal.h:1181 ///
ImU32 TotalWidth ///
///
/// /// /// Simple column measurement, currently used for MenuItem() only.. This is very short-sighted/throw-away /// code and NOT a generic helper. /// /// public ref uint TotalWidth => ref Unsafe.AsRef(&_ptr->TotalWidth); /// /// /// C++: /// imgui_internal.h:1182 ///
ImU32 NextTotalWidth ///
///
/// /// /// Simple column measurement, currently used for MenuItem() only.. This is very short-sighted/throw-away /// code and NOT a generic helper. /// /// public ref uint NextTotalWidth => ref Unsafe.AsRef(&_ptr->NextTotalWidth); /// /// /// C++: /// imgui_internal.h:1183 ///
ImU16 Spacing ///
///
/// /// /// Simple column measurement, currently used for MenuItem() only.. This is very short-sighted/throw-away /// code and NOT a generic helper. /// /// public ref ushort Spacing => ref Unsafe.AsRef(&_ptr->Spacing); /// /// /// Always zero for now /// /// /// C++: /// imgui_internal.h:1184 ///
ImU16 OffsetIcon ///
///
/// /// /// Simple column measurement, currently used for MenuItem() only.. This is very short-sighted/throw-away /// code and NOT a generic helper. /// /// public ref ushort OffsetIcon => ref Unsafe.AsRef(&_ptr->OffsetIcon); /// /// /// Offsets are locked in Update() /// /// /// C++: /// imgui_internal.h:1185 ///
ImU16 OffsetLabel ///
///
/// /// /// Simple column measurement, currently used for MenuItem() only.. This is very short-sighted/throw-away /// code and NOT a generic helper. /// /// public ref ushort OffsetLabel => ref Unsafe.AsRef(&_ptr->OffsetLabel); /// /// /// C++: /// imgui_internal.h:1186 ///
ImU16 OffsetShortcut ///
///
/// /// /// Simple column measurement, currently used for MenuItem() only.. This is very short-sighted/throw-away /// code and NOT a generic helper. /// /// public ref ushort OffsetShortcut => ref Unsafe.AsRef(&_ptr->OffsetShortcut); /// /// /// C++: /// imgui_internal.h:1187 ///
ImU16 OffsetMark ///
///
/// /// /// Simple column measurement, currently used for MenuItem() only.. This is very short-sighted/throw-away /// code and NOT a generic helper. /// /// public ref ushort OffsetMark => ref Unsafe.AsRef(&_ptr->OffsetMark); /// /// /// Width of: Icon, Label, Shortcut, Mark (accumulators for current frame) /// /// /// C++: /// imgui_internal.h:1188 ///
ImU16 Widths[4] ///
///
/// /// /// Simple column measurement, currently used for MenuItem() only.. This is very short-sighted/throw-away /// code and NOT a generic helper. /// /// public ref ushort_4 Widths => ref Unsafe.AsRef(&_ptr->Widths); } }