diff options
Diffstat (limited to 'zwgc/X_gram.h')
-rw-r--r-- | zwgc/X_gram.h | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/zwgc/X_gram.h b/zwgc/X_gram.h index 33623f1..5d3f5d0 100644 --- a/zwgc/X_gram.h +++ b/zwgc/X_gram.h @@ -18,8 +18,11 @@ #define x_gram_TYPE #include <X11/Xlib.h> +#include <X11/Xutil.h> #include <sys/time.h> +#include "formatter.h" + typedef struct _xblock { unsigned long fgcolor; Font fid; @@ -73,10 +76,11 @@ typedef struct _xlinedesc { #define CENTERALIGN 1 #define RIGHTALIGN 2 -extern void x_gram_init(); -extern void x_gram_create(); -extern void x_gram_expose(); -extern void xshow(); -extern void xcut(); +extern void x_gram_init(Display *); +extern void x_gram_create(Display *, x_gram *, int, int, int, int, int, int, int); +extern void x_gram_expose(Display *, Window, x_gram *, XExposeEvent *); +extern void xshow(Display *, desctype *, int, int); +extern void xcut(Display *, XEvent *, XContext); +extern void x_get_input(Display *); #endif |