Méthode | Description | |
---|---|---|
Draw ( ) : void | ||
DrawToolTip ( ) : void | ||
Initialize ( string backgroundSprite, string foregroundSprite, string buttonText, ButtonTextAlignment alignment, int xPos, int yPos, int width, int height, |
||
Initialize ( string backgroundSprite, string foregroundSprite, string buttonText, string font, ButtonTextAlignment alignment, int xPos, int yPos, int width, int height, |
||
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 | ||
Resize ( int width, int height ) : void | ||
SetText ( string text ) : void | ||
SetTextColor ( Color color, Color outline ) : void | ||
SetToolTip ( string name, string text, int screenWidth, int screenHeight, |
public Initialize ( string backgroundSprite, string foregroundSprite, string buttonText, ButtonTextAlignment alignment, int xPos, int yPos, int width, int height, |
||
backgroundSprite | string | |
foregroundSprite | string | |
buttonText | string | |
alignment | ButtonTextAlignment | |
xPos | int | |
yPos | int | |
width | int | |
height | int | |
r | ||
reason | string | |
Résultat | bool |
public Initialize ( string backgroundSprite, string foregroundSprite, string buttonText, string font, ButtonTextAlignment alignment, int xPos, int yPos, int width, int height, |
||
backgroundSprite | string | |
foregroundSprite | string | |
buttonText | string | |
font | string | |
alignment | ButtonTextAlignment | |
xPos | int | |
yPos | int | |
width | int | |
height | int | |
r | ||
reason | string | |
xTextOffset | int | |
yTextOffset | int | |
Résultat | bool |
public MouseHover ( int x, int y, float frameDeltaTime ) : bool | ||
x | int | |
y | int | |
frameDeltaTime | float | |
Résultat | bool |
public Resize ( int width, int height ) : void | ||
width | int | |
height | int | |
Résultat | void |
public SetTextColor ( Color color, Color outline ) : void | ||
color | Color | |
outline | Color | |
Résultat | void |
public SetToolTip ( string name, string text, int screenWidth, int screenHeight, |
||
name | string | |
text | string | |
screenWidth | int | |
screenHeight | int | |
r | ||
reason | string | |
Résultat | bool |