diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-19 11:29:49 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-19 11:29:49 +0800 |
commit | 8afa7f29c93a2a478437c28e8e0ff1a2e9050b37 (patch) | |
tree | e8c7a7c1705749e94a15f55e1cf5450f362747f8 /include | |
parent | d07da061c6fedf97b4bfd9ff4ae2c50ee0afeda9 (diff) | |
download | pttbbs-8afa7f29c93a2a478437c28e8e0ff1a2e9050b37.tar pttbbs-8afa7f29c93a2a478437c28e8e0ff1a2e9050b37.tar.gz pttbbs-8afa7f29c93a2a478437c28e8e0ff1a2e9050b37.tar.bz2 pttbbs-8afa7f29c93a2a478437c28e8e0ff1a2e9050b37.tar.lz pttbbs-8afa7f29c93a2a478437c28e8e0ff1a2e9050b37.tar.xz pttbbs-8afa7f29c93a2a478437c28e8e0ff1a2e9050b37.tar.zst pttbbs-8afa7f29c93a2a478437c28e8e0ff1a2e9050b37.zip |
- add priority to vcol
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4201 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/visio.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/visio.h b/include/visio.h index 37aa9cce..676aad9a 100644 --- a/include/visio.h +++ b/include/visio.h @@ -37,6 +37,7 @@ // CONSTANT DEFINITION ------------------------------------------------- #define VCOL_MAXW (INT16_MAX) +#define VCOL_MAXPRI (INT16_MAX) #define VFILL_DEFAULT (0x00) // #define VFILL_NO_ANSI VFILL_DEFAULT @@ -58,10 +59,13 @@ typedef void * VREFSCR; typedef long VREFCUR; typedef short VCOLW; -typedef struct { +typedef short VCOLPRI; + +typedef struct VCOL { char *attr; // default attribute VCOLW minw; // minimal width VCOLW maxw; // max width + VCOLPRI pri; // priority (higher expands first) struct { char has_ansi; // field data have ANSI escapes |