diff options
author | KatolaZ <katolaz@freaknet.org> | 2019-08-14 07:59:53 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2019-08-14 07:59:53 +0100 |
commit | a95019dfe0b64ed01051f2f059af7d7756d0dcdb (patch) | |
tree | 6bdf12f44cdbfa116ff0320e31d4afb37e0b317a /gramscii.h | |
parent | 257ec5d56fbe0ac65b04ae10bf36dd14e86c95a5 (diff) |
add parallelogram mode
Diffstat (limited to 'gramscii.h')
-rw-r--r-- | gramscii.h | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -18,6 +18,7 @@ #define TEXT 0x04 #define DEL 0x08 #define VIS 0x10 +#define PAR 0x20 /**/ /* directions */ @@ -31,6 +32,15 @@ #define DIR_VER (DIR_D | DIR_U) /**/ +/** box style **/ +/* rectangular box */ +#define BOX_RECT 0x00 +/* parallelogram (leaning right) */ +#define BOX_PARR 0x01 +/* parallelogram (leaning left) */ +#define BOX_PARL 0x02 +/**/ + #define NOFIX 0x0 #define FIX 0x1 @@ -169,7 +179,7 @@ int _isblank(int c); /** drawing-related functions **/ int change_style(char c); void get_text(FILE *fc); -void get_box(FILE *fc); +void get_box(FILE *fc, char st); void get_arrow(FILE *fc); void erase(FILE *fc); void visual_box(FILE *fc); |