aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-w32-gdi.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/gamma-w32-gdi.c132
1 files changed, 0 insertions, 132 deletions
diff --git a/src/gamma-w32-gdi.c b/src/gamma-w32-gdi.c
index 0819ac0..e6155a8 100644
--- a/src/gamma-w32-gdi.c
+++ b/src/gamma-w32-gdi.c
@@ -22,7 +22,6 @@ x/**
#include "gamma-w32-gdi.h"
#include "libgamma-error.h"
-#include "gamma-helper.h"
#ifndef WINVER
# define WINVER 0x0500
@@ -311,134 +310,3 @@ int libgamma_w32_gdi_crtc_set_gamma_ramps(libgamma_crtc_state_t* restrict this,
return 0;
}
-
-
-/**
- * Get current the gamma ramps for a CRTC, 32-bit gamma-depth version
- *
- * @param this The CRTC state
- * @param ramps The gamma ramps to fill with the current values
- * @return Zero on success, otherwise (negative) the value of an
- * error identifier provided by this library
- */
-int libgamma_w32_gdi_crtc_get_gamma_ramps32(libgamma_crtc_state_t* restrict this,
- libgamma_gamma_ramps32_t* restrict ramps)
-{
- return libgamma_translated_ramp_get(this, ramps, 32, 16,
- libgamma_w32_gdi_crtc_get_gamma_ramps);
-}
-
-
-/**
- * Set the gamma ramps for a CRTC, 32-bit gamma-depth version
- *
- * @param this The CRTC state
- * @param ramps The gamma ramps to apply
- * @return Zero on success, otherwise (negative) the value of an
- * error identifier provided by this library
- */
-int libgamma_w32_gdi_crtc_set_gamma_ramps32(libgamma_crtc_state_t* restrict this,
- libgamma_gamma_ramps32_t ramps)
-{
- return libgamma_translated_ramp_set(this, ramps, 32, 16,
- libgamma_w32_gdi_crtc_set_gamma_ramps);
-}
-
-
-
-/**
- * Get current the gamma ramps for a CRTC, 64-bit gamma-depth version
- *
- * @param this The CRTC state
- * @param ramps The gamma ramps to fill with the current values
- * @return Zero on success, otherwise (negative) the value of an
- * error identifier provided by this library
- */
-int libgamma_w32_gdi_crtc_get_gamma_ramps64(libgamma_crtc_state_t* restrict this,
- libgamma_gamma_ramps64_t* restrict ramps)
-{
- return libgamma_translated_ramp_get(this, ramps, 64, 16,
- libgamma_w32_gdi_crtc_get_gamma_ramps);
-}
-
-
-/**
- * Set the gamma ramps for a CRTC, 64-bit gamma-depth version
- *
- * @param this The CRTC state
- * @param ramps The gamma ramps to apply
- * @return Zero on success, otherwise (negative) the value of an
- * error identifier provided by this library
- */
-int libgamma_w32_gdi_crtc_set_gamma_ramps64(libgamma_crtc_state_t* restrict this,
- libgamma_gamma_ramps64_t ramps)
-{
- return libgamma_translated_ramp_set(this, ramps, 64, 16,
- libgamma_w32_gdi_crtc_set_gamma_ramps);
-}
-
-
-
-/**
- * Get current the gamma ramps for a CRTC, `float` version
- *
- * @param this The CRTC state
- * @param ramps The gamma ramps to fill with the current values
- * @return Zero on success, otherwise (negative) the value of an
- * error identifier provided by this library
- */
-int libgamma_w32_gdi_crtc_get_gamma_rampsf(libgamma_crtc_state_t* restrict this,
- libgamma_gamma_rampsf_t* restrict ramps)
-{
- return libgamma_translated_ramp_get(this, ramps, -1, 16,
- libgamma_w32_gdi_crtc_get_gamma_ramps);
-}
-
-
-/**
- * Set the gamma ramps for a CRTC, `float` version
- *
- * @param this The CRTC state
- * @param ramps The gamma ramps to apply
- * @return Zero on success, otherwise (negative) the value of an
- * error identifier provided by this library
- */
-int libgamma_w32_gdi_crtc_set_gamma_rampsf(libgamma_crtc_state_t* restrict this,
- libgamma_gamma_rampsf_t ramps)
-{
- return libgamma_translated_ramp_set(this, ramps, -1, 16,
- libgamma_w32_gdi_crtc_set_gamma_ramps);
-}
-
-
-/**
- * Get current the gamma ramps for a CRTC, `double` version
- *
- * @param this The CRTC state
- * @param ramps The gamma ramps to fill with the current values
- * @return Zero on success, otherwise (negative) the value of an
- * error identifier provided by this library
- */
-int libgamma_w32_gdi_crtc_get_gamma_rampsd(libgamma_crtc_state_t* restrict this,
- libgamma_gamma_rampsd_t* restrict ramps)
-{
- return libgamma_translated_ramp_get(this, ramps, -2, 16,
- libgamma_w32_gdi_crtc_get_gamma_ramps);
-}
-
-
-/**
- * Set the gamma ramps for a CRTC, `double` version
- *
- * @param this The CRTC state
- * @param ramps The gamma ramps to apply
- * @return Zero on success, otherwise (negative) the value of an
- * error identifier provided by this library
- */
-int libgamma_w32_gdi_crtc_set_gamma_rampsd(libgamma_crtc_state_t* restrict this,
- libgamma_gamma_rampsd_t ramps)
-{
- return libgamma_translated_ramp_set(this, ramps, -2, 16,
- libgamma_w32_gdi_crtc_set_gamma_ramps);
-}
-