MCPcopy Create free account
hub / github.com/ErrorAtLine0/infinipaint / set_first_screen

Method set_first_screen

src/MainProgram.cpp:584–587  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

582}
583
584void MainProgram::set_first_screen(std::unique_ptr<Screen> firstScreen) {
585 set_screen([&](std::unique_ptr<Screen>){ return std::move(firstScreen); });
586 run_new_screen_func();
587}
588
589void MainProgram::run_new_screen_func() {
590 if(newScreenFunc) {

Callers 1

SDL_AppInitFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected