diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-29 15:45:49 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2021-01-29 15:45:58 -0500 |
commit | 5230cb1533d9e30e9870975cba2cd7e7e86bc22a (patch) | |
tree | 260c4bac7a1624eb5cc4cbba492d7822aee260d7 /text.h | |
parent | 31b5649b131695300f39563640c4af8f0d3032cb (diff) |
started tab bar
Diffstat (limited to 'text.h')
-rw-r--r-- | text.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -61,4 +61,11 @@ extern void text_render_char(Font *font, TextRenderState *state, char32_t c); // Free memory used by font. extern void text_font_free(Font *font); +// The "default" text rendering state - everything you need to just render text normally. +// This lets you do stuff like: +// TextRenderState state = text_render_state_default; +// (set a few options) +// text_render_with_state(font, &state, ...) +extern TextRenderState const text_render_state_default; + #endif |