MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / ModifiedPrompt

Method ModifiedPrompt

editor/TableManage.cpp:446–454  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

444}
445
446int GenericPageList::ModifiedPrompt(CDialog *wnd) {
447 // If current file has been modified, check with user first...
448 if (!m_TableModified)
449 return (IDYES);
450 if (wnd->MessageBox("Changes to table file will be lost. Proceed?", "Table File Has Been Modified", MB_YESNO) ==
451 IDYES)
452 return (IDYES);
453 return (IDNO);
454}
455
456void GenericPageList::SetTitleString(CDialog *wnd) {
457 char title[1024];

Callers 7

OnCloseMethod · 0.45
OnFileExitMethod · 0.45
OnFileNewMethod · 0.45
OnFileLoadMethod · 0.45
OnTableEditFileLoadMethod · 0.45
OnTableEditFileExitMethod · 0.45
OnCloseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected