moved draw.c to libdraw.a
This commit is contained in:
parent
723361fa12
commit
4508fd2c4e
14 changed files with 191 additions and 148 deletions
9
draw/textw.c
Normal file
9
draw/textw.c
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
/* See LICENSE file for copyright and license details. */
|
||||
#include <string.h>
|
||||
#include <X11/Xlib.h>
|
||||
#include "draw.h"
|
||||
|
||||
int
|
||||
textw(DC *dc, const char *text) {
|
||||
return textnw(dc, text, strlen(text)) + dc->font.height;
|
||||
}
|
||||
Loading…
Reference in a new issue