Skip to content
Jean-Philippe Bruyère edited this page Oct 26, 2021 · 3 revisions

templated numeric control to select a value by slidding a cursor.

namespace: Crow

Inheritance Hierarchy

Syntax

public class Slider : NumericControl

Constructors

prototype description
Slider (Interface iface, string style=null) __

Properties

name description
ArrangeChildren __
CursorSize __
Inverted if true, horizontal gauge will align drawing right, and vertical on bottom.
MinimuCursorSize __
Orientation __

Methods

prototype description
void OnDecrease(object sender, MouseButtonEventArgs e) __
void OnIncrease(object sender, MouseButtonEventArgs e) __
void onMouseDown(object sender, MouseButtonEventArgs e) Default mouse button press method. The MouseDown event is raised from withing it.
void onMouseMove(object sender, MouseMoveEventArgs e) __
void onMouseUp(object sender, MouseButtonEventArgs e) Default mouse button release method. The MouseUp event is raised from withing it.
bool UpdateLayout(LayoutingType layoutType) Update layout component only one at a time, this is where the computation of alignement and size take place. The redrawing will only be triggered if final slot size has changed

Events

name description
Clone this wiki locally