aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tbi/win.h
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2021-11-02 11:41:24 +0300
committerJoursoir <chat@joursoir.net>2021-11-02 11:41:24 +0300
commit896e763d38bb91d3f3c8c5ebc26f431c58933bbc (patch)
treeded5ddc9c2a013c1573d369324ffa77d16058bdd /lib/tbi/win.h
parentd4ce900ed5fc6a15b71421d1a65b374366983f9a (diff)
downloadufm-896e763d38bb91d3f3c8c5ebc26f431c58933bbc.tar.gz
ufm-896e763d38bb91d3f3c8c5ebc26f431c58933bbc.tar.bz2
ufm-896e763d38bb91d3f3c8c5ebc26f431c58933bbc.zip
tbi/win: make wvprintf()
Diffstat (limited to 'lib/tbi/win.h')
-rw-r--r--lib/tbi/win.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/tbi/win.h b/lib/tbi/win.h
index 404cdd1..18f0153 100644
--- a/lib/tbi/win.h
+++ b/lib/tbi/win.h
@@ -133,4 +133,17 @@ BOOLEAN mvwhline(struct window *w, INT32 x, INT32 y, CHAR16 ch, INT32 n);
*/
BOOLEAN mvwvline(struct window *w, INT32 x, INT32 y, CHAR16 ch, INT32 n);
+/*
+ * Prints output based on a null-terminated unicode format string
+ and a arguments list
+ *
+ * w: the window on which to operate
+ * fmt: a null-terminated unicode format string
+ * arg: the variable argument list
+ *
+ * return: the number of unicode chars in the produced output buffer
+ not including the null-terminator
+*/
+UINTN EFIAPI wvprintf(struct window *w, CONST CHAR16 *fmt, VA_LIST args);
+
#endif /* UFM_TBI_WINDOW_H */