🎨
This commit is contained in:
parent
af27c62b07
commit
25bcc2dd0d
2 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue