JUCE Designer
 All Classes Functions Variables
juced_Component.cpp
1 /*
2  ==============================================================================
3 
4  juced_Component.cpp
5  Created: 15 May 2013 4:26:01pm
6  Author: admin
7 
8  ==============================================================================
9 */
10 
11 #include "juced_Component.h"
12 
13 int juced_Component::_numObjects = 0;
14 
15 juced_Component::juced_Component()
16 {
17  //setSize (500, 400);
18  setName("Component");
19  setProperty(Attributes::objectType, Modules::Component.toString());
20  setProperty(Attributes::height, getHeight());
21  setProperty(Attributes::width, getWidth());
22  setProperty(Attributes::name, getName());
23  ++_numObjects;
24  setProperty(Attributes::varName, getName() + String(_numObjects));
25  setProperty(Attributes::className, "Component");
26  setProperty(Attributes::toolName, "juced_Component");
27  setProperty(Attributes::declareExtended, false);
28  setComponentID(Uuid().toString());
29  setProperty(Attributes::ID, getComponentID());
30 }
31 
32 juced_Component::~juced_Component()
33 {
34 }
35 
36 /*void juced_MainComponent::paint (Graphics& g)
37 {
38  g.fillAll (Colours::transparentWhite);
39 
40 }*/
41 
42 void juced_Component::resized()
43 {
44  // This is called when the MainContentComponent is resized.
45  // If you add any child components, this is where you should
46  // update their positions.
47 }
48 
49 void juced_Component::mouseUp (const MouseEvent& event) {}
50 void juced_Component::mouseDrag (const MouseEvent& event) {}
51 void juced_Component::mouseDoubleClick (const MouseEvent& event) {}
52 void juced_Component::mouseMove (const MouseEvent& event) {}
53 void juced_Component::mouseDown (const MouseEvent& event) {}
54 void juced_Component::mouseEnter (const MouseEvent& event) {}
55 void juced_Component::mouseExit (const MouseEvent& event) {}
56 void juced_Component::mouseWheelMove (const MouseEvent &event, const MouseWheelDetails &wheel) {}