MCPcopy Create free account
hub / github.com/chrxh/alien / rightMouseButtonReleased

Method rightMouseButtonReleased

source/Gui/SimulationInteractionController.cpp:290–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

288}
289
290void SimulationInteractionController::rightMouseButtonReleased()
291{
292 if (_modesAtClick.positionSelectionMode) {
293 return;
294 }
295
296 if (!_modesAtClick.editMode) {
297 SimulationView::get().setMotionBlur(SimulationView::get().getMotionBlur() / 2);
298 } else {
299 if (!_simulationFacade->isSimulationRunning()) {
300 _selectionRect.reset();
301 }
302 }
303}
304
305void SimulationInteractionController::processMouseWheel(IntVector2D const& mousePos)
306{

Callers

nothing calls this directly

Calls 4

setMotionBlurMethod · 0.80
getMotionBlurMethod · 0.80
resetMethod · 0.80
isSimulationRunningMethod · 0.45

Tested by

no test coverage detected