JUCE Designer
 All Classes Functions Variables
juced_ImageButton.cpp
1 /*
2  ==============================================================================
3 
4  juced_ImageButton.cpp
5  Created: 13 Apr 2013 10:07:27pm
6  Author: admin
7 
8  ==============================================================================
9 */
10 
11 #include "juced_ImageButton.h"
12 
13 int juced_ImageButton::_numObjects = 0;
14 
15 juced_ImageButton::juced_ImageButton() : ImageButton ()
16 {
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());
22  ++_numObjects;
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());
32 }
33 
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) {}