2021-06-17 21:32:24 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
// Default Window Size
|
|
|
|
#define DEFAULT_WIDTH 840
|
|
|
|
#define DEFAULT_HEIGHT 480
|
|
|
|
|
2021-11-14 04:29:48 +00:00
|
|
|
void media_ensure_loaded();
|
|
|
|
|
2021-06-17 21:32:24 +00:00
|
|
|
void media_toggle_fullscreen();
|
|
|
|
void media_swap_buffers();
|
|
|
|
void media_cleanup();
|
|
|
|
void media_get_framebuffer_size(int *width, int *height);
|
2021-11-14 04:29:48 +00:00
|
|
|
void media_set_interactable(int is_interactable);
|
|
|
|
void media_disable_vsync();
|
2022-07-16 02:08:12 +00:00
|
|
|
void media_force_egl();
|
2022-03-07 01:07:49 +00:00
|
|
|
void media_set_raw_mouse_motion_enabled(int enabled);
|
2021-06-17 21:32:24 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|