diff options
author | Connor Lane Smith <cls@lubutu.com> | 2010-06-28 06:09:34 +0100 |
---|---|---|
committer | Connor Lane Smith <cls@lubutu.com> | 2010-06-28 06:09:34 +0100 |
commit | 18dcf738967a45208e880b72ce273afdd93ee6c7 (patch) | |
tree | 750ef101f905125871cd63e6734cbbae25f4cb44 /draw/draw.h | |
parent | 9f3b0c6ea843340b87a045ea0afd2d1b33425eee (diff) | |
download | dmenu-18dcf738967a45208e880b72ce273afdd93ee6c7.tar.gz dmenu-18dcf738967a45208e880b72ce273afdd93ee6c7.tar.bz2 dmenu-18dcf738967a45208e880b72ce273afdd93ee6c7.zip |
extended libdraw
Diffstat (limited to 'draw/draw.h')
-rw-r--r-- | draw/draw.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/draw/draw.h b/draw/draw.h index 4646a18..f282392 100644 --- a/draw/draw.h +++ b/draw/draw.h @@ -2,7 +2,7 @@ #include <X11/Xlib.h> /* enums */ -enum { ColFG, ColBG, ColLast }; +enum { ColBorder, ColFG, ColBG, ColLast }; /* typedefs */ typedef struct { @@ -21,7 +21,8 @@ typedef struct { /* forward declarations */ void cleanupdraw(DC *dc); -void drawtext(DC *dc, const char *text, unsigned long col[ColLast]); +void drawsquare(DC *dc, Bool filled, unsigned long col[ColLast], Bool invert); +void drawtext(DC *dc, const char *text, unsigned long col[ColLast], Bool invert); void eprint(const char *fmt, ...); unsigned long getcolor(DC *dc, const char *colstr); void initfont(DC *dc, const char *fontstr); |