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