14 lines
256 B
C
14 lines
256 B
C
#ifndef __RENDER_TEXT_H
|
|
#define __RENDER_TEXT_H
|
|
|
|
#include <SDL3/SDL_render.h>
|
|
#include <stddef.h>
|
|
|
|
int text_init(SDL_Renderer *renderer);
|
|
|
|
void text_shutdown();
|
|
|
|
int text_render(const char *text, size_t len, float x, float y);
|
|
|
|
#endif // !__RENDER_TEXT_H
|
|
|