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

Method LoadMenuHead

Goldleaf/source/ui/ui_MainApplication.cpp:344–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

342 }
343
344 void MainApplication::LoadMenuHead(const std::string &head) {
345 if(this->menu_head_text != nullptr) {
346 this->menu_head_text->SetText(head);
347 }
348 if(!this->menu_data_stack.empty()) {
349 this->menu_data_stack.top().head = head;
350 }
351 }
352
353 void MainApplication::UnloadMenuData() {
354 this->menu_img->SetVisible(false);

Callers 5

DoLoadMenuDataMethod · 0.95
ReloadMethod · 0.80
ResetMenuHeadMethod · 0.80
UpdateElementsMethod · 0.80
optsRename_DefaultKeyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected