Mercurial > hg > orthanc-stone
comparison Framework/Widgets/IWorldSceneMouseTracker.h @ 726:4f2416d519b4
moving layers, widgets and loaders to Deprecated namespace
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 21 May 2019 11:43:25 +0200 |
parents | 3b4df9925db6 |
children |
comparison
equal
deleted
inserted
replaced
714:d2c0e347ddc2 | 726:4f2416d519b4 |
---|---|
22 #pragma once | 22 #pragma once |
23 | 23 |
24 #include "../Viewport/CairoContext.h" | 24 #include "../Viewport/CairoContext.h" |
25 #include "../Viewport/IMouseTracker.h" // only to get the "Touch" definition | 25 #include "../Viewport/IMouseTracker.h" // only to get the "Touch" definition |
26 | 26 |
27 namespace OrthancStone | 27 namespace Deprecated |
28 { | 28 { |
29 | 29 |
30 // this is tracking a mouse in scene coordinates/mm unlike | 30 // this is tracking a mouse in scene coordinates/mm unlike |
31 // the IMouseTracker that is tracking a mouse | 31 // the IMouseTracker that is tracking a mouse |
32 // in screen coordinates/pixels. | 32 // in screen coordinates/pixels. |
37 { | 37 { |
38 } | 38 } |
39 | 39 |
40 virtual bool HasRender() const = 0; | 40 virtual bool HasRender() const = 0; |
41 | 41 |
42 virtual void Render(CairoContext& context, | 42 virtual void Render(OrthancStone::CairoContext& context, |
43 double zoom) = 0; | 43 double zoom) = 0; |
44 | 44 |
45 virtual void MouseUp() = 0; | 45 virtual void MouseUp() = 0; |
46 | 46 |
47 virtual void MouseMove(int displayX, | 47 virtual void MouseMove(int displayX, |