Download Source/Plugin/PluginBridgeEditor.h from RAM2118/pluginbridge: direct link, hf CLI and curl.
- Browser
- Download file 1.12 kB
-
https://huggingface.co/RAM2118/pluginbridge/resolve/3e552720f021ec789c2546bfc99dee8d805f2bf1/Source/Plugin/PluginBridgeEditor.h
- Command line
-
hf download hf://RAM2118/pluginbridge@3e552720f021ec789c2546bfc99dee8d805f2bf1/Source/Plugin/PluginBridgeEditor.h
-
curl -L -o PluginBridgeEditor.h https://huggingface.co/RAM2118/pluginbridge/resolve/3e552720f021ec789c2546bfc99dee8d805f2bf1/Source/Plugin/PluginBridgeEditor.h
1.12 kB
| class PluginBridgeEditor : public juce::AudioProcessorEditor, private juce::Timer | |
| { | |
| public: | |
| PluginBridgeEditor(PluginBridgeProcessor& p); | |
| ~PluginBridgeEditor() override; | |
| void paint(juce::Graphics& g) override; | |
| void resized() override; | |
| private: | |
| void timerCallback() override; | |
| void showPluginMenu(); | |
| void embedPluginEditor(); | |
| void removePluginEditor(); | |
| PluginBridgeProcessor& processorRef; | |
| // Top bar controls (always visible) | |
| juce::Label titleLabel; | |
| juce::Label mcpStatusLabel; | |
| juce::Label pluginStatusLabel; | |
| juce::TextButton selectButton{"Select Plugin"}; | |
| // Embedded plugin editor | |
| std::unique_ptr<juce::AudioProcessorEditor> hostedEditor; | |
| // State | |
| bool showingError = false; | |
| static constexpr int kTopBarHeight = 40; | |
| static constexpr int kDefaultWidth = 400; | |
| static constexpr int kDefaultHeight = 60; | |
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(PluginBridgeEditor) | |
| }; | |