Mercurial > hg > orthanc-stone
diff Samples/Sdl/FusionMprSdl.cpp @ 841:266e2b0b9abc
better error reporting in DicomStructureSetLoader + fixed POST request logic
in WebAssemblyOracle + support for LookupTableTextureSceneLayer in OpenGL (NOT
using shaders!) (2 new files) + a few small non-functional changes
author | Benjamin Golinvaux <bgo@osimis.io> |
---|---|
date | Tue, 11 Jun 2019 15:41:21 +0200 |
parents | c47031d9f6b1 |
children | 80829436ce0c e3c56d4f863f |
line wrap: on
line diff
--- a/Samples/Sdl/FusionMprSdl.cpp Sun Jun 09 18:47:34 2019 +0200 +++ b/Samples/Sdl/FusionMprSdl.cpp Tue Jun 11 15:41:21 2019 +0200 @@ -715,6 +715,11 @@ window.GetWindow().ToggleMaximize(); break; + case SDLK_s: + controller_->FitContent( + window.GetCanvasWidth(), window.GetCanvasHeight()); + break; + case SDLK_q: g_stopApplication = true; break; @@ -733,7 +738,7 @@ //// from loader - Orthanc::SystemToolbox::ServerBarrier(); + //Orthanc::SystemToolbox::ServerBarrier(); /** * WARNING => The oracle must be stopped BEFORE the objects using