| 321 | } |
| 322 | |
| 323 | void MainApplication::LoadMenuData(const bool push_new, const std::string &name, pu::sdl2::TextureHandle::Ref icon, const std::string &temp_head) { |
| 324 | if(push_new) { |
| 325 | this->menu_data_stack.push({ name, icon, temp_head }); |
| 326 | } |
| 327 | |
| 328 | this->DoLoadMenuData(name, icon, temp_head); |
| 329 | } |
| 330 | |
| 331 | void MainApplication::PopMenuData() { |
| 332 | if(!this->menu_data_stack.empty()) { |
no test coverage detected