JUCE Designer
 All Classes Functions Variables
juced_MainComponent.cpp
1 /*
2  ==============================================================================
3 
4  juced_MainComponent.cpp
5  Created: 3 Mar 2013 2:44:43pm
6  Author: admin
7 
8  ==============================================================================
9 */
10 
11 #include "juced_MainComponent.h"
12 
13 int juced_MainComponent::_numObjects = 0;
14 
15 juced_MainComponent::juced_MainComponent()
16 {
17  //setSize (500, 400);
18  setName("Container");
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_MainComponent");
27  setProperty(Attributes::declareExtended, true);
28  setComponentID(Uuid().toString());
29  setProperty(Attributes::ID, getComponentID());
30  setProperty(Attributes::allowTransform, false);
31 }
32 
33 juced_MainComponent::~juced_MainComponent()
34 {
35 }
36 
37 /*void juced_MainComponent::paint (Graphics& g)
38 {
39  g.fillAll (Colours::transparentWhite);
40 
41 }*/
42 
43 void juced_MainComponent::resized()
44 {
45  // This is called when the MainContentComponent is resized.
46  // If you add any child components, this is where you should
47  // update their positions.
48 }
49 
50 void juced_MainComponent::mouseUp (const MouseEvent& event) {}
51 void juced_MainComponent::mouseDrag (const MouseEvent& event) {}
52 void juced_MainComponent::mouseDoubleClick (const MouseEvent& event) {}
53 void juced_MainComponent::mouseMove (const MouseEvent& event) {}
54 void juced_MainComponent::mouseDown (const MouseEvent& event) {}
55 void juced_MainComponent::mouseEnter (const MouseEvent& event) {}
56 void juced_MainComponent::mouseExit (const MouseEvent& event) {}
57 void juced_MainComponent::mouseWheelMove (const MouseEvent &event, const MouseWheelDetails &wheel) {}