OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [insight/] [tk/] [mac/] [tkMacResource.r] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 578 markom
/*
2
 * tkMacResources.r --
3
 *
4
 *      This file creates resources for use in a simple shell.
5
 *      This is designed to be an example of using the Tcl/Tk
6
 *      libraries in a Macintosh Application.
7
 *
8
 * Copyright (c) 1993-1994 Lockheed Missle & Space Company, AI Center
9
 * Copyright (c) 1995-1997 Sun Microsystems, Inc.
10
 *
11
 * See the file "license.terms" for information on usage and redistribution
12
 * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
13
 *
14
 * RCS: @(#) $Id: tkMacResource.r,v 1.1.1.1 2002-01-16 10:25:57 markom Exp $
15
 */
16
 
17
/*
18
 * We define SystemSevenOrLater so that our dialogs may use the
19
 * auto center feature.
20
 */
21
#define SystemSevenOrLater 1
22
 
23
#include 
24
#include 
25
 
26
/*
27
 * The folowing include and defines help construct
28
 * the version string for Tcl.
29
 */
30
 
31
#define RESOURCE_INCLUDED
32
#include "tcl.h"
33
#include "tk.h"
34
 
35
#if (TK_RELEASE_LEVEL == 0)
36
#   define RELEASE_LEVEL alpha
37
#elif (TK_RELEASE_LEVEL == 1)
38
#   define RELEASE_LEVEL beta
39
#elif (TK_RELEASE_LEVEL == 2)
40
#   define RELEASE_LEVEL final
41
#endif
42
 
43
#if (TK_RELEASE_LEVEL == 2)
44
#   define MINOR_VERSION (TK_MINOR_VERSION * 16) + TK_RELEASE_SERIAL
45
#else
46
#   define MINOR_VERSION TK_MINOR_VERSION * 16
47
#endif
48
 
49
resource 'vers' (1) {
50
        TK_MAJOR_VERSION, MINOR_VERSION,
51
        RELEASE_LEVEL, 0x00, verUS,
52
        TK_PATCH_LEVEL,
53
        TK_PATCH_LEVEL ", by Ray Johnson © 1993-1996" "\n" "Sun Microsystems Labratories"
54
};
55
 
56
resource 'vers' (2) {
57
        TK_MAJOR_VERSION, MINOR_VERSION,
58
        RELEASE_LEVEL, 0x00, verUS,
59
        TK_PATCH_LEVEL,
60
        "Wish " TK_PATCH_LEVEL " © 1993-1996"
61
};
62
 
63
 
64
/*
65
 * The mechanisim below loads Tcl source into the resource fork of the
66
 * application.  The example below creates a TEXT resource named
67
 * "Init" from the file "init.tcl".  This allows applications to use
68
 * Tcl to define the behavior of the application without having to
69
 * require some predetermined file structure - all needed Tcl "files"
70
 * are located within the application.  To source a file for the
71
 * resource fork the source command has been modified to support
72
 * sourcing from resources.  In the below case "source -rsrc {Init}"
73
 * will load the TEXT resource named "Init".
74
 */
75
 
76
read 'TEXT' (0, "Init", purgeable, preload)
77
        ":::tcl" TCL_VERSION ":library:init.tcl";
78
read 'TEXT' (1, "History", purgeable, preload)
79
        ":::tcl" TCL_VERSION ":library:history.tcl";
80
read 'TEXT' (2, "Word", purgeable,preload)
81
        ":::tcl" TCL_VERSION ":library:word.tcl";
82
 
83
read 'TEXT' (10, "tk", purgeable, preload) "::library:tk.tcl";
84
read 'TEXT' (11, "button", purgeable, preload) "::library:button.tcl";
85
read 'TEXT' (12, "dialog", purgeable, preload) "::library:dialog.tcl";
86
read 'TEXT' (13, "entry", purgeable, preload) "::library:entry.tcl";
87
read 'TEXT' (14, "focus", purgeable, preload) "::library:focus.tcl";
88
read 'TEXT' (15, "listbox", purgeable, preload) "::library:listbox.tcl";
89
read 'TEXT' (16, "menu", purgeable, preload) "::library:menu.tcl";
90
read 'TEXT' (17, "optionMenu", purgeable, preload) "::library:optMenu.tcl";
91
read 'TEXT' (18, "palette", purgeable, preload) "::library:palette.tcl";
92
read 'TEXT' (19, "scale", purgeable, preload) "::library:scale.tcl";
93
read 'TEXT' (20, "scrollbar", purgeable, preload) "::library:scrlbar.tcl";
94
read 'TEXT' (21, "tearoff", purgeable, preload) "::library:tearoff.tcl";
95
read 'TEXT' (22, "text", purgeable, preload) "::library:text.tcl";
96
read 'TEXT' (23, "tkerror", purgeable, preload) "::library:bgerror.tcl";
97
read 'TEXT' (24, "Console", purgeable, preload) "::library:console.tcl";
98
read 'TEXT' (25, "msgbox", purgeable, preload) "::library:msgbox.tcl";
99
read 'TEXT' (26, "comdlg", purgeable, preload) "::library:comdlg.tcl";
100
 
