LMMS
Loading...
Searching...
No Matches
wasm.h
Go to the documentation of this file.
1// Copyright 2012-2022 David Robillard <d@drobilla.net>
2// Copyright 2021-2022 Filipe Coelho <falktx@falktx.com>
3// SPDX-License-Identifier: ISC
4
5#ifndef PUGL_SRC_WASM_H
6#define PUGL_SRC_WASM_H
7
8// #include "attributes.h"
9#include "types.h"
10
11#include "pugl/pugl.h"
12
13struct PuglTimer {
15 uintptr_t id;
16};
17
20};
21
22struct PuglInternalsImpl {
27 long lastX, lastY;
31};
32
33#endif // PUGL_SRC_WASM_H
struct PuglViewImpl PuglView
A drawable region that receives events.
Definition pugl.h:810
unsigned int uint32_t
Definition mid.cpp:100
Definition mac.h:32
double lockedRootY
Definition wasm.h:29
double lockedRootX
Definition wasm.h:29
bool pointerLocked
Definition wasm.h:25
struct PuglTimer * timers
Definition wasm.h:30
long lastY
Definition wasm.h:27
uint32_t numTimers
Definition wasm.h:26
long lastX
Definition wasm.h:27
bool needsRepaint
Definition wasm.h:24
double lockedY
Definition wasm.h:28
PuglSurface * surface
Definition wasm.h:23
double lockedX
Definition wasm.h:28
Definition wasm.h:13
PuglView * view
Definition wasm.h:14
uintptr_t id
Definition wasm.h:15
Definition mac.h:27
double scaleFactor
Definition wasm.h:19
void PuglSurface
Opaque surface used by graphics backend.
Definition types.h:64