Mercurial > hg > orthanc-stone
diff Samples/Common/RtViewerApp.h @ 1406:5d7ee14dc1eb
Mouse wheel handler is now OK in SDL and Wasm
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Thu, 30 Apr 2020 00:25:55 +0200 |
parents | 3e644f6fadd4 |
children | 07fac4fdbe07 |
line wrap: on
line diff
--- a/Samples/Common/RtViewerApp.h Wed Apr 29 22:06:58 2020 +0200 +++ b/Samples/Common/RtViewerApp.h Thu Apr 30 00:25:55 2020 +0200 @@ -84,6 +84,8 @@ #if ORTHANC_ENABLE_SDL public: void RunSdl(int argc, char* argv[]); + void SdlRunLoop(const std::vector<boost::shared_ptr<OrthancStone::RtViewerView> >& views, + OrthancStone::IViewportInteractor& interactor); private: void ProcessOptions(int argc, char* argv[]); void HandleApplicationEvent(const SDL_Event& event);