프로퍼티 | 타입 | 설명 | |
---|---|---|---|
Normal | |||
Pressed | |||
Selected |
메소드 | 설명 | |
---|---|---|
Button ( string fontPath, string text ) : System |
Creates a new instance
|
|
Clone ( ) : |
||
LoadContent ( IContentCatalogue catalogue, Microsoft.Xna.Framework.Content.ContentManager manager ) : void |
Load all XNA ContentManager content
|
|
Refresh ( GraphicsDevice device ) : void |
Refreshes the control properties when it requires to be redrawn to the RenderTarget
|
|
Render ( |
Renders the control
|
|
UnloadContent ( IContentCatalogue catalogue ) : void |
Unload all XNA ContentManager content
|
메소드 | 설명 | |
---|---|---|
OnButtonClicked ( object button, |
|
|
OnFocusAcquired ( object button, |
|
|
OnFocusLost ( object button, |
|
public Button ( string fontPath, string text ) : System | ||
fontPath | string | The font used by this control and its inner default ButtonSkins |
text | string | The initial text for this button |
리턴 | System |
public LoadContent ( IContentCatalogue catalogue, Microsoft.Xna.Framework.Content.ContentManager manager ) : void | ||
catalogue | IContentCatalogue | |
manager | Microsoft.Xna.Framework.Content.ContentManager | XNA content manage |
리턴 | void |
public Render ( |
||
spriteRenderer | ||
리턴 | void |
public UnloadContent ( IContentCatalogue catalogue ) : void | ||
catalogue | IContentCatalogue | |
리턴 | void |