Mercurial > hg > orthanc-stone
comparison Framework/Scene2D/IPointerTracker.h @ 700:059e1fd05fd6 refactor-viewport-controller
Introduced the ViewportController that sits between the application and the
Scene2D to handle the trackers and measuring tools. This is a work in progress.
The Scene2D is no longer an observable. Message sending is managed by the
ViewportController.
Move some refs to shared and weak to prevent lifetime issues.
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Sun, 19 May 2019 16:26:17 +0200 |
parents | f939f449482c |
children | 2d8ab34c8c91 |
comparison
equal
deleted
inserted
replaced
699:5c551f078c18 | 700:059e1fd05fd6 |
---|---|
18 * along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
19 **/ | 19 **/ |
20 | 20 |
21 | 21 |
22 #pragma once | 22 #pragma once |
23 | |
24 #if 0 | |
23 | 25 |
24 #include "PointerEvent.h" | 26 #include "PointerEvent.h" |
25 | 27 |
26 namespace OrthancStone | 28 namespace OrthancStone |
27 { | 29 { |
42 before being destroyed. | 44 before being destroyed. |
43 */ | 45 */ |
44 virtual void Release() = 0; | 46 virtual void Release() = 0; |
45 }; | 47 }; |
46 } | 48 } |
49 | |
50 #endif |