C# Class dfListbox, Void-Runner

Inheritance: dfInteractiveBase, IDFMultiRender, IRendersText
Datei anzeigen 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

Awake ( ) : void
EnsureVisible ( int index ) : void

Ensures that the list item at the specified index will be visible to the user

LateUpdate ( ) : void
OnDestroy ( ) : void
OnDisable ( ) : void
OnEnable ( ) : void
RenderMultiple ( ) : dfList
Update ( ) : void
UpdateFontInfo ( ) : void

Protected Methods

Method Description
OnItemClicked ( ) : void
OnKeyDown ( dfKeyEventArgs, args ) : void
OnLocalize ( ) : void
OnMouseDown ( dfMouseEventArgs, args ) : void
OnMouseEnter ( dfMouseEventArgs, args ) : void
OnMouseLeave ( dfMouseEventArgs, args ) : void
OnMouseMove ( dfMouseEventArgs, args ) : void
OnMouseUp ( dfMouseEventArgs, args ) : void
OnMouseWheel ( dfMouseEventArgs, args ) : void
OnSelectedIndexChanged ( ) : void
scrollbar_GotFocus ( dfControl control, dfFocusEventArgs, args ) : void

Private Methods

Method Description
attachScrollbarEvents ( ) : void
bindTextureRebuildCallback ( ) : void
clipQuads ( dfRenderData, buffer, int startIndex ) : void
constrainScrollPosition ( float value ) : float
detachScrollbarEvents ( ) : void
getTextScaleMultiplier ( ) : float
onFontTextureRebuilt ( ) : void
renderHover ( ) : void
renderItems ( dfRenderData, buffer ) : void
renderSelection ( ) : void
requestCharacterInfo ( ) : void
scrollbar_ValueChanged ( dfControl control, float value ) : void
selectItemUnderMouse ( dfMouseEventArgs args ) : void
synchronizeScrollbar ( ) : void
unbindTextureRebuildCallback ( ) : void
updateItemHover ( dfMouseEventArgs args ) : 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

Awake() public method

public Awake ( ) : void
return void

EnsureVisible() public method

Ensures that the list item at the specified index will be visible to the user
public EnsureVisible ( int index ) : void
index int The index of the list item to make visible
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

OnItemClicked() protected method

protected OnItemClicked ( ) : 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

OnMouseEnter() protected method

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

OnMouseLeave() protected method

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

OnMouseMove() protected method

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

OnMouseUp() protected method

protected OnMouseUp ( 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

RenderMultiple() public method

public RenderMultiple ( ) : dfList
return dfList

Update() public method

public Update ( ) : void
return void

UpdateFontInfo() public method

public UpdateFontInfo ( ) : void
return void

scrollbar_GotFocus() protected method

protected scrollbar_GotFocus ( dfControl control, dfFocusEventArgs, args ) : void
control dfControl
args dfFocusEventArgs,
return void