C# Class BlisterUI.Widgets.RectButton

Inheritance: RectWidget
Mostrar archivo Open project: RegrowthStudios/VoxelRTS Class Usage Examples

Public Methods

Method Description
Hook ( ) : void
OnMouseMotion ( Vector2 p, Vector2 d ) : void
OnMousePress ( Vector2 p, MouseButton b ) : void
RectButton ( WidgetRenderer r, ButtonHighlightOptions inactive, ButtonHighlightOptions active, Microsoft.Xna.Framework.Graphics.Texture2D t = null ) : System
RectButton ( WidgetRenderer r, int w, int h, Color cInactive, Color cActive, Microsoft.Xna.Framework.Graphics.Texture2D t = null ) : System
SetActive ( bool b, Vector2 m ) : void
Unhook ( ) : void

Protected Methods

Method Description
DisposeOther ( ) : void

Method Details

DisposeOther() protected method

protected DisposeOther ( ) : void
return void

Hook() public method

public Hook ( ) : void
return void

OnMouseMotion() public method

public OnMouseMotion ( Vector2 p, Vector2 d ) : void
p Vector2
d Vector2
return void

OnMousePress() public method

public OnMousePress ( Vector2 p, MouseButton b ) : void
p Vector2
b MouseButton
return void

RectButton() public method

public RectButton ( WidgetRenderer r, ButtonHighlightOptions inactive, ButtonHighlightOptions active, Microsoft.Xna.Framework.Graphics.Texture2D t = null ) : System
r WidgetRenderer
inactive ButtonHighlightOptions
active ButtonHighlightOptions
t Microsoft.Xna.Framework.Graphics.Texture2D
return System

RectButton() public method

public RectButton ( WidgetRenderer r, int w, int h, Color cInactive, Color cActive, Microsoft.Xna.Framework.Graphics.Texture2D t = null ) : System
r WidgetRenderer
w int
h int
cInactive Color
cActive Color
t Microsoft.Xna.Framework.Graphics.Texture2D
return System

SetActive() public method

public SetActive ( bool b, Vector2 m ) : void
b bool
m Vector2
return void

Unhook() public method

public Unhook ( ) : void
return void