![]() |
Mema
Memory Matrix — multi-channel audio matrix monitor and router
|
A resizable JUCE window with a title bar and close button that fires a callback on close. More...
#include <MemaProcessor.h>
Inheritance diagram for Mema::ResizeableWindowWithTitleBarAndCloseCallback:
Collaboration diagram for Mema::ResizeableWindowWithTitleBarAndCloseCallback:Public Member Functions | |
| ResizeableWindowWithTitleBarAndCloseCallback () | |
| ResizeableWindowWithTitleBarAndCloseCallback (const String &name, bool addToDesktop) | |
| ~ResizeableWindowWithTitleBarAndCloseCallback () | |
| int | getDesktopWindowStyleFlags () const override |
| void | userTriedToCloseWindow () override |
Public Attributes | |
| std::function< void()> | onClosed |
| Invoked when the window is closed by the user or programmatically. | |
A resizable JUCE window with a title bar and close button that fires a callback on close.
Used by MemaProcessor to host the loaded plugin's editor UI in a separate floating window. The onClosed callback allows MemaProcessor to clean up the plugin editor reference when the user closes the window via the OS close button or via code.
Definition at line 54 of file MemaProcessor.h.
|
inline |
Definition at line 57 of file MemaProcessor.h.
|
inline |
Definition at line 58 of file MemaProcessor.h.
|
inline |
Definition at line 59 of file MemaProcessor.h.
References onClosed.
|
inlineoverride |
Definition at line 62 of file MemaProcessor.h.
|
inlineoverride |
Definition at line 72 of file MemaProcessor.h.
References onClosed.
| std::function<void()> Mema::ResizeableWindowWithTitleBarAndCloseCallback::onClosed |
Invoked when the window is closed by the user or programmatically.
Definition at line 79 of file MemaProcessor.h.
Referenced by userTriedToCloseWindow(), and ~ResizeableWindowWithTitleBarAndCloseCallback().