summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/wasm/qwasmintegration.h
diff options
context:
space:
mode:
authorLorn Potter <[email protected]>2019-01-31 14:06:39 +1000
committerMorten Johan Sørvig <[email protected]>2019-03-08 10:09:46 +0000
commit452c644c5c51d78d72dde703c81fc7789e5b84f1 (patch)
treedeac1613356b3144e3e592479a2d55f35861e23d /src/plugins/platforms/wasm/qwasmintegration.h
parent859f837d46a2e7f00a2f43d654a01c5de1b61b1f (diff)
wasm: make wasm platform target a specific canvas instead of default
This allows for multi canvas use Task-number: QTBUG-64079 Change-Id: I69c998aa4c2869bb5b7f14ba65bb63284365ad70 Reviewed-by: Morten Johan Sørvig <[email protected]>
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmintegration.h')
-rw-r--r--src/plugins/platforms/wasm/qwasmintegration.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/platforms/wasm/qwasmintegration.h b/src/plugins/platforms/wasm/qwasmintegration.h
index 4c5aeb4ebca..0b73303bf44 100644
--- a/src/plugins/platforms/wasm/qwasmintegration.h
+++ b/src/plugins/platforms/wasm/qwasmintegration.h
@@ -78,7 +78,7 @@ public:
static QWasmIntegration *get() { return s_instance; }
static void QWasmBrowserExit();
- static void updateQScreenAndCanvasRenderSize();
+ QStringList canvasIds;
private:
mutable QWasmFontDatabase *m_fontDb;
@@ -86,7 +86,6 @@ private:
mutable QWasmScreen *m_screen;
mutable QWasmEventTranslator *m_eventTranslator;
mutable QWasmEventDispatcher *m_eventDispatcher;
- static int uiEvent_cb(int eventType, const EmscriptenUiEvent *e, void *userData);
mutable QHash<QWindow *, QWasmBackingStore *> m_backingStores;
mutable QWasmClipboard *m_clipboard;