Fix unintentional usage of relatively unknown C features (FS#10119, found by Tomer...
[kugel-rb.git] / uisimulator / common / lcd-playersim.h
blob2225172c4ea80e8048cf65e87fa04ffbad0ff9fa
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
10 * Copyright (C) 2002 by Kjell Ericson
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
20 ****************************************************************************/
22 #define ICON_HEIGHT 12
23 #define CHAR_HEIGHT 8
24 #define CHAR_WIDTH 6
25 #define CHAR_PIXEL 2
26 #define BORDER_MARGIN 1
28 extern bool sim_lcd_framebuffer[SIM_LCD_HEIGHT][SIM_LCD_WIDTH];
30 void lcd_print_icon(int x, int icon_line, bool enable, char **icon);
31 void lcd_print_char(int x, int y, unsigned char ch);
32 void sim_lcd_update_rect(int x, int y, int width, int height);
33 void sim_lcd_define_pattern(int pat, const char *pattern);