11 #include "juced_Label.h"
13 int juced_Label::_numObjects = 0;
15 juced_Label::juced_Label() : Label ()
17 setText(
"Text label",
false);
19 setProperty(Attributes::objectType, Modules::Label.toString());
20 setProperty(Attributes::text, getText());
21 setProperty(Attributes::font, getFont().toString());
22 setProperty(Attributes::backgroundColour, findColour(backgroundColourId).toDisplayString(
true));
23 setProperty(Attributes::textColour, findColour(textColourId).toDisplayString(
true));
24 setProperty(Attributes::showEditor,
false);
25 setProperty(Attributes::editable,
false);
26 setProperty(Attributes::height, getHeight());
27 setProperty(Attributes::width, getWidth());
28 setProperty(Attributes::name, getName());
30 setProperty(Attributes::varName, getName() + String(_numObjects));
31 setProperty(Attributes::className,
"Label");
32 setProperty(Attributes::toolName,
"juced_Label");
33 setProperty(Attributes::declareExtended,
false);
34 setComponentID(Uuid().toString());
35 setProperty(Attributes::ID, getComponentID());
38 void juced_Label::mouseUp (
const MouseEvent& event) {}
39 void juced_Label::mouseDrag (
const MouseEvent& event) {}
40 void juced_Label::mouseDoubleClick (
const MouseEvent& event) {}
41 void juced_Label::mouseMove (
const MouseEvent& event) {}
42 void juced_Label::mouseDown (
const MouseEvent& event) {}
43 void juced_Label::mouseEnter (
const MouseEvent& event) {}
44 void juced_Label::mouseExit (
const MouseEvent& event) {}
45 void juced_Label::mouseWheelMove (
const MouseEvent &event,
const MouseWheelDetails &wheel) {}