101
/*
102
 * The following resource is used when creating the 'env' variable in
103
 * the Macintosh environment.  The creation mechanisim looks for the
104
 * 'STR#' resource named "Tcl Environment Variables" rather than a
105
 * specific resource number.  (In other words, feel free to change the
106
 * resource id if it conflicts with your application.)  Each string in
107
 * the resource must be of the form "KEYWORD=SOME STRING".  See Tcl
108
 * documentation for futher information about the env variable.
109
 */
110
 
111
/* A good example of something you may want to set is:
112
 * "TCL_LIBRARY=My disk:etc."
113
 */
114
 
115
resource 'STR#' (128, "Tcl Environment Variables") {
116
        {       "SCHEDULE_NAME=Agent Controller Schedule",
117
                "SCHEDULE_PATH=Lozoya:System Folder:Tcl Lib:Tcl-Scheduler"
118
        };
119
};
120
 
121
/*
122
 * The following two resources define the default "About Box" for Mac Tk.
123
 * This dialog appears if the "About Tk..." menu item is selected from
124
 * the Apple menu.  This dialog may be overridden by defining a Tcl procedure
125
 * with the name of "tkAboutDialog".  If this procedure is defined the
126
 * default dialog will not be shown and the Tcl procedure is expected to
127
 * create and manage an About Dialog box.
128
 */
129
 
130
resource 'DLOG' (128, "Default About Box", purgeable) {
131
    {85, 107, 243, 406}, dBoxProc, visible, goAway, 0,
132
     128, "", centerMainScreen
133
};
134
 
135
resource 'DITL' (128, "About Box", purgeable) {
136
    {
137
        {128, 128, 148, 186}, Button        {enabled, "Ok"},
138
        { 14, 108, 117, 310}, StaticText    {disabled,
139
            "Wish - Windowing Shell" "\n" "based on Tcl "
140
            TCL_PATCH_LEVEL " & Tk " TK_PATCH_LEVEL "\n\n" "Ray Johnson" "\n"
141
            "Sun Microsystems Labs" "\n" "ray.johnson@eng.sun.com"},
142
        { 11,  24, 111,  92}, Picture  {enabled, 128}
143
    }
144
};
145
 
