Struct ImRaii.ColumnsDisposable
A wrapper around creating pre-table style column separation.
Assembly: Dalamud.dll​
Declaration
public ref struct ImRaii.ColumnsDisposable : IDisposable
Implements:
System.IDisposable
Properties​
Count​
Gets the current number of columns.
Declaration
public int Count { get; }
Current​
Gets the index of the current column.
Declaration
public int Current { get; }
Offset​
Gets or sets the offset of the current column.
Declaration
public float Offset { get; set; }
Width​
Gets or sets the width of the current column.
Declaration
public float Width { get; set; }
Fields​
LastColumns​
The columns before pushing this to revert to.
Declaration
public readonly int LastColumns
Methods​
Next()​
Move to the next column.
Declaration
public void Next()
GetOffset(int)​
Declaration
public float GetOffset(int index)
Returns​
System.Single
Parameters​
| Type | Name |
|---|---|
System.Int32 | index |
SetOffset(int, float)​
Declaration
public void SetOffset(int index, float value)
Parameters​
| Type | Name |
|---|---|
System.Int32 | index |
System.Single | value |
GetWidth(int)​
Declaration
public float GetWidth(int index)
Returns​
System.Single
Parameters​
| Type | Name |
|---|---|
System.Int32 | index |
SetWidth(int, float)​
Declaration
public void SetWidth(int index, float width)
Parameters​
| Type | Name |
|---|---|
System.Int32 | index |
System.Single | width |
Dispose()​
Revert to the prior number of columns.
Declaration
public void Dispose()
Implements​
System.IDisposable