removed draw.c, implemented C-w handling (backward word deletion)
This commit is contained in:
parent
1e01ca0317
commit
665488a6ee
6 changed files with 130 additions and 132 deletions
7
dmenu.h
7
dmenu.h
|
|
@ -38,13 +38,6 @@ extern int screen;
|
|||
extern Display *dpy;
|
||||
extern DC dc; /* global drawing context */
|
||||
|
||||
/* draw.c */
|
||||
extern void drawtext(const char *text,
|
||||
unsigned long col[ColLast]); /* draws text with the defined color tuple */
|
||||
extern unsigned long getcolor(const char *colstr); /* returns color of colstr */
|
||||
extern void setfont(const char *fontstr); /* sets global font */
|
||||
extern unsigned int textw(const char *text); /* returns width of text in px */
|
||||
|
||||
/* util.c */
|
||||
extern void *emalloc(unsigned int size); /* allocates memory, exits on error */
|
||||
extern void eprint(const char *errstr, ...); /* prints errstr and exits with 1 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue