#pragma once

#include "rdp.h"

#include <stdint.h>
#include <stdbool.h>

#ifdef __cplusplus
extern "C" {
#endif

void screen_init(struct rdp_config* config);
void screen_swap(bool blank);
void screen_write(struct rdp_frame_buffer* fb, int32_t output_height);
void screen_read(struct rdp_frame_buffer* fb, bool rgb);
void screen_set_fullscreen(bool fullscreen);
bool screen_get_fullscreen(void);
void screen_toggle_fullscreen(void);
void screen_close(void);

#ifdef __cplusplus
}
#endif
