mirror of
https://github.com/ahwootech/BRUTAL.git
synced 2026-11-25 20:48:24 +01:00
403 lines
15 KiB
C#
403 lines
15 KiB
C#
// <auto-generated/>
|
|
// Generated by Brutal.ImGui.Generator; do not edit by hand.
|
|
#nullable enable
|
|
|
|
namespace Brutal.ImGuiApi
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1315">imgui.h:1315</see>
|
|
/// <br/><c>enum ImGuiTreeNodeFlags_</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*()
|
|
/// </para>
|
|
/// </remarks>
|
|
[Flags]
|
|
public enum ImGuiTreeNodeFlags : int
|
|
{
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1317">imgui.h:1317</see>
|
|
/// <br/><c>ImGuiTreeNodeFlags_None = 0</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*()
|
|
/// </para>
|
|
/// </remarks>
|
|
None = 0,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Draw as selected
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1318">imgui.h:1318</see>
|
|
/// <br/><c>ImGuiTreeNodeFlags_Selected = 1 << 0</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*()
|
|
/// </para>
|
|
/// </remarks>
|
|
Selected = 1 << 0,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Draw frame with background (e.g. for CollapsingHeader)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1319">imgui.h:1319</see>
|
|
/// <br/><c>ImGuiTreeNodeFlags_Framed = 1 << 1</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*()
|
|
/// </para>
|
|
/// </remarks>
|
|
Framed = 1 << 1,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Hit testing to allow subsequent widgets to overlap this one
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1320">imgui.h:1320</see>
|
|
/// <br/><c>ImGuiTreeNodeFlags_AllowOverlap = 1 << 2</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*()
|
|
/// </para>
|
|
/// </remarks>
|
|
AllowOverlap = 1 << 2,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Don't do a TreePush() when open (e.g. for CollapsingHeader) = no extra indent nor pushing on ID stack
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1321">imgui.h:1321</see>
|
|
/// <br/><c>ImGuiTreeNodeFlags_NoTreePushOnOpen = 1 << 3</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*()
|
|
/// </para>
|
|
/// </remarks>
|
|
NoTreePushOnOpen = 1 << 3,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Don't automatically and temporarily open node when Logging is active (by default logging will
|
|
/// automatically open tree nodes)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1322">imgui.h:1322</see>
|
|
/// <br/><c>ImGuiTreeNodeFlags_NoAutoOpenOnLog = 1 << 4</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*()
|
|
/// </para>
|
|
/// </remarks>
|
|
NoAutoOpenOnLog = 1 << 4,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Default node to be open
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1323">imgui.h:1323</see>
|
|
/// <br/><c>ImGuiTreeNodeFlags_DefaultOpen = 1 << 5</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*()
|
|
/// </para>
|
|
/// </remarks>
|
|
DefaultOpen = 1 << 5,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Open on double-click instead of simple click (default for multi-select unless any _OpenOnXXX behavior is
|
|
/// set explicitly). Both behaviors may be combined.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1324">imgui.h:1324</see>
|
|
/// <br/><c>ImGuiTreeNodeFlags_OpenOnDoubleClick = 1 << 6</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*()
|
|
/// </para>
|
|
/// </remarks>
|
|
OpenOnDoubleClick = 1 << 6,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Open when clicking on the arrow part (default for multi-select unless any _OpenOnXXX behavior is set
|
|
/// explicitly). Both behaviors may be combined.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1325">imgui.h:1325</see>
|
|
/// <br/><c>ImGuiTreeNodeFlags_OpenOnArrow = 1 << 7</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*()
|
|
/// </para>
|
|
/// </remarks>
|
|
OpenOnArrow = 1 << 7,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// No collapsing, no arrow (use as a convenience for leaf nodes).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1326">imgui.h:1326</see>
|
|
/// <br/><c>ImGuiTreeNodeFlags_Leaf = 1 << 8</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*()
|
|
/// </para>
|
|
/// </remarks>
|
|
Leaf = 1 << 8,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Display a bullet instead of arrow. IMPORTANT: node can still be marked open/close if you don't set the
|
|
/// _Leaf flag!
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1327">imgui.h:1327</see>
|
|
/// <br/><c>ImGuiTreeNodeFlags_Bullet = 1 << 9</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*()
|
|
/// </para>
|
|
/// </remarks>
|
|
Bullet = 1 << 9,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Use FramePadding (even for an unframed text node) to vertically align text baseline to regular widget
|
|
/// height. Equivalent to calling AlignTextToFramePadding() before the node.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1328">imgui.h:1328</see>
|
|
/// <br/><c>ImGuiTreeNodeFlags_FramePadding = 1 << 10</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*()
|
|
/// </para>
|
|
/// </remarks>
|
|
FramePadding = 1 << 10,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// 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.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1329">imgui.h:1329</see>
|
|
/// <br/><c>ImGuiTreeNodeFlags_SpanAvailWidth = 1 << 11</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*()
|
|
/// </para>
|
|
/// </remarks>
|
|
SpanAvailWidth = 1 << 11,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Extend hit box to the left-most and right-most edges (cover the indent area).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1330">imgui.h:1330</see>
|
|
/// <br/><c>ImGuiTreeNodeFlags_SpanFullWidth = 1 << 12</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*()
|
|
/// </para>
|
|
/// </remarks>
|
|
SpanFullWidth = 1 << 12,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Narrow hit box + narrow hovering highlight, will only cover the label text.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1331">imgui.h:1331</see>
|
|
/// <br/><c>ImGuiTreeNodeFlags_SpanLabelWidth = 1 << 13</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*()
|
|
/// </para>
|
|
/// </remarks>
|
|
SpanLabelWidth = 1 << 13,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Frame will span all columns of its container table (label will still fit in current column)
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1332">imgui.h:1332</see>
|
|
/// <br/><c>ImGuiTreeNodeFlags_SpanAllColumns = 1 << 14</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*()
|
|
/// </para>
|
|
/// </remarks>
|
|
SpanAllColumns = 1 << 14,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Label will span all columns of its container table
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1333">imgui.h:1333</see>
|
|
/// <br/><c>ImGuiTreeNodeFlags_LabelSpanAllColumns = 1 << 15</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*()
|
|
/// </para>
|
|
/// </remarks>
|
|
LabelSpanAllColumns = 1 << 15,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Nav: left arrow moves back to parent. This is processed in TreePop() when there's an unfullfilled Left
|
|
/// nav request remaining.
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1335">imgui.h:1335</see>
|
|
/// <br/><c>ImGuiTreeNodeFlags_NavLeftJumpsToParent = 1 << 17</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*()
|
|
/// </para>
|
|
/// </remarks>
|
|
NavLeftJumpsToParent = 1 << 17,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1336">imgui.h:1336</see>
|
|
/// <br/>
|
|
/// <c>ImGuiTreeNodeFlags_CollapsingHeader = ImGuiTreeNodeFlags_Framed | ImGuiTreeNodeFlags_NoTreePushOnOpen | ImGuiTreeNodeFlags_NoAutoOpenOnLog</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <para>
|
|
/// Flags for ImGui::TreeNodeEx(), ImGui::CollapsingHeader*()
|
|
/// </para>
|
|
/// </remarks>
|
|
CollapsingHeader = Framed | NoTreePushOnOpen | NoAutoOpenOnLog,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// No lines drawn
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1340">imgui.h:1340</see>
|
|
/// <br/><c>ImGuiTreeNodeFlags_DrawLinesNone = 1 << 18</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// [EXPERIMENTAL] Draw lines connecting TreeNode hierarchy. Discuss in GitHub issue #2920.
|
|
/// Default value is pulled from style.TreeLinesFlags. May be overridden in TreeNode calls.
|
|
/// </code>
|
|
/// </remarks>
|
|
DrawLinesNone = 1 << 18,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Horizontal lines to child nodes. Vertical line drawn down to TreePop() position: cover full contents.
|
|
/// Faster (for large trees).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1341">imgui.h:1341</see>
|
|
/// <br/><c>ImGuiTreeNodeFlags_DrawLinesFull = 1 << 19</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// [EXPERIMENTAL] Draw lines connecting TreeNode hierarchy. Discuss in GitHub issue #2920.
|
|
/// Default value is pulled from style.TreeLinesFlags. May be overridden in TreeNode calls.
|
|
/// </code>
|
|
/// </remarks>
|
|
DrawLinesFull = 1 << 19,
|
|
|
|
/// <summary>
|
|
/// <para>
|
|
/// Horizontal lines to child nodes. Vertical line drawn down to bottom-most child node. Slower (for large
|
|
/// trees).
|
|
/// </para>
|
|
/// <para>
|
|
/// C++:
|
|
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L1342">imgui.h:1342</see>
|
|
/// <br/><c>ImGuiTreeNodeFlags_DrawLinesToNodes = 1 << 20</c>
|
|
/// </para>
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// <code>
|
|
/// [EXPERIMENTAL] Draw lines connecting TreeNode hierarchy. Discuss in GitHub issue #2920.
|
|
/// Default value is pulled from style.TreeLinesFlags. May be overridden in TreeNode calls.
|
|
/// </code>
|
|
/// </remarks>
|
|
DrawLinesToNodes = 1 << 20,
|
|
}
|
|
}
|