From bd3109851b2f239677a8516eec6729124d11b344 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Sun, 5 Jan 2014 05:05:59 +0100 Subject: now using absolute coordinates inside the window --- include/gwin/gwin.h | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'include') diff --git a/include/gwin/gwin.h b/include/gwin/gwin.h index 9d3d1dbc..ded401d0 100644 --- a/include/gwin/gwin.h +++ b/include/gwin/gwin.h @@ -42,7 +42,7 @@ typedef struct GWindowObject { #endif const struct gwinVMT *vmt; // @< The VMT for this GWIN GDisplay * display; // @< The display this window is on. - coord_t x, y; // @< Screen relative position + coord_t x, y; // @< Position relative to parent coord_t width, height; // @< Dimensions of this window color_t color, bgcolor; // @< The current drawing colors uint16_t flags; // @< Window flags (the meaning is private to the GWIN class) @@ -336,17 +336,6 @@ 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