| 230 | } |
| 231 | |
| 232 | void WindowWrapper::restore_window(const Rect2i &p_rect, int p_screen) { |
| 233 | ERR_FAIL_COND(!is_window_available()); |
| 234 | ERR_FAIL_INDEX(p_screen, DisplayServer::get_singleton()->get_screen_count()); |
| 235 | |
| 236 | _set_window_enabled_with_rect(true, p_rect); |
| 237 | window->set_current_screen(p_screen); |
| 238 | } |
| 239 | |
| 240 | void WindowWrapper::restore_window_from_saved_position(const Rect2 p_window_rect, int p_screen, const Rect2 p_screen_rect) { |
| 241 | ERR_FAIL_COND(!is_window_available()); |
no test coverage detected