devilhorns pushed a commit to branch master.
commit ceca31714a43d2a31da9f44ba26487717c3ef8e4
Author: Chris Michael <[email protected]>
Date: Thu Jul 11 09:41:00 2013 +0100
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 <[email protected]>
---
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 cf88905..83ebf10 100644
--- a/src/lib/ecore_evas/Ecore_Evas.h
+++ b/src/lib/ecore_evas/Ecore_Evas.h
@@ -2421,6 +2421,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);
+
+/**
* @}
*/
--
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk