| 730 | } |
| 731 | |
| 732 | void 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 | |
| 737 | void CEditorView::OnUpdateButtonWindowSelection(CCmdUI *pCmdUI) { |
| 738 | pCmdUI->SetCheck(D3EditState.box_selection_mode == ACROSS_EDGE); |
nothing calls this directly
no test coverage detected