diff options
Diffstat (limited to 'lib/tbi/win.c')
-rw-r--r-- | lib/tbi/win.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/tbi/win.c b/lib/tbi/win.c index 69ba895..e3ba31e 100644 --- a/lib/tbi/win.c +++ b/lib/tbi/win.c @@ -88,3 +88,17 @@ VOID delwin(struct window *w) FreePool(w); } + +VOID wattrset(struct window *w, INT32 attr) +{ + ASSERT(w != NULL); + + w->cur_attr = attr; +} + +VOID wattroff(struct window *w) +{ + ASSERT(w != NULL); + + w->cur_attr = w->scr->attr; +} |