summaryrefslogtreecommitdiff
path: root/gramscii.h
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2019-08-14 07:59:53 +0100
committerKatolaZ <katolaz@freaknet.org>2019-08-14 07:59:53 +0100
commita95019dfe0b64ed01051f2f059af7d7756d0dcdb (patch)
tree6bdf12f44cdbfa116ff0320e31d4afb37e0b317a /gramscii.h
parent257ec5d56fbe0ac65b04ae10bf36dd14e86c95a5 (diff)
add parallelogram mode
Diffstat (limited to 'gramscii.h')
-rw-r--r--gramscii.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/gramscii.h b/gramscii.h
index 0bad4f2..6adea42 100644
--- a/gramscii.h
+++ b/gramscii.h
@@ -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);