From 19f47b8ce8f12aadcd8194c9c5e9c9763678ce3b Mon Sep 17 00:00:00 2001 From: arighi Date: Wed, 21 Apr 2010 13:55:23 +0000 Subject: [PATCH] gui: refresh the local bitmap instead of referencing the global symbol lcd_bitmap. This avoid to declare a global symbol lcd_bitmap when using the smooth menu scrolling. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3492 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/gui/menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bertos/gui/menu.c b/bertos/gui/menu.c index c3fc3d2b..86e8f17d 100644 --- a/bertos/gui/menu.c +++ b/bertos/gui/menu.c @@ -295,7 +295,7 @@ static void menu_layout( /* Clear rest of area */ gfx_rectClear(bm, bm->cr.xmin, ypos, bm->cr.xmax, bm->cr.ymax); - lcd_blitBitmap(&lcd_bitmap); + lcd_blitBitmap(bm); } /* Restore old cliprect */ -- 2.25.1