C# Class Protogame.ListView

The list view.
Inheritance: IContainer, IHasDesiredSize
Mostra file Open project: RedpointGames/Protogame Class Usage Examples

Public Methods

Method Description
AddChild ( IContainer item ) : void
GetChildrenWithLayouts ( ISkinLayout skinLayout, Rectangle layout ) : IEnumerable
GetDesiredHeight ( ISkinLayout skin ) : int?
GetDesiredWidth ( ISkinLayout skin ) : int?
HandleEvent ( ISkinLayout skinLayout, Rectangle layout, IGameContext context, Event @event ) : bool
RemoveAllChildren ( ) : void
RemoveChild ( IContainer item ) : void
Render ( IRenderContext context, ISkinLayout skinLayout, ISkinDelegator skinDelegator, Rectangle layout ) : void
Update ( ISkinLayout skinLayout, Rectangle layout, GameTime gameTime, bool &stealFocus ) : void

Method Details

AddChild() public method

public AddChild ( IContainer item ) : void
item IContainer
return void

GetChildrenWithLayouts() public method

public GetChildrenWithLayouts ( ISkinLayout skinLayout, Rectangle layout ) : IEnumerable
skinLayout ISkinLayout
layout Microsoft.Xna.Framework.Rectangle
return IEnumerable

GetDesiredHeight() public method

public GetDesiredHeight ( ISkinLayout skin ) : int?
skin ISkinLayout
return int?

GetDesiredWidth() public method

public GetDesiredWidth ( ISkinLayout skin ) : int?
skin ISkinLayout
return int?

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

RemoveAllChildren() public method

public RemoveAllChildren ( ) : void
return void

RemoveChild() public method

public RemoveChild ( IContainer item ) : void
item 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

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