aboutsummaryrefslogtreecommitdiff
path: root/include/client/cairo.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-01-25 16:06:46 -0500
committerDrew DeVault <sir@cmpwn.com>2016-01-25 16:06:46 -0500
commitf1e1ba0a5689966984f71a00572b89ea2d26f06b (patch)
tree7d7319859fdfa90ac7e6803b634f38a5418bb180 /include/client/cairo.h
parentd2af1f33951220c2a9fc691034084d7276aafbc5 (diff)
parenta5345e807e229ee9e0e2f4bcb148aab0e7216e22 (diff)
Merge pull request #476 from christophgysin/cairo_set_source_u32
extract cairo_set_source_u32()
Diffstat (limited to 'include/client/cairo.h')
-rw-r--r--include/client/cairo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/client/cairo.h b/include/client/cairo.h
index ad8390c4..46c53566 100644
--- a/include/client/cairo.h
+++ b/include/client/cairo.h
@@ -1,6 +1,11 @@
#ifndef _SWAY_CAIRO_H
#define _SWAY_CAIRO_H
+#include <stdint.h>
+#include <cairo/cairo.h>
+
+void cairo_set_source_u32(cairo_t *cairo, uint32_t color);
+
#ifdef WITH_GDK_PIXBUF
#include <gdk-pixbuf/gdk-pixbuf.h>