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

Method OnButtonWindowSelection

editor/editorView.cpp:732–735  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

730}
731
732void CEditorView::OnButtonWindowSelection() {
733 D3EditState.box_selection_mode = -(D3EditState.box_selection_mode - IN_WINDOW - ACROSS_EDGE);
734 EditorStatus("Box selection set to %s", (D3EditState.box_selection_mode == IN_WINDOW) ? "IN WINDOW" : "ACROSS EDGE");
735}
736
737void CEditorView::OnUpdateButtonWindowSelection(CCmdUI *pCmdUI) {
738 pCmdUI->SetCheck(D3EditState.box_selection_mode == ACROSS_EDGE);

Callers

nothing calls this directly

Calls 1

EditorStatusFunction · 0.85

Tested by

no test coverage detected