MCPcopy Create free account
hub / github.com/XorTroll/Goldleaf / PopLayout

Method PopLayout

Goldleaf/source/ui/ui_MainApplication.cpp:364–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362 }
363
364 void MainApplication::PopLayout() {
365 if(!this->lyt_stack.empty()) {
366 this->lyt_stack.pop();
367 }
368 if(!this->lyt_stack.empty()) {
369 this->LoadLayout(this->lyt_stack.top());
370 }
371 else {
372 GLEAF_ASSERT_FAIL("No layout to pop!");
373 }
374 }
375
376 void MainApplication::ClearLayout(pu::ui::Layout::Ref lyt) {
377 lyt->Clear();

Callers 1

ReturnToParentLayoutMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected