Method | Description | |
---|---|---|
Draw ( ) : void | ||
Initialize ( List |
||
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 | ||
Reset ( ) : void | ||
ResizeButton ( int width, int height ) : void | ||
SetButtonText ( string text ) : void |
public Initialize ( List |
||
backgroundSections | List |
|
foregroundSections | List |
|
isHorizontal | bool | |
buttonText | string | |
alignment | ButtonTextAlignment | |
xPos | int | |
yPos | int | |
width | int | |
height | int | |
fixedSize | int | |
variableSize | int | |
r | ||
reason | string | |
return | bool |
public MouseHover ( int x, int y, float frameDeltaTime ) : bool | ||
x | int | |
y | int | |
frameDeltaTime | float | |
return | bool |
public ResizeButton ( int width, int height ) : void | ||
width | int | |
height | int | |
return | void |