mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
🎨
This commit is contained in:
@@ -19,11 +19,11 @@ const wchar_t kSystemPreferencesWindowClass[] =
|
||||
|
||||
namespace api {
|
||||
|
||||
class SystemPreferencesColorChangeListener :
|
||||
public gfx::SysColorChangeListener {
|
||||
class SystemPreferencesColorChangeListener
|
||||
: public gfx::SysColorChangeListener {
|
||||
public:
|
||||
explicit SystemPreferencesColorChangeListener(SystemPreferences* prefs):
|
||||
prefs_(prefs) {
|
||||
explicit SystemPreferencesColorChangeListener(SystemPreferences* prefs)
|
||||
: prefs_(prefs) {
|
||||
}
|
||||
|
||||
void OnSysColorChange() {
|
||||
|
||||
@@ -24,7 +24,7 @@ Returns:
|
||||
Returns:
|
||||
|
||||
* `event` Event
|
||||
* `invertedColorScheme` Boolean - `true` if a inverted color scheme, such as
|
||||
* `invertedColorScheme` Boolean - `true` if an inverted color scheme, such as
|
||||
a high contrast theme, is being used, `false` otherwise.
|
||||
|
||||
## Methods
|
||||
|
||||
Reference in New Issue
Block a user