diff options
author | nyorain <nyorain@gmail.com> | 2017-08-09 16:24:28 +0200 |
---|---|---|
committer | nyorain <nyorain@gmail.com> | 2017-08-09 17:05:55 +0200 |
commit | 1bea754521e046287a5eff56fc56c1bd42b36c1f (patch) | |
tree | ee0bcb46f81a057bbc910e4d5a65d25ab6b85504 /include/wlr | |
parent | a77fac07603028c869e7d3d1dee58d6972d29498 (diff) |
Implement wlr_region using pixman
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_region.h | 10 |
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 |