home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1997-02-26 | 2.3 KB | [TEXT/KAHL] |
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: zProgressBars.cp
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| MS-DOS Code Page Info (other/dosCodePage)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Tue Feb 25 21:03:55 1997, modified Tue Feb 25 21:03:55 1997, creator Think C, type ASCII, 1759 bytes "zProgressBars.cp" , at 0x75f 286 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 |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [KAHL] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 10 7a 50 72 6f 67 72 | 65 73 73 42 61 72 73 2e |..zProgr|essBars.|
|00000010| 63 70 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |cp......|........|
|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 06 df 00 | 00 01 1e af 39 4a 8b af |........|....9J..|
|00000060| 39 4a 8b 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |9J......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 bf 55 00 00 |........|.....U..|
|00000080| 2f 2a 20 7a 50 72 6f 67 | 72 65 73 73 42 61 72 73 |/* zProg|ressBars|
|00000090| 2e 63 70 20 2d 2d 20 73 | 75 62 77 69 6e 64 6f 77 |.cp -- s|ubwindow|
|000000a0| 20 6d 65 74 68 6f 64 73 | 20 2a 2f 0d 2f 2a 20 43 | methods| */./* C|
|000000b0| 72 65 61 74 65 64 20 32 | 2f 32 35 2f 39 37 20 31 |reated 2|/25/97 1|
|000000c0| 30 3a 30 33 20 50 4d 20 | 62 79 20 41 70 70 4d 61 |0:03 PM |by AppMa|
|000000d0| 6b 65 72 20 2a 2f 0d 0d | 2f 2a 09 57 65 20 72 65 |ker */..|/*.We re|
|000000e0| 63 6f 6d 6d 65 6e 64 20 | 74 68 61 74 20 79 6f 75 |commend |that you|
|000000f0| 20 6e 6f 74 20 6d 6f 64 | 69 66 79 20 74 68 69 73 | not mod|ify this|
|00000100| 20 6d 6f 64 75 6c 65 20 | 61 6e 64 20 69 6e 73 74 | module |and inst|
|00000110| 65 61 64 20 6d 6f 64 69 | 66 79 09 09 2a 2f 0d 2f |ead modi|fy..*/./|
|00000120| 2a 09 69 74 73 20 73 75 | 62 63 6c 61 73 73 2c 20 |*.its su|bclass, |
|00000130| 50 72 6f 67 72 65 73 73 | 42 61 72 73 2e 20 20 54 |Progress|Bars. T|
|00000140| 68 65 20 27 7a 27 20 70 | 72 65 66 69 78 20 6f 6e |he 'z' p|refix on|
|00000150| 20 74 68 69 73 20 6d 6f | 64 75 6c 65 20 6d 61 72 | this mo|dule mar|
|00000160| 6b 73 09 09 2a 2f 0d 2f | 2a 09 61 20 6d 6f 64 75 |ks..*/./|*.a modu|
|00000170| 6c 65 20 77 68 69 63 68 | 20 69 73 20 6c 69 6b 65 |le which| is like|
|00000180| 6c 79 20 74 6f 20 62 65 | 20 72 65 67 65 6e 65 72 |ly to be| regener|
|00000190| 61 74 65 64 20 62 79 20 | 41 70 70 4d 61 6b 65 72 |ated by |AppMaker|
|000001a0| 20 61 66 74 65 72 20 79 | 6f 75 09 2a 2f 0d 2f 2a | after y|ou.*/./*|
|000001b0| 09 6d 61 6b 65 20 63 68 | 61 6e 67 65 73 20 74 6f |.make ch|anges to|
|000001c0| 20 74 68 65 20 75 73 65 | 72 20 69 6e 74 65 72 66 | the use|r interf|
|000001d0| 61 63 65 2e 20 20 54 68 | 65 20 6d 6f 64 75 6c 65 |ace. Th|e module|
|000001e0| 73 20 77 69 74 68 6f 75 | 74 20 74 68 65 20 27 7a |s withou|t the 'z|
|000001f0| 27 09 2a 2f 0d 2f 2a 09 | 70 72 65 66 69 78 20 77 |'.*/./*.|prefix w|
|00000200| 69 6c 6c 20 6e 6f 74 20 | 62 65 20 72 65 67 65 6e |ill not |be regen|
|00000210| 65 72 61 74 65 64 20 62 | 79 20 41 70 70 4d 61 6b |erated b|y AppMak|
|00000220| 65 72 20 75 6e 6c 65 73 | 73 20 79 6f 75 20 64 65 |er unles|s you de|
|00000230| 6c 65 74 65 20 74 68 65 | 6d 2e 09 2a 2f 0d 2f 2a |lete the|m..*/./*|
|00000240| 09 55 73 69 6e 67 20 61 | 20 73 65 70 61 72 61 74 |.Using a| separat|
|00000250| 65 20 73 75 62 63 6c 61 | 73 73 20 74 6f 20 6f 76 |e subcla|ss to ov|
|00000260| 65 72 72 69 64 65 20 74 | 68 65 20 41 70 70 4d 61 |erride t|he AppMa|
|00000270| 6b 65 72 2d 67 65 6e 65 | 72 61 74 65 64 20 63 6f |ker-gene|rated co|
|00000280| 64 65 09 2a 2f 0d 2f 2a | 09 6c 65 74 73 20 79 6f |de.*/./*|.lets yo|
|00000290| 75 20 72 65 67 65 6e 65 | 72 61 74 65 20 63 6f 64 |u regene|rate cod|
|000002a0| 65 20 77 69 74 68 6f 75 | 74 20 6c 6f 73 69 6e 67 |e withou|t losing|
|000002b0| 20 79 6f 75 72 20 68 61 | 6e 64 2d 63 6f 64 65 64 | your ha|nd-coded|
|000002c0| 20 63 68 61 6e 67 65 73 | 2e 09 2a 2f 20 0d 0d 23 | changes|..*/ ..#|
|000002d0| 69 6e 63 6c 75 64 65 20 | 3c 43 6f 6d 6d 61 6e 64 |include |<Command|
|000002e0| 73 2e 68 3e 0d 23 69 6e | 63 6c 75 64 65 20 3c 43 |s.h>.#in|clude <C|
|000002f0| 42 61 72 74 65 6e 64 65 | 72 2e 68 3e 0d 23 69 6e |Bartende|r.h>.#in|
|00000300| 63 6c 75 64 65 20 3c 43 | 57 69 6e 64 6f 77 2e 68 |clude <C|Window.h|
|00000310| 3e 0d 23 69 6e 63 6c 75 | 64 65 20 3c 43 53 69 7a |>.#inclu|de <CSiz|
|00000320| 65 42 6f 78 2e 68 3e 0d | 23 69 6e 63 6c 75 64 65 |eBox.h>.|#include|
|00000330| 20 3c 43 41 4d 42 75 74 | 74 6f 6e 2e 68 3e 0d 23 | <CAMBut|ton.h>.#|
|00000340| 69 6e 63 6c 75 64 65 20 | 22 7a 50 72 6f 67 72 65 |include |"zProgre|
|00000350| 73 73 42 61 72 73 2e 68 | 22 0d 0d 65 78 74 65 72 |ssBars.h|"..exter|
|00000360| 6e 20 43 44 65 73 6b 74 | 6f 70 09 09 2a 67 44 65 |n CDeskt|op..*gDe|
|00000370| 73 6b 74 6f 70 3b 0d 65 | 78 74 65 72 6e 20 43 42 |sktop;.e|xtern CB|
|00000380| 61 72 74 65 6e 64 65 72 | 09 2a 67 42 61 72 74 65 |artender|.*gBarte|
|00000390| 6e 64 65 72 3b 0d 0d 23 | 64 65 66 69 6e 65 20 50 |nder;..#|define P|
|000003a0| 72 6f 67 72 65 73 73 42 | 61 72 73 49 44 09 31 30 |rogressB|arsID.10|
|000003b0| 32 30 20 0d 0d 2f 2a 2d | 2d 2d 2d 2d 2d 2d 2d 2d |20 ../*-|--------|
|000003c0| 2d 2a 2f 0d 76 6f 69 64 | 09 5a 50 72 6f 67 72 65 |-*/.void|.ZProgre|
|000003d0| 73 73 42 61 72 73 3a 3a | 49 5a 50 72 6f 67 72 65 |ssBars::|IZProgre|
|000003e0| 73 73 42 61 72 73 09 28 | 43 44 69 72 65 63 74 6f |ssBars.(|CDirecto|
|000003f0| 72 4f 77 6e 65 72 09 09 | 2a 61 53 75 70 65 72 76 |rOwner..|*aSuperv|
|00000400| 69 73 6f 72 29 0d 7b 0d | 09 43 56 69 65 77 09 09 |isor).{.|.CView..|
|00000410| 09 2a 65 6e 63 6c 6f 73 | 75 72 65 3b 0d 09 43 42 |.*enclos|ure;..CB|
|00000420| 75 72 65 61 75 63 72 61 | 74 09 09 2a 73 75 70 65 |ureaucra|t..*supe|
|00000430| 72 76 69 73 6f 72 3b 0d | 09 43 53 69 7a 65 42 6f |rvisor;.|.CSizeBo|
|00000440| 78 09 09 2a 61 53 69 7a | 65 42 6f 78 3b 0d 0d 09 |x..*aSiz|eBox;...|
|00000450| 69 6e 68 65 72 69 74 65 | 64 3a 3a 49 44 69 72 65 |inherite|d::IDire|
|00000460| 63 74 6f 72 20 28 61 53 | 75 70 65 72 76 69 73 6f |ctor (aS|uperviso|
|00000470| 72 29 3b 0d 0d 09 69 74 | 73 57 69 6e 64 6f 77 20 |r);...it|sWindow |
|00000480| 3d 20 6e 65 77 20 43 57 | 69 6e 64 6f 77 3b 0d 09 |= new CW|indow;..|
|00000490| 69 74 73 57 69 6e 64 6f | 77 2d 3e 49 57 69 6e 64 |itsWindo|w->IWind|
|000004a0| 6f 77 20 28 50 72 6f 67 | 72 65 73 73 42 61 72 73 |ow (Prog|ressBars|
|000004b0| 49 44 2c 20 46 41 4c 53 | 45 2c 20 67 44 65 73 6b |ID, FALS|E, gDesk|
|000004c0| 74 6f 70 2c 20 74 68 69 | 73 29 3b 0d 0d 09 65 6e |top, thi|s);...en|
|000004d0| 63 6c 6f 73 75 72 65 20 | 3d 20 69 74 73 57 69 6e |closure |= itsWin|
|000004e0| 64 6f 77 3b 0d 09 73 75 | 70 65 72 76 69 73 6f 72 |dow;..su|pervisor|
|000004f0| 20 3d 20 74 68 69 73 3b | 0d 0d 0d 09 69 74 73 52 | = this;|....itsR|
|00000500| 65 63 74 42 61 72 20 3d | 20 6e 65 77 20 43 41 4d |ectBar =| new CAM|
|00000510| 42 75 74 74 6f 6e 3b 0d | 09 69 74 73 52 65 63 74 |Button;.|.itsRect|
|00000520| 42 61 72 2d 3e 49 56 69 | 65 77 52 65 73 20 28 27 |Bar->IVi|ewRes ('|
|00000530| 43 74 6c 50 27 2c 20 31 | 30 32 31 2c 20 65 6e 63 |CtlP', 1|021, enc|
|00000540| 6c 6f 73 75 72 65 2c 20 | 73 75 70 65 72 76 69 73 |losure, |supervis|
|00000550| 6f 72 29 3b 0d 0d 09 69 | 74 73 42 61 72 62 65 72 |or);...i|tsBarber|
|00000560| 42 61 72 20 3d 20 6e 65 | 77 20 43 41 4d 42 75 74 |Bar = ne|w CAMBut|
|00000570| 74 6f 6e 3b 0d 09 69 74 | 73 42 61 72 62 65 72 42 |ton;..it|sBarberB|
|00000580| 61 72 2d 3e 49 56 69 65 | 77 52 65 73 20 28 27 43 |ar->IVie|wRes ('C|
|00000590| 74 6c 50 27 2c 20 31 30 | 32 32 2c 20 65 6e 63 6c |tlP', 10|22, encl|
|000005a0| 6f 73 75 72 65 2c 20 73 | 75 70 65 72 76 69 73 6f |osure, s|uperviso|
|000005b0| 72 29 3b 0d 0d 09 69 74 | 73 50 72 6f 67 72 65 73 |r);...it|sProgres|
|000005c0| 73 42 61 72 20 3d 20 6e | 65 77 20 43 41 4d 42 75 |sBar = n|ew CAMBu|
|000005d0| 74 74 6f 6e 3b 0d 09 69 | 74 73 50 72 6f 67 72 65 |tton;..i|tsProgre|
|000005e0| 73 73 42 61 72 2d 3e 49 | 56 69 65 77 52 65 73 20 |ssBar->I|ViewRes |
|000005f0| 28 27 43 74 6c 50 27 2c | 20 31 30 32 33 2c 20 65 |('CtlP',| 1023, e|
|00000600| 6e 63 6c 6f 73 75 72 65 | 2c 20 73 75 70 65 72 76 |nclosure|, superv|
|00000610| 69 73 6f 72 29 3b 0d 09 | 69 74 73 4d 61 69 6e 50 |isor);..|itsMainP|
|00000620| 61 6e 65 20 3d 20 4e 55 | 4c 4c 3b 0d 0d 09 61 53 |ane = NU|LL;...aS|
|00000630| 69 7a 65 42 6f 78 20 3d | 20 6e 65 77 20 43 53 69 |izeBox =| new CSi|
|00000640| 7a 65 42 6f 78 3b 0d 09 | 61 53 69 7a 65 42 6f 78 |zeBox;..|aSizeBox|
|00000650| 2d 3e 49 53 69 7a 65 42 | 6f 78 20 28 65 6e 63 6c |->ISizeB|ox (encl|
|00000660| 6f 73 75 72 65 2c 20 73 | 75 70 65 72 76 69 73 6f |osure, s|uperviso|
|00000670| 72 29 3b 0d 0d 7d 20 2f | 2a 20 49 5a 50 72 6f 67 |r);..} /|* IZProg|
|00000680| 72 65 73 73 42 61 72 73 | 20 2a 2f 0d 0d 2f 2a 2d |ressBars| */../*-|
|00000690| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2a 2f 0d 76 6f 69 64 |--------|-*/.void|
|000006a0| 09 5a 50 72 6f 67 72 65 | 73 73 42 61 72 73 3a 3a |.ZProgre|ssBars::|
|000006b0| 44 6f 43 6f 6d 6d 61 6e | 64 09 09 28 6c 6f 6e 67 |DoComman|d..(long|
|000006c0| 09 09 74 68 65 43 6f 6d | 6d 61 6e 64 29 0d 7b 0d |..theCom|mand).{.|
|000006d0| 09 73 77 69 74 63 68 20 | 28 74 68 65 43 6f 6d 6d |.switch |(theComm|
|000006e0| 61 6e 64 29 20 7b 0d 0d | 09 09 64 65 66 61 75 6c |and) {..|..defaul|
|000006f0| 74 3a 0d 09 09 09 09 69 | 6e 68 65 72 69 74 65 64 |t:.....i|nherited|
|00000700| 3a 3a 44 6f 43 6f 6d 6d | 61 6e 64 20 28 74 68 65 |::DoComm|and (the|
|00000710| 43 6f 6d 6d 61 6e 64 29 | 3b 0d 09 09 09 62 72 65 |Command)|;....bre|
|00000720| 61 6b 3b 0d 09 7d 20 2f | 2a 20 73 77 69 74 63 68 |ak;..} /|* switch|
|00000730| 20 2a 2f 0d 0d 7d 20 2f | 2a 20 44 6f 43 6f 6d 6d | */..} /|* DoComm|
|00000740| 61 6e 64 20 2a 2f 0d 0d | 2f 2a 20 7a 50 72 6f 67 |and */..|/* zProg|
|00000750| 72 65 73 73 42 61 72 73 | 2e 63 70 20 2a 2f 0d 00 |ressBars|.cp */..|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000780| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000790| 00 00 00 00 00 46 00 00 | 00 01 00 03 00 00 00 00 |.....F..|........|
|000007a0| 00 00 00 00 02 01 00 00 | 00 00 0b 69 52 61 64 69 |........|...iRadi|
|000007b0| 10 7a 50 72 6f 67 72 65 | 73 73 42 61 72 73 2e 63 |.zProgre|ssBars.c|
|000007c0| 70 61 02 00 00 00 54 45 | 58 54 4b 41 48 4c 00 00 |pa....TE|XTKAHL..|
|000007d0| 00 00 54 45 58 54 4b 41 | 48 4c 00 00 65 2c 63 c0 |..TEXTKA|HL..e,c.|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 af 39 12 4a 00 00 | 06 df 00 00 01 1e 00 00 |...9.J..|........|
|00000800| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000810| 00 00 00 00 00 00 00 00 | 00 16 00 00 00 00 00 00 |........|........|
|00000820| 00 46 00 00 00 01 00 03 | 00 00 00 00 00 00 00 00 |.F......|........|
|00000830| 02 01 00 00 00 00 0a 69 | 53 63 72 6f 6c 6c 42 61 |.......i|ScrollBa|
|00000840| 72 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |r.......|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 17 |........|........|
|00000860| 00 00 00 00 00 00 00 46 | 00 00 00 01 00 03 00 00 |.......F|........|
|00000870| 00 00 00 00 00 00 02 01 | 00 00 00 00 0b 69 53 74 |........|.....iSt|
|00000880| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000890| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 00 00 |........|........|
|000008a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+