Mercurial > hg > orthanc-stone
diff Framework/Widgets/TestCairoWidget.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/TestCairoWidget.h Wed Apr 19 10:28:08 2017 +0200 +++ b/Framework/Widgets/TestCairoWidget.h Wed Apr 19 14:33:06 2017 +0200 @@ -47,13 +47,6 @@ float value_; bool animate_; - virtual bool HasUpdateThread() const - { - return animate_; - } - - virtual void UpdateStep(); - protected: virtual bool RenderCairo(CairoContext& context); @@ -79,6 +72,13 @@ virtual void KeyPressed(char key, KeyboardModifiers modifiers); + + virtual bool HasUpdateContent() const + { + return animate_; + } + + virtual void UpdateContent(); }; } }