home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1990-05-23 | 3.6 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: list.c.bin
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| AMOS Picture Packer (image/amosPicturePacker)
| ext
| Supported |
10%
| dexvert
| Jesper Olsen Module (music/jesperOlsen)
| magic
| 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
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary, Thu Apr 20 07:05:09 1989, modified Fri Jan 26 14:43:19 1990, creator Think C, type ASCII, 3468 bytes "list.c"
| default (weak)
| |
99%
| file
| data
| default
| |
49%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
33%
| TrID
| TTComp archive compressed (bin-4K)
| default (weak)
| |
17%
| 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 06 6c 69 73 74 2e 63 | 00 00 00 00 00 00 00 00 |..list.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 0d 8c 00 | 00 00 00 a0 73 69 e5 a1 |........|....si..|
|00000060| e6 58 d7 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.X......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000080| 2f 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |/*******|********|
|00000090| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000d0| 2a 0d 20 2a 09 6c 69 73 | 74 2e 63 0d 20 2a 0d 20 |*. *.lis|t.c. *. |
|000000e0| 2a 09 4c 69 73 74 20 57 | 69 6e 64 6f 77 20 4d 61 |*.List W|indow Ma|
|000000f0| 6e 61 67 65 6d 65 6e 74 | 20 50 61 63 6b 61 67 65 |nagement| Package|
|00000100| 0d 20 2a 0d 20 2a 09 57 | 72 69 74 74 65 6e 20 62 |. *. *.W|ritten b|
|00000110| 79 20 50 61 63 6f 20 58 | 61 6e 64 65 72 20 4e 61 |y Paco X|ander Na|
|00000120| 74 68 61 6e 0d 20 2a 09 | a9 31 39 39 30 2c 20 4d |than. *.|.1990, M|
|00000130| 6f 74 6f 72 6f 6c 61 20 | 49 6e 63 2e 20 20 50 75 |otorola |Inc. Pu|
|00000140| 62 6c 69 63 20 64 6f 6d | 61 69 6e 20 73 6f 75 72 |blic dom|ain sour|
|00000150| 63 65 20 63 6f 64 65 2e | 0d 20 2a 2a 2a 2a 2a 2a |ce code.|. ******|
|00000160| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000170| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000180| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000190| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000001a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2f 0d 0d 23 69 6e |********|**/..#in|
|000001b0| 63 6c 75 64 65 20 22 61 | 70 70 6c 69 63 2e 68 22 |clude "a|pplic.h"|
|000001c0| 0d 23 69 6e 63 6c 75 64 | 65 20 22 77 69 6e 64 6f |.#includ|e "windo|
|000001d0| 77 2e 68 22 0d 23 69 6e | 63 6c 75 64 65 20 22 6c |w.h".#in|clude "l|
|000001e0| 69 73 74 2e 68 22 0d 0d | 23 69 6e 63 6c 75 64 65 |ist.h"..|#include|
|000001f0| 20 22 74 65 73 74 2e 68 | 22 0d 23 69 6e 63 6c 75 | "test.h|".#inclu|
|00000200| 64 65 20 22 67 6e 6f 73 | 69 73 2e 68 22 0d 0d 0d |de "gnos|is.h"...|
|00000210| 2f 2a 20 43 72 65 61 74 | 65 20 61 20 6e 65 77 20 |/* Creat|e a new |
|00000220| 77 69 6e 64 6f 77 20 69 | 6e 66 6f 20 68 61 6e 64 |window i|nfo hand|
|00000230| 6c 65 20 77 69 74 68 20 | 61 20 6c 69 73 74 20 69 |le with |a list i|
|00000240| 74 65 6d 0d 20 2a 2f 0d | 57 69 6e 64 6f 77 50 74 |tem. */.|WindowPt|
|00000250| 72 0d 4c 69 73 74 57 69 | 6e 64 6f 77 20 28 77 69 |r.ListWi|ndow (wi|
|00000260| 6e 64 49 44 2c 20 74 6f | 70 2c 20 6c 65 66 74 2c |ndID, to|p, left,|
|00000270| 20 69 73 41 63 74 69 76 | 65 29 0d 09 72 65 67 69 | isActiv|e)..regi|
|00000280| 73 74 65 72 20 73 68 6f | 72 74 20 77 69 6e 64 49 |ster sho|rt windI|
|00000290| 44 3b 0d 09 72 65 67 69 | 73 74 65 72 20 73 68 6f |D;..regi|ster sho|
|000002a0| 72 74 20 74 6f 70 2c 20 | 6c 65 66 74 3b 0d 09 72 |rt top, |left;..r|
|000002b0| 65 67 69 73 74 65 72 20 | 42 6f 6f 6c 65 61 6e 20 |egister |Boolean |
|000002c0| 69 73 41 63 74 69 76 65 | 3b 0d 7b 0d 09 72 65 67 |isActive|;.{..reg|
|000002d0| 69 73 74 65 72 20 57 69 | 6e 64 6f 77 50 74 72 20 |ister Wi|ndowPtr |
|000002e0| 74 68 65 57 69 6e 64 6f | 77 3b 0d 09 72 65 67 69 |theWindo|w;..regi|
|000002f0| 73 74 65 72 20 49 6e 66 | 6f 50 74 72 20 69 6e 66 |ster Inf|oPtr inf|
|00000300| 6f 50 74 72 3b 0d 09 72 | 65 67 69 73 74 65 72 20 |oPtr;..r|egister |
|00000310| 4c 69 73 74 48 61 6e 64 | 6c 65 20 6c 69 73 74 48 |ListHand|le listH|
|00000320| 64 6c 3b 0d 09 73 74 61 | 74 69 63 20 52 65 63 74 |dl;..sta|tic Rect|
|00000330| 20 63 65 6c 6c 42 6f 75 | 6e 64 73 20 3d 20 7b 20 | cellBou|nds = { |
|00000340| 30 2c 20 30 2c 20 31 2c | 20 33 20 7d 3b 0d 09 73 |0, 0, 1,| 3 };..s|
|00000350| 74 61 74 69 63 20 43 65 | 6c 6c 20 63 65 6c 6c 53 |tatic Ce|ll cellS|
|00000360| 69 7a 65 20 3d 20 7b 20 | 28 46 4f 4e 54 53 49 5a |ize = { |(FONTSIZ|
|00000370| 45 20 2a 20 33 20 2f 20 | 32 29 2c 20 34 30 20 7d |E * 3 / |2), 40 }|
|00000380| 3b 0d 09 73 74 61 74 69 | 63 20 43 65 6c 6c 20 74 |;..stati|c Cell t|
|00000390| 68 65 43 65 6c 6c 20 3d | 20 7b 20 30 2c 20 30 20 |heCell =| { 0, 0 |
|000003a0| 7d 3b 0d 09 47 72 61 66 | 50 74 72 20 73 61 76 65 |};..Graf|Ptr save|
|000003b0| 50 6f 72 74 3b 0d 0d 09 | 69 66 20 28 74 68 65 57 |Port;...|if (theW|
|000003c0| 69 6e 64 6f 77 20 3d 20 | 57 69 6e 64 41 6c 6c 6f |indow = |WindAllo|
|000003d0| 63 61 74 65 28 77 69 6e | 64 49 44 2c 20 69 73 41 |cate(win|dID, isA|
|000003e0| 63 74 69 76 65 29 29 20 | 7b 0d 09 09 47 65 74 50 |ctive)) |{...GetP|
|000003f0| 6f 72 74 28 26 73 61 76 | 65 50 6f 72 74 29 3b 0d |ort(&sav|ePort);.|
|00000400| 09 09 53 65 74 50 6f 72 | 74 28 74 68 65 57 69 6e |..SetPor|t(theWin|
|00000410| 64 6f 77 29 3b 0d 09 0d | 09 09 2f 2a 20 53 65 74 |dow);...|../* Set|
|00000420| 20 74 68 65 20 66 6f 6e | 74 20 61 74 74 72 69 62 | the fon|t attrib|
|00000430| 75 74 65 73 20 61 6e 64 | 20 63 72 65 61 74 65 20 |utes and| create |
|00000440| 74 68 65 20 4c 69 73 74 | 20 68 61 6e 64 6c 65 0d |the List| handle.|
|00000450| 09 09 20 2a 2f 0d 09 09 | 54 65 78 74 46 6f 6e 74 |.. */...|TextFont|
|00000460| 28 46 4f 4e 54 4e 55 4d | 29 3b 0d 09 09 54 65 78 |(FONTNUM|);...Tex|
|00000470| 74 53 69 7a 65 28 46 4f | 4e 54 53 49 5a 45 29 3b |tSize(FO|NTSIZE);|
|00000480| 0d 09 09 54 65 78 74 46 | 61 63 65 28 30 29 3b 0d |...TextF|ace(0);.|
|00000490| 09 09 54 65 78 74 4d 6f | 64 65 28 73 72 63 4f 72 |..TextMo|de(srcOr|
|000004a0| 29 3b 0d 09 0d 09 09 69 | 6e 66 6f 50 74 72 20 3d |);.....i|nfoPtr =|
|000004b0| 20 28 49 6e 66 6f 50 74 | 72 29 20 47 65 74 57 52 | (InfoPt|r) GetWR|
|000004c0| 65 66 43 6f 6e 28 74 68 | 65 57 69 6e 64 6f 77 29 |efCon(th|eWindow)|
|000004d0| 3b 0d 09 09 53 65 74 52 | 65 63 74 28 26 28 69 6e |;...SetR|ect(&(in|
|000004e0| 66 6f 50 74 72 2d 3e 6f | 66 66 73 65 74 29 2c 20 |foPtr->o|ffset), |
|000004f0| 74 6f 70 2c 20 6c 65 66 | 74 2c 20 32 30 2c 20 32 |top, lef|t, 20, 2|
|00000500| 30 29 3b 0d 09 09 69 6e | 66 6f 50 74 72 2d 3e 6b |0);...in|foPtr->k|
|00000510| 69 6e 64 20 3d 20 77 6b | 4c 69 73 74 3b 0d 0d 09 |ind = wk|List;...|
|00000520| 09 69 66 20 28 6c 69 73 | 74 48 64 6c 20 3d 20 69 |.if (lis|tHdl = i|
|00000530| 6e 66 6f 50 74 72 2d 3e | 69 74 65 6d 2e 6c 69 73 |nfoPtr->|item.lis|
|00000540| 74 20 3d 20 4c 4e 65 77 | 28 26 28 69 6e 66 6f 50 |t = LNew|(&(infoP|
|00000550| 74 72 2d 3e 6f 66 66 73 | 65 74 29 2c 20 26 63 65 |tr->offs|et), &ce|
|00000560| 6c 6c 42 6f 75 6e 64 73 | 2c 20 63 65 6c 6c 53 69 |llBounds|, cellSi|
|00000570| 7a 65 2c 20 30 2c 20 74 | 68 65 57 69 6e 64 6f 77 |ze, 0, t|heWindow|
|00000580| 2c 20 54 52 55 45 2c 20 | 46 41 4c 53 45 2c 20 46 |, TRUE, |FALSE, F|
|00000590| 41 4c 53 45 2c 20 54 52 | 55 45 29 29 20 7b 0d 09 |ALSE, TR|UE)) {..|
|000005a0| 09 09 2f 2a 20 50 6c 61 | 63 65 20 61 20 70 72 6f |../* Pla|ce a pro|
|000005b0| 6d 70 74 20 69 6e 20 74 | 68 65 20 66 69 72 73 74 |mpt in t|he first|
|000005c0| 20 63 65 6c 6c 0d 09 09 | 09 20 2a 2f 0d 09 09 09 | cell...|. */....|
|000005d0| 48 4c 6f 63 6b 28 6c 69 | 73 74 48 64 6c 29 3b 0d |HLock(li|stHdl);.|
|000005e0| 09 09 09 28 2a 6c 69 73 | 74 48 64 6c 29 2d 3e 73 |...(*lis|tHdl)->s|
|000005f0| 65 6c 46 6c 61 67 73 20 | 7c 3d 20 6c 4f 6e 6c 79 |elFlags ||= lOnly|
|00000600| 4f 6e 65 3b 0d 09 09 09 | 28 2a 6c 69 73 74 48 64 |One;....|(*listHd|
|00000610| 6c 29 2d 3e 6c 69 73 74 | 46 6c 61 67 73 20 7c 3d |l)->list|Flags |=|
|00000620| 20 6c 44 6f 56 41 75 74 | 6f 53 63 72 6f 6c 6c 3b | lDoVAut|oScroll;|
|00000630| 0d 09 09 09 48 55 6e 6c | 6f 63 6b 28 6c 69 73 74 |....HUnl|ock(list|
|00000640| 48 64 6c 29 3b 0d 09 09 | 0d 09 09 09 2f 2a 20 46 |Hdl);...|..../* F|
|00000650| 69 6e 61 6c 6c 79 2c 20 | 61 64 6a 75 73 74 20 74 |inally, |adjust t|
|00000660| 68 65 20 77 69 6e 64 6f | 77 20 72 65 63 74 20 64 |he windo|w rect d|
|00000670| 69 6d 65 6e 73 69 6f 6e | 73 0d 09 09 09 20 2a 2f |imension|s.... */|
|00000680| 0d 09 09 09 4c 69 73 74 | 41 64 6a 75 73 74 28 74 |....List|Adjust(t|
|00000690| 68 65 57 69 6e 64 6f 77 | 29 3b 0d 09 09 7d 0d 0d |heWindow|);...}..|
|000006a0| 09 09 53 65 74 50 6f 72 | 74 28 73 61 76 65 50 6f |..SetPor|t(savePo|
|000006b0| 72 74 29 3b 0d 09 7d 0d | 09 0d 09 72 65 74 75 72 |rt);..}.|...retur|
|000006c0| 6e 20 74 68 65 57 69 6e | 64 6f 77 3b 0d 7d 0d 0d |n theWin|dow;.}..|
|000006d0| 0d 2f 2a 20 52 65 73 69 | 7a 65 20 74 68 65 20 6c |./* Resi|ze the l|
|000006e0| 69 73 74 20 76 69 65 77 | 20 72 65 63 74 20 66 6f |ist view| rect fo|
|000006f0| 72 20 61 20 6c 69 73 74 | 20 77 69 6e 64 6f 77 0d |r a list| window.|
|00000700| 20 2a 2f 0d 76 6f 69 64 | 0d 4c 69 73 74 41 64 6a | */.void|.ListAdj|
|00000710| 75 73 74 20 28 74 68 65 | 57 69 6e 64 6f 77 29 0d |ust (the|Window).|
|00000720| 09 72 65 67 69 73 74 65 | 72 20 57 69 6e 64 6f 77 |.registe|r Window|
|00000730| 50 74 72 20 74 68 65 57 | 69 6e 64 6f 77 3b 0d 7b |Ptr theW|indow;.{|
|00000740| 0d 09 72 65 67 69 73 74 | 65 72 20 49 6e 66 6f 50 |..regist|er InfoP|
|00000750| 74 72 20 69 6e 66 6f 50 | 74 72 20 3d 20 28 49 6e |tr infoP|tr = (In|
|00000760| 66 6f 50 74 72 29 20 47 | 65 74 57 52 65 66 43 6f |foPtr) G|etWRefCo|
|00000770| 6e 28 74 68 65 57 69 6e | 64 6f 77 29 3b 0d 09 72 |n(theWin|dow);..r|
|00000780| 65 67 69 73 74 65 72 20 | 52 65 63 74 20 76 69 65 |egister |Rect vie|
|00000790| 77 3b 0d 09 47 72 61 66 | 50 74 72 20 73 61 76 65 |w;..Graf|Ptr save|
|000007a0| 50 6f 72 74 3b 0d 09 43 | 65 6c 6c 20 63 65 6c 6c |Port;..C|ell cell|
|000007b0| 53 69 7a 65 3b 0d 09 0d | 09 47 65 74 50 6f 72 74 |Size;...|.GetPort|
|000007c0| 28 26 73 61 76 65 50 6f | 72 74 29 3b 0d 09 53 65 |(&savePo|rt);..Se|
|000007d0| 74 50 6f 72 74 28 74 68 | 65 57 69 6e 64 6f 77 29 |tPort(th|eWindow)|
|000007e0| 3b 0d 0d 09 2f 2a 20 52 | 65 73 69 7a 65 20 74 68 |;.../* R|esize th|
|000007f0| 65 20 6c 69 73 74 20 0d | 09 20 2a 2f 0d 09 76 69 |e list .|. */..vi|
|00000800| 65 77 20 3d 20 74 68 65 | 57 69 6e 64 6f 77 2d 3e |ew = the|Window->|
|00000810| 70 6f 72 74 52 65 63 74 | 3b 0d 09 4c 53 69 7a 65 |portRect|;..LSize|
|00000820| 28 76 69 65 77 2e 72 69 | 67 68 74 20 2d 20 76 69 |(view.ri|ght - vi|
|00000830| 65 77 2e 6c 65 66 74 20 | 2d 20 31 35 2c 20 76 69 |ew.left |- 15, vi|
|00000840| 65 77 2e 62 6f 74 74 6f | 6d 20 2d 20 76 69 65 77 |ew.botto|m - view|
|00000850| 2e 74 6f 70 2c 20 69 6e | 66 6f 50 74 72 2d 3e 69 |.top, in|foPtr->i|
|00000860| 74 65 6d 2e 6c 69 73 74 | 29 3b 0d 0d 09 2f 2a 20 |tem.list|);.../* |
|00000870| 52 65 73 65 74 20 74 68 | 65 20 63 65 6c 6c 20 73 |Reset th|e cell s|
|00000880| 69 7a 65 0d 09 20 2a 2f | 0d 09 53 65 74 50 74 28 |ize.. */|..SetPt(|
|00000890| 26 63 65 6c 6c 53 69 7a | 65 2c 20 28 76 69 65 77 |&cellSiz|e, (view|
|000008a0| 2e 72 69 67 68 74 20 2d | 20 76 69 65 77 2e 6c 65 |.right -| view.le|
|000008b0| 66 74 20 2d 20 31 35 29 | 20 2f 20 32 2c 20 46 4f |ft - 15)| / 2, FO|
|000008c0| 4e 54 53 49 5a 45 20 2a | 20 33 20 2f 20 32 29 3b |NTSIZE *| 3 / 2);|
|000008d0| 0d 09 4c 43 65 6c 6c 53 | 69 7a 65 28 63 65 6c 6c |..LCellS|ize(cell|
|000008e0| 53 69 7a 65 2c 20 69 6e | 66 6f 50 74 72 2d 3e 69 |Size, in|foPtr->i|
|000008f0| 74 65 6d 2e 6c 69 73 74 | 29 3b 0d 09 0d 09 53 65 |tem.list|);....Se|
|00000900| 74 50 6f 72 74 28 73 61 | 76 65 50 6f 72 74 29 3b |tPort(sa|vePort);|
|00000910| 0d 7d 0d 0d 0d 2f 2a 20 | 44 72 61 77 20 61 6e 20 |.}.../* |Draw an |
|00000920| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 77 69 6e 64 |applicat|ion wind|
|00000930| 6f 77 20 2d 20 73 77 69 | 74 63 68 20 6f 6e 20 70 |ow - swi|tch on p|
|00000940| 61 72 74 69 63 75 6c 61 | 72 20 77 69 6e 64 6f 77 |articula|r window|
|00000950| 20 74 6f 20 64 72 61 77 | 20 61 6c 6c 20 74 68 65 | to draw| all the|
|00000960| 20 66 61 6e 63 79 0d 20 | 2a 20 62 65 6c 6c 73 20 | fancy. |* bells |
|00000970| 61 6e 64 20 77 68 69 73 | 74 6c 65 73 0d 20 2a 2f |and whis|tles. */|
|00000980| 0d 76 6f 69 64 0d 4c 69 | 73 74 44 72 61 77 20 28 |.void.Li|stDraw (|
|00000990| 74 68 65 57 69 6e 64 6f | 77 2c 20 66 75 6c 6c 44 |theWindo|w, fullD|
|000009a0| 72 61 77 29 0d 09 72 65 | 67 69 73 74 65 72 20 57 |raw)..re|gister W|
|000009b0| 69 6e 64 6f 77 50 74 72 | 20 74 68 65 57 69 6e 64 |indowPtr| theWind|
|000009c0| 6f 77 3b 0d 09 72 65 67 | 69 73 74 65 72 20 42 6f |ow;..reg|ister Bo|
|000009d0| 6f 6c 65 61 6e 20 66 75 | 6c 6c 44 72 61 77 3b 0d |olean fu|llDraw;.|
|000009e0| 7b 0d 09 72 65 67 69 73 | 74 65 72 20 49 6e 66 6f |{..regis|ter Info|
|000009f0| 50 74 72 20 69 6e 66 6f | 50 74 72 20 3d 20 28 49 |Ptr info|Ptr = (I|
|00000a00| 6e 66 6f 50 74 72 29 20 | 47 65 74 57 52 65 66 43 |nfoPtr) |GetWRefC|
|00000a10| 6f 6e 28 74 68 65 57 69 | 6e 64 6f 77 29 3b 0d 09 |on(theWi|ndow);..|
|00000a20| 72 65 67 69 73 74 65 72 | 20 4c 69 73 74 48 61 6e |register| ListHan|
|00000a30| 64 6c 65 20 6c 69 73 74 | 48 64 6c 20 3d 20 69 6e |dle list|Hdl = in|
|00000a40| 66 6f 50 74 72 2d 3e 69 | 74 65 6d 2e 6c 69 73 74 |foPtr->i|tem.list|
|00000a50| 3b 0d 0d 09 69 66 20 28 | 66 75 6c 6c 44 72 61 77 |;...if (|fullDraw|
|00000a60| 29 0d 09 09 4c 55 70 64 | 61 74 65 28 74 68 65 57 |)...LUpd|ate(theW|
|00000a70| 69 6e 64 6f 77 2d 3e 76 | 69 73 52 67 6e 2c 20 6c |indow->v|isRgn, l|
|00000a80| 69 73 74 48 64 6c 29 3b | 0d 7d 0d 0d 0d 2f 2a 20 |istHdl);|.}.../* |
|00000a90| 48 61 6e 64 6c 65 20 61 | 20 63 6c 69 63 6b 20 69 |Handle a| click i|
|00000aa0| 6e 73 69 64 65 20 61 20 | 6c 69 73 74 20 77 69 6e |nside a |list win|
|00000ab0| 64 6f 77 0d 20 2a 2f 0d | 76 6f 69 64 20 0d 4c 69 |dow. */.|void .Li|
|00000ac0| 73 74 43 6f 6e 74 65 6e | 74 20 28 74 68 65 57 69 |stConten|t (theWi|
|00000ad0| 6e 64 6f 77 2c 20 74 68 | 65 4d 6f 64 73 2c 20 74 |ndow, th|eMods, t|
|00000ae0| 68 65 50 6f 69 6e 74 29 | 0d 09 72 65 67 69 73 74 |hePoint)|..regist|
|00000af0| 65 72 20 57 69 6e 64 6f | 77 50 74 72 20 74 68 65 |er Windo|wPtr the|
|00000b00| 57 69 6e 64 6f 77 3b 0d | 09 72 65 67 69 73 74 65 |Window;.|.registe|
|00000b10| 72 20 73 68 6f 72 74 20 | 74 68 65 4d 6f 64 73 3b |r short |theMods;|
|00000b20| 0d 09 72 65 67 69 73 74 | 65 72 20 50 6f 69 6e 74 |..regist|er Point|
|00000b30| 20 74 68 65 50 6f 69 6e | 74 3b 0d 7b 0d 09 72 65 | thePoin|t;.{..re|
|00000b40| 67 69 73 74 65 72 20 49 | 6e 66 6f 50 74 72 20 69 |gister I|nfoPtr i|
|00000b50| 6e 66 6f 50 74 72 20 3d | 20 28 49 6e 66 6f 50 74 |nfoPtr =| (InfoPt|
|00000b60| 72 29 20 47 65 74 57 52 | 65 66 43 6f 6e 28 74 68 |r) GetWR|efCon(th|
|00000b70| 65 57 69 6e 64 6f 77 29 | 3b 0d 09 72 65 67 69 73 |eWindow)|;..regis|
|00000b80| 74 65 72 20 4c 69 73 74 | 48 61 6e 64 6c 65 20 6c |ter List|Handle l|
|00000b90| 69 73 74 48 64 6c 20 3d | 20 69 6e 66 6f 50 74 72 |istHdl =| infoPtr|
|00000ba0| 2d 3e 69 74 65 6d 2e 6c | 69 73 74 3b 0d 09 72 65 |->item.l|ist;..re|
|00000bb0| 67 69 73 74 65 72 20 42 | 6f 6f 6c 65 61 6e 20 64 |gister B|oolean d|
|00000bc0| 62 6c 43 6c 69 63 6b 3b | 0d 09 72 65 67 69 73 74 |blClick;|..regist|
|00000bd0| 65 72 20 52 65 63 74 20 | 2a 76 69 65 77 3b 0d 09 |er Rect |*view;..|
|00000be0| 72 65 67 69 73 74 65 72 | 20 6c 6f 6e 67 20 6c 61 |register| long la|
|00000bf0| 73 74 3b 0d 09 43 65 6c | 6c 20 74 68 65 43 65 6c |st;..Cel|l theCel|
|00000c00| 6c 3b 0d 0d 09 2f 2a 20 | 4c 65 74 20 74 68 65 20 |l;.../* |Let the |
|00000c10| 4c 69 73 74 4d 67 72 20 | 73 63 72 6f 6c 6c 2c 20 |ListMgr |scroll, |
|00000c20| 73 65 6c 65 63 74 2c 20 | 65 74 63 2e 2c 20 61 6e |select, |etc., an|
|00000c30| 64 20 74 65 73 74 20 66 | 6f 72 20 64 6f 75 62 6c |d test f|or doubl|
|00000c40| 65 20 63 6c 69 63 6b 0d | 09 20 2a 2f 0d 09 64 62 |e click.|. */..db|
|00000c50| 6c 43 6c 69 63 6b 20 3d | 20 4c 43 6c 69 63 6b 28 |lClick =| LClick(|
|00000c60| 74 68 65 50 6f 69 6e 74 | 2c 20 74 68 65 4d 6f 64 |thePoint|, theMod|
|00000c70| 73 2c 20 6c 69 73 74 48 | 64 6c 29 3b 0d 09 0d 09 |s, listH|dl);....|
|00000c80| 48 4c 6f 63 6b 28 6c 69 | 73 74 48 64 6c 29 3b 0d |HLock(li|stHdl);.|
|00000c90| 09 76 69 65 77 20 3d 20 | 26 28 28 2a 6c 69 73 74 |.view = |&((*list|
|00000ca0| 48 64 6c 29 2d 3e 72 56 | 69 65 77 29 3b 0d 09 48 |Hdl)->rV|iew);..H|
|00000cb0| 55 6e 6c 6f 63 6b 28 6c | 69 73 74 48 64 6c 29 3b |Unlock(l|istHdl);|
|00000cc0| 0d 0d 09 2f 2a 20 46 69 | 6e 64 20 6f 75 74 20 69 |.../* Fi|nd out i|
|00000cd0| 66 20 69 74 73 20 69 6e | 73 69 64 65 20 61 20 63 |f its in|side a c|
|00000ce0| 65 6c 6c 0d 09 20 2a 2f | 0d 09 69 66 20 28 50 74 |ell.. */|..if (Pt|
|00000cf0| 49 6e 52 65 63 74 28 74 | 68 65 50 6f 69 6e 74 2c |InRect(t|hePoint,|
|00000d00| 20 76 69 65 77 29 29 20 | 7b 0d 09 09 6c 61 73 74 | view)) |{...last|
|00000d10| 20 3d 20 4c 4c 61 73 74 | 43 6c 69 63 6b 28 6c 69 | = LLast|Click(li|
|00000d20| 73 74 48 64 6c 29 3b 0d | 09 09 74 68 65 43 65 6c |stHdl);.|..theCel|
|00000d30| 6c 2e 76 20 3d 20 48 69 | 57 6f 72 64 28 6c 61 73 |l.v = Hi|Word(las|
|00000d40| 74 29 3b 0d 09 09 74 68 | 65 43 65 6c 6c 2e 68 20 |t);...th|eCell.h |
|00000d50| 3d 20 4c 6f 57 6f 72 64 | 28 6c 61 73 74 29 3b 0d |= LoWord|(last);.|
|00000d60| 09 09 0d 09 09 69 66 20 | 28 74 68 65 57 69 6e 64 |.....if |(theWind|
|00000d70| 6f 77 20 3d 3d 20 77 50 | 74 72 47 6e 6f 73 29 0d |ow == wP|trGnos).|
|00000d80| 09 09 09 47 6e 6f 73 43 | 6c 69 63 6b 28 74 68 65 |...GnosC|lick(the|
|00000d90| 43 65 6c 6c 2c 20 64 62 | 6c 43 6c 69 63 6b 29 3b |Cell, db|lClick);|
|00000da0| 0d 09 7d 0d 09 65 6c 73 | 65 20 7b 0d 09 09 2f 2a |..}..els|e {.../*|
|00000db0| 20 50 6f 73 73 69 62 6c | 65 20 73 63 72 6f 6c 6c | Possibl|e scroll|
|00000dc0| 69 6e 67 2c 20 6d 61 6b | 65 20 73 75 72 65 20 74 |ing, mak|e sure t|
|00000dd0| 6f 20 72 65 64 72 61 77 | 20 6e 6f 6e 2d 4c 69 73 |o redraw| non-Lis|
|00000de0| 74 4d 67 72 20 66 65 61 | 74 75 72 65 73 0d 09 09 |tMgr fea|tures...|
|00000df0| 20 2a 2f 0d 09 09 49 6e | 76 61 6c 52 65 63 74 28 | */...In|valRect(|
|00000e00| 76 69 65 77 29 3b 0d 09 | 7d 0d 7d 0d 00 00 00 00 |view);..|}.}.....|
|00000e10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+