Class SettingsTable
Inheritance
SettingsTable
Assembly: SadConsole.Debug.MonoGame.dll
Syntax
public static class SettingsTable
Methods
BeginTable(string, ImGuiTableFlags, ImGuiTableColumnFlags, ImGuiTableColumnFlags)
Declaration
public static bool BeginTable(string id, ImGuiTableFlags tableFlags = ImGuiTableFlags.None, ImGuiTableColumnFlags column1Flags = ImGuiTableColumnFlags.WidthStretch, ImGuiTableColumnFlags column2Flags = ImGuiTableColumnFlags.WidthStretch)
Parameters
| Type |
Name |
Description |
| string |
id |
|
| ImGuiTableFlags |
tableFlags |
|
| ImGuiTableColumnFlags |
column1Flags |
|
| ImGuiTableColumnFlags |
column2Flags |
|
Returns
DrawCheckbox(string, string, ref bool)
Declaration
public static bool DrawCheckbox(string label, string id, ref bool isChecked)
Parameters
Returns
DrawColor(string, string, ref Vector4, Vector4?, bool, out bool, ImGuiColorEditFlags)
Declaration
public static bool DrawColor(string label, string id, ref Vector4 color, Vector4? resetColor, bool showPalette, out bool colorRightClicked, ImGuiColorEditFlags flags = ImGuiColorEditFlags.NoInputs | ImGuiColorEditFlags.AlphaPreviewHalf)
Parameters
Returns
DrawCommonSettings(bool, bool, bool, bool, bool, ref ColoredGlyphReference, Vector4?, Vector4?, IFont, ImGuiRenderer)
Declaration
public static void DrawCommonSettings(bool showForeground, bool showBackground, bool showMirror, bool showGlyph, bool enableSwapForeBackRightClick, ref ColoredGlyphReference glyphRef, Vector4? foregroundResetColor, Vector4? backgroundResetColor, IFont font, ImGuiRenderer renderer)
Parameters
DrawCommonSettings(bool, bool, bool, bool, bool, ref Vector4, Vector4?, ref Vector4, Vector4?, ref Mirror, ref int, IFont, ImGuiRenderer)
Declaration
public static void DrawCommonSettings(bool showForeground, bool showBackground, bool showMirror, bool showGlyph, bool enableSwapForeBackRightClick, ref Vector4 foreground, Vector4? foregroundResetColor, ref Vector4 background, Vector4? backgroundResetColor, ref Mirror mirror, ref int glyph, IFont font, ImGuiRenderer renderer)
Parameters
DrawFontGlyph(string, string, ref int, Vector4, Vector4, IFont, ImGuiRenderer)
Declaration
public static bool DrawFontGlyph(string label, string id, ref int glyph, Vector4 glyphForeground, Vector4 glyphBackground, IFont font, ImGuiRenderer renderer)
Parameters
Returns
DrawInt(string, string, ref int, int, int, int)
Declaration
public static bool DrawInt(string label, string id, ref int intValue, int minValue = 0, int maxValue = -1, int width = -1)
Parameters
Returns
DrawMirror(string, string, ref Mirror, int)
Declaration
public static bool DrawMirror(string label, string id, ref Mirror mirror, int width = -1)
Parameters
Returns
DrawString(string, ref string, ulong)
Declaration
public static bool DrawString(string label, ref string text, ulong maxLength)
Parameters
Returns
DrawText(string, string, bool)
Declaration
public static void DrawText(string label, string text, bool alignTextToFramePadding = true)
Parameters
EndTable()
Declaration
public static void EndTable()