comparison Applications/Samples/SimpleViewerApplication.h @ 274:dc1beee33134 am-2

split SdlApplication into NativeApplication and SdlApplication
author am@osimis.io
date Fri, 24 Aug 2018 13:52:55 +0200
parents f21ba2468570
children 8f5d7495076d
comparison
equal deleted inserted replaced
273:f21ba2468570 274:dc1beee33134
330 default: 330 default:
331 VLOG("unhandled message type" << message.GetType()); 331 VLOG("unhandled message type" << message.GetType());
332 } 332 }
333 } 333 }
334 334
335 #if ORTHANC_ENABLE_SDL==0 335 #if ORTHANC_ENABLE_WASM==1
336 virtual void InitializeWasm() { 336 virtual void InitializeWasm() {
337 337
338 AttachWidgetToWasmViewport("canvas", thumbnailsLayout_); 338 AttachWidgetToWasmViewport("canvas", thumbnailsLayout_);
339 AttachWidgetToWasmViewport("canvas2", mainViewport_); 339 AttachWidgetToWasmViewport("canvas2", mainWidget_);
340 } 340 }
341 #endif 341 #endif
342 342
343 void NextImage(WorldSceneWidget& widget) { 343 void NextImage(WorldSceneWidget& widget) {
344 assert(context_); 344 assert(context_);