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

The on off.
Afficher le fichier Open project: EnsageSharp/Ensage.Common

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Draw ( System.Vector2 mousePosition ) : void

The draw.

LeftButtonDown ( System.Vector2 mousePosition ) : void

The left button down.

LeftButtonUp ( ) : void

The left button up.

OnOffSlider ( Color onColor, Color offColor, float height, bool enabled ) : System

Initializes a new instance of the OnOffSlider class.

Method Details

Draw() public méthode

The draw.
public Draw ( System.Vector2 mousePosition ) : void
mousePosition System.Vector2 /// The mouse position. ///
Résultat void

LeftButtonDown() public méthode

The left button down.
public LeftButtonDown ( System.Vector2 mousePosition ) : void
mousePosition System.Vector2 /// The mouse position. ///
Résultat void

LeftButtonUp() public méthode

The left button up.
public LeftButtonUp ( ) : void
Résultat void

OnOffSlider() public méthode

Initializes a new instance of the OnOffSlider class.
public OnOffSlider ( Color onColor, Color offColor, float height, bool enabled ) : System
onColor Color /// The on color. ///
offColor Color /// The off color. ///
height float /// The height. ///
enabled bool /// The enabled. ///
Résultat System