aboutsummaryrefslogtreecommitdiffstats
path: root/com32/cmenu/libmenu/tui.h
diff options
context:
space:
mode:
authorPierre-Alexandre Meyer <pierre@mouraf.org>2009-09-05 10:23:00 -0700
committerPierre-Alexandre Meyer <pierre@mouraf.org>2009-09-05 10:23:00 -0700
commitb6474284a9543dfd65d1e71996af9497e0215006 (patch)
treeda586595c0dfce00f73ff5b790216e6951b9e39a /com32/cmenu/libmenu/tui.h
parentbb20566b9561f58bdf042e29c99f4ccfc78aaf18 (diff)
downloadsyslinux-b6474284a9543dfd65d1e71996af9497e0215006.tar.gz
syslinux-b6474284a9543dfd65d1e71996af9497e0215006.tar.xz
syslinux-b6474284a9543dfd65d1e71996af9497e0215006.zip
cmenu: remove legacy box drawing code
Lines are now printed via the Line Drawing Character Set. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
Diffstat (limited to 'com32/cmenu/libmenu/tui.h')
-rw-r--r--com32/cmenu/libmenu/tui.h21
1 files changed, 0 insertions, 21 deletions
diff --git a/com32/cmenu/libmenu/tui.h b/com32/cmenu/libmenu/tui.h
index c72a41d2..b386ac4b 100644
--- a/com32/cmenu/libmenu/tui.h
+++ b/com32/cmenu/libmenu/tui.h
@@ -64,27 +64,6 @@ static inline void getpwd(char *str, unsigned int size)
getuserinput(str, size, 1, 0);
}
-// Box drawing Chars offsets into array
-#define BOX_TOPLEFT 0x0
-#define BOX_BOTLEFT 0x1
-#define BOX_TOPRIGHT 0x2
-#define BOX_BOTRIGHT 0x3
-#define BOX_TOP 0x4 // TOP = BOT = HORIZ
-#define BOX_BOT 0x4
-#define BOX_HORIZ 0x4
-#define BOX_LEFT 0x5
-#define BOX_RIGHT 0x5
-#define BOX_VERT 0x5 // LEFT=RIGHT=VERT
-#define BOX_LTRT 0x6
-#define BOX_RTLT 0x7
-#define BOX_TOPBOT 0x8
-#define BOX_BOTTOP 0x9
-#define BOX_MIDDLE 0xA
-
-typedef enum { BOX_SINSIN, BOX_DBLDBL, BOX_SINDBL, BOX_DBLSIN } boxtype;
-
-unsigned char *getboxchars(boxtype bt);
-
void drawbox(const char, const char, const char, const char,
const char);