C# Class Beyond_Beyaan.BBScrollBar

Datei anzeigen Open project: Beyonders/Beyond-Beyaan Class Usage Examples

Public Methods

Method Description
Draw ( ) : void
Initialize ( int xPos, int yPos, int length, int amountOfVisibleItems, int amountOfItems, bool isHorizontal, bool isSlider, Random r, string &reason ) : bool
MouseDown ( int x, int y ) : bool
MouseHover ( int x, int y, float frameDeltaTime ) : bool
MouseUp ( int x, int y ) : bool
MoveTo ( int x, int y ) : void
SetAmountOfItems ( int amount ) : void
SetEnabledState ( bool enabled ) : void

Private Methods

Method Description
SetScrollButtonPosition ( ) : void

Method Details

Draw() public method

public Draw ( ) : void
return void

Initialize() public method

public Initialize ( int xPos, int yPos, int length, int amountOfVisibleItems, int amountOfItems, bool isHorizontal, bool isSlider, Random r, string &reason ) : bool
xPos int
yPos int
length int
amountOfVisibleItems int
amountOfItems int
isHorizontal bool
isSlider bool
r System.Random
reason string
return bool

MouseDown() public method

public MouseDown ( int x, int y ) : bool
x int
y int
return bool

MouseHover() public method

public MouseHover ( int x, int y, float frameDeltaTime ) : bool
x int
y int
frameDeltaTime float
return bool

MouseUp() public method

public MouseUp ( int x, int y ) : bool
x int
y int
return bool

MoveTo() public method

public MoveTo ( int x, int y ) : void
x int
y int
return void

SetAmountOfItems() public method

public SetAmountOfItems ( int amount ) : void
amount int
return void

SetEnabledState() public method

public SetEnabledState ( bool enabled ) : void
enabled bool
return void