C# Class Flood.GUI.Controls.HorizontalSlider

Horizontal slider.
Inheritance: Slider
Afficher le fichier Open project: FloodProject/flood Class Usage Examples

Méthodes publiques

Méthode Description
HorizontalSlider ( Control parent )

Initializes a new instance of the HorizontalSlider class.

Méthodes protégées

Méthode Description
CalculateValue ( ) : float
Layout ( Skins skin ) : void

Lays out the control's interior according to alignment, padding, dock etc.

OnMouseClickedLeft ( int x, int y, bool down ) : void

Handler invoked on mouse click (left) event.

Render ( Skins skin ) : void

Renders the control using specified skin.

UpdateBarFromValue ( ) : void

Method Details

CalculateValue() protected méthode

protected CalculateValue ( ) : float
Résultat float

HorizontalSlider() public méthode

Initializes a new instance of the HorizontalSlider class.
public HorizontalSlider ( Control parent )
parent Control Parent control.

Layout() protected méthode

Lays out the control's interior according to alignment, padding, dock etc.
protected Layout ( Skins skin ) : void
skin Skins Skin to use.
Résultat void

OnMouseClickedLeft() protected méthode

Handler invoked on mouse click (left) event.
protected OnMouseClickedLeft ( int x, int y, bool down ) : void
x int X coordinate.
y int Y coordinate.
down bool If set to true mouse button is down.
Résultat void

Render() protected méthode

Renders the control using specified skin.
protected Render ( Skins skin ) : void
skin Skins Skin to use.
Résultat void

UpdateBarFromValue() protected méthode

protected UpdateBarFromValue ( ) : void
Résultat void