You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Android: Add method to set root window color at runtime
This commit is contained in:
@@ -1476,6 +1476,8 @@ void DisplayServer::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("window_start_drag", "window_id"), &DisplayServer::window_start_drag, DEFVAL(MAIN_WINDOW_ID));
|
||||
ClassDB::bind_method(D_METHOD("window_start_resize", "edge", "window_id"), &DisplayServer::window_start_resize, DEFVAL(MAIN_WINDOW_ID));
|
||||
|
||||
ClassDB::bind_method(D_METHOD("window_set_color", "color"), &DisplayServer::window_set_color);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("accessibility_should_increase_contrast"), &DisplayServer::accessibility_should_increase_contrast);
|
||||
ClassDB::bind_method(D_METHOD("accessibility_should_reduce_animation"), &DisplayServer::accessibility_should_reduce_animation);
|
||||
ClassDB::bind_method(D_METHOD("accessibility_should_reduce_transparency"), &DisplayServer::accessibility_should_reduce_transparency);
|
||||
|
||||
@@ -525,6 +525,8 @@ public:
|
||||
|
||||
virtual void window_start_drag(WindowID p_window = MAIN_WINDOW_ID) {}
|
||||
|
||||
virtual void window_set_color(const Color &p_color) {}
|
||||
|
||||
enum WindowResizeEdge {
|
||||
WINDOW_EDGE_TOP_LEFT,
|
||||
WINDOW_EDGE_TOP,
|
||||
|
||||
Reference in New Issue
Block a user