C# Class Terraria.GameContent.UI.Elements.UIList

Inheritance: Terraria.UI.UIElement
Exibir arquivo Open project: EmuDevs/EDTerraria Class Usage Examples

Public Properties

Property Type Description
ListPadding float

Protected Properties

Property Type Description
_items List
_scrollbar UIScrollbar

Public Methods

Method Description
Add ( UIElement item ) : void
Clear ( ) : void
Goto ( ElementSearchMethod searchMethod ) : void
Recalculate ( ) : void
RecalculateChildren ( ) : void
Remove ( UIElement item ) : bool
ScrollWheel ( UIScrollWheelEvent evt ) : void
SetScrollbar ( UIScrollbar scrollbar ) : void
SortMethod ( UIElement item1, UIElement item2 ) : int
UIList ( ) : Microsoft.Xna.Framework
UpdateOrder ( ) : void

Protected Methods

Method Description
DrawSelf ( SpriteBatch spriteBatch ) : void

Private Methods

Method Description
UpdateScrollbar ( ) : void

Method Details

Add() public method

public Add ( UIElement item ) : void
item Terraria.UI.UIElement
return void

Clear() public method

public Clear ( ) : void
return void

DrawSelf() protected method

protected DrawSelf ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

Goto() public method

public Goto ( ElementSearchMethod searchMethod ) : void
searchMethod ElementSearchMethod
return void

Recalculate() public method

public Recalculate ( ) : void
return void

RecalculateChildren() public method

public RecalculateChildren ( ) : void
return void

Remove() public method

public Remove ( UIElement item ) : bool
item Terraria.UI.UIElement
return bool

ScrollWheel() public method

public ScrollWheel ( UIScrollWheelEvent evt ) : void
evt Terraria.UI.UIScrollWheelEvent
return void

SetScrollbar() public method

public SetScrollbar ( UIScrollbar scrollbar ) : void
scrollbar UIScrollbar
return void

SortMethod() public method

public SortMethod ( UIElement item1, UIElement item2 ) : int
item1 Terraria.UI.UIElement
item2 Terraria.UI.UIElement
return int

UIList() public method

public UIList ( ) : Microsoft.Xna.Framework
return Microsoft.Xna.Framework

UpdateOrder() public method

public UpdateOrder ( ) : void
return void

Property Details

ListPadding public_oe property

public float ListPadding
return float

_items protected_oe property

protected List _items
return List

_scrollbar protected_oe property

protected UIScrollbar,Terraria.GameContent.UI.Elements _scrollbar
return UIScrollbar