From 9f5d14cf5d17ac0b2b16943da4a1347f695d109b Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Sun, 5 Jan 2014 00:46:36 +0100 Subject: fixed gwinDestroy() and added gwinGetAbsoluteCoordinates() --- include/gwin/gwin.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include') diff --git a/include/gwin/gwin.h b/include/gwin/gwin.h index 194173e0..9d3d1dbc 100644 --- a/include/gwin/gwin.h +++ b/include/gwin/gwin.h @@ -336,6 +336,17 @@ extern "C" { */ bool_t gwinGetEnabled(GHandle gh); + /** + * @brief Get absolute coordinates of a window + * + * @param[in] gh The window + * @param[out] x The absolut x coordinate + * @param[out] y The absolut y coordinate + * + * @api + */ + void gwinGetAbsoluteCoordinates(GHandle gh, coord_t *x, coord_t *y); + /** * @brief Move a window * -- cgit v1.2.3