diff options
Diffstat (limited to 'uisimulator/x11/lcd-x11.c')
-rw-r--r-- | uisimulator/x11/lcd-x11.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/uisimulator/x11/lcd-x11.c b/uisimulator/x11/lcd-x11.c index bbec13fc75..d60e2ce0ee 100644 --- a/uisimulator/x11/lcd-x11.c +++ b/uisimulator/x11/lcd-x11.c | |||
@@ -106,21 +106,3 @@ void lcd_update (void) | |||
106 | /* Logf("lcd_update: Draws %d pixels, clears %d pixels", p, cp);*/ | 106 | /* Logf("lcd_update: Draws %d pixels, clears %d pixels", p, cp);*/ |
107 | XSync(dpy,False); | 107 | XSync(dpy,False); |
108 | } | 108 | } |
109 | |||
110 | #ifdef HAVE_LCD_CHARCELLS | ||
111 | /* simulation layer for charcells */ | ||
112 | void lcd_clear_display(void) | ||
113 | { | ||
114 | sim_lcd_clear_display(); | ||
115 | } | ||
116 | |||
117 | void lcd_puts(int x, int y, char *string) | ||
118 | { | ||
119 | char buffer[12]; | ||
120 | strncpy(buffer, string, 11); | ||
121 | buffer[11]=0; | ||
122 | |||
123 | sim_lcd_puts(x, y, buffer, 0); | ||
124 | lcd_update(); | ||
125 | } | ||
126 | #endif | ||