Felix Arends | a6ca085 | 2002-04-27 15:20:53 +0000 | [diff] [blame] | 1 | /*************************************************************************** |
| 2 | * __________ __ ___. |
| 3 | * Open \______ \ ____ ____ | | _\_ |__ _______ ___ |
| 4 | * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / |
| 5 | * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < |
| 6 | * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ |
| 7 | * \/ \/ \/ \/ \/ |
| 8 | * $Id$ |
| 9 | * |
| 10 | * Copyright (C) 2002 by Felix Arends |
| 11 | * |
| 12 | * All files in this archive are subject to the GNU General Public License. |
| 13 | * See the file COPYING in the source tree root for full license agreement. |
| 14 | * |
| 15 | * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY |
| 16 | * KIND, either express or implied. |
| 17 | * |
| 18 | ****************************************************************************/ |
| 19 | |
Felix Arends | 144bc70 | 2002-04-25 04:41:45 +0000 | [diff] [blame] | 20 | #ifndef __LCDWIN32_H__ |
| 21 | #define __LCDWIN32_H__ |
| 22 | |
| 23 | #include "uisw32.h" |
| 24 | #include "lcd.h" |
| 25 | |
| 26 | // BITMAPINFO2 |
| 27 | typedef struct |
| 28 | { |
| 29 | BITMAPINFOHEADER bmiHeader; |
| 30 | RGBQUAD bmiColors[2]; |
| 31 | } BITMAPINFO2; |
| 32 | |
| 33 | #ifdef HAVE_LCD_BITMAP |
| 34 | |
Felix Arends | a6ca085 | 2002-04-27 15:20:53 +0000 | [diff] [blame] | 35 | extern unsigned char display[LCD_WIDTH][LCD_HEIGHT/8]; // the display |
Felix Arends | 144bc70 | 2002-04-25 04:41:45 +0000 | [diff] [blame] | 36 | #else |
| 37 | #define DISP_X 112 |
| 38 | #define DISP_Y 64 |
| 39 | #endif |
| 40 | |
| 41 | |
Felix Arends | ffb9e3a | 2002-04-27 17:02:17 +0000 | [diff] [blame] | 42 | extern char bitmap[LCD_HEIGHT][LCD_WIDTH]; // the ui display |
Felix Arends | 144bc70 | 2002-04-25 04:41:45 +0000 | [diff] [blame] | 43 | extern BITMAPINFO2 bmi; // bitmap information |
| 44 | |
| 45 | |
Daniel Stenberg | ed87c77 | 2003-03-05 22:47:26 +0000 | [diff] [blame] | 46 | #endif // #ifndef __LCDWIN32_H__ |