diff options
author | Joursoir <chat@joursoir.net> | 2021-10-24 21:08:31 +0000 |
---|---|---|
committer | Joursoir <chat@joursoir.net> | 2021-10-24 21:08:31 +0000 |
commit | 51635072ddd0fe714a7d9983288abbb32315824f (patch) | |
tree | cf571b6e3b4c90dac49a2d170b818883f4f10624 /lib/tbi/win.h | |
parent | d3d7d9902072f4f683102ec130801cb609bfa7bc (diff) | |
download | ufm-51635072ddd0fe714a7d9983288abbb32315824f.tar.gz ufm-51635072ddd0fe714a7d9983288abbb32315824f.tar.bz2 ufm-51635072ddd0fe714a7d9983288abbb32315824f.zip |
tbi/win: make wattrset(), wattroff()
Diffstat (limited to 'lib/tbi/win.h')
-rw-r--r-- | lib/tbi/win.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/tbi/win.h b/lib/tbi/win.h index 2de5310..1539877 100644 --- a/lib/tbi/win.h +++ b/lib/tbi/win.h @@ -54,4 +54,24 @@ struct window *newwin(struct screen *s, */ VOID delwin(struct window *w); +/* + * Sets the current attributes of the given window + * + * w: the window on which to operate + * attr: the attributes + * + * return: VOID +*/ +VOID wattrset(struct window *w, INT32 attr); + +/* + * Resets the current attributes of the given window to standard screen + * attributes + * + * w: the window on which to operate + * + * return: VOID +*/ +VOID wattroff(struct window *w); + #endif /* UFM_TBI_WINDOW_H */ |