LMMS
Loading...
Searching...
No Matches
plugins
CarlaBase
carla
source
modules
dgl
src
pugl-upstream
src
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
13
struct
PuglTimer
{
14
PuglView
*
view
;
15
uintptr_t
id
;
16
};
17
18
struct
PuglWorldInternalsImpl
{
19
double
scaleFactor
;
20
};
21
22
struct
PuglInternalsImpl
{
23
PuglSurface
*
surface
;
24
bool
needsRepaint
;
25
bool
pointerLocked
;
26
uint32_t
numTimers
;
27
long
lastX
,
lastY
;
28
double
lockedX
,
lockedY
;
29
double
lockedRootX
,
lockedRootY
;
30
struct
PuglTimer
*
timers
;
31
};
32
33
#endif
// PUGL_SRC_WASM_H
PuglView
struct PuglViewImpl PuglView
A drawable region that receives events.
Definition
pugl.h:810
uint32_t
unsigned int uint32_t
Definition
mid.cpp:100
pugl.h
PuglInternalsImpl
Definition
mac.h:32
PuglInternalsImpl::lockedRootY
double lockedRootY
Definition
wasm.h:29
PuglInternalsImpl::lockedRootX
double lockedRootX
Definition
wasm.h:29
PuglInternalsImpl::pointerLocked
bool pointerLocked
Definition
wasm.h:25
PuglInternalsImpl::timers
struct PuglTimer * timers
Definition
wasm.h:30
PuglInternalsImpl::lastY
long lastY
Definition
wasm.h:27
PuglInternalsImpl::numTimers
uint32_t numTimers
Definition
wasm.h:26
PuglInternalsImpl::lastX
long lastX
Definition
wasm.h:27
PuglInternalsImpl::needsRepaint
bool needsRepaint
Definition
wasm.h:24
PuglInternalsImpl::lockedY
double lockedY
Definition
wasm.h:28
PuglInternalsImpl::surface
PuglSurface * surface
Definition
wasm.h:23
PuglInternalsImpl::lockedX
double lockedX
Definition
wasm.h:28
PuglTimer
Definition
wasm.h:13
PuglTimer::view
PuglView * view
Definition
wasm.h:14
PuglTimer::id
uintptr_t id
Definition
wasm.h:15
PuglWorldInternalsImpl
Definition
mac.h:27
PuglWorldInternalsImpl::scaleFactor
double scaleFactor
Definition
wasm.h:19
types.h
PuglSurface
void PuglSurface
Opaque surface used by graphics backend.
Definition
types.h:64
Generated on
for LMMS by
1.16.1