C# Class FSO.Client.UI.Framework.UIContainer

Inheritance: UIElement
Mostra file Open project: RHY3756547/FreeSO Class Usage Examples

Public Methods

Method Description
Add ( UIElement child ) : void

Adds a UIElement at the top most position in the container

AddAt ( int index, UIElement child ) : void

Adds a UIElement at a specific depth in the container

AddBefore ( UIElement child, UIElement before ) : void

Adds a UIElement at the top most position in the container

Draw ( FSO.Client.UI.Framework.UISpriteBatch batch ) : void

GetChildren ( ) : List

Get a list of the children, this is for debug only, you should not modify this array

PreDraw ( FSO.Client.UI.Framework.UISpriteBatch batch ) : void
Remove ( UIElement child ) : void
RenderScript ( string uiScript ) : UIScript

Generates & plumbs in UI from UI script

SendToBack ( ) : void
SendToFront ( ) : void
UIContainer ( ) : System
Update ( UpdateState state ) : void

Protected Methods

Method Description
CalculateMatrix ( ) : void

CalculateOpacity ( ) : void

Method Details

Add() public method

Adds a UIElement at the top most position in the container
public Add ( UIElement child ) : void
child UIElement
return void

AddAt() public method

Adds a UIElement at a specific depth in the container
public AddAt ( int index, UIElement child ) : void
index int
child UIElement
return void

AddBefore() public method

Adds a UIElement at the top most position in the container
public AddBefore ( UIElement child, UIElement before ) : void
child UIElement
before UIElement
return void

CalculateMatrix() protected method

protected CalculateMatrix ( ) : void
return void

CalculateOpacity() protected method

protected CalculateOpacity ( ) : void
return void

Draw() public method

public Draw ( FSO.Client.UI.Framework.UISpriteBatch batch ) : void
batch FSO.Client.UI.Framework.UISpriteBatch
return void

GetChildren() public method

Get a list of the children, this is for debug only, you should not modify this array
public GetChildren ( ) : List
return List

PreDraw() public method

public PreDraw ( FSO.Client.UI.Framework.UISpriteBatch batch ) : void
batch FSO.Client.UI.Framework.UISpriteBatch
return void

Remove() public method

public Remove ( UIElement child ) : void
child UIElement
return void

RenderScript() public method

Generates & plumbs in UI from UI script
public RenderScript ( string uiScript ) : UIScript
uiScript string
return UIScript

SendToBack() public method

public SendToBack ( ) : void
return void

SendToFront() public method

public SendToFront ( ) : void
return void

UIContainer() public method

public UIContainer ( ) : System
return System

Update() public method

public Update ( UpdateState state ) : void
state FSO.Common.Rendering.Framework.Model.UpdateState
return void