diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-08-29 11:24:48 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-08-31 11:37:01 +0300 |
commit | 629ae58a8064e30860dcf83f71a1abe9560cc59c (patch) | |
tree | 2c39f5b94c2d66d563335668dbfce67e8de20668 /platform/macos/display_server_macos.h | |
parent | f6714581cc29e14d2b0799a36d5ce91e172489c5 (diff) |
Add support for system dark mode and accent color detection (macOS and Windows). Add support for dark mode title bar on Windows.
Diffstat (limited to 'platform/macos/display_server_macos.h')
-rw-r--r-- | platform/macos/display_server_macos.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/platform/macos/display_server_macos.h b/platform/macos/display_server_macos.h index a08667a259..19e157d60d 100644 --- a/platform/macos/display_server_macos.h +++ b/platform/macos/display_server_macos.h @@ -284,6 +284,10 @@ public: virtual void tts_resume() override; virtual void tts_stop() override; + virtual bool is_dark_mode_supported() const override; + virtual bool is_dark_mode() const override; + virtual Color get_accent_color() const override; + virtual Error dialog_show(String p_title, String p_description, Vector<String> p_buttons, const Callable &p_callback) override; virtual Error dialog_input_text(String p_title, String p_description, String p_partial, const Callable &p_callback) override; |