Mercurial > hg > orthanc-stone
comparison Framework/Scene2D/RotateSceneTracker.cpp @ 818:e42b491f1fb2
Removed typedefs to shared_ptr by making them explicit. Removed using namespace
directives to make usage more explicit, too.
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Wed, 29 May 2019 10:51:28 +0200 |
parents | c0fcb2757b0a |
children | 769249e1f3b4 |
comparison
equal
deleted
inserted
replaced
817:68f888812af4 | 818:e42b491f1fb2 |
---|---|
21 #include "RotateSceneTracker.h" | 21 #include "RotateSceneTracker.h" |
22 #include "../Scene2DViewport/ViewportController.h" | 22 #include "../Scene2DViewport/ViewportController.h" |
23 | 23 |
24 namespace OrthancStone | 24 namespace OrthancStone |
25 { | 25 { |
26 RotateSceneTracker::RotateSceneTracker(ViewportControllerWPtr controllerW, | 26 RotateSceneTracker::RotateSceneTracker(boost::weak_ptr<ViewportController> controllerW, |
27 const PointerEvent& event) | 27 const PointerEvent& event) |
28 : OneGesturePointerTracker(controllerW) | 28 : OneGesturePointerTracker(controllerW) |
29 , click_(event.GetMainPosition()) | 29 , click_(event.GetMainPosition()) |
30 , aligner_(controllerW, click_) | 30 , aligner_(controllerW, click_) |
31 , isFirst_(true) | 31 , isFirst_(true) |