diff options
author | pommicket <pommicket@gmail.com> | 2023-01-02 14:10:38 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-02 14:10:38 -0500 |
commit | f791aa01fad7e81223808584212c6a1a4c80ca07 (patch) | |
tree | f93d53a62035cdad7f16b97fb28c83c7acfaf14f /text.h | |
parent | c0d0117a963cf8e4dfb28b919087d8a8ecbbca6e (diff) |
finish restructuring
Diffstat (limited to 'text.h')
-rw-r--r-- | text.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,6 +1,9 @@ #ifndef TEXT_H_ #define TEXT_H_ +#include "base.h" +#include "util.h" + // A text-rendering interface. // Example usage: // Font *font = text_font_load("font.ttf", 18); @@ -73,6 +76,6 @@ void text_render(Font *font); // TextRenderState state = text_render_state_default; // (set a few options) // text_render_with_state(font, &state, ...) -const TextRenderState text_render_state_default; +extern const TextRenderState text_render_state_default; #endif |