home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1989-09-14 | 4.6 KB | [TEXT/KAHL] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| AMOS Picture Packer (image/amosPicturePacker)
| ext
| Supported |
1%
| dexvert
| Debian floppy split (archive/debianFloppySplit)
| ext
| Unsupported |
1%
| dexvert
| Sound Images sound sample (audio/soundImagesSoundSample)
| ext
| Unsupported |
1%
| dexvert
| DESI-III drawing (image/desiIIIDrawing)
| ext
| Unsupported |
1%
| dexvert
| MS-DOS PMODE extender executable (executable/msdosPMODEExtenderExecutable)
| ext
| Unsupported |
1%
| dexvert
| Alien Trilogytextures (other/alienTrilogyTextures)
| ext
| Unsupported |
1%
| dexvert
| APT cache data (other/aptCacheData)
| ext
| Unsupported |
1%
| dexvert
| CorelTRACE configuration (other/corelTRACEConfiguration)
| ext
| Unsupported |
1%
| dexvert
| Dreamcast Disc (other/dreamcastDisc)
| ext
| Unsupported |
1%
| dexvert
| EST flat binary (other/estFlatBinary)
| ext
| Unsupported |
1%
| dexvert
| Finale Enigma Binary Format (other/finaleEnigmaBinaryFormat)
| ext
| Unsupported |
1%
| dexvert
| Sega Genesis/Megadrive/32x ROM (other/genesisROM)
| ext
| Unsupported |
1%
| dexvert
| Myth: The Fallen Lords game archive (other/mythTheFallenLordsGameArchive)
| ext
| Unsupported |
1%
| dexvert
| Sound Images Sound Driver (other/soundImagesSoundDriver)
| ext
| Unsupported |
1%
| dexvert
| Symantec/Norton Config (other/symantecNortonConfig)
| ext
| Unsupported |
1%
| dexvert
| Vectrex ROM (other/vectrexROM)
| ext
| Unsupported |
1%
| dexvert
| BIS raP encoded format (other/bisraPEncoded)
| ext
| Unsupported |
1%
| dexvert
| Pascal Script binary (other/pascalScriptBinary)
| ext
| Unsupported |
1%
| dexvert
| 7th Level game data archive (other/seventhLevelGameDataArchive)
| ext
| Unsupported |
1%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Binary Text (image/binaryText)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary, Fri Jun 13 08:27:43 1986, modified Sun Jan 29 08:20:09 1989, creator Think C, type ASCII, 4501 bytes "MultiSkel.c"
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 1
| default (weak)
| |
100%
| lsar
| MacBinary
| default
| |
100%
| gt2
| MAC Bilddatei
| default (weak)
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [KAHL] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 4d 75 6c 74 69 53 | 6b 65 6c 2e 63 00 00 00 |..MultiS|kel.c...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 11 95 00 | 00 00 00 9b 15 c2 3f a0 |........|......?.|
|00000060| 08 c0 09 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000080| 2f 2a 0d 09 54 72 61 6e | 73 53 6b 65 6c 20 6d 75 |/*..Tran|sSkel mu|
|00000090| 6c 74 69 70 6c 65 2d 77 | 69 6e 64 6f 77 20 64 65 |ltiple-w|indow de|
|000000a0| 6d 6f 6e 73 74 72 61 74 | 69 6f 6e 3a 20 6d 61 69 |monstrat|ion: mai|
|000000b0| 6e 20 6d 6f 64 75 6c 65 | 0d 0d 09 54 68 69 73 20 |n module|...This |
|000000c0| 6d 6f 64 75 6c 65 20 70 | 65 72 66 6f 72 6d 73 20 |module p|erforms |
|000000d0| 73 65 74 75 70 20 61 6e | 64 20 74 65 72 6d 69 6e |setup an|d termin|
|000000e0| 61 74 69 6f 6e 20 6f 70 | 65 72 61 74 69 6f 6e 73 |ation op|erations|
|000000f0| 2c 20 69 6e 73 74 61 6c | 6c 73 0d 09 74 68 65 20 |, instal|ls..the |
|00000100| 77 69 6e 64 6f 77 20 61 | 6e 64 20 6d 65 6e 75 20 |window a|nd menu |
|00000110| 68 61 6e 64 6c 65 72 73 | 2c 20 61 6e 64 20 70 72 |handlers|, and pr|
|00000120| 6f 63 65 73 73 65 73 20 | 6d 65 6e 75 20 69 74 65 |ocesses |menu ite|
|00000130| 6d 20 73 65 6c 65 63 74 | 69 6f 6e 73 2e 0d 09 0d |m select|ions....|
|00000140| 09 54 68 65 72 65 20 61 | 72 65 20 66 6f 75 72 20 |.There a|re four |
|00000150| 77 69 6e 64 6f 77 20 68 | 61 6e 64 6c 65 72 73 20 |window h|andlers |
|00000160| 69 6e 20 74 68 69 73 20 | 64 65 6d 6f 6e 73 74 72 |in this |demonstr|
|00000170| 61 74 69 6f 6e 2e 20 20 | 54 68 65 20 63 6f 64 65 |ation. |The code|
|00000180| 0d 09 66 6f 72 20 65 61 | 63 68 20 68 61 6e 64 6c |..for ea|ch handl|
|00000190| 65 72 20 69 73 20 69 6e | 20 69 74 73 20 6f 77 6e |er is in| its own|
|000001a0| 20 6d 6f 64 75 6c 65 2e | 0d 09 0d 09 48 65 6c 70 | module.|....Help|
|000001b0| 20 57 69 6e 64 6f 77 09 | 09 53 63 72 6f 6c 6c 61 | Window.|.Scrolla|
|000001c0| 62 6c 65 20 6e 6f 6e 2d | 65 64 69 74 61 62 6c 65 |ble non-|editable|
|000001d0| 20 74 65 78 74 20 77 69 | 6e 64 6f 77 0d 09 45 64 | text wi|ndow..Ed|
|000001e0| 69 74 20 57 69 6e 64 6f | 77 09 09 4e 6f 6e 2d 73 |it Windo|w..Non-s|
|000001f0| 63 72 6f 6c 6c 61 62 6c | 65 20 65 64 69 74 61 62 |crollabl|e editab|
|00000200| 6c 65 20 74 65 78 74 20 | 77 69 6e 64 6f 77 0d 09 |le text |window..|
|00000210| 5a 6f 6f 6d 20 57 69 6e | 64 6f 77 09 09 4e 6f 6e |Zoom Win|dow..Non|
|00000220| 2d 6d 61 6e 69 70 75 6c | 61 62 6c 65 20 67 72 61 |-manipul|able gra|
|00000230| 70 68 69 63 73 20 64 69 | 73 70 6c 61 79 20 77 69 |phics di|splay wi|
|00000240| 6e 64 6f 77 0d 09 52 65 | 67 69 6f 6e 20 57 69 6e |ndow..Re|gion Win|
|00000250| 64 6f 77 09 4d 61 6e 69 | 70 75 6c 61 62 6c 65 20 |dow.Mani|pulable |
|00000260| 67 72 61 70 68 69 63 73 | 20 64 69 73 70 6c 61 79 |graphics| display|
|00000270| 20 77 69 6e 64 6f 77 0d | 0d 09 54 68 65 20 70 72 | window.|..The pr|
|00000280| 6f 6a 65 63 74 20 73 68 | 6f 75 6c 64 20 69 6e 63 |oject sh|ould inc|
|00000290| 6c 75 64 65 20 4d 61 63 | 54 72 61 70 73 2c 20 54 |lude Mac|Traps, T|
|000002a0| 72 61 6e 73 53 6b 65 6c | 2e 63 20 28 6f 72 20 61 |ransSkel|.c (or a|
|000002b0| 20 70 72 6f 6a 65 63 74 | 20 62 75 69 6c 74 0d 09 | project| built..|
|000002c0| 66 72 6f 6d 20 54 72 61 | 6e 73 53 6b 65 6c 2e 63 |from Tra|nsSkel.c|
|000002d0| 29 2c 20 4d 53 6b 65 6c | 48 65 6c 70 2e 63 2c 20 |), MSkel|Help.c, |
|000002e0| 4d 53 6b 65 6c 45 64 69 | 74 2e 63 2c 20 4d 53 6b |MSkelEdi|t.c, MSk|
|000002f0| 65 6c 5a 6f 6f 6d 2e 63 | 20 61 6e 64 0d 09 4d 53 |elZoom.c| and..MS|
|00000300| 6b 65 6c 52 67 6e 2e 63 | 2e 20 20 59 6f 75 27 6c |kelRgn.c|. You'l|
|00000310| 6c 20 61 6c 73 6f 20 6e | 65 65 64 20 74 68 65 20 |l also n|eed the |
|00000320| 4d 75 6c 74 69 53 6b 65 | 6c 2e 68 20 68 65 61 64 |MultiSke|l.h head|
|00000330| 65 72 20 66 69 6c 65 2e | 0d 0d 09 32 31 20 41 70 |er file.|...21 Ap|
|00000340| 72 69 6c 20 31 39 38 38 | 09 09 50 61 75 6c 20 44 |ril 1988|..Paul D|
|00000350| 75 42 6f 69 73 0d 2a 2f | 0d 0d 23 20 69 6e 63 6c |uBois.*/|..# incl|
|00000360| 75 64 65 09 22 4d 75 6c | 74 69 53 6b 65 6c 2e 68 |ude."Mul|tiSkel.h|
|00000370| 22 0d 0d 0d 2f 2a 20 66 | 69 6c 65 20 6d 65 6e 75 |".../* f|ile menu|
|00000380| 20 69 74 65 6d 20 6e 75 | 6d 62 65 72 73 20 2a 2f | item nu|mbers */|
|00000390| 0d 0d 74 79 70 65 64 65 | 66 20 65 6e 75 6d 20 7b |..typede|f enum {|
|000003a0| 0d 09 6f 70 65 6e 20 3d | 20 31 2c 0d 09 63 6c 6f |..open =| 1,..clo|
|000003b0| 73 65 2c 0d 09 2f 2a 20 | 2d 2d 2d 20 2a 2f 0d 09 |se,../* |--- */..|
|000003c0| 71 75 69 74 20 3d 20 34 | 0d 7d 20 66 69 6c 65 49 |quit = 4|.} fileI|
|000003d0| 74 65 6d 73 3b 0d 0d 0d | 2f 2a 0d 09 4d 65 6e 75 |tems;...|/*..Menu|
|000003e0| 20 68 61 6e 64 6c 65 73 | 2e 20 20 54 68 65 72 65 | handles|. There|
|000003f0| 20 69 73 6e 27 74 20 61 | 6e 79 20 61 70 70 6c 65 | isn't a|ny apple|
|00000400| 20 6d 65 6e 75 20 68 65 | 72 65 2c 20 73 69 6e 63 | menu he|re, sinc|
|00000410| 65 20 54 72 61 6e 73 53 | 6b 65 6c 20 77 69 6c 6c |e TransS|kel will|
|00000420| 0d 09 62 65 20 74 6f 6c | 64 20 74 6f 20 68 61 6e |..be tol|d to han|
|00000430| 64 6c 65 20 69 74 20 69 | 74 73 65 6c 66 2e 0d 2a |dle it i|tself..*|
|00000440| 2f 0d 0d 4d 65 6e 75 48 | 61 6e 64 6c 65 09 09 09 |/..MenuH|andle...|
|00000450| 66 69 6c 65 4d 65 6e 75 | 3b 0d 4d 65 6e 75 48 61 |fileMenu|;.MenuHa|
|00000460| 6e 64 6c 65 09 09 09 65 | 64 69 74 4d 65 6e 75 3b |ndle...e|ditMenu;|
|00000470| 0d 0d 52 67 6e 48 61 6e | 64 6c 65 09 09 09 6f 6c |..RgnHan|dle...ol|
|00000480| 64 43 6c 69 70 3b 0d 0d | 0d 6d 61 69 6e 20 28 29 |dClip;..|.main ()|
|00000490| 0d 0d 7b 0d 09 53 6b 65 | 6c 49 6e 69 74 20 28 36 |..{..Ske|lInit (6|
|000004a0| 2c 20 6e 69 6c 29 3b 0d | 09 53 65 74 55 70 4d 65 |, nil);.|.SetUpMe|
|000004b0| 6e 75 73 20 28 29 3b 09 | 09 09 2f 2a 20 69 6e 73 |nus ();.|../* ins|
|000004c0| 74 61 6c 6c 20 6d 65 6e | 75 20 68 61 6e 64 6c 65 |tall men|u handle|
|000004d0| 72 73 20 2a 2f 0d 09 52 | 67 6e 57 69 6e 64 49 6e |rs */..R|gnWindIn|
|000004e0| 69 74 20 28 29 3b 09 09 | 09 2f 2a 20 69 6e 73 74 |it ();..|./* inst|
|000004f0| 61 6c 6c 20 77 69 6e 64 | 6f 77 20 68 61 6e 64 6c |all wind|ow handl|
|00000500| 65 72 73 20 20 2a 2f 0d | 09 5a 6f 6f 6d 57 69 6e |ers */.|.ZoomWin|
|00000510| 64 49 6e 69 74 20 28 29 | 3b 0d 09 45 64 69 74 57 |dInit ()|;..EditW|
|00000520| 69 6e 64 49 6e 69 74 20 | 28 29 3b 0d 09 48 65 6c |indInit |();..Hel|
|00000530| 70 57 69 6e 64 49 6e 69 | 74 20 28 29 3b 0d 09 53 |pWindIni|t ();..S|
|00000540| 6b 65 6c 4d 61 69 6e 20 | 28 29 3b 0d 09 53 6b 65 |kelMain |();..Ske|
|00000550| 6c 43 6c 6f 62 62 65 72 | 20 28 29 3b 09 09 2f 2a |lClobber| ();../*|
|00000560| 20 74 68 72 6f 77 20 61 | 77 61 79 20 77 69 6e 64 | throw a|way wind|
|00000570| 6f 77 73 20 61 6e 64 20 | 6d 65 6e 75 73 20 2a 2f |ows and |menus */|
|00000580| 0d 7d 0d 0d 0d 2f 2a 0d | 09 49 6e 69 74 69 61 6c |.}.../*.|.Initial|
|00000590| 69 7a 65 20 6d 65 6e 75 | 73 2e 20 20 54 65 6c 6c |ize menu|s. Tell|
|000005a0| 20 53 6b 65 6c 20 74 6f | 20 70 72 6f 63 65 73 73 | Skel to| process|
|000005b0| 20 74 68 65 20 41 70 70 | 6c 65 20 6d 65 6e 75 20 | the App|le menu |
|000005c0| 61 75 74 6f 6d 61 74 69 | 63 61 6c 6c 79 2c 0d 09 |automati|cally,..|
|000005d0| 61 6e 64 20 61 73 73 6f | 63 69 61 74 65 20 74 68 |and asso|ciate th|
|000005e0| 65 20 70 72 6f 70 65 72 | 20 70 72 6f 63 65 64 75 |e proper| procedu|
|000005f0| 72 65 73 20 77 69 74 68 | 20 74 68 65 20 46 69 6c |res with| the Fil|
|00000600| 65 20 61 6e 64 20 45 64 | 69 74 20 6d 65 6e 75 73 |e and Ed|it menus|
|00000610| 2e 0d 2a 2f 0d 0d 53 65 | 74 55 70 4d 65 6e 75 73 |..*/..Se|tUpMenus|
|00000620| 20 28 29 0d 7b 0d 49 6e | 74 65 67 65 72 09 44 6f | ().{.In|teger.Do|
|00000630| 41 62 6f 75 74 28 29 2c | 20 44 6f 46 69 6c 65 28 |About(),| DoFile(|
|00000640| 29 2c 20 44 6f 45 64 69 | 74 28 29 3b 0d 0d 09 53 |), DoEdi|t();...S|
|00000650| 6b 65 6c 41 70 70 6c 65 | 20 28 22 5c 70 41 62 6f |kelApple| ("\pAbo|
|00000660| 75 74 20 4d 75 6c 74 69 | 53 6b 65 6c c9 22 2c 20 |ut Multi|Skel.", |
|00000670| 26 44 6f 41 62 6f 75 74 | 29 3b 0d 09 66 69 6c 65 |&DoAbout|);..file|
|00000680| 4d 65 6e 75 20 3d 20 47 | 65 74 4d 65 6e 75 20 28 |Menu = G|etMenu (|
|00000690| 66 69 6c 65 4d 65 6e 75 | 52 65 73 29 3b 0d 09 65 |fileMenu|Res);..e|
|000006a0| 64 69 74 4d 65 6e 75 20 | 3d 20 47 65 74 4d 65 6e |ditMenu |= GetMen|
|000006b0| 75 20 28 65 64 69 74 4d | 65 6e 75 52 65 73 29 3b |u (editM|enuRes);|
|000006c0| 0d 09 28 76 6f 69 64 29 | 20 53 6b 65 6c 4d 65 6e |..(void)| SkelMen|
|000006d0| 75 20 28 66 69 6c 65 4d | 65 6e 75 2c 20 26 44 6f |u (fileM|enu, &Do|
|000006e0| 46 69 6c 65 2c 20 6e 69 | 6c 2c 20 66 61 6c 73 65 |File, ni|l, false|
|000006f0| 29 3b 0d 09 28 76 6f 69 | 64 29 20 53 6b 65 6c 4d |);..(voi|d) SkelM|
|00000700| 65 6e 75 20 28 65 64 69 | 74 4d 65 6e 75 2c 20 26 |enu (edi|tMenu, &|
|00000710| 44 6f 45 64 69 74 2c 20 | 6e 69 6c 2c 20 74 72 75 |DoEdit, |nil, tru|
|00000720| 65 29 3b 0d 7d 0d 0d 0d | 2f 2a 0d 09 48 61 6e 64 |e);.}...|/*..Hand|
|00000730| 6c 65 20 73 65 6c 65 63 | 74 69 6f 6e 20 6f 66 20 |le selec|tion of |
|00000740| 41 62 6f 75 74 20 4d 75 | 6c 74 69 53 6b 65 6c c9 |About Mu|ltiSkel.|
|00000750| 20 69 74 65 6d 20 66 72 | 6f 6d 20 41 70 70 6c 65 | item fr|om Apple|
|00000760| 20 6d 65 6e 75 0d 2a 2f | 0d 0d 44 6f 41 62 6f 75 | menu.*/|..DoAbou|
|00000770| 74 20 28 29 0d 7b 0d 09 | 28 76 6f 69 64 29 20 41 |t ().{..|(void) A|
|00000780| 6c 65 72 74 20 28 61 62 | 6f 75 74 41 6c 72 74 2c |lert (ab|outAlrt,|
|00000790| 20 6e 69 6c 29 3b 0d 7d | 0d 0d 0d 2f 2a 0d 09 50 | nil);.}|.../*..P|
|000007a0| 72 6f 63 65 73 73 20 73 | 65 6c 65 63 74 69 6f 6e |rocess s|election|
|000007b0| 20 66 72 6f 6d 20 46 69 | 6c 65 20 6d 65 6e 75 2e | from Fi|le menu.|
|000007c0| 0d 09 0d 09 4f 70 65 6e | 09 4d 61 6b 65 20 61 6c |....Open|.Make al|
|000007d0| 6c 20 66 6f 75 72 20 77 | 69 6e 64 6f 77 73 20 76 |l four w|indows v|
|000007e0| 69 73 69 62 6c 65 0d 09 | 43 6c 6f 73 65 09 48 69 |isible..|Close.Hi|
|000007f0| 64 65 20 74 68 65 20 66 | 72 6f 6e 74 6d 6f 73 74 |de the f|rontmost|
|00000800| 20 77 69 6e 64 6f 77 2e | 20 20 49 66 20 69 74 20 | window.| If it |
|00000810| 62 65 6c 6f 6e 67 73 20 | 74 6f 20 61 20 64 65 73 |belongs |to a des|
|00000820| 6b 20 61 63 63 65 73 73 | 6f 72 79 2c 0d 09 09 09 |k access|ory,....|
|00000830| 63 6c 6f 73 65 20 74 68 | 65 20 61 63 63 65 73 73 |close th|e access|
|00000840| 6f 72 79 2e 0d 09 51 75 | 69 74 09 52 65 71 75 65 |ory...Qu|it.Reque|
|00000850| 73 74 20 61 20 68 61 6c | 74 20 62 79 20 63 61 6c |st a hal|t by cal|
|00000860| 6c 69 6e 67 20 53 6b 65 | 6c 48 61 6c 74 28 29 2e |ling Ske|lHalt().|
|00000870| 20 20 54 68 69 73 20 6d | 61 6b 65 73 20 53 6b 65 | This m|akes Ske|
|00000880| 6c 4d 61 69 6e 0d 09 09 | 09 72 65 74 75 72 6e 2e |lMain...|.return.|
|00000890| 0d 2a 2f 0d 0d 44 6f 46 | 69 6c 65 20 28 69 74 65 |.*/..DoF|ile (ite|
|000008a0| 6d 29 0d 49 6e 74 65 67 | 65 72 09 69 74 65 6d 3b |m).Integ|er.item;|
|000008b0| 0d 7b 0d 57 69 6e 64 6f | 77 50 65 65 6b 09 77 50 |.{.Windo|wPeek.wP|
|000008c0| 65 65 6b 3b 0d 0d 09 73 | 77 69 74 63 68 20 28 69 |eek;...s|witch (i|
|000008d0| 74 65 6d 29 0d 09 7b 0d | 09 09 63 61 73 65 20 6f |tem)..{.|..case o|
|000008e0| 70 65 6e 3a 0d 09 09 7b | 0d 09 09 09 4d 79 53 68 |pen:...{|....MySh|
|000008f0| 6f 77 57 69 6e 64 6f 77 | 20 28 28 57 69 6e 64 6f |owWindow| ((Windo|
|00000900| 77 50 65 65 6b 29 20 72 | 67 6e 57 69 6e 64 29 3b |wPeek) r|gnWind);|
|00000910| 0d 09 09 09 4d 79 53 68 | 6f 77 57 69 6e 64 6f 77 |....MySh|owWindow|
|00000920| 20 28 28 57 69 6e 64 6f | 77 50 65 65 6b 29 20 7a | ((Windo|wPeek) z|
|00000930| 6f 6f 6d 57 69 6e 64 29 | 3b 0d 09 09 09 4d 79 53 |oomWind)|;....MyS|
|00000940| 68 6f 77 57 69 6e 64 6f | 77 20 28 28 57 69 6e 64 |howWindo|w ((Wind|
|00000950| 6f 77 50 65 65 6b 29 20 | 65 64 69 74 57 69 6e 64 |owPeek) |editWind|
|00000960| 29 3b 0d 09 09 09 4d 79 | 53 68 6f 77 57 69 6e 64 |);....My|ShowWind|
|00000970| 6f 77 20 28 28 57 69 6e | 64 6f 77 50 65 65 6b 29 |ow ((Win|dowPeek)|
|00000980| 20 68 65 6c 70 57 69 6e | 64 29 3b 0d 09 09 09 62 | helpWin|d);....b|
|00000990| 72 65 61 6b 3b 0d 09 09 | 7d 0d 2f 2a 0d 09 43 6c |reak;...|}./*..Cl|
|000009a0| 6f 73 65 20 74 68 65 20 | 66 72 6f 6e 74 20 77 69 |ose the |front wi|
|000009b0| 6e 64 6f 77 2e 20 20 54 | 61 6b 65 20 69 6e 74 6f |ndow. T|ake into|
|000009c0| 20 61 63 63 6f 75 6e 74 | 20 77 68 65 74 68 65 72 | account| whether|
|000009d0| 20 69 74 20 62 65 6c 6f | 6e 67 73 0d 09 74 6f 20 | it belo|ngs..to |
|000009e0| 61 20 64 65 73 6b 20 61 | 63 63 65 73 73 6f 72 79 |a desk a|ccessory|
|000009f0| 20 6f 72 20 6e 6f 74 2e | 0d 2a 2f 0d 09 09 63 61 | or not.|.*/...ca|
|00000a00| 73 65 20 63 6c 6f 73 65 | 3a 0d 09 09 7b 0d 09 09 |se close|:...{...|
|00000a10| 09 69 66 20 28 28 77 50 | 65 65 6b 20 3d 20 28 57 |.if ((wP|eek = (W|
|00000a20| 69 6e 64 6f 77 50 65 65 | 6b 29 20 46 72 6f 6e 74 |indowPee|k) Front|
|00000a30| 57 69 6e 64 6f 77 20 28 | 29 29 20 21 3d 20 6e 69 |Window (|)) != ni|
|00000a40| 6c 29 0d 09 09 09 7b 0d | 09 09 09 09 69 66 20 28 |l)....{.|....if (|
|00000a50| 77 50 65 65 6b 2d 3e 77 | 69 6e 64 6f 77 4b 69 6e |wPeek->w|indowKin|
|00000a60| 64 20 3c 20 30 29 0d 09 | 09 09 09 09 43 6c 6f 73 |d < 0)..|....Clos|
|00000a70| 65 44 65 73 6b 41 63 63 | 20 28 77 50 65 65 6b 2d |eDeskAcc| (wPeek-|
|00000a80| 3e 77 69 6e 64 6f 77 4b | 69 6e 64 29 3b 0d 09 09 |>windowK|ind);...|
|00000a90| 09 09 65 6c 73 65 0d 09 | 09 09 09 09 48 69 64 65 |..else..|....Hide|
|00000aa0| 57 69 6e 64 6f 77 20 28 | 46 72 6f 6e 74 57 69 6e |Window (|FrontWin|
|00000ab0| 64 6f 77 20 28 29 29 3b | 0d 09 09 09 7d 0d 09 09 |dow ());|....}...|
|00000ac0| 09 62 72 65 61 6b 3b 0d | 09 09 7d 0d 09 09 63 61 |.break;.|..}...ca|
|00000ad0| 73 65 20 71 75 69 74 3a | 0d 09 09 7b 0d 09 09 09 |se quit:|...{....|
|00000ae0| 53 6b 65 6c 57 68 6f 61 | 20 28 29 3b 09 09 2f 2a |SkelWhoa| ();../*|
|00000af0| 20 72 65 71 75 65 73 74 | 20 68 61 6c 74 20 2a 2f | request| halt */|
|00000b00| 0d 09 09 09 62 72 65 61 | 6b 3b 0d 09 09 7d 0d 09 |....brea|k;...}..|
|00000b10| 7d 0d 7d 0d 0d 0d 2f 2a | 0d 09 53 68 6f 77 20 61 |}.}.../*|..Show a|
|00000b20| 20 77 69 6e 64 6f 77 20 | 69 66 20 69 74 27 73 20 | window |if it's |
|00000b30| 6e 6f 74 20 76 69 73 69 | 62 6c 65 2e 20 20 53 65 |not visi|ble. Se|
|00000b40| 6c 65 63 74 20 74 68 65 | 20 77 69 6e 64 6f 77 20 |lect the| window |
|00000b50| 46 49 52 53 54 2c 20 74 | 68 65 6e 0d 09 73 68 6f |FIRST, t|hen..sho|
|00000b60| 77 20 69 74 2c 20 73 6f | 20 74 68 61 74 20 69 74 |w it, so| that it|
|00000b70| 20 63 6f 6d 65 73 20 75 | 70 20 69 6e 20 66 72 6f | comes u|p in fro|
|00000b80| 6e 74 2e 20 20 4f 74 68 | 65 72 77 69 73 65 20 69 |nt. Oth|erwise i|
|00000b90| 74 20 77 69 6c 6c 20 62 | 65 20 64 72 61 77 6e 0d |t will b|e drawn.|
|00000ba0| 09 69 6e 20 62 61 63 6b | 20 74 68 65 6e 20 62 72 |.in back| then br|
|00000bb0| 6f 75 67 68 74 20 74 6f | 20 74 68 65 20 66 72 6f |ought to| the fro|
|00000bc0| 6e 74 2c 20 77 68 69 63 | 68 20 69 73 20 75 67 6c |nt, whic|h is ugl|
|00000bd0| 79 2e 0d 0d 09 54 68 65 | 20 74 65 73 74 20 66 6f |y....The| test fo|
|00000be0| 72 20 76 69 73 69 62 69 | 6c 69 74 79 20 6d 75 73 |r visibi|lity mus|
|00000bf0| 74 20 62 65 20 64 6f 6e | 65 20 63 61 72 65 66 75 |t be don|e carefu|
|00000c00| 6c 6c 79 3a 20 20 74 68 | 65 20 77 69 6e 64 6f 77 |lly: th|e window|
|00000c10| 20 6d 61 6e 61 67 65 72 | 0d 09 73 74 6f 72 65 73 | manager|..stores|
|00000c20| 20 32 35 35 20 61 6e 64 | 20 30 20 66 6f 72 20 74 | 255 and| 0 for t|
|00000c30| 72 75 65 20 61 6e 64 20 | 66 61 6c 73 65 2c 20 6e |rue and |false, n|
|00000c40| 6f 74 20 72 65 61 6c 20 | 62 6f 6f 6c 65 61 6e 20 |ot real |boolean |
|00000c50| 76 61 6c 75 65 73 2e 0d | 2a 2f 0d 0d 4d 79 53 68 |values..|*/..MySh|
|00000c60| 6f 77 57 69 6e 64 6f 77 | 20 28 77 69 6e 64 29 0d |owWindow| (wind).|
|00000c70| 57 69 6e 64 6f 77 50 65 | 65 6b 09 77 69 6e 64 3b |WindowPe|ek.wind;|
|00000c80| 0d 7b 0d 0d 09 69 66 20 | 28 77 69 6e 64 2d 3e 76 |.{...if |(wind->v|
|00000c90| 69 73 69 62 6c 65 20 3d | 3d 20 30 29 0d 09 7b 0d |isible =|= 0)..{.|
|00000ca0| 09 09 53 65 6c 65 63 74 | 57 69 6e 64 6f 77 20 28 |..Select|Window (|
|00000cb0| 77 69 6e 64 29 3b 0d 09 | 09 53 68 6f 77 57 69 6e |wind);..|.ShowWin|
|00000cc0| 64 6f 77 20 28 77 69 6e | 64 29 3b 0d 09 7d 0d 7d |dow (win|d);..}.}|
|00000cd0| 0d 0d 0d 2f 2a 0d 09 50 | 72 6f 63 65 73 73 20 69 |.../*..P|rocess i|
|00000ce0| 74 65 6d 20 73 65 6c 65 | 63 74 65 64 20 66 72 6f |tem sele|cted fro|
|00000cf0| 6d 20 45 64 69 74 20 6d | 65 6e 75 2e 20 20 46 69 |m Edit m|enu. Fi|
|00000d00| 72 73 74 20 63 68 65 63 | 6b 20 77 68 65 74 68 65 |rst chec|k whethe|
|00000d10| 72 20 69 74 20 73 68 6f | 75 6c 64 0d 09 67 65 74 |r it sho|uld..get|
|00000d20| 20 72 6f 75 74 65 64 20 | 74 6f 20 61 20 64 65 73 | routed |to a des|
|00000d30| 6b 20 61 63 63 65 73 73 | 6f 72 79 20 6f 72 20 6e |k access|ory or n|
|00000d40| 6f 74 2e 20 20 49 66 20 | 6e 6f 74 2c 20 74 68 65 |ot. If |not, the|
|00000d50| 6e 20 66 6f 72 20 72 6f | 75 74 65 20 74 68 65 0d |n for ro|ute the.|
|00000d60| 09 73 65 6c 65 63 74 69 | 6f 6e 20 74 6f 20 74 68 |.selecti|on to th|
|00000d70| 65 20 74 65 78 74 20 65 | 64 69 74 69 6e 67 20 77 |e text e|diting w|
|00000d80| 69 6e 64 6f 77 2c 20 61 | 73 20 74 68 61 74 20 69 |indow, a|s that i|
|00000d90| 73 20 74 68 65 20 6f 6e | 6c 79 20 6f 6e 65 20 66 |s the on|ly one f|
|00000da0| 6f 72 0d 09 74 68 69 73 | 20 61 70 70 6c 69 63 61 |or..this| applica|
|00000db0| 74 69 6f 6e 20 74 6f 20 | 77 68 69 63 68 20 65 64 |tion to |which ed|
|00000dc0| 69 74 20 63 6f 6d 6d 61 | 6e 64 73 20 61 72 65 20 |it comma|nds are |
|00000dd0| 76 61 6c 69 64 2e 0d 09 | 28 54 68 65 20 74 65 73 |valid...|(The tes|
|00000de0| 74 20 6f 66 20 46 72 6f | 6e 74 57 69 6e 64 6f 77 |t of Fro|ntWindow|
|00000df0| 20 69 73 20 6e 6f 74 20 | 73 74 72 69 63 74 6c 79 | is not |strictly|
|00000e00| 20 6e 65 63 65 73 73 61 | 72 79 2c 20 61 73 20 74 | necessa|ry, as t|
|00000e10| 68 65 20 45 64 69 74 0d | 09 6d 65 6e 75 20 69 73 |he Edit.|.menu is|
|00000e20| 20 64 69 73 61 62 6c 65 | 64 20 77 68 65 6e 20 61 | disable|d when a|
|00000e30| 6e 79 20 6f 66 20 74 68 | 65 20 6f 74 68 65 72 20 |ny of th|e other |
|00000e40| 77 69 6e 64 6f 77 73 20 | 69 73 20 66 72 6f 6e 74 |windows |is front|
|00000e50| 6d 6f 73 74 2c 20 61 6e | 64 20 73 6f 0d 09 74 68 |most, an|d so..th|
|00000e60| 69 73 20 50 72 6f 63 20 | 63 6f 75 6c 64 6e 27 74 |is Proc |couldn't|
|00000e70| 20 62 65 20 63 61 6c 6c | 65 64 2e 29 0d 2a 2f 0d | be call|ed.).*/.|
|00000e80| 0d 44 6f 45 64 69 74 20 | 28 69 74 65 6d 29 0d 49 |.DoEdit |(item).I|
|00000e90| 6e 74 65 67 65 72 20 69 | 74 65 6d 3b 0d 7b 0d 09 |nteger i|tem;.{..|
|00000ea0| 69 66 20 28 21 53 79 73 | 74 65 6d 45 64 69 74 20 |if (!Sys|temEdit |
|00000eb0| 28 69 74 65 6d 20 2d 20 | 31 29 29 09 09 2f 2a 20 |(item - |1))../* |
|00000ec0| 63 68 65 63 6b 20 44 41 | 20 65 64 69 74 20 63 68 |check DA| edit ch|
|00000ed0| 6f 69 63 65 20 2a 2f 0d | 09 7b 0d 09 09 69 66 20 |oice */.|.{...if |
|00000ee0| 28 46 72 6f 6e 74 57 69 | 6e 64 6f 77 20 28 29 20 |(FrontWi|ndow () |
|00000ef0| 3d 3d 20 65 64 69 74 57 | 69 6e 64 29 0d 09 09 09 |== editW|ind)....|
|00000f00| 45 64 69 74 57 69 6e 64 | 45 64 69 74 4d 65 6e 75 |EditWind|EditMenu|
|00000f10| 20 28 69 74 65 6d 29 3b | 0d 09 7d 0d 7d 0d 0d 0d | (item);|..}.}...|
|00000f20| 2f 2a 0d 09 4d 69 73 63 | 65 6c 6c 61 6e 65 6f 75 |/*..Misc|ellaneou|
|00000f30| 73 20 72 6f 75 74 69 6e | 65 73 0d 09 54 68 65 73 |s routin|es..Thes|
|00000f40| 65 20 74 61 6b 65 20 63 | 61 72 65 20 6f 66 20 64 |e take c|are of d|
|00000f50| 72 61 77 69 6e 67 20 74 | 68 65 20 67 72 6f 77 20 |rawing t|he grow |
|00000f60| 62 6f 78 20 61 6e 64 20 | 74 68 65 20 6c 69 6e 65 |box and |the line|
|00000f70| 20 61 6c 6f 6e 67 0d 09 | 74 68 65 20 72 69 67 68 | along..|the righ|
|00000f80| 74 20 65 64 67 65 20 6f | 66 20 74 68 65 20 77 69 |t edge o|f the wi|
|00000f90| 6e 64 6f 77 2c 20 61 6e | 64 20 6f 66 20 73 65 74 |ndow, an|d of set|
|00000fa0| 74 69 6e 67 20 61 6e 64 | 20 72 65 73 65 74 74 69 |ting and| resetti|
|00000fb0| 6e 67 20 74 68 65 20 63 | 6c 69 70 0d 09 72 65 67 |ng the c|lip..reg|
|00000fc0| 69 6f 6e 20 74 6f 20 64 | 69 73 61 6c 6c 6f 77 20 |ion to d|isallow |
|00000fd0| 64 72 61 77 69 6e 67 20 | 69 6e 20 74 68 61 74 20 |drawing |in that |
|00000fe0| 72 69 67 68 74 20 65 64 | 67 65 20 62 79 20 74 68 |right ed|ge by th|
|00000ff0| 65 20 6f 74 68 65 72 20 | 64 72 61 77 69 6e 67 0d |e other |drawing.|
|00001000| 09 72 6f 75 74 69 6e 65 | 73 2e 0d 2a 2f 0d 0d 0d |.routine|s..*/...|
|00001010| 44 72 61 77 47 72 6f 77 | 42 6f 78 20 28 77 69 6e |DrawGrow|Box (win|
|00001020| 64 29 0d 57 69 6e 64 6f | 77 50 74 72 09 77 69 6e |d).Windo|wPtr.win|
|00001030| 64 3b 0d 7b 0d 52 65 63 | 74 09 09 72 3b 0d 52 67 |d;.{.Rec|t..r;.Rg|
|00001040| 6e 48 61 6e 64 6c 65 09 | 6f 6c 64 43 6c 69 70 3b |nHandle.|oldClip;|
|00001050| 0d 0d 09 72 20 3d 20 77 | 69 6e 64 2d 3e 70 6f 72 |...r = w|ind->por|
|00001060| 74 52 65 63 74 3b 0d 09 | 72 2e 6c 65 66 74 20 3d |tRect;..|r.left =|
|00001070| 20 72 2e 72 69 67 68 74 | 20 2d 20 31 35 3b 09 09 | r.right| - 15;..|
|00001080| 2f 2a 20 64 72 61 77 20 | 6f 6e 6c 79 20 61 6c 6f |/* draw |only alo|
|00001090| 6e 67 20 72 69 67 68 74 | 20 65 64 67 65 20 2a 2f |ng right| edge */|
|000010a0| 0d 09 6f 6c 64 43 6c 69 | 70 20 3d 20 4e 65 77 52 |..oldCli|p = NewR|
|000010b0| 67 6e 20 28 29 3b 0d 09 | 47 65 74 43 6c 69 70 20 |gn ();..|GetClip |
|000010c0| 28 6f 6c 64 43 6c 69 70 | 29 3b 0d 09 43 6c 69 70 |(oldClip|);..Clip|
|000010d0| 52 65 63 74 20 28 26 72 | 29 3b 0d 09 44 72 61 77 |Rect (&r|);..Draw|
|000010e0| 47 72 6f 77 49 63 6f 6e | 20 28 77 69 6e 64 29 3b |GrowIcon| (wind);|
|000010f0| 0d 09 53 65 74 43 6c 69 | 70 20 28 6f 6c 64 43 6c |..SetCli|p (oldCl|
|00001100| 69 70 29 3b 0d 09 44 69 | 73 70 6f 73 65 52 67 6e |ip);..Di|sposeRgn|
|00001110| 20 28 6f 6c 64 43 6c 69 | 70 29 3b 0d 7d 0d 0d 0d | (oldCli|p);.}...|
|00001120| 53 65 74 57 69 6e 64 43 | 6c 69 70 20 28 77 69 6e |SetWindC|lip (win|
|00001130| 64 29 0d 57 69 6e 64 6f | 77 50 74 72 09 77 69 6e |d).Windo|wPtr.win|
|00001140| 64 3b 0d 7b 0d 52 65 63 | 74 09 09 72 3b 0d 0d 09 |d;.{.Rec|t..r;...|
|00001150| 72 20 3d 20 77 69 6e 64 | 2d 3e 70 6f 72 74 52 65 |r = wind|->portRe|
|00001160| 63 74 3b 0d 09 72 2e 72 | 69 67 68 74 20 2d 3d 20 |ct;..r.r|ight -= |
|00001170| 31 35 3b 09 09 2f 2a 20 | 64 6f 6e 27 74 20 64 72 |15;../* |don't dr|
|00001180| 61 77 20 61 6c 6f 6e 67 | 20 72 69 67 68 74 20 65 |aw along| right e|
|00001190| 64 67 65 20 2a 2f 0d 09 | 6f 6c 64 43 6c 69 70 20 |dge */..|oldClip |
|000011a0| 3d 20 4e 65 77 52 67 6e | 20 28 29 3b 0d 09 47 65 |= NewRgn| ();..Ge|
|000011b0| 74 43 6c 69 70 20 28 6f | 6c 64 43 6c 69 70 29 3b |tClip (o|ldClip);|
|000011c0| 0d 09 43 6c 69 70 52 65 | 63 74 20 28 26 72 29 3b |..ClipRe|ct (&r);|
|000011d0| 0d 7d 0d 0d 0d 52 65 73 | 65 74 57 69 6e 64 43 6c |.}...Res|etWindCl|
|000011e0| 69 70 20 28 29 0d 7b 0d | 09 53 65 74 43 6c 69 70 |ip ().{.|.SetClip|
|000011f0| 20 28 6f 6c 64 43 6c 69 | 70 29 3b 0d 09 44 69 73 | (oldCli|p);..Dis|
|00001200| 70 6f 73 65 52 67 6e 20 | 28 6f 6c 64 43 6c 69 70 |poseRgn |(oldClip|
|00001210| 29 3b 0d 7d 0d 00 00 00 | 00 00 00 00 00 00 00 00 |);.}....|........|
|00001220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+