diff options
author | Joursoir <chat@joursoir.net> | 2021-10-25 17:30:37 +0000 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2021-10-25 17:30:37 +0000 |
commit | 642e48ad0625a65eec5ca216bb8d6ef5db7d457d (patch) | |
tree | 8474bf5f7bf158835ef444a71037fc41a2e72a43 /lib/tbi/win.h | |
parent | 84d0343d88eb96419adc6a68183bbfe6ee9f96f0 (diff) | |
download | ufm-642e48ad0625a65eec5ca216bb8d6ef5db7d457d.tar.gz ufm-642e48ad0625a65eec5ca216bb8d6ef5db7d457d.tar.bz2 ufm-642e48ad0625a65eec5ca216bb8d6ef5db7d457d.zip |
tbi/win: make wborder()
Diffstat (limited to 'lib/tbi/win.h')
-rw-r--r-- | lib/tbi/win.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/tbi/win.h b/lib/tbi/win.h index 9057369..eddda05 100644 --- a/lib/tbi/win.h +++ b/lib/tbi/win.h @@ -85,4 +85,22 @@ VOID wattroff(struct window *w); */ BOOLEAN wmove(struct window *w, INT32 x, INT32 y); +/* + * Draws a box around the edges of a window + * + * w: the window on which to operate + * ls: the left side character + * rs: the right side character + * ts: the top side character + * bs: the bottom side character + * tl: the top left corner character + * tr: the top right corner character + * bl: the bottom left corner character + * br: the bottom right corner character + * + * return: FALSE upon failure and TRUE upon successful completion +*/ +BOOLEAN wborder(struct window *w, CHAR16 ls, CHAR16 rs, CHAR16 ts, + CHAR16 bs, CHAR16 tl, CHAR16 tr, CHAR16 bl, CHAR16 br); + #endif /* UFM_TBI_WINDOW_H */ |