C# Class dfDropdown, Void-Runner

Inheritance: dfInteractiveBase, IDFMultiRender, IRendersText
Show file Open project: NoScopeProductions/Void-Runner Class Usage Examples

Public Methods

Method Description
AddItem ( string item ) : void

Adds a new value to the collection of list items

ClosePopup ( ) : void
ClosePopup ( bool allowOverride ) : void
LateUpdate ( ) : void
OnDestroy ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void
OpenPopup ( ) : void
RenderMultiple ( ) : dfList
Update ( ) : void
UpdateFontInfo ( ) : void

Protected Methods

Method Description
OnKeyDown ( dfKeyEventArgs, args ) : void
OnLocalize ( ) : void
OnMouseDown ( dfMouseEventArgs, args ) : void
OnMouseWheel ( dfMouseEventArgs, args ) : void
OnSelectedIndexChanged ( ) : void
trigger_Click ( dfControl control, dfMouseEventArgs mouseEvent ) : void

Private Methods

Method Description
attachChildEvents ( ) : void
bindTextureRebuildCallback ( ) : void
calculatePopupPosition ( int height ) : Vector3
calculatePopupSize ( ) : Vector2
checkForPopupClose ( ) : void
detachChildEvents ( ) : void
onFontTextureRebuilt ( ) : void
popup_ItemClicked ( dfControl control, int selectedIndex ) : void
popup_KeyDown ( dfControl control, dfKeyEventArgs args ) : void
popup_LostFocus ( dfControl control, dfFocusEventArgs args ) : void
popup_SelectedIndexChanged ( dfControl control, int selectedIndex ) : void
renderText ( dfRenderData buffer ) : void
requestCharacterInfo ( ) : void
unbindTextureRebuildCallback ( ) : void

Method Details

AddItem() public method

Adds a new value to the collection of list items
public AddItem ( string item ) : void
item string
return void

ClosePopup() public method

public ClosePopup ( ) : void
return void

ClosePopup() public method

public ClosePopup ( bool allowOverride ) : void
allowOverride bool
return void

LateUpdate() public method

public LateUpdate ( ) : void
return void

OnDestroy() public method

public OnDestroy ( ) : void
return void

OnDisable() public method

public OnDisable ( ) : void
return void

OnEnable() public method

public OnEnable ( ) : void
return void

OnKeyDown() protected method

protected OnKeyDown ( dfKeyEventArgs, args ) : void
args dfKeyEventArgs,
return void

OnLocalize() protected method

protected OnLocalize ( ) : void
return void

OnMouseDown() protected method

protected OnMouseDown ( dfMouseEventArgs, args ) : void
args dfMouseEventArgs,
return void

OnMouseWheel() protected method

protected OnMouseWheel ( dfMouseEventArgs, args ) : void
args dfMouseEventArgs,
return void

OnSelectedIndexChanged() protected method

protected OnSelectedIndexChanged ( ) : void
return void

OpenPopup() public method

public OpenPopup ( ) : void
return void

RenderMultiple() public method

public RenderMultiple ( ) : dfList
return dfList

Update() public method

public Update ( ) : void
return void

UpdateFontInfo() public method

public UpdateFontInfo ( ) : void
return void

trigger_Click() protected method

protected trigger_Click ( dfControl control, dfMouseEventArgs mouseEvent ) : void
control dfControl
mouseEvent dfMouseEventArgs
return void