Mercurial > hg > orthanc-stone
diff Applications/Samples/TestPatternApplication.h @ 53:c2dc924f1a63 wasm
removing threading out of the framework
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 27 Apr 2017 16:57:49 +0200 |
parents | b340879da9bd |
children | e2fe9352f240 |
line wrap: on
line diff
--- a/Applications/Samples/TestPatternApplication.h Thu Apr 27 14:50:40 2017 +0200 +++ b/Applications/Samples/TestPatternApplication.h Thu Apr 27 16:57:49 2017 +0200 @@ -54,9 +54,10 @@ layout->SetPadding(10); layout->SetBackgroundCleared(true); layout->AddWidget(new TestCairoWidget(parameters["animate"].as<bool>())); - layout->AddWidget(new TestWorldSceneWidget); + layout->AddWidget(new TestWorldSceneWidget(parameters["animate"].as<bool>())); context.SetCentralWidget(layout.release()); + context.SetUpdateDelay(25); // If animation, update the content each 25ms } }; }