C# Class Ensage.Common.Menu.Draw.OnOffCircleSlider

The on off.
Mostrar archivo Open project: EnsageSharp/Ensage.Common

Private Properties

Property Type Description

Public Methods

Method Description
Draw ( Vector2 mousePosition ) : void

The draw.

LeftButtonDown ( Vector2 mousePosition ) : void

The left button down.

LeftButtonUp ( ) : void

The left button up.

OnOffCircleSlider ( SharpDX.Color onColor, SharpDX.Color offColor, float height, bool enabled ) : Ensage.Common.Menu.Transitions

Initializes a new instance of the OnOffCircleSlider class.

Method Details

Draw() public method

The draw.
public Draw ( Vector2 mousePosition ) : void
mousePosition Vector2 /// The mouse position. ///
return void

LeftButtonDown() public method

The left button down.
public LeftButtonDown ( Vector2 mousePosition ) : void
mousePosition Vector2 /// The mouse position. ///
return void

LeftButtonUp() public method

The left button up.
public LeftButtonUp ( ) : void
return void

OnOffCircleSlider() public method

Initializes a new instance of the OnOffCircleSlider class.
public OnOffCircleSlider ( SharpDX.Color onColor, SharpDX.Color offColor, float height, bool enabled ) : Ensage.Common.Menu.Transitions
onColor SharpDX.Color /// The on color. ///
offColor SharpDX.Color /// The off color. ///
height float /// The height. ///
enabled bool /// The enabled. ///
return Ensage.Common.Menu.Transitions