SPAOP
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SourceZoomPort.h
Go to the documentation of this file.
1 /*
2  * Copyright 2014 Martin Hansen
3  *
4  * This file is part of SPAOP (Spatial Audio Object Positioner).
5  *
6  * SPAOP is free software: you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation, either version 3 of the License, or
9  * (at your option) any later version.
10  *
11  * SPAOP is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with SPAOP. If not, see <http://www.gnu.org/licenses/>.
18  */
19 
20 #ifndef SOURCEZOOMPORT_H_INCLUDED
21 #define SOURCEZOOMPORT_H_INCLUDED
22 
23 #include "SourcePanel.h"
24 #include "ZoomPort.h"
25 #include "JuceHeader.h"
26 
27 namespace wonderjuce {
28 
29 //==============================================================================
33 class SourceZoomPort : public ZoomPort
34 {
35 public:
37  SourceZoomPort(const String& componentName = String::empty);
38 
41 
47 
48 private:
49  SourcePanel sourcePanel_;
50 
51  JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (SourceZoomPort)
52 };
53 
54 }
55 
56 
57 
58 #endif // SOURCEZOOMPORT_H_INCLUDED
A ZoomPort that contains a SourcePanel.
Definition: SourceZoomPort.h:33
~SourceZoomPort()
Destructor.
Definition: SourceZoomPort.cpp:32
A GUI component that wraps another ComponentWithFocusPoint, adding the ability to zoom in and out and...
Definition: ZoomPort.h:39
A GUI component that displays a two-dimensional view of a source's position and allows the re-positio...
Definition: SourcePanel.h:41
SourceZoomPort(const String &componentName=String::empty)
Constructor.
Definition: SourceZoomPort.cpp:25
SourcePanel * getSourcePanel()
Returns a pointer to the contained SourcePanel.
Definition: SourceZoomPort.cpp:36