You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-11 13:10:58 +00:00
Expose OS::move_window_to_foreground
This commit is contained in:
@@ -1020,6 +1020,11 @@ void _OS::center_window() {
|
||||
OS::get_singleton()->center_window();
|
||||
}
|
||||
|
||||
void _OS::move_window_to_foreground() {
|
||||
|
||||
OS::get_singleton()->move_window_to_foreground();
|
||||
}
|
||||
|
||||
bool _OS::is_debug_build() const {
|
||||
|
||||
#ifdef DEBUG_ENABLED
|
||||
@@ -1121,6 +1126,7 @@ void _OS::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("request_attention"), &_OS::request_attention);
|
||||
ClassDB::bind_method(D_METHOD("get_real_window_size"), &_OS::get_real_window_size);
|
||||
ClassDB::bind_method(D_METHOD("center_window"), &_OS::center_window);
|
||||
ClassDB::bind_method(D_METHOD("move_window_to_foreground"), &_OS::move_window_to_foreground);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("set_borderless_window", "borderless"), &_OS::set_borderless_window);
|
||||
ClassDB::bind_method(D_METHOD("get_borderless_window"), &_OS::get_borderless_window);
|
||||
|
||||
Reference in New Issue
Block a user