aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Michael <cp.michael@samsung.com>2013-09-17 07:31:44 +0100
committerChris Michael <cp.michael@samsung.com>2013-09-17 07:41:08 +0100
commit677fdbf81c089f5e397413fd5276106128ae027b (patch)
tree374f8ad2288cbc3b9e56b3bae27ceed6b3e7dc7f
parentFix formatting (diff)
downloadefl-677fdbf81c089f5e397413fd5276106128ae027b.tar.gz
Update doxy for opaque_region_set function.
Add 'rotation' field to Ecore_Wl_Window structure. Add API functions to get/set window rotation. Signed-off-by: Chris Michael <cp.michael@samsung.com>
-rw-r--r--src/lib/ecore_wayland/Ecore_Wayland.h26
1 files changed, 23 insertions, 3 deletions
diff --git a/src/lib/ecore_wayland/Ecore_Wayland.h b/src/lib/ecore_wayland/Ecore_Wayland.h
index cb5f24933e..dcec0cf211 100644
--- a/src/lib/ecore_wayland/Ecore_Wayland.h
+++ b/src/lib/ecore_wayland/Ecore_Wayland.h
@@ -213,7 +213,7 @@ struct _Ecore_Wl_Window
} pointer;
int id, surface_id;
- int edges;
+ int edges, rotation;
Eina_Rectangle allocation;
@@ -731,8 +731,6 @@ EAPI void ecore_wl_window_input_region_set(Ecore_Wl_Window *win, int x, int y, i
/**
* Set the opaque region of the Ecore_Wl_Window
*
- * To set an empty region, pass width and height as 0.
- *
* @param win The window
* @param x The left point of the region.
* @param y The top point of the region.
@@ -745,6 +743,28 @@ EAPI void ecore_wl_window_input_region_set(Ecore_Wl_Window *win, int x, int y, i
EAPI void ecore_wl_window_opaque_region_set(Ecore_Wl_Window *win, int x, int y, int w, int h);
/**
+ * Set the rotation of the Ecore_Wl_Window
+ *
+ * @param win The window
+ * @param rotation The degree of rotation for this window
+ *
+ * @ingroup Ecore_Wl_Window_Group
+ * @since 1.8
+ */
+EAPI void ecore_wl_window_rotation_set(Ecore_Wl_Window *win, int rotation);
+
+/**
+ * Get the rotation of the Ecore_Wl_Window
+ *
+ * @param win The window
+ * @return The degree of rotation for this window
+ *
+ * @ingroup Ecore_Wl_Window_Group
+ * @since 1.8
+ */
+EAPI int ecore_wl_window_rotation_get(Ecore_Wl_Window *win);
+
+/**
* @defgroup Ecore_Wl_Dnd_Group Functions dealing with Wayland Drag-n-Drop
* @ingroup Ecore_Wl_Group
*