Mercurial > hg > orthanc-stone
diff Framework/Layers/RenderStyle.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 | 3080ec4ec6b9 |
children |
line wrap: on
line diff
--- a/Framework/Layers/RenderStyle.cpp Mon May 20 16:26:34 2019 +0200 +++ b/Framework/Layers/RenderStyle.cpp Tue May 21 11:43:25 2019 +0200 @@ -23,13 +23,13 @@ #include <Core/OrthancException.h> -namespace OrthancStone +namespace Deprecated { RenderStyle::RenderStyle() { visible_ = true; reverse_ = false; - windowing_ = ImageWindowing_Custom; + windowing_ = OrthancStone::ImageWindowing_Custom; alpha_ = 1; applyLut_ = false; lut_ = Orthanc::EmbeddedResources::COLORMAP_HOT; @@ -39,7 +39,7 @@ drawColor_[2] = 255; customWindowCenter_ = 128; customWindowWidth_ = 256; - interpolation_ = ImageInterpolation_Nearest; + interpolation_ = OrthancStone::ImageInterpolation_Nearest; fontSize_ = 14; } @@ -49,7 +49,7 @@ float defaultCenter, float defaultWidth) const { - if (windowing_ == ImageWindowing_Custom) + if (windowing_ == OrthancStone::ImageWindowing_Custom) { targetCenter = customWindowCenter_; targetWidth = customWindowWidth_;