From 469aebad272538dddefdc6ee42d03dc54b900d1e Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Wed, 30 Jan 2013 10:18:38 +0000 Subject: [PATCH] Fix gamma functions (unsure how this all got messed up from previous commit). Signed-off-by: Christopher Michael SVN revision: 83469 --- src/lib/ecore_x/Ecore_X.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/lib/ecore_x/Ecore_X.h b/src/lib/ecore_x/Ecore_X.h index 6ad6032ec3..8066ef6531 100644 --- a/src/lib/ecore_x/Ecore_X.h +++ b/src/lib/ecore_x/Ecore_X.h @@ -1950,6 +1950,14 @@ typedef struct _Ecore_X_Randr_Mode_Info unsigned long modeFlags; } Ecore_X_Randr_Mode_Info; +typedef struct _Ecore_X_Randr_Crtc_Gamma_Info +{ + int size; + unsigned short *red; + unsigned short *green; + unsigned short *blue; +} Ecore_X_Randr_Crtc_Gamma_Info; + EAPI int ecore_x_randr_version_get(void); EAPI Eina_Bool ecore_x_randr_query(void); EAPI Ecore_X_Randr_Orientation ecore_x_randr_screen_primary_output_orientations_get(Ecore_X_Window root); @@ -2022,8 +2030,8 @@ EAPI void ecore_x_randr_output_size_mm_get( EAPI Eina_Bool ecore_x_randr_output_crtc_set(Ecore_X_Window root, Ecore_X_Randr_Output output, const Ecore_X_Randr_Crtc crtc); EAPI int ecore_x_randr_crtc_gamma_size_get(Ecore_X_Randr_Crtc crtc); /**< @since 1.8 */ -EAPI Ecore_X_Randr_Crtc_Gamma **ecore_x_randr_crtc_gamma_get(Ecore_X_Randr_Crtc crtc); /**< @since 1.8 */ -EAPI Eina_Bool ecore_x_randr_crtc_gamma_set(Ecore_X_Randr_Crtc crtc, const Ecore_X_Randr_Crtc_Gamma *red, const Ecore_X_Randr_Crtc_Gamma *green, const Ecore_X_Randr_Crtc_Gamma *blue); /**< @since 1.8 */ +EAPI Ecore_X_Randr_Crtc_Gamma_Info *ecore_x_randr_crtc_gamma_get(Ecore_X_Randr_Crtc crtc); /**< @since 1.8 */ +EAPI Eina_Bool ecore_x_randr_crtc_gamma_set(Ecore_X_Randr_Crtc crtc, const Ecore_X_Randr_Crtc_Gamma_Info *gamma); /**< @since 1.8 */ /** * @brief Validates the header from raw EDID data.