diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-13 23:43:21 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-02-13 23:43:21 +0100 |
commit | b6dee8850b7846d1e1414f0119f7f15697aa7603 (patch) | |
tree | a5219aea4e81e7fa3320643839c6677b646c2442 /servers/display_server.h | |
parent | dc99c8d4a4e2456da2988dac078e3085d2034664 (diff) | |
parent | ee53ae28dff4ca227ba970c733bf89d53f432141 (diff) | |
download | redot-engine-b6dee8850b7846d1e1414f0119f7f15697aa7603.tar.gz |
Merge pull request #87384 from bruvzg/sys_base_color
Add method to get "base" system UI color and system theme change callback.
Diffstat (limited to 'servers/display_server.h')
-rw-r--r-- | servers/display_server.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/servers/display_server.h b/servers/display_server.h index cf92611a5a..0f6c43ebe0 100644 --- a/servers/display_server.h +++ b/servers/display_server.h @@ -227,7 +227,9 @@ public: virtual bool is_dark_mode_supported() const { return false; }; virtual bool is_dark_mode() const { return false; }; - virtual Color get_accent_color() const { return Color(0, 0, 0, 0); }; + virtual Color get_accent_color() const { return Color(0, 0, 0, 0); } + virtual Color get_base_color() const { return Color(0, 0, 0, 0); } + virtual void set_system_theme_change_callback(const Callable &p_callable) {} private: static bool window_early_clear_override_enabled; |