146
data 'PICT' (128) {
147
        $"13A4 0000 0000 0064 0044 0011 02FF 0C00"
148
        $"FFFE 0000 0048 0000 0048 0000 0000 0000"
149
        $"0064 0044 0000 0000 0001 000A 0000 0000"
150
        $"0064 0044 0099 8044 0000 0000 0064 0044"
151
        $"0000 0000 0000 0000 0048 0000 0048 0000"
152
        $"0000 0008 0001 0008 0000 0000 0108 00D8"
153
        $"0000 0000 0001 5A5A 8000 00FF 3736 FF00"
154
        $"FF00 FF00 3535 FF00 FF00 CC00 3434 FF00"
155
        $"FF00 9900 3333 FF00 FF00 6600 3736 FF00"
156
        $"FF00 3300 3535 FF00 FF00 0000 3434 FF00"
157
        $"CC00 FF00 3333 FF00 CC00 CC00 3736 FF00"
158
        $"CC00 9900 3535 FF00 CC00 6600 FAFA FF00"
159
        $"CC00 3300 3333 FF00 CC00 0000 3130 FF00"
160
        $"9900 FF00 2F2F FF00 9900 CC00 FAFA FF00"
161
        $"9900 9900 F9F9 FF00 9900 6600 3130 FF00"
162
        $"9900 3300 2F2F FF00 9900 0000 2E2E FF00"
163
        $"6600 FF00 F9F9 FF00 6600 CC00 3130 FF00"
164
        $"6600 9900 2F2F FF00 6600 6600 2E2E FF00"
165
        $"6600 3300 2D2D FF00 6600 0000 3130 FF00"
166
        $"3300 FF00 2F2F FF00 3300 CC00 2E2E FF00"
167
        $"3300 9900 2D2D FF00 3300 6600 3130 FF00"
168
        $"3300 3300 2F2F FF00 3300 0000 2E2E FF00"
169
        $"0000 FF00 2D2D FF00 0000 CC00 3130 FF00"
170
        $"0000 9900 2F2F FF00 0000 6600 2E2E FF00"
171
        $"0000 3300 2DF8 FF00 0000 0000 2B2A CC00"
172
        $"FF00 FF00 2929 CC00 FF00 CC00 2828 CC00"
173
        $"FF00 9900 27F8 CC00 FF00 6600 2B2A CC00"
174
        $"FF00 3300 2929 CC00 FF00 0000 2828 CC00"
175
        $"CC00 FF00 2727 CC00 CC00 CC00 2B2A CC00"
176
        $"CC00 9900 2929 CC00 CC00 6600 2828 CC00"
177
        $"CC00 3300 2727 CC00 CC00 0000 2B2A CC00"
178
        $"9900 FF00 2929 CC00 9900 CC00 2828 CC00"
179
        $"9900 9900 2727 CC00 9900 6600 DBDB CC00"
180
        $"9900 3300 4747 CC00 9900 0000 4646 CC00"
181
        $"6600 FF00 4545 CC00 6600 CC00 DBDB CC00"
182
        $"6600 9900 4747 CC00 6600 6600 4646 CC00"
183
        $"6600 3300 4545 CC00 6600 0000 DBDB CC00"
184
        $"3300 FF00 4747 CC00 3300 CC00 4646 CC00"
185
        $"3300 9900 4545 CC00 3300 6600 DBDB CC00"
186
        $"3300 3300 4141 CC00 3300 0000 4040 CC00"
187
        $"0000 FF00 3F3F CC00 0000 CC00 4342 CC00"
188
        $"0000 9900 4141 CC00 0000 6600 4040 CC00"
189
        $"0000 3300 3F3F CC00 0000 0000 4342 9900"
190
        $"FF00 FF00 4141 9900 FF00 CC00 4040 9900"
191
        $"FF00 9900 3F3F 9900 FF00 6600 4342 9900"
192
        $"FF00 3300 4141 9900 FF00 0000 4040 9900"
193
        $"CC00 FF00 3F3F 9900 CC00 CC00 4342 9900"
194
        $"CC00 9900 4141 9900 CC00 6600 4040 9900"
195
        $"CC00 3300 3F3F 9900 CC00 0000 4342 9900"
196
        $"9900 FF00 4141 9900 9900 CC00 4040 9900"
197
        $"9900 9900 3F3F 9900 9900 6600 3D3C 9900"
198
        $"9900 3300 3B3B 9900 9900 0000 3A3A 9900"
199
        $"6600 FF00 3939 9900 6600 CC00 3D3C 9900"
200
        $"6600 9900 3B3B 9900 6600 6600 3A3A 9900"
201
        $"6600 3300 3939 9900 6600 0000 3D3C 9900"
202
        $"3300 FF00 3B3B 9900 3300 CC00 3A3A 9900"
203
        $"3300 9900 3939 9900 3300 6600 3D3C 9900"
204
        $"3300 3300 3B3B 9900 3300 0000 3A3A 9900"
205
        $"0000 FF00 3939 9900 0000 CC00 3D3C 9900"
206
        $"0000 9900 3B3B 9900 0000 6600 3A3A 9900"
207
        $"0000 3300 3939 9900 0000 0000 3D3C 6600"
208
        $"FF00 FF00 3B3B 6600 FF00 CC00 3A3A 6600"
209
        $"FF00 9900 3939 6600 FF00 6600 3D3C 6600"
210
        $"FF00 3300 3B3B 6600 FF00 0000 3A3A 6600"
211
        $"CC00 FF00 3939 6600 CC00 CC00 3736 6600"
212
        $"CC00 9900 3535 6600 CC00 6600 3434 6600"
213
        $"CC00 3300 3333 6600 CC00 0000 3736 6600"
214
        $"9900 FF00 3535 6600 9900 CC00 3434 6600"
215
        $"9900 9900 3333 6600 9900 6600 3736 6600"
216
        $"9900 3300 3535 6600 9900 0000 3434 6600"
217
        $"6600 FF00 3333 6600 6600 CC00 3736 6600"
218
        $"6600 9900 3535 6600 6600 6600 3434 6600"
219
        $"6600 3300 3333 6600 6600 0000 3736 6600"
220
        $"3300 FF00 3535 6600 3300 CC00 3434 6600"
221
        $"3300 9900 3333 6600 3300 6600 3736 6600"
222
        $"3300 3300 3535 6600 3300 0000 3434 6600"
223
        $"0000 FF00 3333 6600 0000 CC00 3130 6600"
224
        $"0000 9900 2F2F 6600 0000 6600 2E2E 6600"
225
        $"0000 3300 F9F9 6600 0000 0000 3130 3300"
226
        $"FF00 FF00 2F2F 3300 FF00 CC00 2E2E 3300"
227
        $"FF00 9900 F9F9 3300 FF00 6600 3130 3300"
228
        $"FF00 3300 2F2F 3300 FF00 0000 2E2E 3300"
229
        $"CC00 FF00 2D2D 3300 CC00 CC00 3130 3300"
230
        $"CC00 9900 2F2F 3300 CC00 6600 2E2E 3300"
231
        $"CC00 3300 2D2D 3300 CC00 0000 3130 3300"
232
        $"9900 FF00 2F2F 3300 9900 CC00 2E2E 3300"
233
        $"9900 9900 2D2D 3300 9900 6600 3130 3300"
234
        $"9900 3300 2F2F 3300 9900 0000 2E2E 3300"
235
        $"6600 FF00 2DF8 3300 6600 CC00 2B2A 3300"
236
        $"6600 9900 2929 3300 6600 6600 2828 3300"
237
        $"6600 3300 27F8 3300 6600 0000 2B2A 3300"
238
        $"3300 FF00 2929 3300 3300 CC00 2828 3300"
239
        $"3300 9900 2727 3300 3300 6600 2B2A 3300"
240
        $"3300 3300 2929 3300 3300 0000 2828 3300"
241
        $"0000 FF00 2727 3300 0000 CC00 2B2A 3300"
242
        $"0000 9900 2929 3300 0000 6600 2828 3300"
243
        $"0000 3300 2727 3300 0000 0000 4948 0000"
244
        $"FF00 FF00 4747 0000 FF00 CC00 4646 0000"
245
        $"FF00 9900 4545 0000 FF00 6600 4948 0000"
246
        $"FF00 3300 4747 0000 FF00 0000 4646 0000"
247
        $"CC00 FF00 4545 0000 CC00 CC00 4948 0000"
248
        $"CC00 9900 4747 0000 CC00 6600 4646 0000"
249
        $"CC00 3300 4545 0000 CC00 0000 4342 0000"
250
        $"9900 FF00 4141 0000 9900 CC00 4040 0000"
251
        $"9900 9900 3F3F 0000 9900 6600 4342 0000"
252
        $"9900 3300 4141 0000 9900 0000 4040 0000"
253
        $"6600 FF00 3F3F 0000 6600 CC00 4342 0000"
254
        $"6600 9900 4141 0000 6600 6600 4040 0000"
255
        $"6600 3300 3F3F 0000 6600 0000 4342 0000"
256
        $"3300 FF00 4141 0000 3300 CC00 4040 0000"
257
        $"3300 9900 3F3F 0000 3300 6600 4342 0000"
258
        $"3300 3300 4141 0000 3300 0000 4040 0000"
259
        $"0000 FF00 3F3F 0000 0000 CC00 4342 0000"
260
        $"0000 9900 4141 0000 0000 6600 4040 0000"
261
        $"0000 3300 3F3F EE00 0000 0000 3D3C DD00"
262
        $"0000 0000 3B3B BB00 0000 0000 3A3A AA00"
263
        $"0000 0000 3939 8800 0000 0000 3D3C 7700"
264
        $"0000 0000 3B3B 5500 0000 0000 3A3A 4400"
265
        $"0000 0000 3939 2200 0000 0000 3D3C 1100"
266
        $"0000 0000 3B3B 0000 EE00 0000 3A3A 0000"
267
        $"DD00 0000 3939 0000 BB00 0000 3D3C 0000"
268
        $"AA00 0000 3B3B 0000 8800 0000 3A3A 0000"
269
        $"7700 0000 3939 0000 5500 0000 3D3C 0000"
270
        $"4400 0000 3B3B 0000 2200 0000 3A3A 0000"
271
        $"1100 0000 3939 0000 0000 EE00 3D3C 0000"
272
        $"0000 DD00 3B3B 0000 0000 BB00 3A3A 0000"
273
        $"0000 AA00 3939 0000 0000 8800 3D3C 0000"
274
        $"0000 7700 3B3B 0000 0000 5500 3A3A 0000"
275
        $"0000 4400 3939 0000 0000 2200 3736 0000"
276
        $"0000 1100 3535 EE00 EE00 EE00 3434 DD00"
277
        $"DD00 DD00 3333 BB00 BB00 BB00 3736 AA00"
278
        $"AA00 AA00 3535 8800 8800 8800 3434 7700"
279
        $"7700 7700 3333 5500 5500 5500 3736 4400"
280
        $"4400 4400 3535 2200 2200 2200 3434 1100"
281
        $"1100 1100 3333 0000 0000 0000 0000 0000"
282
        $"0064 0044 0000 0000 0064 0044 0000 000A"
283
        $"0000 0000 0064 0044 02BD 0013 E800 01F5"
284
        $"F6FE 07FE 0E02 3232 33FD 3900 0EE6 001D"
285
        $"FC00 01F5 F5FE 0700 08FE 0E02 3232 33FE"
286
        $"3900 3AFC 40F2 4102 4033 07E9 0017 0100"
287
        $"0EFC 40DC 4102 390E F5F5 0002 F5F5 F6FE"
288
        $"0702 0E07 0016 0100 32D5 4104 4039 0E32"
289
        $"33FD 3900 3AFC 40FC 4101 3200 0801 000E"
290
        $"C141 010E 0008 0100 0EC1 4101 0800 0801"
291
        $"000E C141 0107 0008 0100 0EC1 4101 0700"
292
        $"0901 0007 C241 0240 F500 0E01 0007 E841"
293
        $"0147 47DD 4102 4000 0012 0100 07F0 4100"
294
        $"47FA 4101 3B3B DD41 0240 0000 1901 0007"
295
        $"F141 0C47 3B0B 3B47 4141 4711 0505 3B47"
296
        $"DF41 023A 0000 1701 00F6 F041 010B 0BFE"
297
        $"4105 473B 0505 113B DE41 0239 0000 1A02"
298
        $"00F5 40F3 410C 473B 053B 4741 4741 0B0B"
299
        $"3B47 47DE 4102 3900 0018 0200 F540 F341"
300
        $"0247 110B FE41 0447 1105 4147 DC41 0233"
301
        $"0000 1B02 0000 40F3 4103 4711 1147 FE41"
302
        $"0205 3547 F741 FD47 E941 0232 0000 1E02"
303
        $"0000 40F2 4106 113B 4741 4735 0BF7 4106"
304
        $"4741 390E 0E40 47EA 4102 0E00 0021 0200"
305
        $"0040 F241 0711 3B47 4141 0B35 47F9 4102"
306
        $"4740 07FE 0002 F640 47EB 4102 0E00 0023"
307
        $"0200 0040 F341 0847 3541 4147 3B05 4147"
308
        $"FA41 0947 3AF6 00F5 4F55 F50E 47EB 4102"
309
        $"0700 0022 0200 003A F341 0147 3BFE 4101"
310
        $"0B0B F941 0547 3AF5 0055 C8FE CE01 5640"
311
        $"EB41 0207 0000 1F02 0000 39F0 4104 4741"
312
        $"053B 47FB 4104 4740 F5F5 A4FC CE01 C85D"
313
        $"EB41 02F6 0000 1F02 0000 39F0 4104 473B"
314
        $"0541 47FC 4104 4740 07F6 C8FA CE00 64EC"
315
        $"4103 40F5 0000 1C02 0000 39F0 4102 4711"
316
        $"0BFA 4103 4708 2AC8 FACE 0164 D8EC 4100"
317
        $"40FE 0025 0200 0039 EF41 020B 3B47 FC41"
318
        $"0347 0FF5 A4FB CE02 C887 D8FC 41FE 47FC"
319
        $"4100 47F9 4100 3AFE 0028 0200 0039 EF41"
320
        $"020B 3B47 FD41 0347 3900 A4FA CE00 ABFA"
321
        $"4109 3B11 3B41 4147 3B0B 3B47 FA41 0039"
322
        $"FE00 2402 0000 33F1 4102 4741 0BFA 4101"
323
        $"0779 F9CE 0064 FA41 0235 050B FD41 010B"
324
        $"0BF9 4100 39FE 0028 0200 0032 F141 0247"
325
        $"3B0B FC41 0247 39F6 F9CE 0187 D8FB 4103"
326
        $"4741 050B FE41 0247 110B F941 0039 FE00"
327
        $"2C02 0000 32F1 4102 473B 11FB 4101 0879"
328
        $"FACE 05AA 4041 4147 47FE 410A 4741 0511"
329
        $"4741 4147 3511 47FA 4100 32FE 002F 0200"
330
        $"000E F141 0347 3B11 47FE 4103 4740 F6C8"
331
        $"FACE 0564 D841 4039 39FE 4104 473B 053B"
332
        $"47FE 4102 3541 47FA 4100 0EFE 0027 0200"
333
        $"000E F141 0347 3B3B 47FE 4102 470F 79FA"
334
        $"CE0C 8741 4032 F500 003A 4741 473B 05F2"
335
        $"4100 0EFE 0027 0200 000E F141 0347 3B3B"
336
        $"47FD 4101 0EA4 FACE 01AB AAFE C808 7900"
337
        $"3947 4147 110B 47F3 4100 07FE 001C 0200"
338
        $"000E EA41 0240 2BC8 F5CE 0881 0033 4741"
339
        $"410B 3B47 F341 0007 FE00 1A02 0000 08EB"
340
        $"4102 473A 55F4 CE06 5D00 3947 4741 0BF1"
341
        $"4100 F6FE 001C 0200 0007 EB41 0247 3979"
342
        $"F4CE 0739 0039 4747 3511 47F3 4101 40F5"
343
        $"FE00 1C02 0000 07EB 4102 4739 A4F5 CE08"
344
        $"AB0E 0040 4741 1141 47F3 4100 40FD 001B"
345
        $"0200 0007 EB41 0247 39A4 F5CE 0787 0707"
346
        $"4147 4111 47F2 4100 40FD 001B 0200 0007"
347
        $"EB41 0247 39C8 F5CE 0763 F532 4747 3B3B"
348
        $"47F2 4100 3AFD 001A 0300 00F6 40EC 4102"
349
        $"4739 C8F5 CE05 39F5 4047 413B F041 0039"
350
        $"FD00 1C03 0000 F540 EB41 0140 C8FD CE01"
351
        $"C8A4 FCCE 03AB 080E 47ED 4100 39FD 001A"
352
        $"FE00 0040 EB41 0040 FCCE 01A4 C8FC CE03"
353
        $"FA07 4047 ED41 0032 FD00 1AFE 0000 40EA"
354
        $"4100 AAFE CE02 87F9 C8FC CE02 560F 47EC"
355
        $"4100 32FD 0019 FE00 0040 EA41 00AB FECE"
356
        $"0264 56C8 FDCE 01C8 32EA 4100 0EFD 001B"
357
        $"FE00 0040 ED41 030E 4047 87FE CE01 4055"
358
        $"FCCE 01FA 40EA 4100 08FD 001A FE00 003A"
359
        $"ED41 0807 0740 FBCE CEAB 3979 FDCE 00AB"
360
        $"E841 0007 FD00 1CFE 0000 3AED 4108 0700"
361
        $"F6A4 CECE 8733 79FD CE02 4147 47EA 4100"
362
        $"07FD 001E FE00 0039 ED41 0807 2AA4 C8CE"
363
        $"CE88 0E9D FECE 0364 1C39 39EB 4101 40F5"
364
        $"FD00 1CFE 0000 39ED 4101 074F FDCE 0264"
365
        $"F7A4 FECE 03AB 80F6 07EB 4100 40FC 001C"
366
        $"FE00 0039 ED41 0108 79FE CE03 AB40 2BA4"
367
        $"FCCE 02F7 0E47 EC41 0040 FC00 1CFE 0000"
368
        $"39ED 4101 0879 FECE 03AB 40F6 C8FC CE02"
369
        $"F615 47EC 4100 40FC 001E FE00 003A EE41"
370
        $"0247 0E79 FECE 03AB 40F5 C8FD CE03 A4F5"
371
        $"3A47 EC41 0040 FC00 1EFE 0000 3AEE 4102"
372
        $"470E 56FE CE03 FB3A F6C8 FDCE 0280 F540"
373
        $"EB41 0140 F5FD 001E FE00 0040 EE41 0947"
374
        $"0F56 CECE C888 39F6 C8FD CE02 5601 40EB"
375
        $"4101 40F5 FD00 1CFE 0000 40EE 4109 4739"
376
        $"32CE CEC8 8839 2AC8 FDCE 0156 07E9 4100"
377
        $"F6FD 001B FE00 0040 EE41 0847 3A32 CECE"
378
        $"C864 152A FCCE 0132 07E9 4100 07FD 001A"
379
        $"FE00 0040 ED41 0740 32AB CEC8 6439 4EFC"
380
        $"CE01 3A07 E941 0007 FD00 1D03 0000 F540"
381
        $"ED41 0740 0EAB CECE 640F 4EFD CE03 AB40"
382
        $"0840 EA41 0007 FD00 1B03 0000 F540 EC41"
383
        $"060F 81CE CE64 334E FDCE 02AB 400E E941"
384
        $"000E FD00 1C02 0000 F6EC 4107 4715 FACE"
385
        $"CE64 334E FDCE 0387 0F0E 47EA 4100 0EFD"
386
        $"001C 0200 0007 EC41 0747 16F9 CEC8 6433"
387
        $"4EFD CE03 6308 4047 EA41 000E FD00 1A02"
388
        $"0000 07EB 4106 40F9 CEC8 6439 4EFD CE02"
389
        $"3940 47E9 4100 32FD 001B 0200 0007 EA41"
390
        $"0539 CECE 8839 F6FE CE04 AB41 4139 40EA"
391
        $"4100 32FD 001C 0200 0007 EB41 0E47 3AC8"
392
        $"CE88 39F6 C8CE CE64 15F6 F540 EA41 0033"
393
        $"FD00 1A02 0000 07EA 410C 40A4 CE87 392A"
394
        $"C8CE AB41 40F8 F6E9 4100 39FD 001B 0200"
395
        $"000E EB41 0D47 41AB C887 39F5 C8CE ABAB"
396
        $"CEA4 07E9 4100 39FD 001C 0200 000E ED41"
397
        $"0947 3939 4787 C8AB 40F5 C8FD CE01 A40E"
398
        $"E941 0039 FD00 1D02 0000 0EED 4109 473A"
399
        $"0007 80CE AB40 F5C8 FDCE 0255 0E47 EA41"
400
        $"0039 FD00 1B02 0000 0EEB 4107 0779 C8CE"
401
        $"CE40 F6A4 FDCE 022B 3947 EA41 003A FD00"
402
        $"1C02 0000 0EEC 4102 4739 79FE CE02 6407"
403
        $"A4FE CE02 A407 40E9 4100 40FD 001A 0200"
404
        $"0032 EA41 0632 A4CE CE88 0879 FECE 02F9"
405
        $"0F47 E941 0040 FD00 1A02 0000 32EB 4107"
406
        $"4740 F7C8 CE87 0E79 FECE 0132 40E8 4100"
407
        $"40FD 0019 0200 0033 EA41 0B47 40F8 C8AB"
408
        $"0E55 CECE 8015 47E8 4100 40FD 0017 0200"
409
        $"0033 E941 0847 40F9 A439 4FCE CE5D E641"
410
        $"0140 F5FE 0014 0200 0039 E841 0647 64FB"
411
        $"392B C8AB E441 00F6 FE00 1102 0000 39E5"
412
        $"4103 40F6 8764 E441 0007 FE00 1E02 0000"
413
        $"39EB 4102 3A0E 0EFD 4102 0740 47F6 4104"
414
        $"400F 0839 47F4 4100 07FE 0027 0200 0039"
415
        $"FB41 0147 47F2 4102 0800 40FE 4102 0839"
416
        $"47FC 4101 4747 FC41 0339 0039 47F4 4100"
417
        $"07FE 0029 0200 0039 FB41 0140 39F3 4109"
418
        $"470E F540 4141 470E 3347 FC41 0139 3AFD"
419
        $"4104 4739 0039 47F4 4100 08FE 0036 0200"
420
        $"003A FC41 0347 0E00 40FC 4102 4741 40FC"
421
        $"4109 470E F540 4141 4733 0E47 FE41 0447"
422
        $"4000 0E47 FE41 0447 3900 3941 FE40 F741"
423
        $"000E FE00 3A02 0000 3AFD 410E 4740 0700"
424
        $"0E40 4741 4147 390E 390E 40FE 4108 470E"
425
        $"F540 4141 4739 0EFC 4103 0F00 0739 FE41"
426
        $"0747 3900 3940 080F 39F7 4100 0EFE 0035"
427
        $"0200 0040 FB41 020E 0040 FE41 0D47 4000"
428
        $"3941 0032 4741 4147 0EF5 40FE 4101 4008"
429
        $"FC41 023A 000E FD41 0547 3900 3939 33F5"
430
        $"4100 0EFE 0039 0200 0040 FC41 0347 0E00"
431
        $"40FE 4106 4732 0040 4139 40FE 4103 470E"
432
        $"F540 FD41 0108 40FE 4104 4740 000E 47FE"
433
        $"4106 4739 0007 F540 47F6 4100 32FE 003A"
434
        $"0200 0040 FC41 0C47 0E00 4047 4141 470E"
435
        $"0040 4747 FD41 0347 0EF5 40FE 410A 470E"
436
        $"3947 4141 4740 000E 47FE 4107 4739 000E"
437
        $"0007 4147 F741 0032 FE00 3802 0000 40FC"
438
        $"4102 470E 00FD 4106 4739 003A 4740 39FE"
439
        $"4102 470E F5FD 410A 4733 3347 4141 4740"
440
        $"000E 47FE 4106 4739 0039 3900 0EF6 4100"
441
        $"33FE 003A 0200 F540 FC41 0447 3200 0E39"
442
        $"FD41 0B0E 0E40 333A 4741 413A 07F5 39FE"
443
        $"4102 473A 0EFD 410F 40F5 0733 4041 4140"
444
        $"0E00 0E40 0700 0E40 F841 0039 FE00 2902"
445
        $"00F5 40FA 4101 3939 FB41 023A 3A40 FD41"
446
        $"FD40 FD41 0240 0E40 FD41 0240 3940 FD41"
447
        $"FA40 F741 0039 FE00 2A01 00F6 F941 0147"
448
        $"47FB 4101 4747 FB41 0147 47FB 4101 3940"
449
        $"FD41 0147 47FB 4100 47FE 4100 47F6 4100"
450
        $"39FE 000D 0100 07E1 4100 40E4 4100 3AFE"
451
        $"0009 0100 07C3 4100 3AFE 0009 0100 07C3"
452
        $"4100 40FE 0009 0100 07C3 4100 40FE 0009"
453
        $"0100 07C3 4100 40FE 000A 0100 0EC3 4103"
454
        $"40F5 0000 0901 000E C241 02F6 0000 0901"
455
        $"000E C241 0207 0000 0901 000E C241 0207"
456
        $"0000 1101 000E ED41 FE40 003A F940 E241"
457
        $"0207 0000 2B01 0032 F941 FE40 FE39 0632"
458
        $"0E0E 0707 F6F5 F800 02F5 F5F6 FB07 FB0E"
459
        $"0332 3233 33FB 3901 3A3A FB40 0207 0000"
460
        $"0E0A 000E 3939 320E 0E07 07F6 F5C8 0002"
461
        $"BD00 00FF"
462
};
463
 
