minecraft-pi-reborn/media-layer/include/media-layer/core.h
2021-09-12 00:08:01 -04:00

20 lines
339 B
C

#pragma once
#ifdef __cplusplus
extern "C" {
#endif
// Default Window Size
#define DEFAULT_WIDTH 840
#define DEFAULT_HEIGHT 480
void media_take_screenshot(char *home);
void media_toggle_fullscreen();
void media_swap_buffers();
void media_cleanup();
void media_get_framebuffer_size(int *width, int *height);
#ifdef __cplusplus
}
#endif