diff options
Diffstat (limited to 'contrib/groff/pic/text.h')
-rw-r--r-- | contrib/groff/pic/text.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/contrib/groff/pic/text.h b/contrib/groff/pic/text.h new file mode 100644 index 000000000000..f9d34875075f --- /dev/null +++ b/contrib/groff/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(); +}; |