LMMS
Loading...
Searching...
No Matches
juce::TopLevelWindowManager Class Reference
Inheritance diagram for juce::TopLevelWindowManager:
juce::Timer juce::DeletedAtShutdown

Public Member Functions

 TopLevelWindowManager ()
 ~TopLevelWindowManager () override
void checkFocusAsync ()
void checkFocus ()
bool addWindow (TopLevelWindow *const w)
void removeWindow (TopLevelWindow *const w)

Public Attributes

Array< TopLevelWindow * > windows

Private Member Functions

void timerCallback () override
bool isWindowActive (TopLevelWindow *const tlw) const
TopLevelWindowfindCurrentlyActiveWindow () const
Private Member Functions inherited from juce::Timer
virtual ~Timer ()
void startTimer (int intervalInMilliseconds) noexcept
void startTimerHz (int timerFrequencyHz) noexcept
void stopTimer () noexcept
bool isTimerRunning () const noexcept
int getTimerInterval () const noexcept
 Timer () noexcept
 Timer (const Timer &) noexcept
Private Member Functions inherited from juce::DeletedAtShutdown
 DeletedAtShutdown ()
virtual ~DeletedAtShutdown ()

Private Attributes

TopLevelWindowcurrentActive = nullptr

Additional Inherited Members

Static Private Member Functions inherited from juce::Timer
static void JUCE_CALLTYPE callAfterDelay (int milliseconds, std::function< void()> functionToCall)
static void JUCE_CALLTYPE callPendingTimersSynchronously ()
Static Private Member Functions inherited from juce::DeletedAtShutdown
static void deleteAll ()

Detailed Description

Keeps track of the active top level window.

Constructor & Destructor Documentation

◆ TopLevelWindowManager()

juce::TopLevelWindowManager::TopLevelWindowManager ( )
inline

◆ ~TopLevelWindowManager()

juce::TopLevelWindowManager::~TopLevelWindowManager ( )
inlineoverride

Member Function Documentation

◆ addWindow()

bool juce::TopLevelWindowManager::addWindow ( TopLevelWindow *const w)
inline

◆ checkFocus()

void juce::TopLevelWindowManager::checkFocus ( )
inline

◆ checkFocusAsync()

void juce::TopLevelWindowManager::checkFocusAsync ( )
inline

◆ findCurrentlyActiveWindow()

TopLevelWindow * juce::TopLevelWindowManager::findCurrentlyActiveWindow ( ) const
inlineprivate

◆ isWindowActive()

bool juce::TopLevelWindowManager::isWindowActive ( TopLevelWindow *const tlw) const
inlineprivate

◆ removeWindow()

void juce::TopLevelWindowManager::removeWindow ( TopLevelWindow *const w)
inline

◆ timerCallback()

void juce::TopLevelWindowManager::timerCallback ( )
inlineoverrideprivatevirtual

The user-defined callback routine that actually gets called periodically.

It's perfectly ok to call startTimer() or stopTimer() from within this callback to change the subsequent intervals.

Implements juce::Timer.

Member Data Documentation

◆ currentActive

TopLevelWindow* juce::TopLevelWindowManager::currentActive = nullptr
private

◆ windows

Array<TopLevelWindow*> juce::TopLevelWindowManager::windows

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