nesemu/gui/char_map.h

19 lines
421 B
C
Raw Normal View History

2024-06-16 19:22:40 -04:00
//
// Created by william on 6/8/24.
//
#ifndef NES_EMULATOR_CHAR_MAP_H
#define NES_EMULATOR_CHAR_MAP_H
#define CHAR_MAP_COLOR {0, 255, 0};
#define CHAR_MAP_MIN 32
#define CHAR_MAP_MAX 126
#define CHAR_MAP_COUNT (CHAR_MAP_MAX - CHAR_MAP_MIN)
void char_map_init(SDL_Renderer *renderer, TTF_Font *font);
void char_map_uninit();
void char_map_render(SDL_Renderer *renderer, char *text);
#endif //NES_EMULATOR_CHAR_MAP_H