Mercurial > hg > orthanc-stone
diff Framework/Toolbox/ViewportGeometry.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 |
line wrap: on
line diff
--- a/Framework/Toolbox/ViewportGeometry.h Mon May 20 16:26:34 2019 +0200 +++ b/Framework/Toolbox/ViewportGeometry.h Tue May 21 11:43:25 2019 +0200 @@ -26,13 +26,13 @@ #include "LinearAlgebra.h" #include "../Viewport/IMouseTracker.h" // to include "Touch" definition -namespace OrthancStone +namespace Deprecated { class ViewportGeometry { private: // Extent of the scene (in world units) - Extent2D sceneExtent_; + OrthancStone::Extent2D sceneExtent_; // Size of the display (in pixels) unsigned int width_; @@ -53,9 +53,9 @@ void SetDisplaySize(unsigned int width, unsigned int height); - void SetSceneExtent(const Extent2D& extent); + void SetSceneExtent(const OrthancStone::Extent2D& extent); - const Extent2D& GetSceneExtent() const + const OrthancStone::Extent2D& GetSceneExtent() const { return sceneExtent_; } @@ -95,7 +95,7 @@ void FitContent(); - void ApplyTransform(CairoContext& context) const; + void ApplyTransform(OrthancStone::CairoContext& context) const; void GetPan(double& x, double& y) const; @@ -105,6 +105,6 @@ void SetZoom(double zoom); - Matrix GetMatrix() const; + OrthancStone::Matrix GetMatrix() const; }; }