aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-08-09 11:09:36 -0400
committerGitHub <noreply@github.com>2017-08-09 11:09:36 -0400
commit6345d6deeda014b8a95ef4a40eef938b552ff153 (patch)
tree75af61ae2c792c648b5f13e830ff1272574c3c00 /include
parenta77fac07603028c869e7d3d1dee58d6972d29498 (diff)
parent60ecbe42468e74dad6535903cac571757f8052cc (diff)
Merge pull request #51 from nyorain/region
Implement wlr_region using pixman
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_region.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_region.h b/include/wlr/types/wlr_region.h
new file mode 100644
index 00000000..9fff0150
--- /dev/null
+++ b/include/wlr/types/wlr_region.h
@@ -0,0 +1,10 @@
+#ifndef _WLR_TYPES_REGION_H
+#define _WLR_TYPES_REGION_H
+
+struct wl_resource;
+
+// Implements the given resource as region.
+// Sets the associated pixman_region32_t as userdata.
+void wlr_region_create(struct wl_resource *res);
+
+#endif