Mercurial > hg > orthanc-stone
diff Applications/Generic/NativeStoneApplicationContext.cpp @ 386:e33659decec5
renamed UpdateContent() as DoAnimation()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 09 Nov 2018 17:06:28 +0100 |
parents | 6cc3ce74dc05 |
children | c23df8b3433b |
line wrap: on
line diff
--- a/Applications/Generic/NativeStoneApplicationContext.cpp Wed Nov 07 20:49:41 2018 +0100 +++ b/Applications/Generic/NativeStoneApplicationContext.cpp Fri Nov 09 17:06:28 2018 +0100 @@ -37,7 +37,7 @@ { { GlobalMutexLocker locker(*that); - locker.GetCentralViewport().UpdateContent(); + locker.GetCentralViewport().DoAnimation(); } boost::this_thread::sleep(boost::posix_time::milliseconds(that->updateDelayInMs_)); @@ -60,7 +60,7 @@ boost::mutex::scoped_lock lock(globalMutex_); if (stopped_ && - centralViewport_.HasUpdateContent()) + centralViewport_.HasAnimation()) { stopped_ = false; updateThread_ = boost::thread(UpdateThread, this);