Mercurial > hg > orthanc-stone
diff Framework/Widgets/LayeredSceneWidget.h @ 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/LayeredSceneWidget.h Wed Apr 19 10:28:08 2017 +0200 +++ b/Framework/Widgets/LayeredSceneWidget.h Wed Apr 19 14:33:06 2017 +0200 @@ -72,13 +72,6 @@ Observers observers_; protected: - virtual bool HasUpdateThread() const - { - return true; - } - - virtual void UpdateStep(); - virtual bool RenderScene(CairoContext& context, const ViewportGeometry& view); @@ -132,5 +125,12 @@ { observers_.Unregister(observer); } + + virtual bool HasUpdateContent() const + { + return true; + } + + virtual void UpdateContent(); }; }