2007-09-05 20:15:00 +02:00
|
|
|
/* See LICENSE file for copyright and license details. */
|
|
|
|
|
2007-09-10 16:11:57 +02:00
|
|
|
#ifndef AWESOME_DRAW_H
|
|
|
|
#define AWESOME_DRAW_H
|
2007-09-05 20:15:00 +02:00
|
|
|
|
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-10 12:06:54 +02:00
|
|
|
void drawstatus(Display *, awesome_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
|