| 28 | } |
| 29 | |
| 30 | void SimulationInteractionController::process() |
| 31 | { |
| 32 | processEditWidget(); |
| 33 | |
| 34 | if (_modes.editMode) { |
| 35 | processSelectionRect(); |
| 36 | } |
| 37 | if (!CreatorWindow::get().isOn()) { |
| 38 | _modes.drawMode = false; |
| 39 | } |
| 40 | processEvents(); |
| 41 | } |
| 42 | |
| 43 | bool SimulationInteractionController::isEditMode() const |
| 44 | { |