From f7a4b2b0da03d9178975bd612bc5b44e38ee341d Mon Sep 17 00:00:00 2001 From: Kjell Ericson Date: Mon, 28 Oct 2002 20:08:40 +0000 Subject: Changed XPoint to "struct coordinate". New lcd_update for the player simulator. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2764 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/x11/lcd-x11.c | 45 +++++++++++++++++++++++++++++++++++++-------- 1 file changed, 37 insertions(+), 8 deletions(-) (limited to 'uisimulator') diff --git a/uisimulator/x11/lcd-x11.c b/uisimulator/x11/lcd-x11.c index a5cc5c0965..1b9949b26b 100644 --- a/uisimulator/x11/lcd-x11.c +++ b/uisimulator/x11/lcd-x11.c @@ -37,24 +37,23 @@ */ #include "lcd-x11.h" +#include "lcd-playersim.h" extern unsigned char lcd_framebuffer[LCD_WIDTH][LCD_HEIGHT/8]; extern void screen_resized(int width, int height); extern Display *dpy; +#ifdef HAVE_LCD_BITMAP unsigned char lcd_framebuffer_copy[LCD_WIDTH][LCD_HEIGHT/8]; -/* this is in uibasic.c */ -extern void drawdots(int color, XPoint *points, int count); - void lcd_update (void) { int x, y; int p=0; int bit; - XPoint points[LCD_WIDTH * LCD_HEIGHT]; + struct coordinate points[LCD_WIDTH * LCD_HEIGHT]; int cp=0; - XPoint clearpoints[LCD_WIDTH * LCD_HEIGHT]; + struct coordinate clearpoints[LCD_WIDTH * LCD_HEIGHT]; for(y=0; y