aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2014-01-05 05:05:59 +0100
committerJoel Bodenmann <joel@unormal.org>2014-01-05 05:05:59 +0100
commitbd3109851b2f239677a8516eec6729124d11b344 (patch)
tree3e121fdcf435130c83a8131bd05ac46d44afeee1 /include
parenta6b81192eb2ce4df34b04253c28b50e797aaccc9 (diff)
downloaduGFX-bd3109851b2f239677a8516eec6729124d11b344.tar.gz
uGFX-bd3109851b2f239677a8516eec6729124d11b344.tar.bz2
uGFX-bd3109851b2f239677a8516eec6729124d11b344.zip
now using absolute coordinates inside the window
Diffstat (limited to 'include')
-rw-r--r--include/gwin/gwin.h13
1 files changed, 1 insertions, 12 deletions
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)
@@ -337,17 +337,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
*
* @param[in] gh The window