|
|
@ -213,8 +213,8 @@ drawmenu(void) { |
|
|
|
|
|
|
|
|
|
|
|
void |
|
|
|
void |
|
|
|
drawtext(const char *text, unsigned long col[ColLast]) { |
|
|
|
drawtext(const char *text, unsigned long col[ColLast]) { |
|
|
|
int i, x, y, h, len, olen; |
|
|
|
|
|
|
|
char buf[256]; |
|
|
|
char buf[256]; |
|
|
|
|
|
|
|
int i, x, y, h, len, olen; |
|
|
|
XRectangle r = { dc.x, dc.y, dc.w, dc.h }; |
|
|
|
XRectangle r = { dc.x, dc.y, dc.w, dc.h }; |
|
|
|
|
|
|
|
|
|
|
|
XSetForeground(dpy, dc.gc, col[ColBG]); |
|
|
|
XSetForeground(dpy, dc.gc, col[ColBG]); |
|
|
|