Skip to main content

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

DrawEndDummy(int, float)

View Source
Declaration
public static void DrawEndDummy(int remainder, float height)
Parameters
TypeName
System.Int32remainder
System.Singleheight

ClippedDraw<T>(IReadOnlyList<T>, Action<T>, float)

View Source
Declaration
public static void ClippedDraw<T>(IReadOnlyList<T> data, Action<T> draw, float lineHeight)
Parameters
TypeName
System.Collections.Generic.IReadOnlyList<<T>>data
System.Action<<T>>draw
System.SinglelineHeight
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
TypeNameDescription
System.Collections.Generic.IReadOnlyList<<T>>dataEnumerable containing data to draw.
System.Action<<T>>drawThe function to draw a single item.
System.Int32itemsPerLineHow many items to draw per line.
System.SinglelineHeightHow tall each line is.
Type Parameters
NameDescription
TThe 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
TypeName
System.Collections.Generic.IReadOnlyList<<T>>data
System.Action<<T>,System.Int32>draw
System.SinglelineHeight
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
TypeName
System.Collections.Generic.IEnumerable<<T>>data
System.Int32skips
System.Action<<T>>draw
System.Nullable<System.Int32>count
System.Int32startIndex
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
TypeName
System.Collections.Generic.IEnumerable<<T>>data
System.Int32skips
System.Func<<T>,System.Boolean>checkFilter
System.Action<<T>>draw
System.Int32startIndex
Type Parameters
  • T