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

Method OnEnginePane

editor/MainFrm.cpp:1658–1675  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1656}
1657
1658void CMainFrame::OnEnginePane(CCmdUI *pCmdUI) {
1659 CString strEngineType;
1660
1661 pCmdUI->Enable();
1662
1663 switch (Editor_view_mode) {
1664 case VM_MINE:
1665 strEngineType.Format("Mine View");
1666 break;
1667 case VM_TERRAIN:
1668 strEngineType.Format("Terrain View");
1669 break;
1670 case VM_ROOM:
1671 strEngineType.Format("Room View");
1672 break;
1673 }
1674 pCmdUI->SetText(strEngineType);
1675}
1676
1677void CMainFrame::OnViewerPane(CCmdUI *pCmdUI) {
1678 CString strViewerNum;

Callers

nothing calls this directly

Calls 2

EnableMethod · 0.45
SetTextMethod · 0.45

Tested by

no test coverage detected