11 #include "juced_TextButton.h"
13 int juced_TextButton::_numObjects = 0;
15 juced_TextButton::juced_TextButton() : TextButton ()
17 setName(
"TextButton");
18 setButtonText(
"Text Button");
19 setProperty(Attributes::objectType, Modules::TextButton.toString());
20 setProperty(Attributes::font, getFont().toString());
21 setProperty(Attributes::buttonColour, findColour(TextButton::buttonColourId).toDisplayString(
true));
22 setProperty(Attributes::buttonOnColour, findColour(TextButton::buttonOnColourId).toDisplayString(
true));
23 setProperty(Attributes::height, getHeight());
24 setProperty(Attributes::width, getWidth());
25 setProperty(Attributes::name, getName());
27 setProperty(Attributes::varName, getName() + String(_numObjects));
28 setProperty(Attributes::buttonText, getButtonText());
29 setProperty(Attributes::connectedEdges, getConnectedEdgeFlags());
30 setProperty(Attributes::className,
"TextButton");
31 setProperty(Attributes::toolName,
"juced_TextButton");
32 setProperty(Attributes::declareExtended,
false);
33 setComponentID(Uuid().toString());
34 setProperty(Attributes::ID, getComponentID());
37 void juced_TextButton::mouseUp (
const MouseEvent& event) {}
38 void juced_TextButton::mouseDrag (
const MouseEvent& event) {}
39 void juced_TextButton::mouseDoubleClick (
const MouseEvent& event) {}
40 void juced_TextButton::mouseMove (
const MouseEvent& event) {}
41 void juced_TextButton::mouseDown (
const MouseEvent& event) {}
42 void juced_TextButton::mouseEnter (
const MouseEvent& event) {}
43 void juced_TextButton::mouseExit (
const MouseEvent& event) {}
44 void juced_TextButton::mouseWheelMove (
const MouseEvent &event,
const MouseWheelDetails &wheel) {}