Mercurial > aewl
comparison draw.c @ 84:052fe7498930
ordered variables in structs and source files alphabetically
author | Anselm R. Garbe <garbeam@wmii.de> |
---|---|
date | Mon, 17 Jul 2006 09:12:29 +0200 |
parents | aabebd6e61f3 |
children | c498da7520c7 |
comparison
equal
deleted
inserted
replaced
83:ca809fdd30ea | 84:052fe7498930 |
---|---|
6 | 6 |
7 #include <stdio.h> | 7 #include <stdio.h> |
8 #include <string.h> | 8 #include <string.h> |
9 #include <X11/Xlocale.h> | 9 #include <X11/Xlocale.h> |
10 | 10 |
11 /* static functions */ | 11 /* static */ |
12 | 12 |
13 static void | 13 static void |
14 drawborder(void) | 14 drawborder(void) |
15 { | 15 { |
16 XPoint points[5]; | 16 XPoint points[5]; |
88 XChangeGC(dpy, dc.gc, GCForeground | GCBackground | GCFont, &gcv); | 88 XChangeGC(dpy, dc.gc, GCForeground | GCBackground | GCFont, &gcv); |
89 XDrawImageString(dpy, dc.drawable, dc.gc, x, y, buf, len); | 89 XDrawImageString(dpy, dc.drawable, dc.gc, x, y, buf, len); |
90 } | 90 } |
91 } | 91 } |
92 | 92 |
93 /* extern functions */ | 93 /* extern */ |
94 | 94 |
95 void | 95 void |
96 drawall() | 96 drawall() |
97 { | 97 { |
98 Client *c; | 98 Client *c; |