Documentation for <wlr/types/wlr_gamma_control_v1.h>

Back to index

Table of contents

struct wlr_gamma_control_manager_v1

struct wlr_gamma_control_manager_v1 {
	struct wl_global *global;
	struct wl_list controls; // wlr_gamma_control_v1.link
	
	struct wl_listener display_destroy;
	
	struct {
		struct wl_signal destroy;
	} events;
	
	void *data;
};

wlr_gamma_control_manager_v1_create()

struct wlr_gamma_control_manager_v1 *wlr_gamma_control_manager_v1_create(​struct wl_display *display);

struct wlr_gamma_control_v1

struct wlr_gamma_control_v1 {
	struct wl_resource *resource;
	struct wlr_output *output;
	struct wl_list link;
	
	uint16_t *table;
	size_t ramp_size;
	
	struct wl_listener output_commit_listener;
	struct wl_listener output_destroy_listener;
	
	void *data;
};