| 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(); |
no outgoing calls
no test coverage detected