From 66e53b7e54878e2161f5c0dab6f90aebd9a1d97a Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Thu, 8 Apr 2021 02:27:15 +0200 Subject: added board.h --- fw/fe310/eos/eve/screen/window.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'fw/fe310/eos/eve/screen') diff --git a/fw/fe310/eos/eve/screen/window.c b/fw/fe310/eos/eve/screen/window.c index 4f059c4..63a59a9 100644 --- a/fw/fe310/eos/eve/screen/window.c +++ b/fw/fe310/eos/eve/screen/window.c @@ -68,7 +68,7 @@ int eve_window_visible(EVEWindow *window) { return 1; } -static void _window_visible_g(EVEWindow *w, EVERect *g) { +static void window_visible_g(EVEWindow *w, EVERect *g) { while (w) { if (eve_window_visible(w)) { if (w->g.x > g->x) g->w = MIN(g->w, w->g.x - g->x); @@ -84,15 +84,15 @@ static void _window_visible_g(EVEWindow *w, EVERect *g) { g->h -= y0; } } - if (w->child_head) _window_visible_g(w->child_head, g); + if (w->child_head) window_visible_g(w->child_head, g); w = w->next; } } void eve_window_visible_g(EVEWindow *window, EVERect *g) { *g = window->g; - if (window->child_head) _window_visible_g(window->child_head, g); - _window_visible_g(window->next, g); + if (window->child_head) window_visible_g(window->child_head, g); + window_visible_g(window->next, g); } void eve_window_append(EVEWindow *window) { -- cgit v1.2.3