diff options
author | Karl Ramm <kcr@mit.edu> | 2008-01-21 03:11:44 +0000 |
---|---|---|
committer | Karl Ramm <kcr@mit.edu> | 2008-01-21 03:11:44 +0000 |
commit | b6ea75cfc9712b77a0886c4348d6fb519641e40e (patch) | |
tree | 65f68bb2db7c6118e80670cd5edc297159f43409 /zwgc/X_gram.h | |
parent | 71f70d3066d1c038e1794c4ffe804591eda3d1af (diff) |
de K&Rify, fix prototypes
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 |