C# 클래스 Protogame.FlowContainer

The flow container.
상속: IContainer
파일 보기 프로젝트 열기: RedpointGames/Protogame

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
CreateChildLayout ( Rectangle layout, int accumulated, int size ) : Rectangle
GetMaximumContainerSize ( Rectangle layout ) : int

메소드 상세

AddChild() 공개 메소드

public AddChild ( IContainer child, string size ) : void
child IContainer
size string
리턴 void

ChildrenWithLayouts() 공개 메소드

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

CreateChildLayout() 보호된 추상적인 메소드

protected abstract CreateChildLayout ( Rectangle layout, int accumulated, int size ) : Rectangle
layout Microsoft.Xna.Framework.Rectangle
accumulated int
size int
리턴 Microsoft.Xna.Framework.Rectangle

GetMaximumContainerSize() 보호된 추상적인 메소드

protected abstract GetMaximumContainerSize ( Rectangle layout ) : int
layout Microsoft.Xna.Framework.Rectangle
리턴 int

HandleEvent() 공개 메소드

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

RemoveChild() 공개 메소드

public RemoveChild ( IContainer child ) : void
child IContainer
리턴 void

Render() 공개 추상적인 메소드

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

SetChildSize() 공개 메소드

public SetChildSize ( IContainer child, string size ) : void
child IContainer
size string
리턴 void

Update() 공개 메소드

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
리턴 void