C# Class Protogame.AdjustedContainer

Inheritance: IContainer
ファイルを表示 Open project: RedpointGames/Protogame Class Usage Examples

Public Methods

Method 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 method

public AddChild ( IContainer child, Rectangle rect ) : void
child IContainer
rect Microsoft.Xna.Framework.Rectangle
return void

AdjustedContainer() public method

public AdjustedContainer ( Point originalAbsolutePosition ) : System
originalAbsolutePosition Point
return System

ChildrenWithLayouts() public method

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

HandleEvent() public method

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

RemoveChild() public method

public RemoveChild ( IContainer child ) : void
child IContainer
return void

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

SetChildRectangle() public method

public SetChildRectangle ( IContainer child, Rectangle rect ) : void
child IContainer
rect Microsoft.Xna.Framework.Rectangle
return void

Update() public method

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
return void