2012-12-19 09:30:18 +00:00
|
|
|
/****************************************************************************
|
|
|
|
* *
|
|
|
|
* Project 64 - A Nintendo 64 emulator. *
|
|
|
|
* http://www.pj64-emu.com/ *
|
|
|
|
* Copyright (C) 2012 Project64. All rights reserved. *
|
|
|
|
* *
|
|
|
|
* License: *
|
|
|
|
* GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html *
|
|
|
|
* *
|
|
|
|
****************************************************************************/
|
|
|
|
#pragma once
|
|
|
|
|
2008-09-18 03:15:49 +00:00
|
|
|
#pragma warning(disable:4786)
|
|
|
|
#include "Support.h"
|
|
|
|
|
|
|
|
#include "Multilanguage.h"
|
|
|
|
#include "Settings.h"
|
|
|
|
|
|
|
|
typedef unsigned char BYTE;
|
|
|
|
typedef unsigned short WORD;
|
|
|
|
typedef unsigned long DWORD;
|
|
|
|
typedef unsigned __int64 QWORD;
|
|
|
|
typedef void * HANDLE;
|
|
|
|
typedef const char * LPCSTR;
|
|
|
|
|
2015-05-04 00:08:53 +00:00
|
|
|
struct RECT_STRUCT
|
2008-09-18 03:15:49 +00:00
|
|
|
{
|
|
|
|
long left;
|
|
|
|
long top;
|
|
|
|
long right;
|
|
|
|
long bottom;
|
2015-05-04 00:08:53 +00:00
|
|
|
};
|
2008-09-18 03:15:49 +00:00
|
|
|
|
2015-05-04 00:08:53 +00:00
|
|
|
struct WINDOWS_PAINTSTRUCT {
|
|
|
|
HDC hdc;
|
|
|
|
int fErase;
|
2008-09-18 03:15:49 +00:00
|
|
|
RECT_STRUCT rcPaint;
|
2015-05-04 00:08:53 +00:00
|
|
|
int fRestore;
|
|
|
|
int fIncUpdate;
|
2008-09-18 03:15:49 +00:00
|
|
|
BYTE rgbReserved[32];
|
2015-05-04 00:08:53 +00:00
|
|
|
};
|
2008-09-18 03:15:49 +00:00
|
|
|
|
|
|
|
#define CALLBACK __stdcall
|
|
|
|
|
|
|
|
class CN64System;
|
|
|
|
|
2015-09-07 19:47:58 +00:00
|
|
|
#define WINDOWS_UI
|
|
|
|
// Remove this to test compilation outside of the Windows ATL environment.
|
|
|
|
|
|
|
|
#ifdef WINDOWS_UI
|
2008-11-14 20:51:06 +00:00
|
|
|
#include <WTL App.h>
|
2015-09-07 19:47:58 +00:00
|
|
|
#endif
|
2008-11-14 20:51:06 +00:00
|
|
|
#include <User Interface/MenuShortCuts.h>
|
2015-09-07 19:47:58 +00:00
|
|
|
|
2008-09-18 03:15:49 +00:00
|
|
|
#include ".\\User Interface\\Rom Browser.h"
|
|
|
|
#include ".\\User Interface\\Gui Class.h"
|
|
|
|
#include ".\\User Interface\\Menu Class.h"
|
|
|
|
#include ".\\User Interface\\Main Menu Class.h"
|
|
|
|
#include ".\\User Interface\\Notification Class.h"
|
|
|
|
#include ".\\User Interface\\Frame Per Second Class.h"
|
|
|
|
#include ".\\User Interface\\resource.h"
|
2015-09-07 19:47:58 +00:00
|
|
|
#ifdef WINDOWS_UI
|
2010-05-22 04:47:15 +00:00
|
|
|
#include ".\\User Interface\\Settings Config.h"
|
2015-09-07 19:47:58 +00:00
|
|
|
#endif
|