aboutsummaryrefslogtreecommitdiff
path: root/libstorycode/storycode.h
diff options
context:
space:
mode:
Diffstat (limited to 'libstorycode/storycode.h')
-rw-r--r--libstorycode/storycode.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/libstorycode/storycode.h b/libstorycode/storycode.h
index df9f79c..cd98667 100644
--- a/libstorycode/storycode.h
+++ b/libstorycode/storycode.h
@@ -27,6 +27,21 @@
#include <config.h>
#endif
+enum text_run_type
+{
+ TEXT_RUN_NORMAL,
+ TEXT_RUN_BOLD,
+ TEXT_RUN_ITALIC,
+ TEXT_RUN_UNDERLINE,
+};
+
+struct text_run
+{
+ enum text_run_type type;
+ char *text;
+};
+
+
#include "narrative.h"
extern const char *alignc(enum alignment ali);