summaryrefslogtreecommitdiffhomepage
path: root/drw.h
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-02-11 18:31:11 +0100
committerbakkeby <[email protected]>2020-02-11 18:31:11 +0100
commit4b45c6071f8e960d85dfa83e610b47e1971cfb87 (patch)
treeb9dfb1eb4996ff608e788bf37e008d309c4ad5d9 /drw.h
parent9ef44a0bc1462bca87226f31d6d0c999465a86c2 (diff)
downloaddwm-flexipatch-4b45c6071f8e960d85dfa83e610b47e1971cfb87.tar.gz
dwm-flexipatch-4b45c6071f8e960d85dfa83e610b47e1971cfb87.zip
Adding vtcolors patch
Diffstat (limited to 'drw.h')
-rw-r--r--drw.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/drw.h b/drw.h
index cdd112b..13a74d2 100644
--- a/drw.h
+++ b/drw.h
@@ -54,18 +54,24 @@ void drw_font_getexts(Fnt *font, const char *text, unsigned int len, unsigned in
void drw_clr_create(
Drw *drw,
Clr *dest,
+ #if VTCOLORS_PATCH
+ const char clrname[]
+ #else
const char *clrname
+ #endif // VTCOLORS_PATCH
#if ALPHA_PATCH
, unsigned int alpha
#endif // ALPHA_PATCH
);
Clr *drw_scm_create(
Drw *drw,
- #if XRDB_PATCH
+ #if VTCOLORS_PATCH
+ char clrnames[][8],
+ #elif XRDB_PATCH
char *clrnames[],
#else
const char *clrnames[],
- #endif // XRDB_PATCH
+ #endif // VTCOLORS_PATCH / XRDB_PATCH
#if ALPHA_PATCH
const unsigned int alphas[],
#endif // ALPHA_PATCH