Class ImGuiClip
Assembly: Dalamud.dll
View Source
Declaration
public static class ImGuiClip
Methods
GetNecessarySkips(float)
View Source
Declaration
public static int GetNecessarySkips(float height)
Returns
System.Int32
Parameters
Type | Name |
---|---|
System.Single | height |
DrawEndDummy(int, float)
View Source
Declaration
public static void DrawEndDummy(int remainder, float height)
Parameters
Type | Name |
---|---|
System.Int32 | remainder |
System.Single | height |
ClippedDraw<T>(IReadOnlyList<T>, Action<T>, float)
View Source
Declaration
public static void ClippedDraw<T>(IReadOnlyList<T> data, Action<T> draw, float lineHeight)
Parameters
Type | Name |
---|---|
System.Collections.Generic.IReadOnlyList<<T>> | data |
System.Action<<T>> | draw |
System.Single | lineHeight |
Type Parameters
T
ClippedDraw<T>(IReadOnlyList<T>, Action<T>, int, float)
Draws the enumerable data with <code class="paramref">itemsPerLine</code> number of items per line.
View Source
Declaration
public static void ClippedDraw<T>(IReadOnlyList<T> data, Action<T> draw, int itemsPerLine, float lineHeight)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IReadOnlyList<<T>> | data | Enumerable containing data to draw. |
System.Action<<T>> | draw | The function to draw a single item. |
System.Int32 | itemsPerLine | How many items to draw per line. |
System.Single | lineHeight | How tall each line is. |
Type Parameters
Name | Description |
---|---|
T | The type of data to draw. |
ClippedDraw<T>(IReadOnlyList<T>, Action<T, int>, float)
View Source
Declaration
public static void ClippedDraw<T>(IReadOnlyList<T> data, Action<T, int> draw, float lineHeight)
Parameters
Type | Name |
---|---|
System.Collections.Generic.IReadOnlyList<<T>> | data |
System.Action<<T>,System.Int32> | draw |
System.Single | lineHeight |
Type Parameters
T
ClippedDraw<T>(IEnumerable<T>, int, Action<T>, int?, int)
View Source
Declaration
public static int ClippedDraw<T>(IEnumerable<T> data, int skips, Action<T> draw, int? count = null, int startIndex = 0)
Returns
System.Int32
Parameters
Type | Name |
---|---|
System.Collections.Generic.IEnumerable<<T>> | data |
System.Int32 | skips |
System.Action<<T>> | draw |
System.Nullable<System.Int32> | count |
System.Int32 | startIndex |
Type Parameters
T
FilteredClippedDraw<T>(IEnumerable<T>, int, Func<T, bool>, Action<T>, int)
View Source
Declaration
public static int FilteredClippedDraw<T>(IEnumerable<T> data, int skips, Func<T, bool> checkFilter, Action<T> draw, int startIndex = 0)
Returns
System.Int32
Parameters
Type | Name |
---|---|
System.Collections.Generic.IEnumerable<<T>> | data |
System.Int32 | skips |
System.Func<<T>,System.Boolean> | checkFilter |
System.Action<<T>> | draw |
System.Int32 | startIndex |
Type Parameters
T