MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / OnModuleComments

Method OnModuleComments

Source/MainFrm.cpp:2132–2140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2130}
2131
2132void CMainFrame::OnModuleComments()
2133{
2134 CCommentsDlg commentsDlg;
2135 const CFamiTrackerDoc &Doc = GetDoc();
2136 commentsDlg.SetComment(Doc.GetModule()->GetComment()); // // //
2137 commentsDlg.SetShowOnLoad(Doc.GetModule()->ShowsCommentOnOpen());
2138 if (commentsDlg.DoModal() == IDOK && commentsDlg.IsChanged())
2139 AddAction(std::make_unique<ModuleAction::CComment>(commentsDlg.GetComment(), commentsDlg.GetShowOnLoad())); // // //
2140}
2141
2142void CMainFrame::OnModuleGrooveSettings() // // //
2143{

Callers

nothing calls this directly

Calls 7

GetCommentMethod · 0.80
GetModuleMethod · 0.80
SetShowOnLoadMethod · 0.80
ShowsCommentOnOpenMethod · 0.80
IsChangedMethod · 0.80
GetShowOnLoadMethod · 0.80
SetCommentMethod · 0.45

Tested by

no test coverage detected