2002-10-28 20:18:17 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* __________ __ ___.
|
|
|
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
* \/ \/ \/ \/ \/
|
|
|
|
* $Id$
|
|
|
|
*
|
|
|
|
* Copyright (C) 2002 by Kjell Ericson
|
|
|
|
*
|
2008-06-28 18:10:04 +00:00
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
2002-10-28 20:18:17 +00:00
|
|
|
*
|
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
* KIND, either express or implied.
|
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
|
2007-03-31 09:58:49 +00:00
|
|
|
#define ICON_HEIGHT 12
|
|
|
|
#define CHAR_HEIGHT 8
|
2018-07-25 18:16:02 +00:00
|
|
|
|
|
|
|
#ifdef CHAR_WIDTH
|
|
|
|
#undef CHAR_WIDTH
|
|
|
|
#endif
|
|
|
|
|
2007-03-31 09:58:49 +00:00
|
|
|
#define CHAR_WIDTH 6
|
|
|
|
#define CHAR_PIXEL 2
|
|
|
|
#define BORDER_MARGIN 1
|
2005-07-14 10:02:04 +00:00
|
|
|
|
2007-03-31 09:58:49 +00:00
|
|
|
extern bool sim_lcd_framebuffer[SIM_LCD_HEIGHT][SIM_LCD_WIDTH];
|
2005-07-14 10:02:04 +00:00
|
|
|
|
2007-03-31 09:58:49 +00:00
|
|
|
void lcd_print_icon(int x, int icon_line, bool enable, char **icon);
|
|
|
|
void lcd_print_char(int x, int y, unsigned char ch);
|
|
|
|
void sim_lcd_update_rect(int x, int y, int width, int height);
|
|
|
|
void sim_lcd_define_pattern(int pat, const char *pattern);
|