From ceca31714a43d2a31da9f44ba26487717c3ef8e4 Mon Sep 17 00:00:00 2001 From: Chris Michael Date: Thu, 11 Jul 2013 09:41:00 +0100 Subject: [PATCH] Add API declarations for new pixmap functions - ecore_evas_pixmap_visual_get - ecore_evas_pixmap_colormap_get - ecore_evas_pixmap_depth_get Signed-off-by: Chris Michael --- src/lib/ecore_evas/Ecore_Evas.h | 45 +++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/src/lib/ecore_evas/Ecore_Evas.h b/src/lib/ecore_evas/Ecore_Evas.h index cf8890510f..83ebf10cbb 100644 --- a/src/lib/ecore_evas/Ecore_Evas.h +++ b/src/lib/ecore_evas/Ecore_Evas.h @@ -2420,6 +2420,51 @@ EAPI void ecore_evas_pointer_xy_get(const Ecore_Evas *ee, Evas_Coord *x, Evas_Co */ EAPI Eina_Bool ecore_evas_pointer_warp(const Ecore_Evas *ee, Evas_Coord x, Evas_Coord y); +/** + * @brief Retrieve the Visual used for pixmap creation + * + * @param ee The Ecore_Evas containing the pixmap + * + * @return The Visual which was used when creating the pixmap + * + * @warning If and when this function is called depends on the underlying + * windowing system. This function should only be called if the Ecore_Evas was + * created using @c ecore_evas_software_x11_pixmap_new or @c ecore_evas_gl_x11_pixmap_new + * + * @since 1.8 + */ +EAPI void *ecore_evas_pixmap_visual_get(const Ecore_Evas *ee); + +/** + * @brief Retrieve the Colormap used for pixmap creation + * + * @param ee The Ecore_Evas containing the pixmap + * + * @return The Colormap which was used when creating the pixmap + * + * @warning If and when this function is called depends on the underlying + * windowing system. This function should only be called if the Ecore_Evas was + * created using @c ecore_evas_software_x11_pixmap_new or @c ecore_evas_gl_x11_pixmap_new + * + * @since 1.8 + */ +EAPI unsigned long ecore_evas_pixmap_colormap_get(const Ecore_Evas *ee); + +/** + * @brief Retrieve the depth used for pixmap creation + * + * @param ee The Ecore_Evas containing the pixmap + * + * @return The depth which was used when creating the pixmap + * + * @warning If and when this function is called depends on the underlying + * windowing system. This function should only be called if the Ecore_Evas was + * created using @c ecore_evas_software_x11_pixmap_new or @c ecore_evas_gl_x11_pixmap_new + * + * @since 1.8 + */ +EAPI int ecore_evas_pixmap_depth_get(const Ecore_Evas *ee); + /** * @} */