wHiteRabbiT-sTudio Framework
wHiteRabbiT.Unity.UI.GUIComboBox Class Reference

Classes

class  Combobox
 

Static Public Member Functions

static string BeginLayout (int id, List< string > list, params GUILayoutOption[] options)
 Show a ComboBox layout. More...
 
static void EndOverlay ()
 Draw the overlay popup dropdown. More...
 

Static Protected Member Functions

static void ComboBoxResolveOverlay (bool Paint)
 

Static Protected Attributes

static Texture2D texArrowDown
 
static Combobox currentCombobox
 
static List< ComboboxcomboBoxes = new List<Combobox>()
 
static GUIStyle gsLabel
 

Properties

static Texture2D TexArrowDown [get]
 
static GUIStyle GsLabel [get]
 

Member Function Documentation

static string wHiteRabbiT.Unity.UI.GUIComboBox.BeginLayout ( int  id,
List< string >  list,
params GUILayoutOption[]  options 
)
static

Show a ComboBox layout.

Only draw the textfield and the dropdown button. Call the EndOverlay() method to draw the dropdown popup.

Returns
The content of the textfield.
Parameters
idUnique identifier.
listList of string to populate the dropdown popup.
optionsAn optional list of layout options that specify extra layouting properties.
static void wHiteRabbiT.Unity.UI.GUIComboBox.ComboBoxResolveOverlay ( bool  Paint)
staticprotected
static void wHiteRabbiT.Unity.UI.GUIComboBox.EndOverlay ( )
static

Draw the overlay popup dropdown.

Member Data Documentation

List<Combobox> wHiteRabbiT.Unity.UI.GUIComboBox.comboBoxes = new List<Combobox>()
staticprotected
Combobox wHiteRabbiT.Unity.UI.GUIComboBox.currentCombobox
staticprotected
GUIStyle wHiteRabbiT.Unity.UI.GUIComboBox.gsLabel
staticprotected
Texture2D wHiteRabbiT.Unity.UI.GUIComboBox.texArrowDown
staticprotected

Property Documentation

GUIStyle wHiteRabbiT.Unity.UI.GUIComboBox.GsLabel
staticgetprotected
Texture2D wHiteRabbiT.Unity.UI.GUIComboBox.TexArrowDown
staticget

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