C# Class Protogame.Form

Inheritance: IContainer
Mostrar archivo Open project: RedpointGames/Protogame Class Usage Examples

Public Methods

Method Description
AddControl ( IContainer name, IContainer control ) : void
AddControl ( string name, IContainer control ) : void
ChildrenWithLayouts ( Rectangle layout ) : Rectangle>>.IEnumerable
Form ( ) : System
HandleEvent ( ISkinLayout skin, Rectangle layout, IGameContext context, Event @event ) : bool
LabelsWithLayouts ( Rectangle layout ) : Rectangle>>.IEnumerable
Render ( IRenderContext context, ISkinLayout skinLayout, ISkinDelegator skinDelegator, Rectangle layout ) : void
Update ( ISkinLayout skin, Rectangle layout, GameTime gameTime, bool &stealFocus ) : void

Method Details

AddControl() public method

public AddControl ( IContainer name, IContainer control ) : void
name IContainer
control IContainer
return void

AddControl() public method

public AddControl ( string name, IContainer control ) : void
name string
control IContainer
return void

ChildrenWithLayouts() public method

public ChildrenWithLayouts ( Rectangle layout ) : Rectangle>>.IEnumerable
layout Microsoft.Xna.Framework.Rectangle
return Rectangle>>.IEnumerable

Form() public method

public Form ( ) : System
return System

HandleEvent() public method

public HandleEvent ( ISkinLayout skin, Rectangle layout, IGameContext context, Event @event ) : bool
skin ISkinLayout
layout Microsoft.Xna.Framework.Rectangle
context IGameContext
@event Event
return bool

LabelsWithLayouts() public method

public LabelsWithLayouts ( Rectangle layout ) : Rectangle>>.IEnumerable
layout Microsoft.Xna.Framework.Rectangle
return Rectangle>>.IEnumerable

Render() public method

public Render ( IRenderContext context, ISkinLayout skinLayout, ISkinDelegator skinDelegator, Rectangle layout ) : void
context IRenderContext
skinLayout ISkinLayout
skinDelegator ISkinDelegator
layout Microsoft.Xna.Framework.Rectangle
return void

Update() public method

public Update ( ISkinLayout skin, Rectangle layout, GameTime gameTime, bool &stealFocus ) : void
skin ISkinLayout
layout Microsoft.Xna.Framework.Rectangle
gameTime Microsoft.Xna.Framework.GameTime
stealFocus bool
return void