contrast
-
# org_kde_kwin_contrast_manager
Requests
-
struct org_kde_kwin_contrast* org_kde_kwin_contrast_manager_create(struct org_kde_kwin_contrast_manager* org_kde_kwin_contrast_manager,struct wl_surface* surface)
-
void org_kde_kwin_contrast_manager_unset(struct org_kde_kwin_contrast_manager* org_kde_kwin_contrast_manager,struct wl_surface* surface)
-
-
# org_kde_kwin_contrast
Requests
-
void org_kde_kwin_contrast_commit(struct org_kde_kwin_contrast* org_kde_kwin_contrast)
-
void org_kde_kwin_contrast_set_region(struct org_kde_kwin_contrast* org_kde_kwin_contrast,struct wl_region* region)
-
void org_kde_kwin_contrast_set_contrast(struct org_kde_kwin_contrast* org_kde_kwin_contrast,wl_fixed_t contrast)
-
void org_kde_kwin_contrast_set_intensity(struct org_kde_kwin_contrast* org_kde_kwin_contrast,wl_fixed_t intensity)
-
void org_kde_kwin_contrast_set_saturation(struct org_kde_kwin_contrast* org_kde_kwin_contrast,wl_fixed_t saturation)
-
void org_kde_kwin_contrast_release(struct org_kde_kwin_contrast* org_kde_kwin_contrast)
-
void org_kde_kwin_contrast_set_frost(struct org_kde_kwin_contrast* org_kde_kwin_contrast,int32_t red,int32_t green,int32_t blue,int32_t alpha)enables 'frost' variant of contrast effect. 'frost' is an enhanced version of the contrast effect that uses different colour arithmetic to get backgrounds simultaneously higher in contrast and (apparent) transparency. r, g, b, a are channels from 0-255, indicating a colour to use in contrast calculation. should be based off of the "main" background colour of the surface.
-
void org_kde_kwin_contrast_unset_frost(struct org_kde_kwin_contrast* org_kde_kwin_contrast)
-
Copyright Info
SPDX-FileCopyrightText: 2015 Martin Gräßlin
SPDX-FileCopyrightText: 2015 Marco Martin
SPDX-License-Identifier: LGPL-2.1-or-later