comparison 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
comparison
equal deleted inserted replaced
721:af0aa0c149fa 722:28b9e3a54200
51 virtual void PointerUp(const PointerEvent& event) = 0; 51 virtual void PointerUp(const PointerEvent& event) = 0;
52 52
53 /** 53 /**
54 This method will be called when a touch/pointer is added (mouse down, 54 This method will be called when a touch/pointer is added (mouse down,
55 pen or finger press) 55 pen or finger press)
56
57 Important note: the initial pointer down that leads to creating the
58 tracker is NOT sent to the tracker.
59
60 Thus, if you count the PointerDown vs PointerUp, there will be an extra
61 PointerUp.
56 */ 62 */
57 virtual void PointerDown(const PointerEvent& event) = 0; 63 virtual void PointerDown(const PointerEvent& event) = 0;
58 64
59 /** 65 /**
60 This method will be repeatedly called by the tracker owner (for instance, 66 This method will be repeatedly called by the tracker owner (for instance,