JUCE Designer
 All Classes Functions Variables
juced_BubbleComponent.cpp
1 /*
2  ==============================================================================
3 
4  juced_BubbleComponent.cpp
5  Created: 13 May 2013 7:27:55am
6  Author: admin
7 
8  ==============================================================================
9 */
10 
11 #include "juced_BubbleComponent.h"
12 
13 int juced_BubbleMessageComponent::_numObjects = 0;
14 
15 juced_BubbleMessageComponent::juced_BubbleMessageComponent() : BubbleMessageComponent ()
16 {
17  //setText("Text label", false);
18  //setName("Label");
19  setProperty(Attributes::objectType, Modules::BubbleComponent.toString());
20  //setProperty(Attributes::text, getText());
21  //setProperty(Attributes::font, getFont().toString());
22  setProperty(Attributes::backgroundColour, findColour(backgroundColourId).toDisplayString(true));
23  //setProperty(Attributes::textColour, findColour(textColourId).toDisplayString(true));
24  //setProperty(Attributes::showEditor, false);
25  //setProperty(Attributes::editable, false);
26  setProperty(Attributes::height, getHeight());
27  setProperty(Attributes::width, getWidth());
28  setProperty(Attributes::name, getName());
29  ++_numObjects;
30  setProperty(Attributes::varName, getName() + String(_numObjects));
31  setProperty(Attributes::className, "BubbleMessageComponent");
32  setProperty(Attributes::toolName, "juced_BubbleMessageComponent");
33  setProperty(Attributes::declareExtended, false);
34  setComponentID(Uuid().toString());
35  setProperty(Attributes::ID, getComponentID());
36 }
37 
38 void juced_BubbleMessageComponent::mouseUp (const MouseEvent& event) {}
39 void juced_BubbleMessageComponent::mouseDrag (const MouseEvent& event) {}
40 void juced_BubbleMessageComponent::mouseDoubleClick (const MouseEvent& event) {}
41 void juced_BubbleMessageComponent::mouseMove (const MouseEvent& event) {}
42 void juced_BubbleMessageComponent::mouseDown (const MouseEvent& event) {}
43 void juced_BubbleMessageComponent::mouseEnter (const MouseEvent& event) {}
44 void juced_BubbleMessageComponent::mouseExit (const MouseEvent& event) {}
45 void juced_BubbleMessageComponent::mouseWheelMove (const MouseEvent &event, const MouseWheelDetails &wheel) {}