home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 July / Macworld (1999-07).dmg / Shareware World / Info / For Developers / Mops 3.4.sea / Mops source / Module source / DialogMod.txt < prev    next >
MacBinary  |  1997-12-09  |  5.1 KB  |  [TEXT/MSET]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: DialogMod.txt

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Swift 3D 3D Graphic (poly/swift3D3DGraphic) ext Unsupported
1% dexvert Boost Text serialization (other/boostTextSerialization) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Tue Dec 9 15:38:30 1997, modified Tue Dec 9 15:38:30 1997, creator 'MSET', type ASCII, 4687 bytes "DialogMod.txt" , at 0x12cf 381 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MSET]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 44 69 61 6c 6f 67 | 4d 6f 64 2e 74 78 74 00 |..Dialog|Mod.txt.|
|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 4d 53 45 | 54 01 00 00 00 00 00 00 |.TEXTMSE|T.......|
|00000050| 00 00 00 00 00 12 4f 00 | 00 01 7d b0 b3 5c c6 b0 |......O.|..}..\..|
|00000060| b3 5c c6 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.\......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 e4 e5 00 00 |........|........|
|00000080| 5c 20 44 69 61 6c 6f 67 | 20 63 6c 61 73 73 2e 0d |\ Dialog| class..|
|00000090| 0d 5c 20 4a 75 6c 79 20 | 39 31 20 20 6d 72 68 09 |.\ July |91 mrh.|
|000000a0| 4d 6f 76 65 64 20 74 6f | 20 61 20 6d 6f 64 75 6c |Moved to| a modul|
|000000b0| 65 2c 20 61 6e 64 20 6d | 69 67 72 61 74 65 64 20 |e, and m|igrated |
|000000c0| 73 6f 6d 65 20 6d 65 74 | 68 6f 64 73 20 66 72 6f |some met|hods fro|
|000000d0| 6d 20 44 69 61 6c 6f 67 | 2b 2e 0d 5c 20 4a 61 6e |m Dialog|+..\ Jan|
|000000e0| 20 20 39 35 20 20 6d 72 | 68 20 20 52 65 6d 6f 76 | 95 mr|h Remov|
|000000f0| 65 64 20 43 41 4c 4c 45 | 52 20 2d 20 63 61 6e 27 |ed CALLE|R - can'|
|00000100| 74 20 62 69 6e 64 20 74 | 6f 20 61 20 77 6f 72 64 |t bind t|o a word|
|00000110| 20 6e 61 6d 65 20 61 6e | 79 20 6d 6f 72 65 0d 5c | name an|y more.\|
|00000120| 20 53 65 70 74 20 39 37 | 20 20 6d 72 68 09 55 70 | Sept 97| mrh.Up|
|00000130| 64 61 74 65 64 20 66 6f | 72 20 50 6f 77 65 72 4d |dated fo|r PowerM|
|00000140| 6f 70 73 0d 0d 0d 5c 20 | 43 6c 61 73 73 20 44 69 |ops...\ |Class Di|
|00000150| 61 6c 6f 67 20 68 61 6e | 64 6c 65 73 20 6d 6f 64 |alog han|dles mod|
|00000160| 61 6c 20 64 69 61 6c 6f | 67 73 2e 20 20 46 6f 72 |al dialo|gs. For|
|00000170| 20 6d 6f 64 65 6c 65 73 | 73 20 64 69 61 6c 6f 67 | modeles|s dialog|
|00000180| 73 2c 20 75 73 65 20 74 | 68 65 0d 5c 20 73 75 62 |s, use t|he.\ sub|
|00000190| 63 6c 61 73 73 20 44 69 | 61 6c 6f 67 2b 2e 0d 0d |class Di|alog+...|
|000001a0| 3a 63 6c 61 73 73 09 44 | 49 41 4c 4f 47 09 73 75 |:class.D|IALOG.su|
|000001b0| 70 65 72 7b 20 78 2d 61 | 72 72 61 79 20 7d 0d 72 |per{ x-a|rray }.r|
|000001c0| 65 63 6f 72 64 0d 7b 09 | 69 6e 74 09 09 52 45 53 |ecord.{.|int..RES|
|000001d0| 49 44 09 09 5c 20 6e 6f | 74 65 3a 20 6e 6f 74 20 |ID..\ no|te: not |
|000001e0| 61 20 54 6f 6f 6c 62 6f | 78 20 72 65 63 6f 72 64 |a Toolbo|x record|
|000001f0| 20 68 65 72 65 21 0d 09 | 70 74 72 09 09 44 4c 47 | here!..|ptr..DLG|
|00000200| 50 54 52 0d 09 76 61 72 | 09 09 50 52 4f 43 50 54 |PTR..var|..PROCPT|
|00000210| 52 09 09 5c 20 6e 6f 74 | 20 61 20 70 74 72 2c 20 |R..\ not| a ptr, |
|00000220| 73 69 6e 63 65 20 77 65 | 20 77 61 6e 74 20 69 74 |since we| want it|
|00000230| 20 69 6e 69 74 69 61 6c | 69 7a 65 64 20 74 6f 20 | initial|ized to |
|00000240| 7a 65 72 6f 0d 09 69 6e | 74 09 09 42 4f 4c 44 49 |zero..in|t..BOLDI|
|00000250| 54 45 4d 0d 7d 0d 0d 3a | 6d 20 44 4c 47 50 54 52 |TEM.}..:|m DLGPTR|
|00000260| 3a 0d 09 69 6e 6c 69 6e | 65 7b 20 67 65 74 3a 20 |:..inlin|e{ get: |
|00000270| 64 6c 67 50 74 72 7d 20 | 20 3b 6d 0d 0d 3a 6d 20 |dlgPtr} | ;m..:m |
|00000280| 43 4c 4f 53 45 3a 0d 09 | 6e 69 6c 3f 3a 20 64 6c |CLOSE:..|nil?: dl|
|00000290| 67 50 74 72 20 20 3f 45 | 58 49 54 0d 5b 20 50 50 |gPtr ?E|XIT.[ PP|
|000002a0| 43 3f 20 5d 20 5b 49 46 | 5d 0d 09 67 65 74 3a 20 |C? ] [IF|]..get: |
|000002b0| 70 72 6f 63 50 74 72 20 | 20 3f 64 75 70 20 49 46 |procPtr | ?dup IF|
|000002c0| 20 20 44 69 73 70 6f 73 | 65 52 6f 75 74 69 6e 65 | Dispos|eRoutine|
|000002d0| 44 65 73 63 72 69 70 74 | 6f 72 20 20 54 48 45 4e |Descript|or THEN|
|000002e0| 0d 5b 54 48 45 4e 5d 0d | 09 67 65 74 3a 20 64 6c |.[THEN].|.get: dl|
|000002f0| 67 50 74 72 20 20 44 69 | 73 70 6f 73 65 44 69 61 |gPtr Di|sposeDia|
|00000300| 6c 6f 67 0d 09 63 6c 65 | 61 72 3a 20 64 6c 67 50 |log..cle|ar: dlgP|
|00000310| 74 72 20 20 3b 6d 0d 0d | 3a 6d 20 4f 50 45 4e 3f |tr ;m..|:m OPEN?|
|00000320| 3a 0d 09 6e 69 6c 3f 3a | 20 64 6c 67 50 74 72 20 |:..nil?:| dlgPtr |
|00000330| 20 3b 6d 0d 0d 3a 6d 20 | 49 54 45 4d 48 41 4e 44 | ;m..:m |ITEMHAND|
|00000340| 4c 45 3a 20 20 7b 20 69 | 74 65 6d 23 20 2d 2d 20 |LE: { i|tem# -- |
|00000350| 68 6e 64 6c 20 7d 0d 09 | 67 65 74 3a 20 64 6c 67 |hndl }..|get: dlg|
|00000360| 50 74 72 20 20 69 74 65 | 6d 23 0d 09 61 64 64 72 |Ptr ite|m#..addr|
|00000370| 3a 20 69 74 65 6d 54 79 | 70 65 20 20 61 64 64 72 |: itemTy|pe addr|
|00000380| 3a 20 69 74 65 6d 48 61 | 6e 64 6c 65 20 20 61 64 |: itemHa|ndle ad|
|00000390| 64 72 3a 20 74 65 6d 70 | 52 65 63 74 0d 09 47 65 |dr: temp|Rect..Ge|
|000003a0| 74 44 69 61 6c 6f 67 49 | 74 65 6d 0d 09 67 65 74 |tDialogI|tem..get|
|000003b0| 3a 20 69 74 65 6d 48 61 | 6e 64 6c 65 20 20 3b 6d |: itemHa|ndle ;m|
|000003c0| 0d 0d 3a 6d 20 44 52 41 | 57 42 4f 4c 44 3a 0d 09 |..:m DRA|WBOLD:..|
|000003d0| 6e 69 6c 3f 3a 20 64 6c | 67 50 74 72 20 20 3f 45 |nil?: dl|gPtr ?E|
|000003e0| 58 49 54 0d 09 67 65 74 | 3a 20 62 6f 6c 64 49 74 |XIT..get|: boldIt|
|000003f0| 65 6d 20 20 3f 64 75 70 | 20 20 30 45 58 49 54 0d |em ?dup| 0EXIT.|
|00000400| 09 73 61 76 65 50 6f 72 | 74 0d 09 67 65 74 3a 20 |.savePor|t..get: |
|00000410| 64 6c 67 50 74 72 20 20 | 53 65 74 50 6f 72 74 20 |dlgPtr |SetPort |
|00000420| 20 33 20 33 20 50 65 6e | 53 69 7a 65 0d 09 69 74 | 3 3 Pen|Size..it|
|00000430| 65 6d 48 61 6e 64 6c 65 | 3a 20 73 65 6c 66 20 20 |emHandle|: self |
|00000440| 64 72 6f 70 09 09 09 5c | 20 53 65 74 73 20 75 70 |drop...\| Sets up|
|00000450| 20 74 65 6d 70 52 65 63 | 74 0d 09 2d 34 20 2d 34 | tempRec|t..-4 -4|
|00000460| 20 69 6e 73 65 74 3a 20 | 74 65 6d 70 52 65 63 74 | inset: |tempRect|
|00000470| 0d 09 61 64 64 72 3a 20 | 74 65 6d 70 52 65 63 74 |..addr: |tempRect|
|00000480| 20 20 31 36 20 31 36 20 | 20 46 72 61 6d 65 52 6f | 16 16 | FrameRo|
|00000490| 75 6e 64 52 65 63 74 20 | 20 50 65 6e 4e 6f 72 6d |undRect | PenNorm|
|000004a0| 61 6c 0d 09 72 65 73 74 | 50 6f 72 74 20 20 3b 6d |al..rest|Port ;m|
|000004b0| 0d 0d 3a 6d 20 47 45 54 | 4e 45 57 3a 0d 09 67 65 |..:m GET|NEW:..ge|
|000004c0| 74 3a 20 72 65 73 69 64 | 20 20 30 20 20 2d 31 20 |t: resid| 0 -1 |
|000004d0| 20 47 65 74 4e 65 77 44 | 69 61 6c 6f 67 20 20 64 | GetNewD|ialog d|
|000004e0| 75 70 20 70 75 74 3a 20 | 64 6c 67 50 74 72 0d 09 |up put: |dlgPtr..|
|000004f0| 30 3d 20 61 62 6f 72 74 | 22 20 64 6c 67 20 72 65 |0= abort|" dlg re|
|00000500| 73 6f 75 72 63 65 20 6e | 6f 74 20 66 6f 75 6e 64 |source n|ot found|
|00000510| 22 0d 09 64 72 61 77 42 | 6f 6c 64 3a 20 73 65 6c |"..drawB|old: sel|
|00000520| 66 20 20 3b 6d 0d 0d 3a | 6d 20 53 45 54 50 52 4f |f ;m..:|m SETPRO|
|00000530| 43 3a 09 09 5c 20 28 20 | 78 74 20 2d 2d 20 29 20 |C:..\ ( |xt -- ) |
|00000540| 20 73 65 74 20 64 69 61 | 6c 6f 67 20 70 72 6f 63 | set dia|log proc|
|00000550| 0d 5b 20 50 50 43 3f 20 | 5d 20 5b 49 46 5d 0d 09 |.[ PPC? |] [IF]..|
|00000560| 32 2b 09 09 5c 20 49 20 | 74 68 69 6e 6b 20 74 68 |2+..\ I |think th|
|00000570| 69 73 20 77 69 6c 6c 20 | 68 61 76 65 20 74 6f 20 |is will |have to |
|00000580| 63 68 61 6e 67 65 21 0d | 09 6b 6f 6e 73 74 20 75 |change!.|.konst u|
|00000590| 70 70 4d 6f 64 61 6c 46 | 69 6c 74 65 72 50 72 6f |ppModalF|ilterPro|
|000005a0| 63 49 6e 66 6f 20 20 6b | 6f 6e 73 74 20 6b 50 6f |cInfo k|onst kPo|
|000005b0| 77 65 72 50 43 49 53 41 | 20 20 4e 65 77 52 6f 75 |werPCISA| NewRou|
|000005c0| 74 69 6e 65 44 65 73 63 | 72 69 70 74 6f 72 0d 5b |tineDesc|riptor.[|
|000005d0| 54 48 45 4e 5d 0d 09 70 | 75 74 3a 20 70 72 6f 63 |THEN]..p|ut: proc|
|000005e0| 50 74 72 0d 3b 6d 0d 0d | 3a 6d 20 4d 4f 44 41 4c |Ptr.;m..|:m MODAL|
|000005f0| 3a 0d 09 42 45 47 49 4e | 0d 09 09 67 65 74 3a 20 |:..BEGIN|...get: |
|00000600| 70 72 6f 63 50 74 72 20 | 20 61 64 64 72 3a 20 74 |procPtr | addr: t|
|00000610| 68 65 49 74 65 6d 20 20 | 4d 6f 64 61 6c 44 69 61 |heItem |ModalDia|
|00000620| 6c 6f 67 0d 09 09 67 65 | 74 3a 20 74 68 65 49 74 |log...ge|t: theIt|
|00000630| 65 6d 20 31 2d 20 20 65 | 78 65 63 3a 20 73 75 70 |em 1- e|xec: sup|
|00000640| 65 72 0d 09 09 72 74 6d | 20 20 66 61 6c 73 65 20 |er...rtm| false |
|00000650| 2d 3e 20 72 74 6d 0d 09 | 4e 55 4e 54 49 4c 20 20 |-> rtm..|NUNTIL |
|00000660| 3b 6d 0d 0d 0d 3a 6d 20 | 50 55 54 49 54 45 4d 3a |;m...:m |PUTITEM:|
|00000670| 09 09 5c 20 28 20 76 61 | 6c 20 69 74 65 6d 23 20 |..\ ( va|l item# |
|00000680| 2d 2d 20 29 0d 09 69 74 | 65 6d 48 61 6e 64 6c 65 |-- )..it|emHandle|
|00000690| 3a 20 73 65 6c 66 20 20 | 73 77 61 70 20 53 65 74 |: self |swap Set|
|000006a0| 43 6f 6e 74 72 6f 6c 56 | 61 6c 75 65 20 20 3b 6d |ControlV|alue ;m|
|000006b0| 0d 0d 3a 6d 20 47 45 54 | 49 54 45 4d 3a 09 09 5c |..:m GET|ITEM:..\|
|000006c0| 20 28 20 69 74 65 6d 23 | 20 2d 2d 20 76 61 6c 20 | ( item#| -- val |
|000006d0| 29 20 20 47 65 74 73 20 | 76 61 6c 75 65 20 66 6f |) Gets |value fo|
|000006e0| 72 20 61 6e 20 69 74 65 | 6d 23 0d 09 69 74 65 6d |r an ite|m#..item|
|000006f0| 48 61 6e 64 6c 65 3a 20 | 73 65 6c 66 20 20 47 65 |Handle: |self Ge|
|00000700| 74 43 6f 6e 74 72 6f 6c | 56 61 6c 75 65 20 20 3b |tControl|Value ;|
|00000710| 6d 0d 0d 3a 6d 20 50 55 | 54 52 45 53 49 44 3a 09 |m..:m PU|TRESID:.|
|00000720| 5c 20 28 20 72 65 73 49 | 44 20 2d 2d 20 29 0d 09 |\ ( resI|D -- )..|
|00000730| 69 6e 6c 69 6e 65 7b 20 | 70 75 74 3a 20 72 65 73 |inline{ |put: res|
|00000740| 49 44 7d 20 20 3b 6d 0d | 0d 3a 6d 20 49 4e 49 54 |ID} ;m.|.:m INIT|
|00000750| 3a 09 5c 20 28 20 78 74 | 31 20 2e 2e 2e 20 78 74 |:.\ ( xt|1 ... xt|
|00000760| 4e 20 4e 20 72 65 73 49 | 44 20 2d 2d 20 29 0d 09 |N N resI|D -- )..|
|00000770| 70 75 74 3a 20 72 65 73 | 49 44 20 20 70 75 74 3a |put: res|ID put:|
|00000780| 20 73 75 70 65 72 20 20 | 3b 6d 0d 0d 3a 6d 20 53 | super |;m..:m S|
|00000790| 45 54 42 4f 4c 44 3a 09 | 5c 20 28 20 69 74 65 6d |ETBOLD:.|\ ( item|
|000007a0| 23 20 2d 2d 20 29 20 20 | 43 61 75 73 65 73 20 62 |# -- ) |Causes b|
|000007b0| 6f 6c 64 20 6f 75 74 6c | 69 6e 65 20 6f 66 20 74 |old outl|ine of t|
|000007c0| 68 65 20 73 70 65 63 69 | 66 69 65 64 20 69 74 65 |he speci|fied ite|
|000007d0| 6d 0d 09 69 6e 6c 69 6e | 65 7b 20 70 75 74 3a 20 |m..inlin|e{ put: |
|000007e0| 62 6f 6c 64 49 74 65 6d | 7d 20 20 3b 6d 0d 0d 3a |boldItem|} ;m..:|
|000007f0| 6d 20 47 45 54 54 45 58 | 54 3a 09 5c 20 28 20 69 |m GETTEX|T:.\ ( i|
|00000800| 74 65 6d 23 20 2d 2d 20 | 61 64 64 72 20 6c 65 6e |tem# -- |addr len|
|00000810| 20 29 20 20 52 65 74 75 | 72 6e 73 20 61 20 74 65 | ) Retu|rns a te|
|00000820| 78 74 20 69 74 65 6d 27 | 73 20 74 65 78 74 0d 09 |xt item'|s text..|
|00000830| 69 74 65 6d 48 61 6e 64 | 6c 65 3a 20 73 65 6c 66 |itemHand|le: self|
|00000840| 20 20 62 75 66 32 35 35 | 20 20 67 65 74 3a 20 49 | buf255| get: I|
|00000850| 74 65 6d 54 79 70 65 20 | 32 34 20 61 6e 64 0d 09 |temType |24 and..|
|00000860| 49 46 20 20 47 65 74 44 | 69 61 6c 6f 67 49 74 65 |IF GetD|ialogIte|
|00000870| 6d 54 65 78 74 20 20 45 | 4c 53 45 20 20 47 65 74 |mText E|LSE Get|
|00000880| 43 6f 6e 74 72 6f 6c 54 | 69 74 6c 65 20 20 54 48 |ControlT|itle TH|
|00000890| 45 4e 0d 09 62 75 66 32 | 35 35 20 63 6f 75 6e 74 |EN..buf2|55 count|
|000008a0| 20 20 3b 6d 0d 0d 3a 6d | 20 50 55 54 54 45 58 54 | ;m..:m| PUTTEXT|
|000008b0| 3a 20 7b 20 61 64 64 72 | 20 6c 65 6e 20 69 74 65 |: { addr| len ite|
|000008c0| 6d 23 20 2d 2d 20 7d 20 | 20 5c 20 53 74 6f 72 65 |m# -- } | \ Store|
|000008d0| 73 20 61 6e 20 69 74 65 | 6d 27 73 20 74 65 78 74 |s an ite|m's text|
|000008e0| 0d 09 69 74 65 6d 23 20 | 20 69 74 65 6d 48 61 6e |..item# | itemHan|
|000008f0| 64 6c 65 3a 20 73 65 6c | 66 0d 09 61 64 64 72 20 |dle: sel|f..addr |
|00000900| 6c 65 6e 20 73 74 72 32 | 35 35 20 20 20 67 65 74 |len str2|55 get|
|00000910| 3a 20 49 74 65 6d 54 79 | 70 65 20 32 34 20 61 6e |: ItemTy|pe 24 an|
|00000920| 64 0d 09 49 46 20 20 53 | 65 74 44 69 61 6c 6f 67 |d..IF S|etDialog|
|00000930| 49 74 65 6d 54 65 78 74 | 20 20 45 4c 53 45 20 20 |ItemText| ELSE |
|00000940| 53 65 74 43 6f 6e 74 72 | 6f 6c 54 69 74 6c 65 20 |SetContr|olTitle |
|00000950| 20 54 48 45 4e 20 20 3b | 6d 0d 0d 3a 6d 20 53 45 | THEN ;|m..:m SE|
|00000960| 54 53 45 4c 45 43 54 3a | 20 20 7b 20 73 74 61 72 |TSELECT:| { star|
|00000970| 74 20 65 6e 64 20 69 74 | 65 6d 23 20 2d 2d 20 7d |t end it|em# -- }|
|00000980| 0d 09 09 5c 20 53 65 74 | 73 20 74 68 65 20 73 65 |...\ Set|s the se|
|00000990| 6c 65 63 74 69 6f 6e 20 | 72 61 6e 67 65 20 66 6f |lection |range fo|
|000009a0| 72 20 74 65 78 74 20 69 | 74 65 6d 0d 09 67 65 74 |r text i|tem..get|
|000009b0| 3a 20 64 6c 67 50 74 72 | 0d 09 69 74 65 6d 23 20 |: dlgPtr|..item# |
|000009c0| 73 74 61 72 74 20 65 6e | 64 20 20 53 65 6c 65 63 |start en|d Selec|
|000009d0| 74 44 69 61 6c 6f 67 49 | 74 65 6d 54 65 78 74 20 |tDialogI|temText |
|000009e0| 20 3b 6d 0d 0d 3a 6d 20 | 44 52 41 57 3a 09 5c 20 | ;m..:m |DRAW:.\ |
|000009f0| 46 6f 72 63 65 73 20 64 | 72 61 77 69 6e 67 20 6f |Forces d|rawing o|
|00000a00| 66 20 64 69 61 6c 6f 67 | 20 62 65 66 6f 72 65 20 |f dialog| before |
|00000a10| 67 6f 69 6e 67 20 74 6f | 20 6d 6f 64 61 6c 3a 0d |going to| modal:.|
|00000a20| 09 67 65 74 3a 20 64 6c | 67 50 74 72 20 20 44 72 |.get: dl|gPtr Dr|
|00000a30| 61 77 44 69 61 6c 6f 67 | 20 20 3b 6d 0d 0d 0d 5c |awDialog| ;m...\|
|00000a40| 09 3d 3d 3d 3d 3d 3d 20 | 45 78 74 72 61 20 6d 65 |.====== |Extra me|
|00000a50| 74 68 6f 64 73 20 66 6f | 72 20 6d 61 6e 69 70 75 |thods fo|r manipu|
|00000a60| 6c 61 74 69 6e 67 20 64 | 69 61 6c 6f 67 20 69 74 |lating d|ialog it|
|00000a70| 65 6d 73 20 3d 3d 3d 3d | 3d 3d 0d 0d 0d 3a 6d 20 |ems ====|==...:m |
|00000a80| 48 49 44 45 49 54 45 4d | 3a 09 5c 20 28 20 69 74 |HIDEITEM|:.\ ( it|
|00000a90| 65 6d 23 20 2d 2d 20 29 | 0d 09 67 65 74 3a 20 64 |em# -- )|..get: d|
|00000aa0| 6c 67 50 74 72 20 20 73 | 77 61 70 20 20 48 69 64 |lgPtr s|wap Hid|
|00000ab0| 65 44 69 61 6c 6f 67 49 | 74 65 6d 20 20 3b 6d 0d |eDialogI|tem ;m.|
|00000ac0| 0d 3a 6d 20 53 48 4f 57 | 49 54 45 4d 3a 09 5c 20 |.:m SHOW|ITEM:.\ |
|00000ad0| 28 20 69 74 65 6d 23 20 | 2d 2d 20 29 0d 09 67 65 |( item# |-- )..ge|
|00000ae0| 74 3a 20 64 6c 67 50 74 | 72 20 20 73 77 61 70 20 |t: dlgPt|r swap |
|00000af0| 20 53 68 6f 77 44 69 61 | 6c 6f 67 49 74 65 6d 20 | ShowDia|logItem |
|00000b00| 20 3b 6d 0d 0d 3a 6d 20 | 44 49 53 41 42 4c 45 49 | ;m..:m |DISABLEI|
|00000b10| 54 45 4d 3a 09 5c 20 28 | 20 69 74 65 6d 23 20 2d |TEM:.\ (| item# -|
|00000b20| 2d 20 29 0d 09 69 74 65 | 6d 48 61 6e 64 6c 65 3a |- )..ite|mHandle:|
|00000b30| 20 73 65 6c 66 20 20 32 | 35 34 20 20 48 69 6c 69 | self 2|54 Hili|
|00000b40| 74 65 43 6f 6e 74 72 6f | 6c 20 20 3b 6d 0d 0d 3a |teContro|l ;m..:|
|00000b50| 6d 20 45 4e 41 42 4c 45 | 49 54 45 4d 3a 09 5c 20 |m ENABLE|ITEM:.\ |
|00000b60| 28 20 69 74 65 6d 23 20 | 2d 2d 20 29 0d 09 69 74 |( item# |-- )..it|
|00000b70| 65 6d 48 61 6e 64 6c 65 | 3a 20 73 65 6c 66 20 20 |emHandle|: self |
|00000b80| 30 20 20 48 69 6c 69 74 | 65 43 6f 6e 74 72 6f 6c |0 Hilit|eControl|
|00000b90| 20 20 3b 6d 0d 0d 3a 6d | 20 53 45 54 55 53 45 52 | ;m..:m| SETUSER|
|00000ba0| 50 52 4f 43 3a 20 20 7b | 20 5e 70 72 6f 63 20 69 |PROC: {| ^proc i|
|00000bb0| 74 65 6d 23 20 2d 2d 20 | 7d 0d 5b 20 50 50 43 3f |tem# -- |}.[ PPC?|
|00000bc0| 20 5d 20 5b 49 46 5d 0d | 09 5e 70 72 6f 63 20 20 | ] [IF].|.^proc |
|00000bd0| 6b 6f 6e 73 74 20 75 70 | 70 55 73 65 72 49 74 65 |konst up|pUserIte|
|00000be0| 6d 50 72 6f 63 49 6e 66 | 6f 20 20 6b 6f 6e 73 74 |mProcInf|o konst|
|00000bf0| 20 6b 50 6f 77 65 72 50 | 43 49 53 41 20 20 4e 65 | kPowerP|CISA Ne|
|00000c00| 77 52 6f 75 74 69 6e 65 | 44 65 73 63 72 69 70 74 |wRoutine|Descript|
|00000c10| 6f 72 0d 09 2d 3e 20 5e | 70 72 6f 63 09 09 09 5c |or..-> ^|proc...\|
|00000c20| 20 2a 2a 2a 6e 6f 74 65 | 2c 20 77 65 20 68 61 76 | ***note|, we hav|
|00000c30| 65 6e 27 74 20 61 72 72 | 61 6e 67 65 64 20 74 6f |en't arr|anged to|
|00000c40| 20 64 69 73 70 6f 73 65 | 20 69 74 20 79 65 74 21 | dispose| it yet!|
|00000c50| 0d 5b 54 48 45 4e 5d 0d | 09 69 74 65 6d 23 20 20 |.[THEN].|.item# |
|00000c60| 69 74 65 6d 48 61 6e 64 | 6c 65 3a 20 73 65 6c 66 |itemHand|le: self|
|00000c70| 20 20 64 72 6f 70 0d 09 | 67 65 74 3a 20 64 6c 67 | drop..|get: dlg|
|00000c80| 50 74 72 20 20 69 74 65 | 6d 23 20 20 30 20 20 5e |Ptr ite|m# 0 ^|
|00000c90| 70 72 6f 63 20 20 61 64 | 64 72 3a 20 74 65 6d 70 |proc ad|dr: temp|
|00000ca0| 52 65 63 74 0d 09 53 65 | 74 44 69 61 6c 6f 67 49 |Rect..Se|tDialogI|
|00000cb0| 74 65 6d 0d 3b 6d 0d 0d | 0d 3a 6d 20 48 49 54 42 |tem.;m..|.:m HITB|
|00000cc0| 4f 4c 44 3a 0d 09 67 65 | 74 3a 20 62 6f 6c 64 49 |OLD:..ge|t: boldI|
|00000cd0| 74 65 6d 20 20 64 75 70 | 20 20 4e 49 46 20 20 64 |tem dup| NIF d|
|00000ce0| 72 6f 70 20 20 45 58 49 | 54 20 20 54 48 45 4e 0d |rop EXI|T THEN.|
|00000cf0| 09 31 2d 20 20 65 78 65 | 63 3a 20 73 65 6c 66 20 |.1- exe|c: self |
|00000d00| 20 3b 6d 0d 0d 3a 6d 20 | 4b 45 59 3a 09 09 5c 20 | ;m..:m |KEY:..\ |
|00000d10| 28 20 2d 2d 20 62 20 29 | 0d 09 09 5c 20 43 61 6c |( -- b )|...\ Cal|
|00000d20| 6c 65 64 20 77 68 65 6e | 20 61 20 6b 65 79 20 64 |led when| a key d|
|00000d30| 6f 77 6e 20 65 76 65 6e | 74 20 6f 63 63 75 72 73 |own even|t occurs|
|00000d40| 20 77 69 74 68 20 74 68 | 69 73 20 64 69 61 6c 6f | with th|is dialo|
|00000d50| 67 27 73 0d 09 09 5c 20 | 77 69 6e 64 6f 77 20 61 |g's...\ |window a|
|00000d60| 63 74 69 76 65 2e 20 20 | 52 65 74 75 72 6e 73 20 |ctive. |Returns |
|00000d70| 66 61 6c 73 65 20 69 66 | 20 77 65 27 76 65 20 68 |false if| we've h|
|00000d80| 61 6e 64 6c 65 64 20 74 | 68 65 20 6b 65 79 0d 09 |andled t|he key..|
|00000d90| 09 5c 20 68 65 72 65 2c | 20 73 6f 20 6e 6f 20 66 |.\ here,| so no f|
|00000da0| 75 72 74 68 65 72 20 61 | 63 74 69 6f 6e 20 69 73 |urther a|ction is|
|00000db0| 20 72 65 71 75 69 72 65 | 64 2e 20 20 53 75 62 63 | require|d. Subc|
|00000dc0| 6c 61 73 73 65 73 20 63 | 61 6e 0d 09 09 5c 20 68 |lasses c|an...\ h|
|00000dd0| 61 76 65 20 63 75 73 74 | 6f 6d 69 7a 65 64 20 4b |ave cust|omized K|
|00000de0| 45 59 3a 20 6d 65 74 68 | 6f 64 73 3b 20 68 65 72 |EY: meth|ods; her|
|00000df0| 65 20 77 65 20 6a 75 73 | 74 20 70 72 6f 76 69 64 |e we jus|t provid|
|00000e00| 65 20 61 0d 09 09 5c 20 | 68 6f 70 65 66 75 6c 6c |e a...\ |hopefull|
|00000e10| 79 20 73 65 6e 73 69 62 | 6c 65 20 64 65 66 61 75 |y sensib|le defau|
|00000e20| 6c 74 20 61 63 74 69 6f | 6e 20 2d 20 6e 61 6d 65 |lt actio|n - name|
|00000e30| 6c 79 2c 20 77 65 20 74 | 72 65 61 74 20 61 0d 09 |ly, we t|reat a..|
|00000e40| 09 5c 20 52 65 74 75 72 | 6e 20 6f 72 20 45 6e 74 |.\ Retur|n or Ent|
|00000e50| 65 72 20 61 73 20 61 20 | 63 6c 69 63 6b 20 6f 6e |er as a |click on|
|00000e60| 20 74 68 65 20 62 6f 6c | 64 20 69 74 65 6d 2c 20 | the bol|d item, |
|00000e70| 61 6e 64 20 69 67 6e 6f | 72 65 0d 09 09 5c 20 61 |and igno|re...\ a|
|00000e80| 6c 6c 20 6f 74 68 65 72 | 20 6b 65 79 73 2e 0d 0d |ll other| keys...|
|00000e90| 09 6d 73 67 3a 20 66 45 | 76 65 6e 74 20 20 24 20 |.msg: fE|vent $ |
|00000ea0| 46 46 20 61 6e 64 20 20 | 28 20 63 68 61 72 20 74 |FF and |( char t|
|00000eb0| 79 70 65 64 20 29 0d 09 | 64 75 70 20 33 20 3d 20 |yped )..|dup 3 = |
|00000ec0| 20 73 77 61 70 20 52 45 | 54 20 3d 20 20 6f 72 0d | swap RE|T = or.|
|00000ed0| 09 49 46 09 5c 20 52 65 | 74 75 72 6e 20 6f 72 20 |.IF.\ Re|turn or |
|00000ee0| 45 6e 74 65 72 20 74 79 | 70 65 64 20 2d 20 74 72 |Enter ty|ped - tr|
|00000ef0| 65 61 74 20 61 73 20 63 | 6c 69 63 6b 20 6f 6e 20 |eat as c|lick on |
|00000f00| 62 6f 6c 64 20 69 74 65 | 6d 0d 09 09 68 69 74 42 |bold ite|m...hitB|
|00000f10| 6f 6c 64 3a 20 73 65 6c | 66 20 20 66 61 6c 73 65 |old: sel|f false|
|00000f20| 20 20 45 58 49 54 0d 09 | 54 48 45 4e 0d 09 74 72 | EXIT..|THEN..tr|
|00000f30| 75 65 20 20 3b 6d 0d 0d | 3a 6d 20 54 49 54 4c 45 |ue ;m..|:m TITLE|
|00000f40| 3a 09 5c 20 28 20 61 64 | 64 72 20 6c 65 6e 20 2d |:.\ ( ad|dr len -|
|00000f50| 2d 20 29 0d 09 73 74 72 | 32 35 35 0d 09 67 65 74 |- )..str|255..get|
|00000f60| 3a 20 64 6c 67 50 74 72 | 20 20 73 77 61 70 20 20 |: dlgPtr| swap |
|00000f70| 53 65 74 57 54 69 74 6c | 65 20 20 3b 6d 0d 0d 3a |SetWTitl|e ;m..:|
|00000f80| 6d 20 4d 41 58 58 3a 09 | 5c 20 28 20 2d 2d 20 78 |m MAXX:.|\ ( -- x|
|00000f90| 20 29 0d 09 67 65 74 3a | 20 64 6c 67 50 74 72 20 | )..get:| dlgPtr |
|00000fa0| 20 6d 61 78 58 3a 20 63 | 6c 61 73 73 5f 61 73 3e | maxX: c|lass_as>|
|00000fb0| 20 77 69 6e 64 6f 77 20 | 20 3b 6d 0d 0d 3a 6d 20 | window | ;m..:m |
|00000fc0| 4d 41 58 59 3a 0d 09 67 | 65 74 3a 20 64 6c 67 50 |MAXY:..g|et: dlgP|
|00000fd0| 74 72 20 20 6d 61 78 59 | 3a 20 63 6c 61 73 73 5f |tr maxY|: class_|
|00000fe0| 61 73 3e 20 77 69 6e 64 | 6f 77 20 20 3b 6d 0d 0d |as> wind|ow ;m..|
|00000ff0| 3a 6d 20 4d 4f 56 45 3a | 09 5c 20 28 20 78 20 79 |:m MOVE:|.\ ( x y|
|00001000| 20 2d 2d 20 29 0d 09 67 | 65 74 3a 20 64 6c 67 50 | -- )..g|et: dlgP|
|00001010| 74 72 20 20 6d 6f 76 65 | 3a 20 63 6c 61 73 73 5f |tr move|: class_|
|00001020| 61 73 3e 20 77 69 6e 64 | 6f 77 20 20 3b 6d 0d 0d |as> wind|ow ;m..|
|00001030| 3a 6d 20 43 45 4e 54 45 | 52 3a 0d 09 67 65 74 3a |:m CENTE|R:..get:|
|00001040| 20 64 6c 67 50 74 72 20 | 20 63 65 6e 74 65 72 3a | dlgPtr | center:|
|00001050| 20 63 6c 61 73 73 5f 61 | 73 3e 20 77 69 6e 64 6f | class_a|s> windo|
|00001060| 77 20 20 3b 6d 0d 0d 5c | 09 09 09 3d 3d 3d 3d 3d |w ;m..\|...=====|
|00001070| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 0d 0d 3a 6d |========|====..:m|
|00001080| 20 53 48 4f 57 3a 0d 09 | 67 65 74 3a 20 64 6c 67 | SHOW:..|get: dlg|
|00001090| 50 74 72 20 20 53 68 6f | 77 57 69 6e 64 6f 77 20 |Ptr Sho|wWindow |
|000010a0| 20 3b 6d 0d 0d 3a 6d 20 | 48 49 44 45 3a 0d 09 67 | ;m..:m |HIDE:..g|
|000010b0| 65 74 3a 20 64 6c 67 50 | 74 72 20 20 48 69 64 65 |et: dlgP|tr Hide|
|000010c0| 57 69 6e 64 6f 77 20 20 | 3b 6d 0d 0d 3a 6d 20 53 |Window |;m..:m S|
|000010d0| 45 4c 45 43 54 3a 0d 09 | 67 65 74 3a 20 64 6c 67 |ELECT:..|get: dlg|
|000010e0| 50 74 72 20 20 53 65 6c | 65 63 74 57 69 6e 64 6f |Ptr Sel|ectWindo|
|000010f0| 77 20 20 3b 6d 0d 0d 0d | 3a 6d 20 43 4c 41 53 53 |w ;m...|:m CLASS|
|00001100| 49 4e 49 54 3a 09 5c 20 | 49 6e 69 74 69 61 6c 69 |INIT:.\ |Initiali|
|00001110| 7a 65 73 20 64 65 66 61 | 75 6c 74 20 68 61 6e 64 |zes defa|ult hand|
|00001120| 6c 65 72 73 20 74 6f 20 | 63 6c 6f 73 65 20 74 68 |lers to |close th|
|00001130| 65 20 64 69 61 6c 6f 67 | 20 62 6f 78 2e 0d 09 5b |e dialog| box...[|
|00001140| 27 5d 20 63 6c 6f 73 65 | 72 20 20 66 69 6c 6c 3a |'] close|r fill:|
|00001150| 20 73 65 6c 66 20 20 3b | 6d 0d 0d 3b 63 6c 61 73 | self ;|m..;clas|
|00001160| 73 0d 0d 0d 3a 20 54 4f | 47 49 54 45 4d 09 5c 20 |s...: TO|GITEM.\ |
|00001170| 54 6f 67 67 6c 65 73 20 | 74 68 65 20 63 68 65 63 |Toggles |the chec|
|00001180| 6b 20 62 6f 78 20 6f 72 | 20 72 61 64 69 6f 20 62 |k box or| radio b|
|00001190| 75 74 74 6f 6e 0d 09 67 | 65 74 3a 20 74 68 65 49 |utton..g|et: theI|
|000011a0| 74 65 6d 20 20 31 20 6f | 76 65 72 20 20 5e 62 61 |tem 1 o|ver ^ba|
|000011b0| 73 65 20 67 65 74 69 74 | 65 6d 3a 20 5b 5d 20 20 |se getit|em: [] |
|000011c0| 2d 20 20 73 77 61 70 20 | 20 5e 62 61 73 65 20 70 |- swap | ^base p|
|000011d0| 75 74 69 74 65 6d 3a 20 | 5b 5d 0d 09 72 65 74 75 |utitem: |[]..retu|
|000011e0| 72 6e 54 6f 4d 6f 64 61 | 6c 20 20 3b 0d 0d 0d 3a |rnToModa|l ;...:|
|000011f0| 20 50 41 52 41 4d 54 45 | 58 54 20 28 20 61 64 64 | PARAMTE|XT ( add|
|00001200| 72 30 20 6c 65 6e 30 20 | 61 64 64 72 31 20 6c 65 |r0 len0 |addr1 le|
|00001210| 6e 31 20 61 64 64 72 32 | 20 6c 65 6e 32 20 61 64 |n1 addr2| len2 ad|
|00001220| 64 72 33 20 6c 65 6e 33 | 20 29 20 7b 20 5c 20 70 |dr3 len3| ) { \ p|
|00001230| 31 20 70 32 20 70 33 20 | 2d 2d 20 7d 0d 09 09 5c |1 p2 p3 |-- }...\|
|00001240| 20 53 75 62 73 74 69 74 | 75 74 65 73 20 44 69 61 | Substit|utes Dia|
|00001250| 6c 6f 67 20 74 65 78 74 | 2e 0d 09 20 73 74 72 32 |log text|... str2|
|00001260| 35 35 20 64 75 70 20 2d | 3e 20 70 33 20 20 63 6f |55 dup -|> p3 co|
|00001270| 75 6e 74 20 2b 0d 09 3e | 73 74 72 32 35 35 20 64 |unt +..>|str255 d|
|00001280| 75 70 20 2d 3e 20 70 32 | 20 20 63 6f 75 6e 74 20 |up -> p2| count |
|00001290| 2b 0d 09 3e 73 74 72 32 | 35 35 20 64 75 70 20 2d |+..>str2|55 dup -|
|000012a0| 3e 20 70 31 20 20 63 6f | 75 6e 74 20 2b 0d 09 3e |> p1 co|unt +..>|
|000012b0| 73 74 72 32 35 35 20 20 | 70 31 20 70 32 20 70 33 |str255 |p1 p2 p3|
|000012c0| 20 20 5a 61 72 61 6d 54 | 65 78 74 20 20 3b 0d 00 | ZaramT|ext ;..|
|000012d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001300| 00 00 01 00 00 00 01 42 | 00 00 00 42 00 00 00 3b |.......B|...B...;|
|00001310| 00 00 00 cd 40 95 00 1f | 7f 20 06 00 00 00 00 00 |....@...|. ......|
|00001320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001330| 0d 44 69 61 6c 6f 67 4d | 6f 64 2e 74 78 74 02 00 |.DialogM|od.txt..|
|00001340| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00001350| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00001360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001370| 00 00 b3 66 c2 72 00 00 | 00 00 00 00 01 7d 00 00 |...f.r..|.....}..|
|00001380| 00 d1 46 91 00 06 7f 1f | 06 00 00 00 00 00 00 00 |..F.....|........|
|00001390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013c0| 00 00 00 00 00 0a 00 00 | 00 00 00 00 00 06 00 00 |........|........|
|000013d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013e0| 00 00 a7 96 9a 0c 00 00 | 92 cb 00 00 00 00 00 00 |........|........|
|000013f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001400| 00 00 00 3e 00 00 00 00 | 00 00 00 00 00 00 00 00 |...>....|........|
|00001410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 07 af |........|........|
|00001430| 00 00 07 af 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001440| 00 00 00 00 01 00 00 00 | 01 42 00 00 00 42 00 00 |........|.B...B..|
|00001450| 00 3b 02 44 25 b8 16 c6 | 00 00 00 1c 00 32 00 00 |.;.D%...|.....2..|
|00001460| 4d 49 46 4f 00 00 00 0a | 00 80 00 00 00 00 00 00 |MIFO....|........|
|00001470| 02 44 24 d0 08 4d 69 73 | 63 49 6e 66 6f 00 00 00 |.D$..Mis|cInfo...|
+--------+-------------------------+-------------------------+--------+--------+