C# Class FSO.Client.UI.Controls.UIButton

A drawable, clickable button that is part of the GUI.
Inheritance: FSO.Client.UI.Framework.UIElement
Afficher le fichier Open project: RHY3756547/FreeSO Class Usage Examples

Méthodes publiques

Свойство Type Description
StandardButton Microsoft.Xna.Framework.Graphics.Texture2D

Private Properties

Свойство Type Description
CalculateAutoSize void
CalculateState void
OnMouseEvent void
UIButton System

Méthodes publiques

Méthode Description
Draw ( FSO.Client.UI.Framework.UISpriteBatch SBatch ) : void
GetBounds ( ) : Rectangle
UIButton ( Microsoft.Xna.Framework.Graphics.Texture2D Texture ) : System

Private Methods

Méthode Description
CalculateAutoSize ( ) : void
CalculateState ( ) : void
OnMouseEvent ( UIMouseEventType type, UpdateState state ) : void
UIButton ( ) : System

Method Details

Draw() public méthode

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

GetBounds() public méthode

public GetBounds ( ) : Rectangle
Résultat Microsoft.Xna.Framework.Rectangle

UIButton() public méthode

public UIButton ( Microsoft.Xna.Framework.Graphics.Texture2D Texture ) : System
Texture Microsoft.Xna.Framework.Graphics.Texture2D
Résultat System

Property Details

StandardButton public_oe static_oe property

public static Texture2D,Microsoft.Xna.Framework.Graphics StandardButton
Résultat Microsoft.Xna.Framework.Graphics.Texture2D