C# Class FSO.Client.UI.UILayer

Inheritance: IGraphicsLayer
Afficher le fichier Open project: RHY3756547/FreeSO Class Usage Examples

Méthodes publiques

Свойство Type Description
SpriteBatch FSO.Client.UI.Framework.UISpriteBatch
Tooltip string
TooltipProperties FSO.Common.Rendering.Framework.Model.UITooltipProperties
Tween FSO.Client.UI.Framework.UITween
inputManager FSO.Common.Rendering.Framework.IO.InputManager

Méthodes publiques

Méthode Description
AddDialog ( DialogReference dialog ) : void
AddExternal ( UIExternalContainer cont ) : void
AddProcess ( IUIProcess Proc ) : void
AddScreen ( FSO.Client.UI.Framework.UIScreen Screen ) : void

Adds a UIScreen instance to this ScreenManager's list of screens. This function is called from Lua.

Draw ( GraphicsDevice device ) : void
Draw ( FSO.Client.UI.Framework.UISpriteBatch SBatch ) : void
DrawTooltip ( SpriteBatch batch, Vector2 position, float opacity, Color color ) : void
Initialize ( GraphicsDevice device ) : void
PreDraw ( GraphicsDevice device ) : void
PreDraw ( FSO.Client.UI.Framework.UISpriteBatch SBatch ) : void
RemoveCurrent ( ) : void
RemoveDialog ( DialogReference dialog ) : void
RemoveDialog ( UIElement dialog ) : void
RemoveExternal ( UIExternalContainer cont ) : void
RemoveProcess ( IUIProcess Proc ) : void
RemoveScreen ( FSO.Client.UI.Framework.UIScreen Screen ) : void
UILayer ( Microsoft G, SpriteFont SprFontBig, SpriteFont SprFontSmall ) : System
Update ( UpdateState state ) : void
debugButton_OnButtonClick ( UIElement button ) : void

Private Methods

Méthode Description
AdjustModal ( ) : void
GameFacade_OnContentLoaderReady ( ) : void
GraphicsDevice_DeviceReset ( object sender, EventArgs e ) : void

Method Details

AddDialog() public méthode

public AddDialog ( DialogReference dialog ) : void
dialog DialogReference
Résultat void

AddExternal() public méthode

public AddExternal ( UIExternalContainer cont ) : void
cont FSO.Client.UI.Framework.UIExternalContainer
Résultat void

AddProcess() public méthode

public AddProcess ( IUIProcess Proc ) : void
Proc IUIProcess
Résultat void

AddScreen() public méthode

Adds a UIScreen instance to this ScreenManager's list of screens. This function is called from Lua.
public AddScreen ( FSO.Client.UI.Framework.UIScreen Screen ) : void
Screen FSO.Client.UI.Framework.UIScreen The UIScreen instance to be added.
Résultat void

Draw() public méthode

public Draw ( GraphicsDevice device ) : void
device GraphicsDevice
Résultat void

Draw() public méthode

public Draw ( FSO.Client.UI.Framework.UISpriteBatch SBatch ) : void
SBatch FSO.Client.UI.Framework.UISpriteBatch
Résultat void

DrawTooltip() public méthode

public DrawTooltip ( SpriteBatch batch, Vector2 position, float opacity, Color color ) : void
batch Microsoft.Xna.Framework.Graphics.SpriteBatch
position Vector2
opacity float
color Color
Résultat void

Initialize() public méthode

public Initialize ( GraphicsDevice device ) : void
device GraphicsDevice
Résultat void

PreDraw() public méthode

public PreDraw ( GraphicsDevice device ) : void
device GraphicsDevice
Résultat void

PreDraw() public méthode

public PreDraw ( FSO.Client.UI.Framework.UISpriteBatch SBatch ) : void
SBatch FSO.Client.UI.Framework.UISpriteBatch
Résultat void

RemoveCurrent() public méthode

public RemoveCurrent ( ) : void
Résultat void

RemoveDialog() public méthode

public RemoveDialog ( DialogReference dialog ) : void
dialog DialogReference
Résultat void

RemoveDialog() public méthode

public RemoveDialog ( UIElement dialog ) : void
dialog FSO.Client.UI.Framework.UIElement
Résultat void

RemoveExternal() public méthode

public RemoveExternal ( UIExternalContainer cont ) : void
cont FSO.Client.UI.Framework.UIExternalContainer
Résultat void

RemoveProcess() public méthode

public RemoveProcess ( IUIProcess Proc ) : void
Proc IUIProcess
Résultat void

RemoveScreen() public méthode

public RemoveScreen ( FSO.Client.UI.Framework.UIScreen Screen ) : void
Screen FSO.Client.UI.Framework.UIScreen
Résultat void

UILayer() public méthode

public UILayer ( Microsoft G, SpriteFont SprFontBig, SpriteFont SprFontSmall ) : System
G Microsoft
SprFontBig Microsoft.Xna.Framework.Graphics.SpriteFont
SprFontSmall Microsoft.Xna.Framework.Graphics.SpriteFont
Résultat System

Update() public méthode

public Update ( UpdateState state ) : void
state FSO.Common.Rendering.Framework.Model.UpdateState
Résultat void

debugButton_OnButtonClick() public méthode

public debugButton_OnButtonClick ( UIElement button ) : void
button FSO.Client.UI.Framework.UIElement
Résultat void

Property Details

SpriteBatch public_oe property

public UISpriteBatch,FSO.Client.UI.Framework SpriteBatch
Résultat FSO.Client.UI.Framework.UISpriteBatch

Tooltip public_oe property

public string Tooltip
Résultat string

TooltipProperties public_oe property

public UITooltipProperties,FSO.Common.Rendering.Framework.Model TooltipProperties
Résultat FSO.Common.Rendering.Framework.Model.UITooltipProperties

Tween public_oe property

public UITween,FSO.Client.UI.Framework Tween
Résultat FSO.Client.UI.Framework.UITween

inputManager public_oe property

public InputManager,FSO.Common.Rendering.Framework.IO inputManager
Résultat FSO.Common.Rendering.Framework.IO.InputManager