11 #include "juced_ImageButton.h"
13 int juced_ImageButton::_numObjects = 0;
15 juced_ImageButton::juced_ImageButton() : ImageButton ()
17 setName(
"ImageButton");
18 setProperty(Attributes::objectType, Modules::ImageButton.toString());
19 setProperty(Attributes::height, getHeight());
20 setProperty(Attributes::width, getWidth());
21 setProperty(Attributes::name, getName());
23 setProperty(Attributes::varName, getName() + String(_numObjects));
24 setProperty(Attributes::normalImage,
"Image()");
25 setProperty(Attributes::overImage,
"Image()");
26 setProperty(Attributes::downImage,
"Image()");
27 setProperty(Attributes::className,
"ImageButton");
28 setProperty(Attributes::toolName,
"juced_ImageButton");
29 setProperty(Attributes::declareExtended,
false);
30 setComponentID(Uuid().toString());
31 setProperty(Attributes::ID, getComponentID());
34 void juced_ImageButton::mouseUp (
const MouseEvent& event) {}
35 void juced_ImageButton::mouseDrag (
const MouseEvent& event) {}
36 void juced_ImageButton::mouseDoubleClick (
const MouseEvent& event) {}
37 void juced_ImageButton::mouseMove (
const MouseEvent& event) {}
38 void juced_ImageButton::mouseDown (
const MouseEvent& event) {}
39 void juced_ImageButton::mouseEnter (
const MouseEvent& event) {}
40 void juced_ImageButton::mouseExit (
const MouseEvent& event) {}
41 void juced_ImageButton::mouseWheelMove (
const MouseEvent &event,
const MouseWheelDetails &wheel) {}