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

Method LoadMenuData

Goldleaf/source/ui/ui_MainApplication.cpp:323–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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()) {

Callers 7

LoadFileMenuDataMethod · 0.95
ReloadMethod · 0.80
OnPathSelectedMethod · 0.80
LoadApplicationMethod · 0.80
StartExportMethod · 0.80

Calls 1

DoLoadMenuDataMethod · 0.95

Tested by

no test coverage detected