From f9429cc11ba13efb90dc7c8b767a2e552298d0bd Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Fri, 19 Apr 2002 12:55:12 +0000 Subject: Quick hack to clear screen before updating git-svn-id: svn://svn.rockbox.org/rockbox/trunk@145 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/lcd-x11.c | 42 +++++++++++++++++++++++------------------- 1 file changed, 23 insertions(+), 19 deletions(-) (limited to 'uisimulator') diff --git a/uisimulator/lcd-x11.c b/uisimulator/lcd-x11.c index 9acbf00c91..cd2b22b354 100644 --- a/uisimulator/lcd-x11.c +++ b/uisimulator/lcd-x11.c @@ -39,29 +39,33 @@ #include "lcd-x11.h" extern unsigned char display[LCD_WIDTH][LCD_HEIGHT/8]; +extern void screen_resized(int width, int height); +extern Display *dpy; void lcd_update (void) { - int x, y; - int p=0; - int bit; - XPoint points[LCD_WIDTH * LCD_HEIGHT]; + int x, y; + int p=0; + int bit; + XPoint points[LCD_WIDTH * LCD_HEIGHT]; - for(y=0; y