MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / set_window_layout

Method set_window_layout

editor/run/game_view_plugin.cpp:862–865  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

860}
861
862void GameView::set_window_layout(Ref<ConfigFile> p_layout) {
863 floating_window_rect = p_layout->get_value("GameView", "floating_window_rect", Rect2i());
864 floating_window_screen = p_layout->get_value("GameView", "floating_window_screen", -1);
865}
866
867void GameView::get_window_layout(Ref<ConfigFile> p_layout) {
868 if (window_wrapper->get_window_enabled()) {

Callers 1

Calls 2

Rect2iClass · 0.50
get_valueMethod · 0.45

Tested by

no test coverage detected