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

#include <tracktion_RackType.h>

Inheritance diagram for engine::RackType::WindowState:

Public Member Functions

 WindowState (RackType &, juce::ValueTree windowStateTree)
 
- Public Member Functions inherited from 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

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

Additional Inherited Members

- Static Public Member Functions inherited from 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()

engine::RackType::WindowState::WindowState ( RackType ,
juce::ValueTree  windowStateTree 
)

Member Data Documentation

◆ rack

RackType& engine::RackType::WindowState::rack

◆ state

juce::ValueTree engine::RackType::WindowState::state

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