minecraft-pi-reborn/media-layer/include/media-layer/core.h

20 lines
339 B
C
Raw Normal View History

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-08-27 02:52:18 +00:00
void media_take_screenshot(char *home);
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);
#ifdef __cplusplus
}
#endif