JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Public Member Functions | List of all members
juce::DarkModeSettingListener Class Referenceabstract

Classes can implement this interface and register themselves with the Desktop class to receive callbacks when the operating system dark mode setting changes. More...

#include "juce_Desktop.h"

Public Member Functions

virtual ~DarkModeSettingListener ()=default
 Destructor.
 
virtual void darkModeSettingChanged ()=0
 Callback to indicate that the dark mode setting has changed.
 

Detailed Description

Classes can implement this interface and register themselves with the Desktop class to receive callbacks when the operating system dark mode setting changes.

The Desktop::isDarkModeActive() method can then be used to query the current setting.

See also
Desktop::addDarkModeSettingListener, Desktop::removeDarkModeSettingListener, Desktop::isDarkModeActive

@tags{GUI}

Definition at line 59 of file juce_Desktop.h.


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