C# Class Protogame.AdjustedContainer

Inheritance: IContainer
Afficher le fichier Open project: RedpointGames/Protogame Class Usage Examples

Méthodes publiques

Méthode Description
AddChild ( IContainer child, Rectangle rect ) : void
AdjustedContainer ( Point originalAbsolutePosition ) : System
ChildrenWithLayouts ( Rectangle layout ) : Rectangle>>.IEnumerable
HandleEvent ( ISkinLayout skinLayout, Rectangle layout, IGameContext context, Event @event ) : bool
RemoveChild ( IContainer child ) : void
Render ( IRenderContext context, ISkinLayout skinLayout, ISkinDelegator skinDelegator, Rectangle layout ) : void
SetChildRectangle ( IContainer child, Rectangle rect ) : void
Update ( ISkinLayout skinLayout, Rectangle layout, GameTime gameTime, bool &stealFocus ) : void

Method Details

AddChild() public méthode

public AddChild ( IContainer child, Rectangle rect ) : void
child IContainer
rect Microsoft.Xna.Framework.Rectangle
Résultat void

AdjustedContainer() public méthode

public AdjustedContainer ( Point originalAbsolutePosition ) : System
originalAbsolutePosition Point
Résultat System

ChildrenWithLayouts() public méthode

public ChildrenWithLayouts ( Rectangle layout ) : Rectangle>>.IEnumerable
layout Microsoft.Xna.Framework.Rectangle
Résultat Rectangle>>.IEnumerable

HandleEvent() public méthode

public HandleEvent ( ISkinLayout skinLayout, Rectangle layout, IGameContext context, Event @event ) : bool
skinLayout ISkinLayout
layout Microsoft.Xna.Framework.Rectangle
context IGameContext
@event Event
Résultat bool

RemoveChild() public méthode

public RemoveChild ( IContainer child ) : void
child IContainer
Résultat void

Render() public méthode

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

SetChildRectangle() public méthode

public SetChildRectangle ( IContainer child, Rectangle rect ) : void
child IContainer
rect Microsoft.Xna.Framework.Rectangle
Résultat void

Update() public méthode

public Update ( ISkinLayout skinLayout, Rectangle layout, GameTime gameTime, bool &stealFocus ) : void
skinLayout ISkinLayout
layout Microsoft.Xna.Framework.Rectangle
gameTime Microsoft.Xna.Framework.GameTime
stealFocus bool
Résultat void