summaryrefslogtreecommitdiffstats
path: root/helpers.h
diff options
context:
space:
mode:
authorMalfurious <m@lfurio.us>2023-07-06 06:06:14 -0400
committerMalfurious <m@lfurio.us>2023-07-06 06:06:14 -0400
commitd622a30a82f8ac6914926a5bfdc0e31dff6ce55d (patch)
tree14233977af248b4cc0a0eb83325b39874147fb7e /helpers.h
parent4def3856f105b1461615285c9e33750a51177994 (diff)
downloadmisplays-d622a30a82f8ac6914926a5bfdc0e31dff6ce55d.tar.gz
misplays-d622a30a82f8ac6914926a5bfdc0e31dff6ce55d.zip
Rename curshelpers unit to 'helpers'
Signed-off-by: Malfurious <m@lfurio.us>
Diffstat (limited to 'helpers.h')
-rw-r--r--helpers.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/helpers.h b/helpers.h
new file mode 100644
index 0000000..7b85319
--- /dev/null
+++ b/helpers.h
@@ -0,0 +1,11 @@
+#pragma once
+
+#include <ncurses.h>
+#include <panel.h>
+
+extern void cursinit(void);
+extern void cursupdate(void);
+extern PANEL *newpan(int h, int w, int y, int x);
+extern void delpan(PANEL *pan);
+extern void reset_panel(PANEL *pan, int h, int w, int y, int x);
+extern int pprintw(PANEL *pan, const char *fmt, ...);