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

A drawable, clickable button that is part of the GUI.
Inheritance: FSO.Client.UI.Framework.UIElement
ファイルを表示 Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
StandardButton Microsoft.Xna.Framework.Graphics.Texture2D

Private Properties

Property Type Description
CalculateAutoSize void
CalculateState void
OnMouseEvent void
UIButton System

Public Methods

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

Private Methods

Method Description
CalculateAutoSize ( ) : void
CalculateState ( ) : void
OnMouseEvent ( UIMouseEventType type, UpdateState state ) : void
UIButton ( ) : System

Method Details

Draw() public method

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

GetBounds() public method

public GetBounds ( ) : Rectangle
return Microsoft.Xna.Framework.Rectangle

UIButton() public method

public UIButton ( Microsoft.Xna.Framework.Graphics.Texture2D Texture ) : System
Texture Microsoft.Xna.Framework.Graphics.Texture2D
return System

Property Details

StandardButton public_oe static_oe property

public static Texture2D,Microsoft.Xna.Framework.Graphics StandardButton
return Microsoft.Xna.Framework.Graphics.Texture2D