diff Framework/Widgets/EmptyWidget.cpp @ 66:298f375dcb68 wasm

LayerWidget
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 17 May 2017 22:03:09 +0200
parents c2dc924f1a63
children 2eca030792aa
line wrap: on
line diff
--- a/Framework/Widgets/EmptyWidget.cpp	Tue May 16 22:12:41 2017 +0200
+++ b/Framework/Widgets/EmptyWidget.cpp	Wed May 17 22:03:09 2017 +0200
@@ -26,16 +26,19 @@
 
 namespace OrthancStone
 {
-  bool EmptyWidget::Render(Orthanc::ImageAccessor& surface)
+  namespace Samples
   {
-    // Note: This call is slow
-    Orthanc::ImageProcessing::Set(surface, red_, green_, blue_, 255);
-    return true;
-  }
+    bool EmptyWidget::Render(Orthanc::ImageAccessor& surface)
+    {
+      // Note: This call is slow
+      Orthanc::ImageProcessing::Set(surface, red_, green_, blue_, 255);
+      return true;
+    }
 
   
-  void EmptyWidget::UpdateContent()
-  {
-    throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError);
+    void EmptyWidget::UpdateContent()
+    {
+      throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError);
+    }
   }
 }