Mercurial > hg > orthanc-stone
comparison 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 |
comparison
equal
deleted
inserted
replaced
1405:e4fe346c021e | 1406:5d7ee14dc1eb |
---|---|
82 void PrepareScene(); | 82 void PrepareScene(); |
83 | 83 |
84 #if ORTHANC_ENABLE_SDL | 84 #if ORTHANC_ENABLE_SDL |
85 public: | 85 public: |
86 void RunSdl(int argc, char* argv[]); | 86 void RunSdl(int argc, char* argv[]); |
87 void SdlRunLoop(const std::vector<boost::shared_ptr<OrthancStone::RtViewerView> >& views, | |
88 OrthancStone::IViewportInteractor& interactor); | |
87 private: | 89 private: |
88 void ProcessOptions(int argc, char* argv[]); | 90 void ProcessOptions(int argc, char* argv[]); |
89 void HandleApplicationEvent(const SDL_Event& event); | 91 void HandleApplicationEvent(const SDL_Event& event); |
90 #elif ORTHANC_ENABLE_WASM | 92 #elif ORTHANC_ENABLE_WASM |
91 public: | 93 public: |