C# Class XnaGUILib.XGTextBox

Inheritance: XGPanel
显示文件 Open project: GalacticSoft/Azmyth Class Usage Examples

Public Methods

Method Description
Draw ( float frameTime ) : void
Update ( GameTime gameTime ) : void
XGTextBox ( Rectangle rect ) : System

Protected Methods

Method Description
GetFocus ( ) : void

Private Methods

Method Description
DeleteChar ( ) : void
InsertString ( string c ) : void
TextLeftOfIndex ( ) : string

Method Details

Draw() public method

public Draw ( float frameTime ) : void
frameTime float
return void

GetFocus() protected method

protected GetFocus ( ) : void
return void

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

XGTextBox() public method

public XGTextBox ( Rectangle rect ) : System
rect Microsoft.Xna.Framework.Rectangle
return System