Method | Description | |
---|---|---|
Button ( Backend parent, |
Create a button using a text label
|
|
Button ( Backend parent, |
Create a button using a bitmap
|
|
Dispose ( ) : void | ||
Draw ( |
|
|
HandleEvent ( bool downstream, Backend eventID ) : void | ||
Hide ( ) : void | ||
OnKeyDown ( Keys k ) : bool | ||
OnMouseDown ( int button ) : bool |
|
|
Show ( ) : void |
public Button ( Backend parent, |
||
parent | Backend | |
spriteBatch | ||
content | Microsoft.Xna.Framework.Content.ContentManager | |
displayRect | ||
label | string | |
id | int | |
staydown | bool | |
return | System |
public Button ( Backend parent, |
||
parent | Backend | |
spriteBatch | ||
content | Microsoft.Xna.Framework.Content.ContentManager | |
displayRect | ||
normal | string | |
active | string | |
pressed | string | |
id | int | |
return | System |
public Draw ( |
||
gameTime | ||
return | void |
public HandleEvent ( bool downstream, Backend eventID ) : void | ||
downstream | bool | |
eventID | Backend | |
return | void |