TracktionEngine
Loading...
Searching...
No Matches
Public Member Functions | List of all members
engine::Plugin::EditorComponent Struct Referenceabstract

Base class for plugin editor components (custom UIs shown in plugin windows). More...

#include <tracktion_Plugin.h>

Inherits juce::Component.

Public Member Functions

virtual bool allowWindowResizing ()=0
 
virtual juce::ComponentBoundsConstrainer * getBoundsConstrainer ()=0
 
virtual bool isEditorResizable ()
 Returns true if the underlying editor can genuinely be resized to fit an arbitrary host-provided size.
 

Detailed Description

Base class for plugin editor components (custom UIs shown in plugin windows).

Member Function Documentation

◆ allowWindowResizing()

virtual bool engine::Plugin::EditorComponent::allowWindowResizing ( )
pure virtual

◆ getBoundsConstrainer()

virtual juce::ComponentBoundsConstrainer * engine::Plugin::EditorComponent::getBoundsConstrainer ( )
pure virtual

◆ isEditorResizable()

virtual bool engine::Plugin::EditorComponent::isEditorResizable ( )
virtual

Returns true if the underlying editor can genuinely be resized to fit an arbitrary host-provided size.

This is independent of allowWindowResizing(), which intentionally stays conservative for floating plugin windows to avoid size hysteresis. It's intended for hosts that embed the editor inline (e.g. a side panel) and want to size it themselves. Defaults to false.


The documentation for this struct was generated from the following file: