view Platforms/WebAssembly/WasmViewport.h @ 232:7d3b2c4f9ba1 am

don't cache hasUpdate_ since its not updated when we update the underlying hierarchy (i.e: when the child of a layout is a layout without child when it is added but childs are added later ...)
author am@osimis.io
date Fri, 15 Jun 2018 11:23:04 +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