summaryrefslogtreecommitdiff
path: root/uisimulator/win32/uisw32.h
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/win32/uisw32.h')
-rw-r--r--uisimulator/win32/uisw32.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/uisimulator/win32/uisw32.h b/uisimulator/win32/uisw32.h
new file mode 100644
index 0000000000..c1001d7222
--- /dev/null
+++ b/uisimulator/win32/uisw32.h
@@ -0,0 +1,39 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 *
9 * Copyright (C) 2002 by Felix Arends
10 *
11 * All files in this archive are subject to the GNU General Public License.
12 * See the file COPYING in the source tree root for full license agreement.
13 *
14 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
15 * KIND, either express or implied.
16 *
17 ****************************************************************************/
18
19#ifndef __UISW32_H__
20#define __UISW32_H__
21
22#include <windows.h>
23#include "lcd-win32.h"
24
25#define UI_WIDTH 240 // width of GUI window
26#define UI_HEIGHT 360 // height of GUI window
27#define UI_LCD_COLOR 46, 57, 49 // bkgnd color of LCD
28#define UI_LCD_BLACK RGB (0, 0, 0) // black
29#define UI_LCD_POSX 59 // x position of lcd
30#define UI_LCD_POSY 95 // y position of lcd
31
32extern HWND hGUIWnd; // the GUI window handle
33extern unsigned int uThreadID; // id of mod thread
34
35// typedefs
36typedef unsigned char uchar;
37typedef unsigned int uint32;
38
39#endif // #ifndef __UISW32_H__ \ No newline at end of file