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

Method select_next

editor/editor_main_screen.cpp:135–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135void EditorMainScreen::select_next() {
136 int editor = _get_current_main_editor();
137
138 do {
139 if (editor == editor_table.size() - 1) {
140 editor = 0;
141 } else {
142 editor++;
143 }
144 } while (!buttons[editor]->is_visible());
145
146 select(editor);
147}
148
149void EditorMainScreen::select_prev() {
150 int editor = _get_current_main_editor();

Callers 1

shortcut_inputMethod · 0.80

Calls 2

sizeMethod · 0.65
is_visibleMethod · 0.45

Tested by

no test coverage detected