summaryrefslogtreecommitdiffstats
path: root/include/x11-helper.h
diff options
context:
space:
mode:
authorQC <qball@gmpclient.org>2015-10-10 13:03:11 +0200
committerQC <qball@gmpclient.org>2015-10-10 13:03:11 +0200
commitb0ceccb93ea56161a33e2684912f4d220b31aee3 (patch)
tree0b205fac13e2da2f1740b68f6b4a69798a66be79 /include/x11-helper.h
parent01aa2e32cc354b2703e0237e749dc9eb2016b635 (diff)
Use cairo for all drawing, also borders
Diffstat (limited to 'include/x11-helper.h')
-rw-r--r--include/x11-helper.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/include/x11-helper.h b/include/x11-helper.h
index e8222da8..53afe9c1 100644
--- a/include/x11-helper.h
+++ b/include/x11-helper.h
@@ -148,9 +148,11 @@ void create_visual_and_colormap ( Display *display );
*/
unsigned int color_get ( Display *display, const char *const name, const char * const defn );
-unsigned int color_background ( Display *display );
-unsigned int color_border ( Display *display );
-unsigned int color_separator ( Display *display );
+void color_background ( Display *display, cairo_t *d );
+void color_border ( Display *display, cairo_t *d );
+void color_separator ( Display *display, cairo_t *d );
cairo_format_t get_format ( void );
+
+void x11_helper_set_cairo_rgba ( cairo_t *d, unsigned int pixel );
#endif