TracktionEngine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
tracktion::engine::Plugin::WindowState Struct Reference

#include <tracktion_Plugin.h>

Inheritance diagram for tracktion::engine::Plugin::WindowState:

Public Member Functions

 WindowState (Plugin &)
 
- Public Member Functions inherited from tracktion::engine::PluginWindowState
 PluginWindowState (Edit &)
 
void incRefCount ()
 
void decRefCount ()
 
bool isWindowShowing () const
 
void showWindowExplicitly ()
 
void showWindowIfTemporarilyHidden ()
 
void recreateWindowIfShowing ()
 
void closeWindowExplicitly ()
 
void hideWindowForShutdown ()
 
void hideWindowTemporarily ()
 
juce::Point< int > choosePositionForPluginWindow ()
 
void pluginClicked (const juce::MouseEvent &)
 Can be used to manually fire a mouse event into the window.
 

Public Attributes

Pluginplugin
 
- Public Attributes inherited from tracktion::engine::PluginWindowState
Editedit
 
Engineengine
 
std::unique_ptr< juce::Component > pluginWindow
 
int windowShowerCount = 0
 
bool windowLocked
 
bool temporarilyHidden = false
 
bool wasExplicitlyClosed = false
 
std::optional< juce::Rectangle< int > > lastWindowBounds
 
juce::Time windowOpenTime
 

Additional Inherited Members

- Static Public Member Functions inherited from tracktion::engine::PluginWindowState
static void hideAllWindowsTemporarily (Edit &)
 Calls hideWindowTemporarily() for any windows of plugins in this edit.
 
static void showAllTemporarilyHiddenWindows (Edit &)
 Calls showWindowIfTemporarilyHidden() for all plugins in this edit.
 
static void showOrHideAllWindows (Edit &)
 If any windows are showing, hide them all temporarily, otherwise bring back any temporarily hidden ones.
 
static std::vector< PluginWindowState * > getAllWindows (Edit &)
 Finds all windows for all plugins in this edit.
 
static uint32_t getNumOpenWindows (Edit &)
 Counts the number of visible windows for plugins in this edit.
 

Constructor & Destructor Documentation

◆ WindowState()

tracktion::engine::Plugin::WindowState::WindowState ( Plugin )

Member Data Documentation

◆ plugin

Plugin& tracktion::engine::Plugin::WindowState::plugin

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