[net.sources.mac] Lisa Pascal source to FILE, file.rsrc

trb@drutx.UUCP (BuckleyTR) (02/03/85)

This is the Resource File for FILE, part 2/4 sent on this
application.

Tom Buckley
AT&T Information Systems
(303) 538-3442
ihnp4!drutx!trb
--------------------- Cut Here ------------------------------
*  FileResDef -- Resource input for sample application named File
*		 Written by Macintosh User Education

Example/File.Rsrc

Type CARY = STR
,0 (32)
File, by Cary Clark   Version 1.0    July 3, 1984

Type FREF
,128
APPL 0
,129
TEXT 1

Type BNDL
,128
CARY 0
2
ICN# 2
0 128
1 129
FREF 2
0 128
1 129

Type ICN#
,128
2
00000000
00000000
00000000
00020000
00050000
00088038
00104044
00202082
00401102
00800A82
01000544
02000AA8
04001550
08002AA0
10005540
2000AAA0
40001510
80010A08
40000410
20030820
1003A040
08038080
04000100
02000200
01000400
00800800
00401000
00202000
00104000
00088000
00050000
00020000
00000000
00000000
00000000
00020000
00070000
000F8038
001FC07C
003FE0FE
007FF1FE
00FFFBFE
01FFFFFC
03FFFFF8
07FFFFF0
0FFFFFE0
1FFFFFC0
3FFFFFE0
7FFFFFF0
FFFFFFF8
7FFFFFF0
3FFFFFE0
1FFFFFC0
0FFFFF80
07FFFF00
03FFFE00
01FFFC00
00FFF800
007FF000
003FE000
001FC000
000F8000
00070000
00020000
,129
2
0FFFF800
08000400
08000600
08000500
08000480
08000438
08000444
08000682
08000102
08000282
08000544
08000AA8
08001550
08002AA0
08005550
0800AA90
08001510
08010A10
08000410
08030810
0803A010
08038010
08000010
08000010
08000010
08000010
08000010
08000010
08000010
08000010
08000010
0FFFFFF0
0FFFF800
0FFFFC00
0FFFFE00
0FFFFF00
0FFFFF80
0FFFFFF8
0FFFFFFC
0FFFFFFE
0FFFFFFE
0FFFFFFE
0FFFFFFC
0FFFFFF8
0FFFFFF0
0FFFFFE0
0FFFFFF0
0FFFFFF0
0FFFFFF0
0FFFFFF0
0FFFFFF0
0FFFFFF0
0FFFFFF0
0FFFFFF0
0FFFFFF0
0FFFFFF0
0FFFFFF0
0FFFFFF0
0FFFFFF0
0FFFFFF0
0FFFFFF0
0FFFFFF0
0FFFFFF0
0FFFFFF0



Type MENU
  ,1 (4)
  \14
    About FileI
    (-

  ,2 (4)
  File
    New
    OpenI
    Close
    Save
    Save AsI
    Revert to Saved
    Page SetupI
    PrintI
    Quit

  ,3 (4)
  Edit
    Undo/Z
    (-
    Cut/X
    Copy/C
    Paste/V
    Clear
    Select All/A
    (-
    Show Clipboard

  ,100 (4)
  Debug
    Show FreeMem
    Compact Memory

* document window
Type WIND
  ,256 (32)
x
  50 30 158 482
  Visible NoGoAway
  2
  0

  ,257 (32)
Clipboard
  262 4 337 446
  Visible GoAway
  0
  0

  ,258 (32)
FreeMem
  320 442 339 511
  Visible NoGoAway
  0
  0

* vertical scroll bar
Type CNTL
  ,256 (4)
x
  -1 395 236 411
  invisible
  16
  0
  0 0 0

Type DITL
  ,256 (32)
  4
    BtnItem Enabled
    65 13 85 83
Yes

    BtnItem Enabled
    95 300 115 370
Cancel

    BtnItem Enabled
    95 13 115 83
No

    StatText Disabled
    8 60 60 370
Do you want to save changes made to '^0'^1?

  ,257 (32)
  3

    BtnItem Enabled
    90 267 110 337
OK

    StatText Disabled
    10 60 70 350
An error occured while ^0 the disk.  The file '^1' was not ^2.

    StatText Disabled
    90 10 110 260
^3

  ,258 (32)
  3

    BtnItem Enabled
    62 300 82 370
Cancel

    StatText Disabled
    5 10 60 370
The document '^0' is being spooled to disk and printed.

    StatText Disabled
    62 10 82 270
^1 of ^2.

  ,259 (32)
  3

    BtnItem Enabled
    90 13 110 83
OK

    BtnItem Enabled
    90 267 110 337
Cancel

    StatText Disabled
    10 60 70 350
Are you sure you want to go back to the old version of this file?  You will lose any changes that you have made.

  ,260 (32)
  3

    BtnItem Enabled
    90 13 110 83
OK

    BtnItem Enabled
    90 267 110 337
Cancel

    StatText Disabled
    10 60 70 350
A file by that name is already open.  '^0' will be opened instead.

Type DLOG
* this is the 'press cancel to stop printing' dialog
  ,257 (32)
  40 66 125 446
  Visible 1 NoGoAway 0
  258

Type ALRT
* a stop alert - an error occured while reading or writing the disk
  ,256 (32)
  60 81 180 431
  257
  5555

* a caution alert - a file is changed and 'Revert to Saved' is chosen
  ,257 (32)
  60 81 180 431
  259
  CCCC

* a note alert - the file selected is already on the desktop
  ,258 (32)
  60 81 180 431
  260
  CCCC

* a caution alert - the file is being closed, but has not yet been saved
  ,259 (32)
  60 66 180 446
  256
  4444

 Type STR#
  ,256 (36)
Untitled-
Save this document as:
This example was written to demonstrate the Macintosh User Interface.
Show Clipboard
Hide Clipboard
-6
-7
 before quitting
reading from
writing to
loaded
saved
-13
PrintI
Stop Printing
Copy of\20
This disk is full.
The disk directory is full.
This file
The disk is locked.
The disk is unreadable.
ID =\20

  ,257 (36)
External Debugger
Show FreeMem
Hide FreeMem

Type CODE
  Example/fileL,0