Add OS/2 resources

This commit is contained in:
David Schmidt 2010-04-22 02:41:21 +00:00
parent d2bf79bb7c
commit acb2bce28e
3 changed files with 84 additions and 0 deletions

42
src/arch/os2/gsportos2.h Normal file
View File

@ -0,0 +1,42 @@
/*
GSport - an Apple //gs Emulator
Copyright (C) 2010 by GSport contributors
Based on the KEGS emulator written by and Copyright (C) 2003 Kent Dickey
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.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
/*
* Function prototypes
*/
MRESULT EXPENTRY MyWindowProc( HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2 );
VOID AbortHello(HWND hwndFrame, HWND hwndClient);
#define MSGBOXID 1001
#define ID_WINDOW 256
#define ID_OPTIONS 257
#define ID_OPTION1 258
#define ID_OPTION2 259
#define ID_OPTION3 260
#define ID_EXITPROG 261
#define IDS_HELLO 262
#define IDS_1 263
#define IDS_2 264
#define IDS_3 265

BIN
src/arch/os2/gsportos2.ico Normal file

Binary file not shown.

42
src/arch/os2/gsportos2.rc Normal file
View File

@ -0,0 +1,42 @@
/**/
#include <os2.h>
#include "gsportos2.h"
ICON ID_WINDOW gsportos2.ico
MENU ID_WINDOW PRELOAD
BEGIN
SUBMENU "~Options", ID_OPTIONS
BEGIN
MENUITEM "Option ~1\tCtrl+A", ID_OPTION1, MIS_TEXT
MENUITEM "Option ~2\tCtrl+B", ID_OPTION2, MIS_TEXT
MENUITEM "Option ~3\tCtrl+C", ID_OPTION3, MIS_TEXT
END
END
ACCELTABLE ID_WINDOW PRELOAD
BEGIN
"a", ID_OPTION1, CONTROL
"b", ID_OPTION2, CONTROL
"c", ID_OPTION3, CONTROL
"A", ID_OPTION1, CONTROL
"B", ID_OPTION2, CONTROL
"C", ID_OPTION3, CONTROL
"a", ID_OPTION1, CONTROL, SHIFT
"b", ID_OPTION2, CONTROL, SHIFT
"c", ID_OPTION3, CONTROL, SHIFT
"A", ID_OPTION1, CONTROL, SHIFT
"B", ID_OPTION2, CONTROL, SHIFT
"C", ID_OPTION3, CONTROL, SHIFT
VK_F3, ID_EXITPROG, VIRTUALKEY
END
STRINGTABLE PRELOAD
BEGIN
IDS_HELLO, "Hello"
IDS_1, "--1-- "
IDS_2, "--2-- "
IDS_3, "--3-- "
END