My Project
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | Properties | List of all members
SickDev.DevConsole.Window< T, TCurrent > Class Template Referenceabstract

Public Member Functions

void Initialize ()
 
void AddRange (T[] entries)
 
void Add (T entry)
 
virtual void Navigate (int direction)
 
void NavigateTo (int index)
 
void NavigateToLast ()
 
void NavigateToFirst ()
 
void Clear ()
 
void Draw (Vector2 position)
 
void Open ()
 
void Close ()
 
void ToggleOpen ()
 

Protected Member Functions

virtual void OnInitialized ()
 
virtual void OnBeginDraw ()
 
abstract void OnEntryClicked (T entry)
 
abstract void DrawEntry (Rect rect, T entry)
 
abstract float GetEntryWidth (T entry)
 
virtual void OnOpen ()
 

Protected Attributes

ScrollView scrollView
 
List< T > entries = new List<T>()
 

Static Protected Attributes

const float padding = 5
 
const float titleHeight = 16
 

Properties

abstract TCurrent current [get]
 
bool isOpen [get]
 
virtual int size [get]
 
float height [get]
 
float viewHeight [get]
 
float contentsHeight [get]
 
abstract GUIContent title [get]
 
int currentIndex [get]
 

The documentation for this class was generated from the following file: