C# Class SunsetHigh.ListPanel.ScrollBar

Inheritance: SmoothMovingSprite
Mostrar archivo Open project: ErraticUnicorn/MOSH

Public Methods

Method Description
ScrollBar ( Panel owner ) : System
ScrollBar ( Panel owner, int width ) : System
adjustHeight ( int rowsOnScreen, int totalRows ) : void
adjustY ( int topRow, int totalRows ) : void
loadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
setInitParameters ( int startY, int height ) : void
update ( float elapsed ) : void

Method Details

ScrollBar() public method

public ScrollBar ( Panel owner ) : System
owner Panel
return System

ScrollBar() public method

public ScrollBar ( Panel owner, int width ) : System
owner Panel
width int
return System

adjustHeight() public method

public adjustHeight ( int rowsOnScreen, int totalRows ) : void
rowsOnScreen int
totalRows int
return void

adjustY() public method

public adjustY ( int topRow, int totalRows ) : void
topRow int
totalRows int
return void

loadContent() public method

public loadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
return void

setInitParameters() public method

public setInitParameters ( int startY, int height ) : void
startY int
height int
return void

update() public method

public update ( float elapsed ) : void
elapsed float
return void