C# Class FSO.Client.UI.Controls.Catalog.UICatalogItem

Inheritance: FSO.Client.UI.Framework.UIElement
Show file Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
Icon Microsoft.Xna.Framework.Graphics.Texture2D
Index int
Info UICatalogElement
ParentCatalog UICatalog

Public Methods

Method Description
Draw ( FSO.Client.UI.Framework.UISpriteBatch batch ) : void
GetBounds ( ) : Rectangle
SetActive ( bool active ) : void
SetDisabled ( bool disable ) : void
SetHover ( bool hover ) : void
UICatalogItem ( bool Active ) : System
UpdateHighlight ( ) : void

Private Methods

Method Description
MouseEvt ( UIMouseEventType type, UpdateState state ) : void

Method Details

Draw() public method

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

GetBounds() public method

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

SetActive() public method

public SetActive ( bool active ) : void
active bool
return void

SetDisabled() public method

public SetDisabled ( bool disable ) : void
disable bool
return void

SetHover() public method

public SetHover ( bool hover ) : void
hover bool
return void

UICatalogItem() public method

public UICatalogItem ( bool Active ) : System
Active bool
return System

UpdateHighlight() public method

public UpdateHighlight ( ) : void
return void

Property Details

Icon public property

public Texture2D,Microsoft.Xna.Framework.Graphics Icon
return Microsoft.Xna.Framework.Graphics.Texture2D

Index public property

public int Index
return int

Info public property

public UICatalogElement Info
return UICatalogElement

ParentCatalog public property

public UICatalog ParentCatalog
return UICatalog