C# Class Flood.GUI.ControlInternal.ScrollBarBar

Scrollbar bar.
Inheritance: Flood.GUI.ControlInternal.Dragger
Afficher le fichier Open project: FloodProject/flood Class Usage Examples

Méthodes publiques

Méthode Description
ScrollBarBar ( Control parent ) : Flood.GUI.Controls

Initializes a new instance of the ScrollBarBar class.

Méthodes protégées

Méthode Description
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.

OnMouseMoved ( int x, int y, int dx, int dy ) : void

Handler invoked on mouse moved event.

Render ( Skins skin ) : void

Renders the control using specified skin.

Method Details

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

OnMouseMoved() protected méthode

Handler invoked on mouse moved event.
protected OnMouseMoved ( int x, int y, int dx, int dy ) : void
x int X coordinate.
y int Y coordinate.
dx int X change.
dy int Y change.
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

ScrollBarBar() public méthode

Initializes a new instance of the ScrollBarBar class.
public ScrollBarBar ( Control parent ) : Flood.GUI.Controls
parent Flood.GUI.Controls.Control Parent control.
Résultat Flood.GUI.Controls