Show / Hide Table of Contents

Class SettingsTable

Inheritance
object
SettingsTable
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Hexa.NET.ImGui.SC
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
Type Description
bool

DrawCheckbox(string, string, ref bool)

Declaration
public static bool DrawCheckbox(string label, string id, ref bool isChecked)
Parameters
Type Name Description
string label
string id
bool isChecked
Returns
Type Description
bool

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
Type Name Description
string label
string id
Vector4 color
Vector4? resetColor
bool showPalette
bool colorRightClicked
ImGuiColorEditFlags flags
Returns
Type Description
bool

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
Type Name Description
bool showForeground
bool showBackground
bool showMirror
bool showGlyph
bool enableSwapForeBackRightClick
ColoredGlyphReference glyphRef
Vector4? foregroundResetColor
Vector4? backgroundResetColor
IFont font
ImGuiRenderer renderer

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
Type Name Description
bool showForeground
bool showBackground
bool showMirror
bool showGlyph
bool enableSwapForeBackRightClick
Vector4 foreground
Vector4? foregroundResetColor
Vector4 background
Vector4? backgroundResetColor
Mirror mirror
int glyph
IFont font
ImGuiRenderer renderer

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
Type Name Description
string label
string id
int glyph
Vector4 glyphForeground
Vector4 glyphBackground
IFont font
ImGuiRenderer renderer
Returns
Type Description
bool

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
Type Name Description
string label
string id
int intValue
int minValue
int maxValue
int width
Returns
Type Description
bool

DrawMirror(string, string, ref Mirror, int)

Declaration
public static bool DrawMirror(string label, string id, ref Mirror mirror, int width = -1)
Parameters
Type Name Description
string label
string id
Mirror mirror
int width
Returns
Type Description
bool

DrawString(string, ref string, ulong)

Declaration
public static bool DrawString(string label, ref string text, ulong maxLength)
Parameters
Type Name Description
string label
string text
ulong maxLength
Returns
Type Description
bool

DrawText(string, string, bool)

Declaration
public static void DrawText(string label, string text, bool alignTextToFramePadding = true)
Parameters
Type Name Description
string label
string text
bool alignTextToFramePadding

EndTable()

Declaration
public static void EndTable()
In this article

Back to top

Back to top Generated by DocFX