Mercurial > hg > orthanc-stone
diff Framework/Widgets/WidgetBase.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 | aaeec7be8fb7 |
children |
line wrap: on
line diff
--- a/Framework/Widgets/WidgetBase.cpp Mon May 20 16:26:34 2019 +0200 +++ b/Framework/Widgets/WidgetBase.cpp Tue May 21 11:43:25 2019 +0200 @@ -25,7 +25,7 @@ #include <Core/Images/ImageProcessing.h> #include <Core/Logging.h> -namespace OrthancStone +namespace Deprecated { void WidgetBase::NotifyContentChanged() { @@ -69,7 +69,7 @@ } - void WidgetBase::ClearBackgroundCairo(CairoContext& context) const + void WidgetBase::ClearBackgroundCairo(OrthancStone::CairoContext& context) const { // Clear the background using Cairo @@ -86,8 +86,8 @@ void WidgetBase::ClearBackgroundCairo(Orthanc::ImageAccessor& target) const { - CairoSurface surface(target, false /* no alpha */); - CairoContext context(surface); + OrthancStone::CairoSurface surface(target, false /* no alpha */); + OrthancStone::CairoContext context(surface); ClearBackgroundCairo(context); }