mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-25 06:59:42 -05:00
Add gamma_control skeleton
This commit is contained in:
parent
586ae674ae
commit
1b588e7c1f
6 changed files with 178 additions and 0 deletions
21
include/wlr/types/wlr_gamma_control.h
Normal file
21
include/wlr/types/wlr_gamma_control.h
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue