Xinqi Bao's Git
projects
/
dmenu.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
decosmetics
[dmenu.git]
/
draw
/
draw.h
diff --git
a/draw/draw.h
b/draw/draw.h
index
4646a18
..
f282392
100644
(file)
--- a/
draw/draw.h
+++ b/
draw/draw.h
@@
-2,7
+2,7
@@
#include <X11/Xlib.h>
/* enums */
#include <X11/Xlib.h>
/* enums */
-enum { ColFG, ColBG, ColLast };
+enum { Col
Border, Col
FG, ColBG, ColLast };
/* typedefs */
typedef struct {
/* typedefs */
typedef struct {
@@
-21,7
+21,8
@@
typedef struct {
/* forward declarations */
void cleanupdraw(DC *dc);
/* 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);
void eprint(const char *fmt, ...);
unsigned long getcolor(DC *dc, const char *colstr);
void initfont(DC *dc, const char *fontstr);