summaryrefslogtreecommitdiff
path: root/uisimulator/common/lcd-playersim.h
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/common/lcd-playersim.h')
-rw-r--r--uisimulator/common/lcd-playersim.h28
1 files changed, 10 insertions, 18 deletions
diff --git a/uisimulator/common/lcd-playersim.h b/uisimulator/common/lcd-playersim.h
index 10267de1f1..763e4159e9 100644
--- a/uisimulator/common/lcd-playersim.h
+++ b/uisimulator/common/lcd-playersim.h
@@ -17,23 +17,15 @@
17 * 17 *
18 ****************************************************************************/ 18 ****************************************************************************/
19 19
20struct coordinate { 20#define ICON_HEIGHT 12
21 int x; 21#define CHAR_HEIGHT 8
22 int y; 22#define CHAR_WIDTH 6
23}; 23#define CHAR_PIXEL 2
24struct rectangle { 24#define BORDER_MARGIN 1
25 int x;
26 int y;
27 int width;
28 int height;
29};
30
31void drawdots(int color, struct coordinate *coord, int count);
32void drawdot(int color, int x, int y);
33void drawrect(int color, int x1, int y1, int x2, int y2);
34void drawrectangles(int color, struct rectangle *rects, int count);
35
36
37void dots(int *colors, struct coordinate *points, int count);
38 25
26extern bool sim_lcd_framebuffer[SIM_LCD_HEIGHT][SIM_LCD_WIDTH];
39 27
28void lcd_print_icon(int x, int icon_line, bool enable, char **icon);
29void lcd_print_char(int x, int y, unsigned char ch);
30void sim_lcd_update_rect(int x, int y, int width, int height);
31void sim_lcd_define_pattern(int pat, const char *pattern);