diff Framework/Widgets/TestCairoWidget.cpp @ 46:766d31dc5716 wasm

removing threads for wasm
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 19 Apr 2017 14:33:06 +0200
parents 7207a407bcd8
children 25befef48c35
line wrap: on
line diff
--- a/Framework/Widgets/TestCairoWidget.cpp	Wed Apr 19 10:28:08 2017 +0200
+++ b/Framework/Widgets/TestCairoWidget.cpp	Wed Apr 19 14:33:06 2017 +0200
@@ -33,8 +33,6 @@
 
 #include "TestCairoWidget.h"
 
-#include "../../Resources/Orthanc/Core/SystemToolbox.h"
-
 #include <stdio.h>
 
 
@@ -42,7 +40,7 @@
 {
   namespace Samples
   {
-    void TestCairoWidget::UpdateStep() 
+    void TestCairoWidget::UpdateContent() 
     {
       value_ -= 0.01f;
       if (value_ < 0)
@@ -51,8 +49,6 @@
       }
 
       NotifyChange();
-
-      Orthanc::SystemToolbox::USleep(25000);
     }