MCPcopy Create free account
hub / github.com/GDRETools/gdsdecomp / _notification

Method _notification

gui/gdre_window.cpp:64–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64void GDREWindow::_notification(int p_what) {
65 if (p_what == NOTIFICATION_PROCESS) {
66 if (!next_process_calls.is_empty()) {
67 auto calls = next_process_calls;
68 next_process_calls.clear();
69 for (const auto &callable : calls) {
70 callable.call();
71 }
72 }
73 }
74}
75
76void GDREWindow::call_on_next_process(const Callable &p_callable) {
77 next_process_calls.push_back(p_callable);

Callers

nothing calls this directly

Calls 2

callMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected