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. | |
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.
|
virtualdefault |
Destructor.
|
pure virtual |
Callback to indicate that the dark mode setting has changed.