From e8c98a65cd161a5d2c0a76d41e39b352e083a9ab Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Sat, 17 Aug 2019 07:43:03 +0100 Subject: refactor box management -- towards trapezium --- gramscii.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'gramscii.h') diff --git a/gramscii.h b/gramscii.h index c2b9170..b8c2161 100644 --- a/gramscii.h +++ b/gramscii.h @@ -36,10 +36,20 @@ /** box style **/ /* rectangular box */ #define BOX_RECT 0x00 +/* parallelograms */ +#define BOX_PAR 0x04 /* parallelogram (leaning right) */ -#define BOX_PARR 0x01 +#define BOX_PARR 0x05 /* parallelogram (leaning left) */ -#define BOX_PARL 0x02 +#define BOX_PARL 0x06 +/* trapezium */ +#define BOX_TRAP 0x10 +#define BOX_TRAP_UR 0x11 +#define BOX_TRAP_UC 0x12 +#define BOX_TRAP_UL 0x13 +#define BOX_TRAP_DL 0x14 +#define BOX_TRAP_DC 0x15 +#define BOX_TRAP_DR 0x16 /**/ #define NOFIX 0x0 -- cgit v1.2.3