-
Notifications
You must be signed in to change notification settings - Fork 0
/
grapher.rc
292 lines (240 loc) · 7.01 KB
/
grapher.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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "afxres.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// English (United States) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE
BEGIN
"#include ""afxres.h""\r\n"
"\0"
END
3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Toolbar
//
IDR_TOOLBAR_MAIN TOOLBAR 16, 16
BEGIN
BUTTON ID_BUTTON_SAVE
BUTTON ID_BUTTON_CLEAR
BUTTON ID_BUTTON_GRAPH
END
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
IDR_MENU_MAIN MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&Save As", ID_FILE_SAVEAS
MENUITEM "E&xit", ID_FILE_EXIT
END
POPUP "&Options"
BEGIN
MENUITEM "&Colors", ID_OPTIONS_COLORS
MENUITEM "&Graphing", ID_OPTIONS_GRAPHING
END
POPUP "&Help"
BEGIN
MENUITEM "&About", ID_HELP_ABOUT
END
END
/////////////////////////////////////////////////////////////////////////////
//
// Accelerator
//
IDR_ACCELERATOR ACCELERATORS
BEGIN
"F", ID_FILE, VIRTKEY, ALT, NOINVERT
"X", ID_FILE_EXIT, VIRTKEY, ALT, NOINVERT
END
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
IDD_ABOUT DIALOGEX 20, 20, 200, 75
STYLE DS_LOCALEDIT | DS_SETFONT | DS_MODALFRAME | WS_CAPTION
CAPTION "About Grapher"
FONT 8, "MS Sans Serif", 0, 0, 0x0
BEGIN
PUSHBUTTON "OK",IDOK,144,55,50,14
LTEXT "Grapher\n2022 Charles Hall",IDC_STATIC,62,33,72,17
END
IDD_COLORS DIALOGEX 0, 0, 175, 152
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Colors"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "OK",IDOK,119,132,50,14
PUSHBUTTON "Cancel",IDCANCEL,63,132,50,14
PUSHBUTTON "Default",IDC_BUTTON_DEFAULT,6,132,50,14
GROUPBOX "Click button to change color",IDC_STATIC,27,19,121,101
LTEXT "Paper Color",IDC_STATIC,38,43,38,8
PUSHBUTTON "",IDC_BUTTON_PAPER_COLOR,84,41,14,13,0,WS_EX_CLIENTEDGE
LTEXT "Axis Color",IDC_STATIC,38,61,38,8
PUSHBUTTON "",IDC_BUTTON_AXIS_COLOR,84,59,14,13,0,WS_EX_CLIENTEDGE
LTEXT "Dots Color",IDC_STATIC,38,80,38,8
PUSHBUTTON "",IDC_BUTTON_DOTS_COLOR,84,78,14,13,0,WS_EX_CLIENTEDGE
LTEXT "Graph Color",IDC_STATIC,38,98,38,8
PUSHBUTTON "",IDC_BUTTON_GRAPH_COLOR,84,96,14,13,0,WS_EX_CLIENTEDGE
END
IDD_GRAPHOPT DIALOGEX 0, 0, 175, 122
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Graphing Options"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "OK",IDOK,118,101,50,14
PUSHBUTTON "Cancel",IDCANCEL,62,101,50,14
PUSHBUTTON "Default", IDC_BUTTON_DEFAULT, 7, 101, 50, 14
LTEXT "Accuracy:", IDC_STATIC, 13, 20, 33, 8
COMBOBOX IDC_COMBO1, 50, 18, 112, 70, CBS_DROPDOWNLIST | WS_TABSTOP
EDITTEXT IDC_PIXELSINONE,75,45,36,12,ES_NUMBER
CONTROL "Spin1",IDC_SPIN2,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS,115,45,11,13
LTEXT "1 x unit =",IDC_STATIC,45,47,30,8
LTEXT "pixels",IDC_STATIC,117,47,18,8
EDITTEXT IDC_PIXELSINONE2,75,65,36,12,ES_NUMBER
CONTROL "Spin1",IDC_SPIN3,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS,115,65,11,13
LTEXT "1 y unit =",IDC_STATIC,45,68,30,8
LTEXT "pixels",IDC_STATIC,117,68,18,8
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO
BEGIN
IDD_ABOUT, DIALOG
BEGIN
LEFTMARGIN, 7
TOPMARGIN, 7
END
IDD_COLORS, DIALOG
BEGIN
LEFTMARGIN, 7
RIGHTMARGIN, 168
TOPMARGIN, 7
BOTTOMMARGIN, 145
END
IDD_GRAPHOPT, DIALOG
BEGIN
LEFTMARGIN, 7
TOPMARGIN, 7
END
END
#endif // APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,0,1
PRODUCTVERSION 1,0,0,1
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
#else
FILEFLAGS 0x0L
#endif
FILEOS 0x40004L
FILETYPE 0x1L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", " "
VALUE "FileDescription", "grapher"
VALUE "FileVersion", "1, 0, 0, 1"
VALUE "InternalName", "grapher"
VALUE "LegalCopyright", "Copyright © 2005"
VALUE "OriginalFilename", "grapher.exe"
VALUE "ProductName", " grapher"
VALUE "ProductVersion", "1, 0, 0, 1"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END
/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//
IDR_TOOLBAR_MAIN BITMAP "toolbar.bmp"
/////////////////////////////////////////////////////////////////////////////
//
// AFX_DIALOG_LAYOUT
//
IDD_ABOUT AFX_DIALOG_LAYOUT
BEGIN
0
END
IDD_COLORS AFX_DIALOG_LAYOUT
BEGIN
0
END
IDD_GRAPHOPT AFX_DIALOG_LAYOUT
BEGIN
0
END
/////////////////////////////////////////////////////////////////////////////
//
// Icon
//
// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ICON1 ICON "grapher.ico"
/////////////////////////////////////////////////////////////////////////////
//
// Dialog Info
//
IDD_GRAPHOPT DLGINIT
BEGIN
IDC_COMBO1, 0x403, 4, 0
0x2e30, 0x0031,
IDC_COMBO1, 0x403, 5, 0
0x2e30, 0x3130, "\000"
IDC_COMBO1, 0x403, 6, 0
0x2e30, 0x3030, 0x0031,
IDC_COMBO1, 0x403, 7, 0
0x2e30, 0x3030, 0x3130, "\000"
0
END
#endif // English (United States) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED