2024-05-17 00:33:37 -04:00
|
|
|
//
|
|
|
|
// Created by william on 16/05/24.
|
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef NES_EMULATOR_GUI_H
|
|
|
|
#define NES_EMULATOR_GUI_H
|
|
|
|
|
2024-06-16 19:22:40 -04:00
|
|
|
#include <stdbool.h>
|
2024-09-01 15:54:41 -04:00
|
|
|
#include <SDL_ttf.h>
|
2024-05-17 00:33:37 -04:00
|
|
|
|
2024-06-16 19:22:40 -04:00
|
|
|
bool gui_init();
|
2024-05-17 11:40:02 -04:00
|
|
|
void gui_uninit();
|
|
|
|
|
2024-06-16 19:22:40 -04:00
|
|
|
void gui_post_sysinit();
|
|
|
|
|
2024-05-17 00:33:37 -04:00
|
|
|
int gui_input();
|
|
|
|
void gui_render();
|
|
|
|
void gui_present();
|
2024-05-17 13:16:21 -04:00
|
|
|
void gui_delay();
|
2024-05-17 00:33:37 -04:00
|
|
|
|
2024-09-01 15:54:41 -04:00
|
|
|
TTF_Font* gui_get_font();
|
2024-06-16 19:22:40 -04:00
|
|
|
unsigned int gui_get_frame_delay();
|
2024-05-17 00:33:37 -04:00
|
|
|
|
|
|
|
#endif //NES_EMULATOR_GUI_H
|