wasm app, revive ui
This commit is contained in:
@@ -161,9 +161,13 @@ void meta_app(ma_arena_t *arena) {
|
||||
struct app_event_t {
|
||||
app_event_kind_t kind;
|
||||
|
||||
// data present only during events
|
||||
app_mouse_button_t mouse_button;
|
||||
app_key_t key;
|
||||
s8_t text;
|
||||
v3f64_t mouse_wheel_delta;
|
||||
|
||||
// always present data
|
||||
b8 ctrl;
|
||||
b8 shift;
|
||||
b8 alt;
|
||||
@@ -173,9 +177,8 @@ void meta_app(ma_arena_t *arena) {
|
||||
f64 delta_time;
|
||||
|
||||
f64 dpr;
|
||||
v2f32_t window_size;
|
||||
v2f32_t mouse_pos;
|
||||
v3f32_t mouse_wheel_delta;
|
||||
v2f64_t window_size;
|
||||
v2f64_t mouse_pos;
|
||||
};
|
||||
));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user