C# Class FullInspector.Rotorz.ReorderableList.ReorderableListGUI

Utility class for drawing reorderable lists.
Afficher le fichier Open project: jacobdufault/fullinspector

Private Properties

Свойство Type Description
DoListField void
DoListFieldAbsolute void
InitStyles void
ReorderableListGUI FullInspector.Rotorz.ReorderableList.Internal

Méthodes publiques

Méthode Description
CalculateListFieldHeight ( IReorderableListAdaptor adaptor ) : float
CalculateListFieldHeight ( IReorderableListAdaptor adaptor, ReorderableListFlags flags ) : float

Calculate height of list field for adapted collection.

CalculateTitleHeight ( ) : float
ListField ( IReorderableListAdaptor adaptor ) : void
ListField ( IReorderableListAdaptor adaptor, ReorderableListControl drawEmpty ) : void
ListField ( IReorderableListAdaptor adaptor, ReorderableListControl drawEmpty, ReorderableListFlags flags ) : void
ListField ( IReorderableListAdaptor adaptor, ReorderableListFlags flags ) : void
ListFieldAbsolute ( Rect position, IReorderableListAdaptor adaptor ) : void
ListFieldAbsolute ( Rect position, IReorderableListAdaptor adaptor, ReorderableListControl drawEmpty ) : void
ListFieldAbsolute ( Rect position, IReorderableListAdaptor adaptor, ReorderableListControl drawEmpty, ReorderableListFlags flags ) : void
ListFieldAbsolute ( Rect position, IReorderableListAdaptor adaptor, ReorderableListFlags flags ) : void
Title ( GUIContent title ) : void

Draw title control for list field.

When needed, should be shown immediately before list field.

Title ( Rect position, GUIContent title ) : void

Draw title control for list field with absolute positioning.

Title ( Rect position, string text ) : void

Draw title control for list field with absolute positioning.

Title ( string title ) : void

Draw title control for list field.

When needed, should be shown immediately before list field.

Private Methods

Méthode Description
DoListField ( IReorderableListAdaptor adaptor, ReorderableListControl drawEmpty, ReorderableListFlags flags ) : void

Draw list field control for adapted collection.

DoListFieldAbsolute ( Rect position, IReorderableListAdaptor adaptor, ReorderableListControl drawEmpty, ReorderableListFlags flags ) : void

Draw list field control for adapted collection.

InitStyles ( ) : void
ReorderableListGUI ( ) : FullInspector.Rotorz.ReorderableList.Internal

Method Details

CalculateListFieldHeight() public static méthode

public static CalculateListFieldHeight ( IReorderableListAdaptor adaptor ) : float
adaptor IReorderableListAdaptor
Résultat float

CalculateListFieldHeight() public static méthode

Calculate height of list field for adapted collection.
public static CalculateListFieldHeight ( IReorderableListAdaptor adaptor, ReorderableListFlags flags ) : float
adaptor IReorderableListAdaptor Reorderable list adaptor.
flags ReorderableListFlags Optional flags to pass into list field.
Résultat float

CalculateTitleHeight() public static méthode

public static CalculateTitleHeight ( ) : float
Résultat float

ListField() public static méthode

public static ListField ( IReorderableListAdaptor adaptor ) : void
adaptor IReorderableListAdaptor
Résultat void

ListField() public static méthode

public static ListField ( IReorderableListAdaptor adaptor, ReorderableListControl drawEmpty ) : void
adaptor IReorderableListAdaptor
drawEmpty ReorderableListControl
Résultat void

ListField() public static méthode

public static ListField ( IReorderableListAdaptor adaptor, ReorderableListControl drawEmpty, ReorderableListFlags flags ) : void
adaptor IReorderableListAdaptor
drawEmpty ReorderableListControl
flags ReorderableListFlags
Résultat void

ListField() public static méthode

public static ListField ( IReorderableListAdaptor adaptor, ReorderableListFlags flags ) : void
adaptor IReorderableListAdaptor
flags ReorderableListFlags
Résultat void

ListFieldAbsolute() public static méthode

public static ListFieldAbsolute ( Rect position, IReorderableListAdaptor adaptor ) : void
position UnityEngine.Rect
adaptor IReorderableListAdaptor
Résultat void

ListFieldAbsolute() public static méthode

public static ListFieldAbsolute ( Rect position, IReorderableListAdaptor adaptor, ReorderableListControl drawEmpty ) : void
position UnityEngine.Rect
adaptor IReorderableListAdaptor
drawEmpty ReorderableListControl
Résultat void

ListFieldAbsolute() public static méthode

public static ListFieldAbsolute ( Rect position, IReorderableListAdaptor adaptor, ReorderableListControl drawEmpty, ReorderableListFlags flags ) : void
position UnityEngine.Rect
adaptor IReorderableListAdaptor
drawEmpty ReorderableListControl
flags ReorderableListFlags
Résultat void

ListFieldAbsolute() public static méthode

public static ListFieldAbsolute ( Rect position, IReorderableListAdaptor adaptor, ReorderableListFlags flags ) : void
position UnityEngine.Rect
adaptor IReorderableListAdaptor
flags ReorderableListFlags
Résultat void

Title() public static méthode

Draw title control for list field.

When needed, should be shown immediately before list field.

public static Title ( GUIContent title ) : void
title UnityEngine.GUIContent Content for title control.
Résultat void

Title() public static méthode

Draw title control for list field with absolute positioning.
public static Title ( Rect position, GUIContent title ) : void
position UnityEngine.Rect Position of control.
title UnityEngine.GUIContent Content for title control.
Résultat void

Title() public static méthode

Draw title control for list field with absolute positioning.
public static Title ( Rect position, string text ) : void
position UnityEngine.Rect Position of control.
text string Text for title control.
Résultat void

Title() public static méthode

Draw title control for list field.

When needed, should be shown immediately before list field.

public static Title ( string title ) : void
title string Text for title control.
Résultat void