You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Add support for system dark mode and accent color detection (macOS and Windows). Add support for dark mode title bar on Windows.
This commit is contained in:
@@ -586,6 +586,10 @@ void DisplayServer::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("tts_set_utterance_callback", "event", "callable"), &DisplayServer::tts_set_utterance_callback);
|
||||
ClassDB::bind_method(D_METHOD("_tts_post_utterance_event", "event", "id", "char_pos"), &DisplayServer::tts_post_utterance_event);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("is_dark_mode_supported"), &DisplayServer::is_dark_mode_supported);
|
||||
ClassDB::bind_method(D_METHOD("is_dark_mode"), &DisplayServer::is_dark_mode);
|
||||
ClassDB::bind_method(D_METHOD("get_accent_color"), &DisplayServer::get_accent_color);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("mouse_set_mode", "mouse_mode"), &DisplayServer::mouse_set_mode);
|
||||
ClassDB::bind_method(D_METHOD("mouse_get_mode"), &DisplayServer::mouse_get_mode);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user