aboutsummaryrefslogtreecommitdiffstats
path: root/src/gwin
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2014-01-06 21:43:25 +0100
committerJoel Bodenmann <joel@unormal.org>2014-01-06 21:43:25 +0100
commitb479a1038345752ad1f9bcebbd382a5261f01aa8 (patch)
tree5129ca21b1217db69ebf9a181bc89dc7c7212347 /src/gwin
parent6aa34e4fdcf3ffa45e2c9b3a8c7c15a43c043d38 (diff)
downloaduGFX-b479a1038345752ad1f9bcebbd382a5261f01aa8.tar.gz
uGFX-b479a1038345752ad1f9bcebbd382a5261f01aa8.tar.bz2
uGFX-b479a1038345752ad1f9bcebbd382a5261f01aa8.zip
gwinRedrawChildren()
Diffstat (limited to 'src/gwin')
-rw-r--r--src/gwin/gwin.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gwin/gwin.c b/src/gwin/gwin.c
index 0f5245b2..0e26149f 100644
--- a/src/gwin/gwin.c
+++ b/src/gwin/gwin.c
@@ -363,6 +363,12 @@ void gwinRedraw(GHandle gh) {
}
}
+ void gwinRedrawChildren(GHandle gh) {
+ GHandle tmp;
+ for (tmp = gh->child; tmp; tmp = tmp->sibling)
+ gwinRedraw(tmp);
+ }
+
GHandle gwinGetFirstChild(GHandle gh) {
return gh->child;
}