11 #include "juced_Slider.h"
13 int juced_Slider::_numObjects = 0;
15 juced_Slider::juced_Slider() : Slider ()
18 setProperty(Attributes::objectType, Modules::Slider.toString());
19 setProperty(Attributes::backgroundColour, findColour(backgroundColourId).toDisplayString(
true));
20 setProperty(Attributes::height, getHeight());
21 setProperty(Attributes::width, getWidth());
22 setProperty(Attributes::name, getName());
24 setProperty(Attributes::varName, getName() + String(_numObjects));
25 setProperty(Attributes::className,
"Slider");
26 setProperty(Attributes::toolName,
"juced_Slider");
27 setProperty(Attributes::declareExtended,
false);
30 setProperty(Attributes::minimum, 0);
31 setProperty(Attributes::maximum, 10);
32 setProperty(Attributes::interval, 0);
33 setProperty(Attributes::value, getValue());
34 setSliderStyle (Slider::LinearHorizontal);
35 setTextBoxStyle (Slider::NoTextBox,
false, 80, 20);
36 setProperty(Attributes::textEntryBoxWidth, 80);
37 setProperty(Attributes::textEntryBoxHeight, 20);
38 setProperty(Attributes::textBoxReadOnly,
false);
39 setProperty(Attributes::textEntryBoxPosition,
"NoTextBox");
40 setProperty(Attributes::sliderStyle,
"LinearHorizontal");
42 setComponentID(Uuid().toString());
43 setProperty(Attributes::ID, getComponentID());
46 void juced_Slider::mouseUp (
const MouseEvent& event) {}
47 void juced_Slider::mouseDrag (
const MouseEvent& event) {}
48 void juced_Slider::mouseDoubleClick (
const MouseEvent& event) {}
49 void juced_Slider::mouseMove (
const MouseEvent& event) {}
50 void juced_Slider::mouseDown (
const MouseEvent& event) {}
51 void juced_Slider::mouseEnter (
const MouseEvent& event) {}
52 void juced_Slider::mouseExit (
const MouseEvent& event) {}
53 void juced_Slider::mouseWheelMove (
const MouseEvent &event,
const MouseWheelDetails &wheel) {}