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

Method OnViewerPane

editor/MainFrm.cpp:1677–1688  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1675}
1676
1677void CMainFrame::OnViewerPane(CCmdUI *pCmdUI) {
1678 CString strViewerNum;
1679
1680 pCmdUI->Enable();
1681
1682 if (Editor_view_mode == VM_ROOM)
1683 strViewerNum.Format(""); // Don't show viewer number in room view
1684 else
1685 strViewerNum.Format("Viewer %d", GetViewerNum());
1686
1687 pCmdUI->SetText(strViewerNum);
1688}
1689
1690void CMainFrame::OnNetPane(CCmdUI *pCmdUI) {
1691 CString strSegSide;

Callers

nothing calls this directly

Calls 3

GetViewerNumFunction · 0.85
EnableMethod · 0.45
SetTextMethod · 0.45

Tested by

no test coverage detected