464
/*
465
 * Here is the custom file open dialog. This dialog is used instead of
466
 * the default file dialog if the -filetypes flag is specified.
467
 */
468
 
469
resource 'DLOG' (130, purgeable) {
470
    {0, 0, 195, 344}, dBoxProc, invisible, noGoAway, 0,
471
     130, "", noAutoCenter
472
};
473
 
474
resource 'DITL' (130, "File Open Box", purgeable) {
475
    {
476
        {135, 252, 155, 332}, Button   {enabled, "Open"},
477
        {104, 252, 124, 332}, Button   {enabled, "Cancel"},
478
        {  0,   0,   0,   0}, HelpItem {disabled, HMScanhdlg {130}},
479
        {  8, 235,  24, 337}, UserItem {enabled},
480
        { 32, 252,  52, 332}, Button   {enabled, "Eject"},
481
        { 60, 252,  80, 332}, Button   {enabled, "Desktop"},
482
        { 29,  12, 159, 230}, UserItem {enabled},
483
        {  6,  12,  25, 230}, UserItem {enabled},
484
        { 91, 251,  92, 333}, Picture  {disabled, 11},
485
        {168,  20, 187, 300}, Control  {enabled, 131}
486
    }
487
};
488
 
489
resource 'CNTL' (131, "File Types menu", purgeable) {
490
    {168, 20, 187, 300},
491
    popupTitleLeftJust,
492
    visible,
493
    80,
494
    132,
495
    popupMenuCDEFProc,
496
    0,
497
    "File Type:"
498
};
499
 
500
 
501
resource 'MENU' (132, preload) {
502
    132,
503
    textMenuProc,
504
    0xFFFF, enabled, "", {}
505
};

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.