aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
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