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

Inheritance: Terraria.UI.UIElement
ファイルを表示 Open project: EmuDevs/EDTerraria Class Usage Examples

Public Methods

Method Description
GetValue ( ) : float
MouseDown ( UIMouseEvent evt ) : void
MouseUp ( UIMouseEvent evt ) : void
SetView ( float viewSize, float maxViewSize ) : void
UIScrollbar ( ) : Microsoft.Xna.Framework

Protected Methods

Method Description
DrawSelf ( SpriteBatch spriteBatch ) : void

Private Methods

Method Description
DrawBar ( SpriteBatch spriteBatch, Texture2D texture, Rectangle dimensions, Color color ) : void
GetHandleRectangle ( ) : Rectangle

Method Details

DrawSelf() protected method

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

GetValue() public method

public GetValue ( ) : float
return float

MouseDown() public method

public MouseDown ( UIMouseEvent evt ) : void
evt Terraria.UI.UIMouseEvent
return void

MouseUp() public method

public MouseUp ( UIMouseEvent evt ) : void
evt Terraria.UI.UIMouseEvent
return void

SetView() public method

public SetView ( float viewSize, float maxViewSize ) : void
viewSize float
maxViewSize float
return void

UIScrollbar() public method

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