Class SettingsTable
Inheritance
SettingsTable
Assembly: SadConsole.Debug.MonoGame.dll
Syntax
public static class SettingsTable
Methods
BeginTable(string)
Declaration
public static void BeginTable(string id)
Parameters
Type |
Name |
Description |
string |
id |
|
DrawCheckbox(string, string, ref bool)
Declaration
public static void DrawCheckbox(string label, string id, ref bool isChecked)
Parameters
DrawColor(string, string, ref Vector4, Vector4?, out bool)
Declaration
public static bool DrawColor(string label, string id, ref Vector4 color, Vector4? resetColor, out bool colorRightClicked)
Parameters
Returns
DrawCommonSettings(string, bool, bool, bool, bool, bool, ref ColoredGlyphReference, Vector4?, Vector4?, IFont, ImGuiRenderer)
Declaration
public static void DrawCommonSettings(string id, bool showForeground, bool showBackground, bool showMirror, bool showGlyph, bool enableSwapForeBackRightClick, ref ColoredGlyphReference glyphRef, Vector4? foregroundResetColor, Vector4? backgroundResetColor, IFont font, ImGuiRenderer renderer)
Parameters
DrawCommonSettings(string, bool, bool, bool, bool, bool, ref Vector4, Vector4?, ref Vector4, Vector4?, ref Mirror, ref int, IFont, ImGuiRenderer)
Declaration
public static void DrawCommonSettings(string id, 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)
Declaration
public static bool DrawInt(string label, string id, ref int intValue, int minValue = 0, int maxValue = -1)
Parameters
Returns
DrawMirror(string, string, ref Mirror)
Declaration
public static bool DrawMirror(string label, string id, ref Mirror mirror)
Parameters
Returns
DrawText(string, string)
Declaration
public static void DrawText(string label, string text)
Parameters
EndTable()
Declaration
public static void EndTable()