Property | Type | Description | |
---|---|---|---|
_alignment | ButtonTextAlignment | ||
_backgroundImage | |||
_direction | bool | ||
_doubleClicked | bool | ||
_foregroundImage | |||
_height | int | ||
_label | |||
_pressed | bool | ||
_pulse | float | ||
_timeSinceClick | float | ||
_width | int | ||
_xPos | int | ||
_yPos | int |
Method | Description | |
---|---|---|
Draw ( ) : void | ||
DrawToolTip ( ) : void | ||
Initialize ( string buttonText, ButtonTextAlignment alignment, StretchableImageType background, StretchableImageType foreground, 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 | ||
ResizeButton ( int width, int height ) : void | ||
SetText ( string text ) : void | ||
SetTextColor ( Color color, Color outline ) : void | ||
SetToolTip ( string name, string text, int screenWidth, int screenHeight, |
||
SetToolTipText ( string text ) : void |
public Initialize ( string buttonText, ButtonTextAlignment alignment, StretchableImageType background, StretchableImageType foreground, int xPos, int yPos, int width, int height, |
||
buttonText | string | |
alignment | ButtonTextAlignment | |
background | StretchableImageType | |
foreground | StretchableImageType | |
xPos | int | |
yPos | int | |
width | int | |
height | 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 |
public SetTextColor ( Color color, Color outline ) : void | ||
color | Color | |
outline | Color | |
return | void |
public SetToolTip ( string name, string text, int screenWidth, int screenHeight, |
||
name | string | |
text | string | |
screenWidth | int | |
screenHeight | int | |
r | ||
reason | string | |
return | bool |
protected ButtonTextAlignment _alignment | ||
return | ButtonTextAlignment |
protected BBStretchableImage,Beyond_Beyaan _backgroundImage | ||
return |
protected BBStretchableImage,Beyond_Beyaan _foregroundImage | ||
return |