Out-of-process rebuild: Add Plugin/PluginBridgeEditor.h/.cpp — modern minimal dark UI
Browse files
Source/Plugin/PluginBridgeEditor.h
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#pragma once
|
| 2 |
+
|
| 3 |
+
#include <juce_gui_basics/juce_gui_basics.h>
|
| 4 |
+
#include "PluginBridgeProcessor.h"
|
| 5 |
+
|
| 6 |
+
class PluginBridgeEditor : public juce::AudioProcessorEditor,
|
| 7 |
+
private juce::Timer
|
| 8 |
+
{
|
| 9 |
+
public:
|
| 10 |
+
explicit PluginBridgeEditor(PluginBridgeProcessor&);
|
| 11 |
+
~PluginBridgeEditor() override;
|
| 12 |
+
|
| 13 |
+
void paint(juce::Graphics&) override;
|
| 14 |
+
void resized() override;
|
| 15 |
+
|
| 16 |
+
private:
|
| 17 |
+
void timerCallback() override;
|
| 18 |
+
void showPluginMenu();
|
| 19 |
+
|
| 20 |
+
PluginBridgeProcessor& processorRef;
|
| 21 |
+
|
| 22 |
+
// Status indicators
|
| 23 |
+
juce::Label titleLabel;
|
| 24 |
+
juce::Label mcpStatusLabel;
|
| 25 |
+
juce::Label pluginStatusLabel;
|
| 26 |
+
juce::Label connectionLabel;
|
| 27 |
+
|
| 28 |
+
// Buttons
|
| 29 |
+
juce::TextButton selectButton{"Select Plugin"};
|
| 30 |
+
juce::TextButton guiButton{"Open GUI"};
|
| 31 |
+
juce::TextButton reloadButton{"Reload"};
|
| 32 |
+
|
| 33 |
+
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(PluginBridgeEditor)
|
| 34 |
+
};
|