comparison Framework/Widgets/ZoomMouseTracker.cpp @ 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 #include "ZoomMouseTracker.h" 22 #include "ZoomMouseTracker.h"
23 23
24 #include <Core/Logging.h> 24 #include <Core/Logging.h>
25 #include <Core/OrthancException.h> 25 #include <Core/OrthancException.h>
26 26
27 namespace OrthancStone 27 namespace Deprecated
28 { 28 {
29 ZoomMouseTracker::ZoomMouseTracker(WorldSceneWidget& that, 29 ZoomMouseTracker::ZoomMouseTracker(WorldSceneWidget& that,
30 int x, 30 int x,
31 int y) : 31 int y) :
32 that_(that), 32 that_(that),
49 normalization_ = 1.0 / static_cast<double>(height - 1); 49 normalization_ = 1.0 / static_cast<double>(height - 1);
50 } 50 }
51 } 51 }
52 52
53 53
54 void ZoomMouseTracker::Render(CairoContext& context, 54 void ZoomMouseTracker::Render(OrthancStone::CairoContext& context,
55 double zoom) 55 double zoom)
56 { 56 {
57 throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError); 57 throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError);
58 } 58 }
59 59