Download Source/Plugin/PluginBridgeEditor.h from RAM2118/pluginbridge: direct link, hf CLI and curl.
- Browser
- Download file 1.07 kB
-
https://huggingface.co/RAM2118/pluginbridge/resolve/ddb115bf829f00a019effbe2c307028edd9a0d27/Source/Plugin/PluginBridgeEditor.h
- Command line
-
hf download hf://RAM2118/pluginbridge@ddb115bf829f00a019effbe2c307028edd9a0d27/Source/Plugin/PluginBridgeEditor.h
-
curl -L -o PluginBridgeEditor.h https://huggingface.co/RAM2118/pluginbridge/resolve/ddb115bf829f00a019effbe2c307028edd9a0d27/Source/Plugin/PluginBridgeEditor.h
1.07 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; | |
| static constexpr int kTopBarHeight = 40; | |
| static constexpr int kDefaultWidth = 400; | |
| static constexpr int kDefaultHeight = 60; | |
| JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(PluginBridgeEditor) | |
| }; | |