diff options
Diffstat (limited to 'include/saffron_text.h')
| -rw-r--r-- | include/saffron_text.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/saffron_text.h b/include/saffron_text.h index e69de29..51bfc47 100644 --- a/include/saffron_text.h +++ b/include/saffron_text.h @@ -0,0 +1,15 @@ +#ifndef SAFFRON_TEXT_H +#define SAFFRON_TEXT_H + +#include "saffron_widget.h" +#include <SDL3/SDL_pixels.h> +#include <SDL3_ttf/SDL_ttf.h> + +typedef struct { + SaffronWidget base; + char* text; + TTF_Font* font; + SDL_Color color; +} SaffronText; + +#endif |
