C# Class Protogame.FlowContainer

The flow container.
Inheritance: IContainer
Afficher le fichier Open project: RedpointGames/Protogame

Méthodes publiques

Méthode Description
AddChild ( IContainer child, string size ) : void
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
SetChildSize ( IContainer child, string size ) : void
Update ( ISkinLayout skinLayout, Rectangle layout, GameTime gameTime, bool &stealFocus ) : void

Méthodes protégées

Méthode Description
CreateChildLayout ( Rectangle layout, int accumulated, int size ) : Rectangle
GetMaximumContainerSize ( Rectangle layout ) : int

Method Details

AddChild() public méthode

public AddChild ( IContainer child, string size ) : void
child IContainer
size string
Résultat void

ChildrenWithLayouts() public méthode

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

CreateChildLayout() protected abstract méthode

protected abstract CreateChildLayout ( Rectangle layout, int accumulated, int size ) : Rectangle
layout Microsoft.Xna.Framework.Rectangle
accumulated int
size int
Résultat Microsoft.Xna.Framework.Rectangle

GetMaximumContainerSize() protected abstract méthode

protected abstract GetMaximumContainerSize ( Rectangle layout ) : int
layout Microsoft.Xna.Framework.Rectangle
Résultat int

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 abstract méthode

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

SetChildSize() public méthode

public SetChildSize ( IContainer child, string size ) : void
child IContainer
size string
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