2007-09-05 20:15:00 +02:00
|
|
|
/* See LICENSE file for copyright and license details. */
|
|
|
|
|
|
|
|
#ifndef JDWM_DRAW_H
|
|
|
|
#define JDWM_DRAW_H
|
|
|
|
|
2007-09-06 22:09:00 +02:00
|
|
|
#include <string.h>
|
2007-09-05 20:15:00 +02:00
|
|
|
#include "config.h"
|
|
|
|
|
2007-09-06 22:09:00 +02:00
|
|
|
#define textw(text) (textnw(text, strlen(text)) + dc.font.height)
|
|
|
|
|
2007-09-05 20:15:00 +02:00
|
|
|
void drawstatus(Display *, jdwm_config *); /* draw the bar */
|
2007-09-06 22:09:00 +02:00
|
|
|
unsigned int textnw(const char *, unsigned int);
|
2007-09-05 20:15:00 +02:00
|
|
|
|
|
|
|
#endif
|