24 #ifndef __CONTROLPANEL_H_AD81E528__
25 #define __CONTROLPANEL_H_AD81E528__
27 #include "../../JuceLibraryCode/JuceHeader.h"
28 #include "../Audio/AudioComponent.h"
29 #include "../Processors/Editors/AudioEditor.h"
30 #include "../Processors/ProcessorGraph.h"
31 #include "../Processors/RecordNode.h"
32 #include "CustomLookAndFeel.h"
33 #include "../AccessClass.h"
34 #include "../Processors/Editors/GenericEditor.h"
36 #include "../OpenGL.h"
69 void updateCPU(
float usage);
71 void paint (Graphics& g);
88 void updateDiskSpace(
float percent);
90 void paint (Graphics& g);
101 class Clock :
public OpenGLComponent
107 void newOpenGLContextCreated();
113 void startRecording();
114 void stopRecording();
116 void resetRecordTime();
125 int64 totalRecordTime;
139 bool isOpen() {
return open;}
142 void newOpenGLContextCreated();
147 void mouseDown(
const MouseEvent& e);
160 public Button::Listener,
161 public ActionListener,
170 void disableCallbacks();
174 void openState(
bool);
178 bool isOpen() {
return open;}
189 FilenameComponent* filenameComponent;
194 void paint(Graphics& g);
197 void buttonClicked(Button* button);
199 void actionListenerCallback(
const String& msg);
201 void updateChildComponents();
203 void timerCallback();
205 bool keyPressed(
const KeyPress &key);
218 #endif // __CONTROLPANEL_H_AD81E528__