Mercurial > hg > orthanc-stone
view Platforms/WebAssembly/WasmViewport.h @ 234:9afb50d1ac14 am
configure WasmViewport size relative to window size through html attributes
author | am@osimis.io |
---|---|
date | Fri, 15 Jun 2018 16:36:29 +0200 |
parents | 5027cb2feb51 |
children |
line wrap: on
line source
#pragma once #include <Framework/Viewport/WidgetViewport.h> #include <emscripten/emscripten.h> #ifdef __cplusplus extern "C" { #endif // JS methods accessible from C++ extern OrthancStone::WidgetViewport* CreateWasmViewportFromCpp(const char* htmlCanvasId); #ifdef __cplusplus } #endif