summaryrefslogtreecommitdiff
path: root/src/lib/ecore_evas
diff options
context:
space:
mode:
authorBryce Harrington <bryce@osg.samsung.com>2017-06-12 11:54:05 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-06-12 11:54:06 +0900
commit67295ed747b9b2aaa433fbf3c512adc5cee3c496 (patch)
treeda258bf7b38d55cfdcaf2d3dae06732d59f2e30e /src/lib/ecore_evas
parentf3e9496cd128c20d0d49db5fb72ab7c31f7962d4 (diff)
ecore_evas: Document ecore_evas Wayland operations
Subscribers: cedric, jpeg Differential Revision: https://phab.enlightenment.org/D4954
Diffstat (limited to 'src/lib/ecore_evas')
-rw-r--r--src/lib/ecore_evas/Ecore_Evas.h40
1 files changed, 39 insertions, 1 deletions
diff --git a/src/lib/ecore_evas/Ecore_Evas.h b/src/lib/ecore_evas/Ecore_Evas.h
index 84e0cb1ebe..e148a421a9 100644
--- a/src/lib/ecore_evas/Ecore_Evas.h
+++ b/src/lib/ecore_evas/Ecore_Evas.h
@@ -1529,14 +1529,52 @@ EAPI Ecore_Evas *ecore_evas_wayland_shm_new(const char *disp_name, unsigned
1529 */ 1529 */
1530EAPI Ecore_Evas *ecore_evas_wayland_egl_new(const char *disp_name, unsigned int parent, int x, int y, int w, int h, Eina_Bool frame); 1530EAPI Ecore_Evas *ecore_evas_wayland_egl_new(const char *disp_name, unsigned int parent, int x, int y, int w, int h, Eina_Bool frame);
1531 1531
1532/**
1533 * @brief Begin resizing the Ecore_Evas window.
1534 *
1535 * @param ee The Ecore_Evas.
1536 * @param location The edge of the window from which the resize should start.
1537 *
1538 * The location edge is an enum as defined by the XDG Shell protocol. See
1539 * the zxdg_toplevel_v6_resize_edge enum definition for edge numbering.
1540 */
1532EAPI void ecore_evas_wayland_resize(Ecore_Evas *ee, int location); 1541EAPI void ecore_evas_wayland_resize(Ecore_Evas *ee, int location);
1542
1543/**
1544 * @brief Begin moving the Ecore_Evas window.
1545 *
1546 * @param ee The Ecore_Evas.
1547 * @param x (unused)
1548 * @param y (unused)
1549 */
1533EAPI void ecore_evas_wayland_move(Ecore_Evas *ee, int x, int y); 1550EAPI void ecore_evas_wayland_move(Ecore_Evas *ee, int x, int y);
1534 1551
1552/**
1553 * @brief Set the pointer for the Ecore_Evas window.
1554 *
1555 * @param ee The Ecore_Evas.
1556 * @param hot_x X coordinate.
1557 * @param hot_y Y coordinate.
1558 *
1559 * @note: This routine is unimplemented.
1560 */
1535EAPI void ecore_evas_wayland_pointer_set(Ecore_Evas *ee, int hot_x, int hot_y); 1561EAPI void ecore_evas_wayland_pointer_set(Ecore_Evas *ee, int hot_x, int hot_y);
1562
1563/**
1564 * @brief Set the type of the Ecore_Evas window.
1565 *
1566 * Enables setting the window as top level, menu, dnd, etc.
1567 *
1568 * @param ee The Ecore_Evas.
1569 * @param type The Ecore_Wl2_Window_Type to set on the window.
1570 *
1571 * @see ecore_wl2_window_type_set()
1572 * @see Ecore_Wl2_Window_Type
1573 */
1536EAPI void ecore_evas_wayland_type_set(Ecore_Evas *ee, int type); 1574EAPI void ecore_evas_wayland_type_set(Ecore_Evas *ee, int type);
1575
1537EAPI Ecore_Wl_Window *ecore_evas_wayland_window_get(const Ecore_Evas *ee); 1576EAPI Ecore_Wl_Window *ecore_evas_wayland_window_get(const Ecore_Evas *ee);
1538EAPI Ecore_Wl2_Window *ecore_evas_wayland2_window_get(const Ecore_Evas *ee); /** @since 1.17 */ 1577EAPI Ecore_Wl2_Window *ecore_evas_wayland2_window_get(const Ecore_Evas *ee); /** @since 1.17 */
1539
1540EAPI Ecore_Cocoa_Window *ecore_evas_cocoa_window_get(const Ecore_Evas *ee); /** @since 1.17 */ 1578EAPI Ecore_Cocoa_Window *ecore_evas_cocoa_window_get(const Ecore_Evas *ee); /** @since 1.17 */
1541 1579
1542EAPI Ecore_Evas *ecore_evas_drm_new(const char *device, unsigned int parent, int x, int y, int w, int h); 1580EAPI Ecore_Evas *ecore_evas_drm_new(const char *device, unsigned int parent, int x, int y, int w, int h);