aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2014-01-05 00:46:36 +0100
committerJoel Bodenmann <joel@unormal.org>2014-01-05 00:46:36 +0100
commit9f5d14cf5d17ac0b2b16943da4a1347f695d109b (patch)
tree3fa2ca59050f5a9139c3a339d0c515e574a46011 /include
parent463a7031832725cbd4cb16935b6ecc899db20ef8 (diff)
downloaduGFX-9f5d14cf5d17ac0b2b16943da4a1347f695d109b.tar.gz
uGFX-9f5d14cf5d17ac0b2b16943da4a1347f695d109b.tar.bz2
uGFX-9f5d14cf5d17ac0b2b16943da4a1347f695d109b.zip
fixed gwinDestroy() and added gwinGetAbsoluteCoordinates()
Diffstat (limited to 'include')
-rw-r--r--include/gwin/gwin.h11
1 files changed, 11 insertions, 0 deletions
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
@@ -337,6 +337,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
*
* @param[in] gh The window