diff options
| author | Arslaan Pathan <[email protected]> | 2026-04-26 10:52:34 +1200 |
|---|---|---|
| committer | Arslaan Pathan <[email protected]> | 2026-04-26 10:52:34 +1200 |
| commit | 4fbf7e5b7b5325828099456c347183ba92864862 (patch) | |
| tree | fef509e9f5ecc64cc9070b7a5820318908dbc156 /include/saffron_text.h | |
| parent | a2252b2952e4027b7edb420dccbd8494ae822b0f (diff) | |
| download | saffron-4fbf7e5b7b5325828099456c347183ba92864862.tar.xz saffron-4fbf7e5b7b5325828099456c347183ba92864862.zip | |
[feat] add some stuff??
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 |
