brutal/Brutal.ImGui/Generated/Enums/ImGuiTableBgTarget.gen.cs
Rian Drake b578433e37 first
2026-10-15 17:10:50 +13:00

127 lines
6.8 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#L2180">imgui.h:2180</see>
/// <br/><c>enum ImGuiTableBgTarget_</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Enum for ImGui::TableSetBgColor()
/// Background colors are rendering in 3 layers:
/// - Layer 0: draw with RowBg0 color if set, otherwise draw with ColumnBg0 if set.
/// - Layer 1: draw with RowBg1 color if set, otherwise draw with ColumnBg1 if set.
/// - Layer 2: draw with CellBg color if set.
/// The purpose of the two row/columns layers is to let you decide if a background color change should override or blend with the existing color.
/// When using ImGuiTableFlags_RowBg on the table, each row has the RowBg0 color automatically set for odd/even rows.
/// If you set the color of RowBg0 target, your color will override the existing RowBg0 color.
/// If you set the color of RowBg1 or ColumnBg1 target, your color will blend over the RowBg0 color.
/// </code>
/// </remarks>
public enum ImGuiTableBgTarget : int
{
/// <summary>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2182">imgui.h:2182</see>
/// <br/><c>ImGuiTableBgTarget_None = 0</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Enum for ImGui::TableSetBgColor()
/// Background colors are rendering in 3 layers:
/// - Layer 0: draw with RowBg0 color if set, otherwise draw with ColumnBg0 if set.
/// - Layer 1: draw with RowBg1 color if set, otherwise draw with ColumnBg1 if set.
/// - Layer 2: draw with CellBg color if set.
/// The purpose of the two row/columns layers is to let you decide if a background color change should override or blend with the existing color.
/// When using ImGuiTableFlags_RowBg on the table, each row has the RowBg0 color automatically set for odd/even rows.
/// If you set the color of RowBg0 target, your color will override the existing RowBg0 color.
/// If you set the color of RowBg1 or ColumnBg1 target, your color will blend over the RowBg0 color.
/// </code>
/// </remarks>
None = 0,
/// <summary>
/// <para>
/// Set row background color 0 (generally used for background, automatically set when ImGuiTableFlags_RowBg
/// is used)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2183">imgui.h:2183</see>
/// <br/><c>ImGuiTableBgTarget_RowBg0 = 1</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Enum for ImGui::TableSetBgColor()
/// Background colors are rendering in 3 layers:
/// - Layer 0: draw with RowBg0 color if set, otherwise draw with ColumnBg0 if set.
/// - Layer 1: draw with RowBg1 color if set, otherwise draw with ColumnBg1 if set.
/// - Layer 2: draw with CellBg color if set.
/// The purpose of the two row/columns layers is to let you decide if a background color change should override or blend with the existing color.
/// When using ImGuiTableFlags_RowBg on the table, each row has the RowBg0 color automatically set for odd/even rows.
/// If you set the color of RowBg0 target, your color will override the existing RowBg0 color.
/// If you set the color of RowBg1 or ColumnBg1 target, your color will blend over the RowBg0 color.
/// </code>
/// </remarks>
RowBg0 = 1,
/// <summary>
/// <para>
/// Set row background color 1 (generally used for selection marking)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2184">imgui.h:2184</see>
/// <br/><c>ImGuiTableBgTarget_RowBg1 = 2</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Enum for ImGui::TableSetBgColor()
/// Background colors are rendering in 3 layers:
/// - Layer 0: draw with RowBg0 color if set, otherwise draw with ColumnBg0 if set.
/// - Layer 1: draw with RowBg1 color if set, otherwise draw with ColumnBg1 if set.
/// - Layer 2: draw with CellBg color if set.
/// The purpose of the two row/columns layers is to let you decide if a background color change should override or blend with the existing color.
/// When using ImGuiTableFlags_RowBg on the table, each row has the RowBg0 color automatically set for odd/even rows.
/// If you set the color of RowBg0 target, your color will override the existing RowBg0 color.
/// If you set the color of RowBg1 or ColumnBg1 target, your color will blend over the RowBg0 color.
/// </code>
/// </remarks>
RowBg1 = 2,
/// <summary>
/// <para>
/// Set cell background color (top-most color)
/// </para>
/// <para>
/// C++:
/// <see href="https://github.com/RocketWerkz/imgui/blob/v1.92.2-docking-brutal/imgui.h#L2185">imgui.h:2185</see>
/// <br/><c>ImGuiTableBgTarget_CellBg = 3</c>
/// </para>
/// </summary>
/// <remarks>
/// <code>
/// Enum for ImGui::TableSetBgColor()
/// Background colors are rendering in 3 layers:
/// - Layer 0: draw with RowBg0 color if set, otherwise draw with ColumnBg0 if set.
/// - Layer 1: draw with RowBg1 color if set, otherwise draw with ColumnBg1 if set.
/// - Layer 2: draw with CellBg color if set.
/// The purpose of the two row/columns layers is to let you decide if a background color change should override or blend with the existing color.
/// When using ImGuiTableFlags_RowBg on the table, each row has the RowBg0 color automatically set for odd/even rows.
/// If you set the color of RowBg0 target, your color will override the existing RowBg0 color.
/// If you set the color of RowBg1 or ColumnBg1 target, your color will blend over the RowBg0 color.
/// </code>
/// </remarks>
CellBg = 3,
}
}