Skip to main content
Version: 14.x (API 14) [Legacy]

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
TypeName
System.Int32index

SetOffset(int, float)

Declaration
public void SetOffset(int index, float value)
Parameters
TypeName
System.Int32index
System.Singlevalue

GetWidth(int)

Declaration
public float GetWidth(int index)
Returns

System.Single

Parameters
TypeName
System.Int32index

SetWidth(int, float)

Declaration
public void SetWidth(int index, float width)
Parameters
TypeName
System.Int32index
System.Singlewidth

Dispose()

Revert to the prior number of columns.

Declaration
public void Dispose()

Implements

  • System.IDisposable