#pragma once #include #include #include extern void *xmalloc(size_t size); 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, ...); extern int pclear(PANEL *pan); extern int pattron(PANEL *pan, int attrs); extern int pattroff(PANEL *pan, int attrs);