diff options
Diffstat (limited to 'helpers.h')
-rw-r--r-- | helpers.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -4,7 +4,10 @@ #include <panel.h> #include <stddef.h> +#define KEY_ESCAPE 0x1b + extern void *xmalloc(size_t size); +extern unsigned long strict_strtoul(const char *nptr, int base); extern void cursinit(void); extern void cursupdate(void); @@ -13,3 +16,5 @@ 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, ...); extern int pclear(PANEL *pan); +extern int pattron(PANEL *pan, int attrs); +extern int pattroff(PANEL *pan, int attrs); |