|
Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
|
Implementation of IPluginHostWindow based on juce::DocumentWindow. More...
#include <src/gui/backend/plugin_host_window.h>


Public Types | |
| using | CloseHandler = std::function<void ()> |
Public Member Functions | |
| JuceDocumentPluginHostWindow (const utils::Utf8String &title, CloseHandler close_handler) | |
| void | setJuceComponentContentNonOwned (juce::Component *content_non_owned) override |
| Sets the JUCE component (normally a juce editor component) as the child of this window. | |
| void | setSizeAndCenter (int width, int height) override |
| Sets the window size and centers it on the screen. | |
| void | setSize (int width, int height) override |
| Set the window size without centering. | |
| void | setVisible (bool shouldBeVisible) override |
| WId | getEmbedWindowId () const override |
| Gets a native window handle to embed in. | |
Implementation of IPluginHostWindow based on juce::DocumentWindow.
Definition at line 19 of file plugin_host_window.h.
| using zrythm::plugins::JuceDocumentPluginHostWindow::CloseHandler = std::function<void ()> |
Definition at line 24 of file plugin_host_window.h.
|
overridevirtual |
Gets a native window handle to embed in.
To be used in natively hosted plugins.
Implements zrythm::plugins::IPluginHostWindow.
|
overridevirtual |
Sets the JUCE component (normally a juce editor component) as the child of this window.
To be used by JUCE-hosted plugins.
Implements zrythm::plugins::IPluginHostWindow.
|
inlineoverridevirtual |
Set the window size without centering.
Used for resizes.
Implements zrythm::plugins::IPluginHostWindow.
Definition at line 51 of file plugin_host_window.h.
|
overridevirtual |
Sets the window size and centers it on the screen.
Implements zrythm::plugins::IPluginHostWindow.
|
inlineoverridevirtual |
Implements zrythm::plugins::IPluginHostWindow.
Definition at line 56 of file plugin_host_window.h.