Class ImRaii
Assembly: Dalamud.dll
View Source
public static class ImRaii
Methods
PushColor(ImGuiCol, uint, bool)
View Source
public static ImRaii.Color PushColor(ImGuiCol idx, uint color, bool condition = true)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.Color
Parameters
Type | Name |
---|---|
ImGuiNET.ImGuiCol | idx |
System.UInt32 | color |
System.Boolean | condition |
PushColor(ImGuiCol, Vector4, bool)
View Source
public static ImRaii.Color PushColor(ImGuiCol idx, Vector4 color, bool condition = true)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.Color
Parameters
Type | Name |
---|---|
ImGuiNET.ImGuiCol | idx |
System.Numerics.Vector4 | color |
System.Boolean | condition |
DefaultColors()
View Source
public static ImRaii.Color DefaultColors()
Returns
Dalamud.Interface.Utility.Raii.ImRaii.Color
Child(string)
View Source
public static ImRaii.IEndObject Child(string strId)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | strId |
Child(string, Vector2)
View Source
public static ImRaii.IEndObject Child(string strId, Vector2 size)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | strId |
System.Numerics.Vector2 | size |
Child(string, Vector2, bool)
View Source
public static ImRaii.IEndObject Child(string strId, Vector2 size, bool border)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | strId |
System.Numerics.Vector2 | size |
System.Boolean | border |
Child(string, Vector2, bool, ImGuiWindowFlags)
View Source
public static ImRaii.IEndObject Child(string strId, Vector2 size, bool border, ImGuiWindowFlags flags)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | strId |
System.Numerics.Vector2 | size |
System.Boolean | border |
ImGuiNET.ImGuiWindowFlags | flags |
DragDropTarget()
View Source
public static ImRaii.IEndObject DragDropTarget()
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
DragDropSource()
View Source
public static ImRaii.IEndObject DragDropSource()
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
DragDropSource(ImGuiDragDropFlags)
View Source
public static ImRaii.IEndObject DragDropSource(ImGuiDragDropFlags flags)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
ImGuiNET.ImGuiDragDropFlags | flags |
Popup(string)
View Source
public static ImRaii.IEndObject Popup(string id)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | id |
Popup(string, ImGuiWindowFlags)
View Source
public static ImRaii.IEndObject Popup(string id, ImGuiWindowFlags flags)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | id |
ImGuiNET.ImGuiWindowFlags | flags |
PopupModal(string)
View Source
public static ImRaii.IEndObject PopupModal(string id)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | id |
PopupModal(string, ref bool)
View Source
public static ImRaii.IEndObject PopupModal(string id, ref bool open)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | id |
System.Boolean | open |
PopupModal(string, ref bool, ImGuiWindowFlags)
View Source
public static ImRaii.IEndObject PopupModal(string id, ref bool open, ImGuiWindowFlags flags)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | id |
System.Boolean | open |
ImGuiNET.ImGuiWindowFlags | flags |
ContextPopup(string)
View Source
public static ImRaii.IEndObject ContextPopup(string id)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | id |
ContextPopup(string, ImGuiPopupFlags)
View Source
public static ImRaii.IEndObject ContextPopup(string id, ImGuiPopupFlags flags)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | id |
ImGuiNET.ImGuiPopupFlags | flags |
ContextPopupItem(string)
View Source
public static ImRaii.IEndObject ContextPopupItem(string id)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | id |
ContextPopupItem(string, ImGuiPopupFlags)
View Source
public static ImRaii.IEndObject ContextPopupItem(string id, ImGuiPopupFlags flags)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | id |
ImGuiNET.ImGuiPopupFlags | flags |
Combo(string, string)
View Source
public static ImRaii.IEndObject Combo(string label, string previewValue)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | label |
System.String | previewValue |
Combo(string, string, ImGuiComboFlags)
View Source
public static ImRaii.IEndObject Combo(string label, string previewValue, ImGuiComboFlags flags)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | label |
System.String | previewValue |
ImGuiNET.ImGuiComboFlags | flags |
Group()
View Source
public static ImRaii.IEndObject Group()
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Tooltip()
View Source
public static ImRaii.IEndObject Tooltip()
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
ListBox(string)
View Source
public static ImRaii.IEndObject ListBox(string label)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | label |
ListBox(string, Vector2)
View Source
public static ImRaii.IEndObject ListBox(string label, Vector2 size)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | label |
System.Numerics.Vector2 | size |
Table(string, int)
View Source
public static ImRaii.IEndObject Table(string table, int numColumns)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | table |
System.Int32 | numColumns |
Table(string, int, ImGuiTableFlags)
View Source
public static ImRaii.IEndObject Table(string table, int numColumns, ImGuiTableFlags flags)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | table |
System.Int32 | numColumns |
ImGuiNET.ImGuiTableFlags | flags |
Table(string, int, ImGuiTableFlags, Vector2)
View Source
public static ImRaii.IEndObject Table(string table, int numColumns, ImGuiTableFlags flags, Vector2 outerSize)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | table |
System.Int32 | numColumns |
ImGuiNET.ImGuiTableFlags | flags |
System.Numerics.Vector2 | outerSize |
Table(string, int, ImGuiTableFlags, Vector2, float)
View Source
public static ImRaii.IEndObject Table(string table, int numColumns, ImGuiTableFlags flags, Vector2 outerSize, float innerWidth)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | table |
System.Int32 | numColumns |
ImGuiNET.ImGuiTableFlags | flags |
System.Numerics.Vector2 | outerSize |
System.Single | innerWidth |
TabBar(string)
View Source
public static ImRaii.IEndObject TabBar(string label)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | label |
TabBar(string, ImGuiTabBarFlags)
View Source
public static ImRaii.IEndObject TabBar(string label, ImGuiTabBarFlags flags)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | label |
ImGuiNET.ImGuiTabBarFlags | flags |
TabItem(string)
View Source
public static ImRaii.IEndObject TabItem(string label)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | label |
TabItem(byte*, ImGuiTabItemFlags)
View Source
public static ImRaii.IEndObject TabItem(byte* label, ImGuiTabItemFlags flags)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.Byte* | label |
ImGuiNET.ImGuiTabItemFlags | flags |
TabItem(string, ImGuiTabItemFlags)
View Source
public static ImRaii.IEndObject TabItem(string label, ImGuiTabItemFlags flags)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | label |
ImGuiNET.ImGuiTabItemFlags | flags |
TabItem(string, ref bool)
View Source
public static ImRaii.IEndObject TabItem(string label, ref bool open)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | label |
System.Boolean | open |
TabItem(string, ref bool, ImGuiTabItemFlags)
View Source
public static ImRaii.IEndObject TabItem(string label, ref bool open, ImGuiTabItemFlags flags)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | label |
System.Boolean | open |
ImGuiNET.ImGuiTabItemFlags | flags |
TreeNode(string)
View Source
public static ImRaii.IEndObject TreeNode(string label)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | label |
TreeNode(string, ImGuiTreeNodeFlags)
View Source
public static ImRaii.IEndObject TreeNode(string label, ImGuiTreeNodeFlags flags)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | label |
ImGuiNET.ImGuiTreeNodeFlags | flags |
Disabled()
View Source
public static ImRaii.IEndObject Disabled()
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Disabled(bool)
View Source
public static ImRaii.IEndObject Disabled(bool disabled)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.Boolean | disabled |
Enabled()
View Source
public static ImRaii.IEndObject Enabled()
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
PushFont(ImFontPtr, bool)
View Source
public static ImRaii.Font PushFont(ImFontPtr font, bool condition = true)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.Font
Parameters
Type | Name |
---|---|
ImGuiNET.ImFontPtr | font |
System.Boolean | condition |
DefaultFont()
View Source
public static ImRaii.Font DefaultFont()
Returns
Dalamud.Interface.Utility.Raii.ImRaii.Font
PushId(string, bool)
View Source
public static ImRaii.Id PushId(string id, bool enabled = true)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.Id
Parameters
Type | Name |
---|---|
System.String | id |
System.Boolean | enabled |
PushId(int, bool)
View Source
public static ImRaii.Id PushId(int id, bool enabled = true)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.Id
Parameters
Type | Name |
---|---|
System.Int32 | id |
System.Boolean | enabled |
PushId(nint, bool)
View Source
public static ImRaii.Id PushId(nint id, bool enabled = true)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.Id
Parameters
Type | Name |
---|---|
System.IntPtr | id |
System.Boolean | enabled |
PushIndent(float, bool, bool)
View Source
public static ImRaii.Indent PushIndent(float f, bool scaled = true, bool condition = true)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.Indent
Parameters
Type | Name |
---|---|
System.Single | f |
System.Boolean | scaled |
System.Boolean | condition |
PushIndent(int, bool)
View Source
public static ImRaii.Indent PushIndent(int i = 1, bool condition = true)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.Indent
Parameters
Type | Name |
---|---|
System.Int32 | i |
System.Boolean | condition |
Plot(string, Vector2, ImPlotFlags)
View Source
public static ImRaii.IEndObject Plot(string title_id, Vector2 size, ImPlotFlags flags)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | title_id |
System.Numerics.Vector2 | size |
ImPlotNET.ImPlotFlags | flags |
AlignedPlots(string, bool)
View Source
public static ImRaii.IEndObject AlignedPlots(string group_id, bool vertical = true)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | group_id |
System.Boolean | vertical |
LegendPopup(string, ImGuiMouseButton)
View Source
public static ImRaii.IEndObject LegendPopup(string label_id, ImGuiMouseButton mouse_button = ImGuiMouseButton.Right)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | label_id |
ImGuiNET.ImGuiMouseButton | mouse_button |
Subplots(string, int, int, Vector2, ImPlotSubplotFlags)
View Source
public static ImRaii.IEndObject Subplots(string title_id, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags = ImPlotSubplotFlags.None)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | title_id |
System.Int32 | rows |
System.Int32 | cols |
System.Numerics.Vector2 | size |
ImPlotNET.ImPlotSubplotFlags | flags |
Subplots(string, int, int, Vector2, ImPlotSubplotFlags, ref float, ref float)
View Source
public static ImRaii.IEndObject Subplots(string title_id, int rows, int cols, Vector2 size, ImPlotSubplotFlags flags, ref float row_ratios, ref float col_ratios)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | title_id |
System.Int32 | rows |
System.Int32 | cols |
System.Numerics.Vector2 | size |
ImPlotNET.ImPlotSubplotFlags | flags |
System.Single | row_ratios |
System.Single | col_ratios |
DragDropSourceAxis(ImAxis, ImGuiDragDropFlags)
View Source
public static ImRaii.IEndObject DragDropSourceAxis(ImAxis axis, ImGuiDragDropFlags flags = ImGuiDragDropFlags.None)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
ImPlotNET.ImAxis | axis |
ImGuiNET.ImGuiDragDropFlags | flags |
DragDropSourceItem(string, ImGuiDragDropFlags)
View Source
public static ImRaii.IEndObject DragDropSourceItem(string label_id, ImGuiDragDropFlags flags = ImGuiDragDropFlags.None)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
System.String | label_id |
ImGuiNET.ImGuiDragDropFlags | flags |
DragDropSourcePlot(ImGuiDragDropFlags)
View Source
public static ImRaii.IEndObject DragDropSourcePlot(ImGuiDragDropFlags flags = ImGuiDragDropFlags.None)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
ImGuiNET.ImGuiDragDropFlags | flags |
DragDropTargetAxis(ImAxis)
View Source
public static ImRaii.IEndObject DragDropTargetAxis(ImAxis axis)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
Parameters
Type | Name |
---|---|
ImPlotNET.ImAxis | axis |
DragDropTargetLegend()
View Source
public static ImRaii.IEndObject DragDropTargetLegend()
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
DragDropTargetPlot()
View Source
public static ImRaii.IEndObject DragDropTargetPlot()
Returns
Dalamud.Interface.Utility.Raii.ImRaii.IEndObject
PushStyle(ImPlotStyleVar, int, bool)
View Source
public static ImRaii.PlotStyle PushStyle(ImPlotStyleVar idx, int value, bool condition = true)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.PlotStyle
Parameters
Type | Name |
---|---|
ImPlotNET.ImPlotStyleVar | idx |
System.Int32 | value |
System.Boolean | condition |
PushStyle(ImPlotStyleVar, float, bool)
View Source
public static ImRaii.PlotStyle PushStyle(ImPlotStyleVar idx, float value, bool condition = true)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.PlotStyle
Parameters
Type | Name |
---|---|
ImPlotNET.ImPlotStyleVar | idx |
System.Single | value |
System.Boolean | condition |
PushStyle(ImPlotStyleVar, Vector2, bool)
View Source
public static ImRaii.PlotStyle PushStyle(ImPlotStyleVar idx, Vector2 value, bool condition = true)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.PlotStyle
Parameters
Type | Name |
---|---|
ImPlotNET.ImPlotStyleVar | idx |
System.Numerics.Vector2 | value |
System.Boolean | condition |
DefaultPlotStyle()
View Source
public static ImRaii.PlotStyle DefaultPlotStyle()
Returns
Dalamud.Interface.Utility.Raii.ImRaii.PlotStyle
PushColor(ImPlotCol, uint, bool)
View Source
public static ImRaii.PlotColor PushColor(ImPlotCol idx, uint color, bool condition = true)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.PlotColor
Parameters
Type | Name |
---|---|
ImPlotNET.ImPlotCol | idx |
System.UInt32 | color |
System.Boolean | condition |
PushColor(ImPlotCol, Vector4, bool)
View Source
public static ImRaii.PlotColor PushColor(ImPlotCol idx, Vector4 color, bool condition = true)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.PlotColor
Parameters
Type | Name |
---|---|
ImPlotNET.ImPlotCol | idx |
System.Numerics.Vector4 | color |
System.Boolean | condition |
DefaultPlotColors()
View Source
public static ImRaii.PlotColor DefaultPlotColors()
Returns
Dalamud.Interface.Utility.Raii.ImRaii.PlotColor
PushStyle(ImGuiStyleVar, float, bool)
View Source
public static ImRaii.Style PushStyle(ImGuiStyleVar idx, float value, bool condition = true)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.Style
Parameters
Type | Name |
---|---|
ImGuiNET.ImGuiStyleVar | idx |
System.Single | value |
System.Boolean | condition |
PushStyle(ImGuiStyleVar, Vector2, bool)
View Source
public static ImRaii.Style PushStyle(ImGuiStyleVar idx, Vector2 value, bool condition = true)
Returns
Dalamud.Interface.Utility.Raii.ImRaii.Style
Parameters
Type | Name |
---|---|
ImGuiNET.ImGuiStyleVar | idx |
System.Numerics.Vector2 | value |
System.Boolean | condition |
DefaultStyle()
View Source
public static ImRaii.Style DefaultStyle()