summaryrefslogtreecommitdiff
path: root/text.h
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2023-01-02 14:10:38 -0500
committerpommicket <pommicket@gmail.com>2023-01-02 14:10:38 -0500
commitf791aa01fad7e81223808584212c6a1a4c80ca07 (patch)
treef93d53a62035cdad7f16b97fb28c83c7acfaf14f /text.h
parentc0d0117a963cf8e4dfb28b919087d8a8ecbbca6e (diff)
finish restructuring
Diffstat (limited to 'text.h')
-rw-r--r--text.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/text.h b/text.h
index 0074448..01fc053 100644
--- a/text.h
+++ b/text.h
@@ -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