-
-
Notifications
You must be signed in to change notification settings - Fork 10
Crow.Slider
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
-
Slider
public class Slider : NumericControl
⬜ | prototype | description |
---|---|---|
Slider (Interface iface, string style=null) |
__ |
⬜ | name | description |
---|---|---|
ArrangeChildren |
__ | |
CursorSize |
__ | |
Inverted |
if true, horizontal gauge will align drawing right, and vertical on bottom. | |
MinimuCursorSize |
__ | |
Orientation |
__ |
⬜ | 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 |
⬜ | name | description |
---|