diff options
author | emersion <contact@emersion.fr> | 2017-09-06 14:48:27 +0200 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2017-09-06 14:48:27 +0200 |
commit | 1b588e7c1f869883a5abe7f3a52edc0d60afd496 (patch) | |
tree | aa72d146654f7c9ae9e429b2454fa5ab4b76894a /include/wlr | |
parent | 586ae674ae65c64bf57653afae5378ca76ba40a7 (diff) |
Add gamma_control skeleton
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_gamma_control.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_gamma_control.h b/include/wlr/types/wlr_gamma_control.h new file mode 100644 index 00000000..259c6474 --- /dev/null +++ b/include/wlr/types/wlr_gamma_control.h @@ -0,0 +1,21 @@ +#ifndef _WLR_GAMMA_CONTROL_H +#define _WLR_GAMMA_CONTROL_H +#include <wayland-server.h> + +struct wlr_gamma_control_manager { + struct wl_global *wl_global; + + void *data; +}; + +struct wlr_gamma_control { + struct wl_resource *resource; + struct wl_resource *output; + + void* data; +}; + +struct wlr_gamma_control_manager *wlr_gamma_control_manager_create(struct wl_display *display); +void wlr_gamma_control_manager_destroy(struct wlr_gamma_control_manager *gamma_control_manager); + +#endif |