From b479a1038345752ad1f9bcebbd382a5261f01aa8 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Mon, 6 Jan 2014 21:43:25 +0100 Subject: gwinRedrawChildren() --- src/gwin/gwin.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src') 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; } -- cgit v1.2.3