Photosine 0.5
Loading...
Searching...
No Matches
PluginInterface::MacNativeWindow Class Reference

#include <PluginEditorComponent.h>

Public Member Functions

 MacNativeWindow (void *editorHandle, void *windowHandle)
void show ()
void resized (juce::Rectangle< int > newBounds)

Private Attributes

void * handle
void * mainWindowHandle

Detailed Description

Helper class used by PluginEditorComponent for embedding a native window in MacOS to solve juce::Component rendering limitations around clipping.

Constructor & Destructor Documentation

◆ MacNativeWindow()

PluginInterface::MacNativeWindow::MacNativeWindow ( void * editorHandle,
void * windowHandle )
Parameters
editorHandlewindow handle for PluginEditorHiddenWindow which is going to be embedded.
windowHandlewindow handle for main window which editorHandle will be embedded.

Member Function Documentation

◆ resized()

void PluginInterface::MacNativeWindow::resized ( juce::Rectangle< int > newBounds)

Sizes the native window and positions it.

◆ show()

void PluginInterface::MacNativeWindow::show ( )

Runs NSView and NSWindow commands to embed PluginEditorHiddenWindow inside main window.

Member Data Documentation

◆ handle

void* PluginInterface::MacNativeWindow::handle
private

◆ mainWindowHandle

void* PluginInterface::MacNativeWindow::mainWindowHandle
private

The documentation for this class was generated from the following files: