diff options
Diffstat (limited to 'uisimulator/common/lcd-playersim.h')
-rw-r--r-- | uisimulator/common/lcd-playersim.h | 28 |
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 | ||
20 | struct 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 |
24 | struct rectangle { | 24 | #define BORDER_MARGIN 1 |
25 | int x; | ||
26 | int y; | ||
27 | int width; | ||
28 | int height; | ||
29 | }; | ||
30 | |||
31 | void drawdots(int color, struct coordinate *coord, int count); | ||
32 | void drawdot(int color, int x, int y); | ||
33 | void drawrect(int color, int x1, int y1, int x2, int y2); | ||
34 | void drawrectangles(int color, struct rectangle *rects, int count); | ||
35 | |||
36 | |||
37 | void dots(int *colors, struct coordinate *points, int count); | ||
38 | 25 | ||
26 | extern bool sim_lcd_framebuffer[SIM_LCD_HEIGHT][SIM_LCD_WIDTH]; | ||
39 | 27 | ||
28 | void lcd_print_icon(int x, int icon_line, bool enable, char **icon); | ||
29 | void lcd_print_char(int x, int y, unsigned char ch); | ||
30 | void sim_lcd_update_rect(int x, int y, int width, int height); | ||
31 | void sim_lcd_define_pattern(int pat, const char *pattern); | ||