comparison Samples/Sdl/SingleFrameViewer/SdlSimpleViewer.cpp @ 1395:62dc0d737e7b

build script for wasm sample + updated instructions + fixed Sdl sample for Orthanc listening on other ports that 8042
author Alain Mazy <alain@mazy.be>
date Wed, 29 Apr 2020 18:11:49 +0200
parents ffdb82850e98
children 9c5a8cb3d856
comparison
equal deleted inserted replaced
1394:a8ac7e3de0e8 1395:62dc0d737e7b
102 OrthancStone::SdlCairoViewport::Create("Stone of Orthanc", 800, 600); 102 OrthancStone::SdlCairoViewport::Create("Stone of Orthanc", 800, 600);
103 #endif 103 #endif
104 104
105 OrthancStone::GenericLoadersContext context(1, 4, 1); 105 OrthancStone::GenericLoadersContext context(1, 4, 1);
106 106
107 Orthanc::WebServiceParameters orthancWebService;
108 orthancWebService.SetUrl(orthancUrl);
109 context.SetOrthancParameters(orthancWebService);
110
107 context.StartOracle(); 111 context.StartOracle();
108 112
109 { 113 {
110 114
111 boost::shared_ptr<SdlSimpleViewerApplication> application( 115 boost::shared_ptr<SdlSimpleViewerApplication> application(