diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-22 00:45:16 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-22 00:45:16 +0200 |
commit | ef6f01e3c73b7d0aec16dd8d476c0c024ab67e73 (patch) | |
tree | 2479eb4387c2cbeee15db87d92b7c972457f2047 | |
parent | do ramp translations in the façade (diff) | |
download | libgamma-ef6f01e3c73b7d0aec16dd8d476c0c024ab67e73.tar.gz libgamma-ef6f01e3c73b7d0aec16dd8d476c0c024ab67e73.tar.bz2 libgamma-ef6f01e3c73b7d0aec16dd8d476c0c024ab67e73.tar.xz |
doc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/gamma-helper.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/gamma-helper.h b/src/gamma-helper.h index 4324b84..1cd65f0 100644 --- a/src/gamma-helper.h +++ b/src/gamma-helper.h @@ -55,9 +55,25 @@ typedef union libgamma_gamma_ramps_any } libgamma_gamma_ramps_any_t; +/** + * A function for reading the gamma ramps from a CRTC + * + * @param this The CRTC state + * @param ramps The store for the gamma ramps + * @return Zero on success, otherwise (negative) the value of an + * error identifier provided by this library + */ typedef int libgamma_get_ramps_any_fun(libgamma_crtc_state_t* restrict this, libgamma_gamma_ramps_any_t* restrict ramps); +/** + * A function for writing the gamma ramps to a CRTC + * + * @param this The CRTC state + * @param ramps The gamma ramps + * @return Zero on success, otherwise (negative) the value of an + * error identifier provided by this library + */ typedef int libgamma_set_ramps_any_fun(libgamma_crtc_state_t* restrict this, libgamma_gamma_ramps_any_t ramps); |