summaryrefslogtreecommitdiffstats
path: root/curshelpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'curshelpers.h')
-rw-r--r--curshelpers.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/curshelpers.h b/curshelpers.h
new file mode 100644
index 0000000..d8bda0d
--- /dev/null
+++ b/curshelpers.h
@@ -0,0 +1,12 @@
+#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, ...);