2002-04-27 15:20:53 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* __________ __ ___.
|
|
|
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
* \/ \/ \/ \/ \/
|
|
|
|
* $Id$
|
|
|
|
*
|
|
|
|
* Copyright (C) 2002 by Felix Arends
|
|
|
|
*
|
|
|
|
* All files in this archive are subject to the GNU General Public License.
|
|
|
|
* See the file COPYING in the source tree root for full license agreement.
|
|
|
|
*
|
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
* KIND, either express or implied.
|
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
|
2002-04-25 04:41:45 +00:00
|
|
|
#ifndef __LCDWIN32_H__
|
|
|
|
#define __LCDWIN32_H__
|
|
|
|
|
|
|
|
#include "uisw32.h"
|
|
|
|
#include "lcd.h"
|
|
|
|
|
2005-07-06 22:58:02 +00:00
|
|
|
// BITMAPINFO256
|
2002-04-25 04:41:45 +00:00
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
BITMAPINFOHEADER bmiHeader;
|
2005-07-06 22:58:02 +00:00
|
|
|
RGBQUAD bmiColors[256];
|
|
|
|
} BITMAPINFO256;
|
2002-04-25 04:41:45 +00:00
|
|
|
|
2005-11-17 17:25:56 +00:00
|
|
|
#if LCD_DEPTH <= 8
|
2005-11-15 23:37:21 +00:00
|
|
|
extern unsigned char bitmap[LCD_HEIGHT][LCD_WIDTH]; // the ui display
|
2005-11-17 17:25:56 +00:00
|
|
|
#elif LCD_DEPTH <= 16
|
|
|
|
extern unsigned short bitmap[LCD_HEIGHT][LCD_WIDTH]; // the ui display
|
2005-11-15 23:37:21 +00:00
|
|
|
#endif
|
2005-07-06 22:58:02 +00:00
|
|
|
extern BITMAPINFO256 bmi; // bitmap information
|
2002-04-25 04:41:45 +00:00
|
|
|
|
2005-07-08 01:41:12 +00:00
|
|
|
#ifdef HAVE_REMOTE_LCD
|
2005-11-15 23:37:21 +00:00
|
|
|
extern unsigned char remote_bitmap[LCD_REMOTE_HEIGHT][LCD_REMOTE_WIDTH];
|
2005-07-08 01:41:12 +00:00
|
|
|
extern BITMAPINFO256 remote_bmi; // bitmap information
|
|
|
|
#endif
|
|
|
|
|
2005-07-06 22:58:02 +00:00
|
|
|
void simlcdinit(void);
|
2002-04-25 04:41:45 +00:00
|
|
|
|
2003-03-05 22:47:26 +00:00
|
|
|
#endif // #ifndef __LCDWIN32_H__
|