MCPcopy Create free account
hub / github.com/REGoth-project/REGoth / create

Method create

src/ui/Menu_Log.cpp:21–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21Menu_Log* Menu_Log::create(Engine::BaseEngine& e)
22{
23 Menu_Log* s = new Menu_Log(e);
24 s->initializeInstance("MENU_LOG");
25
26 // Hide content viewer on log opening
27 s->findMenuItem("MENU_ITEM_CONTENT_VIEWER")->setHidden(true);
28
29 s->setTimeAndDay();
30 s->initializeLogEntries();
31
32 return s;
33}
34
35void Menu_Log::setTimeAndDay()
36{

Callers 4

showDialogExtractOkMethod · 0.45
showDialogNoDataMethod · 0.45

Calls 5

initializeInstanceMethod · 0.80
setHiddenMethod · 0.80
findMenuItemMethod · 0.80
setTimeAndDayMethod · 0.80
initializeLogEntriesMethod · 0.80

Tested by

no test coverage detected