summaryrefslogtreecommitdiff
path: root/src/preproc/pic/text.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/preproc/pic/text.h')
-rw-r--r--src/preproc/pic/text.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/preproc/pic/text.h b/src/preproc/pic/text.h
new file mode 100644
index 000000000..f9d348750
--- /dev/null
+++ b/src/preproc/pic/text.h
@@ -0,0 +1,28 @@
+// -*- C++ -*-
+
+enum hadjustment {
+ CENTER_ADJUST,
+ LEFT_ADJUST,
+ RIGHT_ADJUST
+ };
+
+enum vadjustment {
+ NONE_ADJUST,
+ ABOVE_ADJUST,
+ BELOW_ADJUST
+ };
+
+struct adjustment {
+ hadjustment h;
+ vadjustment v;
+};
+
+struct text_piece {
+ char *text;
+ adjustment adj;
+ const char *filename;
+ int lineno;
+
+ text_piece();
+ ~text_piece();
+};