-
Notifications
You must be signed in to change notification settings - Fork 7
/
uxn32.rc
174 lines (142 loc) · 4.69 KB
/
uxn32.rc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#define APSTUDIO_HIDDEN_SYMBOLS
#include "windows.h"
#undef APSTUDIO_HIDDEN_SYMBOLS
#include "resource.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_UXN32 ICON DISCARDABLE "resources\\uxn32.ico"
IDI_BEETBUG ICON DISCARDABLE "resources\\beetbug.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDC_UXN32 MENU DISCARDABLE
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&Open ROM...", IDM_OPENROM
MENUITEM "&Reload from ROM\tF4", IDM_RELOAD
MENUITEM SEPARATOR
MENUITEM "&Duplicate Uxn\tF2", IDM_CLONEWINDOW
MENUITEM "Close Uxn", IDM_CLOSEWINDOW
MENUITEM SEPARATOR
MENUITEM "E&xit", IDM_EXIT
END
POPUP "&View"
BEGIN
MENUITEM "Toggle &Zoom\tF1", IDM_TOGGLEZOOM
MENUITEM "Toggle Console\tF3", IDM_TOGGLECONSOLE
MENUITEM "Menu Bar\tF10", IDM_TOGGLEMENU, CHECKED
MENUITEM SEPARATOR
MENUITEM "Beetbug\tF5", IDM_OPENBEETBUG
END
POPUP "&Tools"
BEGIN
MENUITEM "&Pause/Unpause\tF9", IDM_PAUSE
END
POPUP "&Help"
BEGIN
MENUITEM "&About...", IDM_ABOUT
END
END
/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//
IDC_UXN32 ACCELERATORS MOVEABLE PURE
BEGIN
"A", IDM_SELECTALL, VIRTKEY, CONTROL, NOINVERT
VK_F1, IDM_TOGGLEZOOM, VIRTKEY, NOINVERT
VK_F10, IDM_TOGGLEMENU, VIRTKEY, NOINVERT
VK_F2, IDM_CLONEWINDOW, VIRTKEY, NOINVERT
VK_F3, IDM_TOGGLECONSOLE, VIRTKEY, NOINVERT
VK_F4, IDM_RELOAD, VIRTKEY, NOINVERT
VK_F5, IDM_OPENBEETBUG, VIRTKEY, NOINVERT
VK_F5, IDM_MOREBUG, VIRTKEY, CONTROL, NOINVERT
VK_F7, IDM_BIGSTEP, VIRTKEY, NOINVERT
VK_F8, IDM_STEP, VIRTKEY, NOINVERT
VK_F9, IDM_PAUSE, VIRTKEY, NOINVERT
END
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_ABOUTBOX DIALOG DISCARDABLE 22, 17, 99, 91
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "About"
FONT 9, "MS Shell Dlg"
BEGIN
ICON IDI_UXN32,IDC_MYICON,5,5,20,20,SS_SUNKEN
LTEXT "Uxn32 Version 2.2\nAndrew Richards",IDC_STATIC,32,7,65,
20,SS_NOPREFIX
LTEXT "Original Uxn:\nDevine Lu Linvega\nAndrew Alderwick\nSigrid Solveig Haflinudottir",
IDC_STATIC,5,33,90,35
DEFPUSHBUTTON "OK",IDOK,60,73,35,14,WS_GROUP
END
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#define APSTUDIO_HIDDEN_SYMBOLS\r\n"
"#include ""windows.h""\r\n"
"#undef APSTUDIO_HIDDEN_SYMBOLS\r\n"
"#include ""resource.h""\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"\r\n"
"\0"
END
1 TEXTINCLUDE DISCARDABLE
BEGIN
"resource.h\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// ROM
//
IDR_DEFAULT_ROM ROM DISCARDABLE "resources\\default.rom"
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
IDS_APP_TITLE "Uxn"
IDC_UXN32 "UXN32"
END
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED