Mercurial > hg > orthanc-stone
diff Framework/Scene2DViewport/IFlexiblePointerTracker.h @ 722:28b9e3a54200
Undo mechanism implemented (not connected to UI yet). Undo stack and measuring
tools are now handled by the ViewportController. Multi-touch does not crash
trackers anymore.
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 21 May 2019 10:27:54 +0200 |
parents | 059e1fd05fd6 |
children | c0fcb2757b0a |
line wrap: on
line diff
--- a/Framework/Scene2DViewport/IFlexiblePointerTracker.h Mon May 20 12:49:29 2019 +0200 +++ b/Framework/Scene2DViewport/IFlexiblePointerTracker.h Tue May 21 10:27:54 2019 +0200 @@ -53,6 +53,12 @@ /** This method will be called when a touch/pointer is added (mouse down, pen or finger press) + + Important note: the initial pointer down that leads to creating the + tracker is NOT sent to the tracker. + + Thus, if you count the PointerDown vs PointerUp, there will be an extra + PointerUp. */ virtual void PointerDown(const PointerEvent& event) = 0;