Mercurial > hg > orthanc-stone
diff Applications/Generic/BasicNativeApplicationContext.h @ 277:a38465cc909f am-2
Qt: refresh ok + mouse interaction ok
author | am@osimis.io |
---|---|
date | Mon, 27 Aug 2018 14:41:49 +0200 |
parents | dc1beee33134 |
children | 8c8da145fefa |
line wrap: on
line diff
--- a/Applications/Generic/BasicNativeApplicationContext.h Mon Aug 27 12:21:52 2018 +0200 +++ b/Applications/Generic/BasicNativeApplicationContext.h Mon Aug 27 14:41:49 2018 +0200 @@ -41,7 +41,7 @@ std::unique_ptr<WidgetViewport> centralViewport_; boost::thread updateThread_; bool stopped_; - unsigned int updateDelay_; + unsigned int updateDelayInMs_; public: class GlobalMutexLocker: public boost::noncopyable @@ -64,9 +64,10 @@ void Stop(); - void SetUpdateDelay(unsigned int delay) // In milliseconds + void SetUpdateDelay(unsigned int delayInMs) { - updateDelay_ = delay; + updateDelayInMs_ = delayInMs; } + }; }