X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/7d5e0e2a6c6340e24187d9edfe8bfe7bb441ffd8..ef0353dfc9e7fa3b8dd811c3b71e0e3af38aa552:/term.h diff --git a/term.h b/term.h index 3dc282fa..79b738ca 100644 --- a/term.h +++ b/term.h @@ -1,4 +1,4 @@ -/* $Id: term.h,v 1.77 2011/01/02 12:21:07 kristaps Exp $ */ +/* $Id: term.h,v 1.79 2011/01/05 15:37:23 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * @@ -71,9 +71,15 @@ struct termp_ps { size_t pdfobjsz; /* size of pdfobjs */ }; +struct termp_tbl { + int width; /* width in fixed chars */ + int decimal; /* decimal point position */ +}; + struct termp { enum termtype type; - size_t defrmargin; /* Right margin of the device.. */ + struct rofftbl tbl; /* table configuration */ + size_t defrmargin; /* Right margin of the device. */ size_t rmargin; /* Current right margin. */ size_t maxrmargin; /* Max right margin. */ size_t maxcols; /* Max size of buf. */