Skip to content

SettingsTable Class

C#
public static class SettingsTable

Inheritance object

BeginTable(string, ImGuiTableFlags, ImGuiTableColumnFlags, ImGuiTableColumnFlags)

Section titled “BeginTable(string, ImGuiTableFlags, ImGuiTableColumnFlags, ImGuiTableColumnFlags)”
C#
public static bool BeginTable(string id, ImGuiTableFlags tableFlags = ImGuiTableFlags.None, ImGuiTableColumnFlags column1Flags = ImGuiTableColumnFlags.WidthStretch, ImGuiTableColumnFlags column2Flags = ImGuiTableColumnFlags.WidthStretch)

id string

tableFlags Hexa.NET.ImGui.ImGuiTableFlags

column1Flags Hexa.NET.ImGui.ImGuiTableColumnFlags

column2Flags Hexa.NET.ImGui.ImGuiTableColumnFlags

bool

C#
public static void EndTable()

DrawCommonSettings(bool, bool, bool, bool, bool, ref ColoredGlyphReference, Vector4?, Vector4?, IFont, ImGuiRenderer)

Section titled “DrawCommonSettings(bool, bool, bool, bool, bool, ref ColoredGlyphReference, Vector4?, Vector4?, IFont, ImGuiRenderer)”
C#
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)

showForeground bool

showBackground bool

showMirror bool

showGlyph bool

enableSwapForeBackRightClick bool

glyphRef ColoredGlyphReference

foregroundResetColor Vector4?

backgroundResetColor Vector4?

font IFont

renderer ImGuiRenderer

DrawCommonSettings(bool, bool, bool, bool, bool, ref Vector4, Vector4?, ref Vector4, Vector4?, ref Mirror, ref int, IFont, ImGuiRenderer)

Section titled “DrawCommonSettings(bool, bool, bool, bool, bool, ref Vector4, Vector4?, ref Vector4, Vector4?, ref Mirror, ref int, IFont, ImGuiRenderer)”
C#
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)

showForeground bool

showBackground bool

showMirror bool

showGlyph bool

enableSwapForeBackRightClick bool

foreground Vector4

foregroundResetColor Vector4?

background Vector4

backgroundResetColor Vector4?

mirror Mirror

glyph int

font IFont

renderer ImGuiRenderer

C#
public static bool DrawCheckbox(string label, string id, ref bool isChecked)

label string

id string

isChecked bool

bool

DrawInt(string, string, ref int, int, int, int)

Section titled “DrawInt(string, string, ref int, int, int, int)”
C#
public static bool DrawInt(string label, string id, ref int intValue, int minValue = 0, int maxValue = -1, int width = -1)

label string

id string

intValue int

minValue int

maxValue int

width int

bool

C#
public static void DrawText(string label, string text, bool alignTextToFramePadding = true)

label string

text string

alignTextToFramePadding bool

C#
public static bool DrawString(string label, ref string text, ulong maxLength)

label string

text string

maxLength ulong

bool

DrawColor(string, string, ref Vector4, Vector4?, bool, out bool, ImGuiColorEditFlags)

Section titled “DrawColor(string, string, ref Vector4, Vector4?, bool, out bool, ImGuiColorEditFlags)”
C#
public static bool DrawColor(string label, string id, ref Vector4 color, Vector4? resetColor, bool showPalette, out bool colorRightClicked, ImGuiColorEditFlags flags = ImGuiColorEditFlags.NoInputs | ImGuiColorEditFlags.AlphaPreviewHalf)

label string

id string

color Vector4

resetColor Vector4?

showPalette bool

colorRightClicked bool

flags Hexa.NET.ImGui.ImGuiColorEditFlags

bool

DrawMirror(string, string, ref Mirror, int)

Section titled “DrawMirror(string, string, ref Mirror, int)”
C#
public static bool DrawMirror(string label, string id, ref Mirror mirror, int width = -1)

label string

id string

mirror Mirror

width int

bool

DrawFontGlyph(string, string, ref int, Vector4, Vector4, IFont, ImGuiRenderer)

Section titled “DrawFontGlyph(string, string, ref int, Vector4, Vector4, IFont, ImGuiRenderer)”
C#
public static bool DrawFontGlyph(string label, string id, ref int glyph, Vector4 glyphForeground, Vector4 glyphBackground, IFont font, ImGuiRenderer renderer)

label string

id string

glyph int

glyphForeground Vector4

glyphBackground Vector4

font IFont

renderer ImGuiRenderer

bool