C# Class XnaGUILib.XnaGUIManager

显示文件 Open project: GalacticSoft/Azmyth

Public Properties

Property Type Description
Controls List
CurrentControlIndex int
Game Microsoft.Xna.Framework.Game
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
spriteFont Microsoft.Xna.Framework.Graphics.SpriteFont
whiteTex Microsoft.Xna.Framework.Graphics.Texture2D

Public Methods

Method Description
Activate ( Point point ) : bool
Activate ( bool active ) : void
ActivateNext ( ) : void
ActivatePrevious ( ) : void
BringToTop ( XGControl control ) : void
Draw ( float frameTime ) : void
GetFocusControl ( ) : XGControl
HasFocus ( XGControl control ) : bool
Initialize ( Microsoft.Xna.Framework.Game game ) : void
Update ( GameTime gameTime ) : void

Method Details

Activate() public static method

public static Activate ( Point point ) : bool
point Point
return bool

Activate() public static method

public static Activate ( bool active ) : void
active bool
return void

ActivateNext() public static method

public static ActivateNext ( ) : void
return void

ActivatePrevious() public static method

public static ActivatePrevious ( ) : void
return void

BringToTop() public static method

public static BringToTop ( XGControl control ) : void
control XGControl
return void

Draw() public static method

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

GetFocusControl() public static method

public static GetFocusControl ( ) : XGControl
return XGControl

HasFocus() public static method

public static HasFocus ( XGControl control ) : bool
control XGControl
return bool

Initialize() public static method

public static Initialize ( Microsoft.Xna.Framework.Game game ) : void
game Microsoft.Xna.Framework.Game
return void

Update() public static method

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

Property Details

Controls public_oe static_oe property

public static List Controls
return List

CurrentControlIndex public_oe static_oe property

public static int CurrentControlIndex
return int

Game public_oe static_oe property

public static Game,Microsoft.Xna.Framework Game
return Microsoft.Xna.Framework.Game

spriteBatch public_oe static_oe property

public static SpriteBatch,Microsoft.Xna.Framework.Graphics spriteBatch
return Microsoft.Xna.Framework.Graphics.SpriteBatch

spriteFont public_oe static_oe property

public static SpriteFont,Microsoft.Xna.Framework.Graphics spriteFont
return Microsoft.Xna.Framework.Graphics.SpriteFont

whiteTex public_oe static_oe property

public static Texture2D,Microsoft.Xna.Framework.Graphics whiteTex
return Microsoft.Xna.Framework.Graphics.Texture2D