11 #include "juced_ProgressBar.h"
13 int juced_ProgressBar::_numObjects = 0;
14 double juced_ProgressBar::_progress = 0.5;
17 juced_ProgressBar::juced_ProgressBar() : ProgressBar (_progress)
20 setName(
"ProgressBar");
21 setProperty(Attributes::objectType, Modules::Label.toString());
24 setProperty(Attributes::backgroundColour, findColour(backgroundColourId).toDisplayString(
true));
26 setProperty(Attributes::showEditor,
false);
27 setProperty(Attributes::editable,
false);
28 setProperty(Attributes::height, getHeight());
29 setProperty(Attributes::width, getWidth());
30 setProperty(Attributes::name, getName());
32 setProperty(Attributes::varName, getName() + String(_numObjects));
33 setProperty(Attributes::className,
"ProgressBar");
34 setProperty(Attributes::toolName,
"juced_ProgressBar");
35 setProperty(Attributes::declareExtended,
false);
36 setComponentID(Uuid().toString());
37 setProperty(Attributes::ID, getComponentID());
40 void juced_ProgressBar::mouseUp (
const MouseEvent& event) {}
41 void juced_ProgressBar::mouseDrag (
const MouseEvent& event) {}
42 void juced_ProgressBar::mouseDoubleClick (
const MouseEvent& event) {}
43 void juced_ProgressBar::mouseMove (
const MouseEvent& event) {}
44 void juced_ProgressBar::mouseDown (
const MouseEvent& event) {}
45 void juced_ProgressBar::mouseEnter (
const MouseEvent& event) {}
46 void juced_ProgressBar::mouseExit (
const MouseEvent& event) {}
47 void juced_ProgressBar::mouseWheelMove (
const MouseEvent &event,
const MouseWheelDetails &wheel) {}