home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / source / netnwscd.sit / CListWind.c < prev    next >
MacBinary  |  1990-10-21  |  6.0 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).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Compact Compressed (Unix) (archive/compact) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Sun Oct 21 13:18:41 1990, modified Sun Oct 21 13:18:41 1990, creator Think C, type ASCII, 5489 bytes "CListWind.c" , at 0x15f1 408 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[KAHL]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 43 4c 69 73 74 57 | 69 6e 64 2e 63 00 00 00 |..CListW|ind.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 15 71 00 | 00 01 98 a3 47 88 f1 a3 |......q.|....G...|
|00000060| 47 88 f1 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |G.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 22 97 00 00 |........|...."...|
|00000080| 2f 2a 0d 20 2a 20 43 4c | 69 73 74 57 69 6e 64 0d |/*. * CL|istWind.|
|00000090| 20 2a 0d 20 2a 20 09 53 | 55 50 45 52 43 4c 41 53 | *. * .S|UPERCLAS|
|000000a0| 53 20 3d 20 43 44 69 72 | 65 63 74 6f 72 0d 20 2a |S = CDir|ector. *|
|000000b0| 20 43 6f 70 79 72 69 67 | 68 74 20 a9 20 54 6f 6d | Copyrig|ht . Tom|
|000000c0| 20 42 65 72 65 69 74 65 | 72 2c 20 31 39 39 30 0d | Bereite|r, 1990.|
|000000d0| 20 2a 2f 0d 20 0d 23 69 | 6e 63 6c 75 64 65 20 3c | */. .#i|nclude <|
|000000e0| 43 41 70 70 6c 69 63 61 | 74 69 6f 6e 2e 68 3e 0d |CApplica|tion.h>.|
|000000f0| 23 69 6e 63 6c 75 64 65 | 20 3c 43 42 61 72 74 65 |#include| <CBarte|
|00000100| 6e 64 65 72 2e 68 3e 0d | 23 69 6e 63 6c 75 64 65 |nder.h>.|#include|
|00000110| 20 3c 43 6f 6d 6d 61 6e | 64 73 2e 68 3e 0d 23 69 | <Comman|ds.h>.#i|
|00000120| 6e 63 6c 75 64 65 20 3c | 43 44 65 73 6b 74 6f 70 |nclude <|CDesktop|
|00000130| 2e 68 3e 0d 23 69 6e 63 | 6c 75 64 65 20 3c 43 43 |.h>.#inc|lude <CC|
|00000140| 6f 6c 6f 72 57 69 6e 64 | 6f 77 2e 68 3e 0d 23 69 |olorWind|ow.h>.#i|
|00000150| 6e 63 6c 75 64 65 20 3c | 43 53 74 61 74 69 63 54 |nclude <|CStaticT|
|00000160| 65 78 74 2e 68 3e 0d 23 | 69 6e 63 6c 75 64 65 20 |ext.h>.#|include |
|00000170| 3c 43 44 65 63 6f 72 61 | 74 6f 72 2e 68 3e 0d 23 |<CDecora|tor.h>.#|
|00000180| 69 6e 63 6c 75 64 65 20 | 22 43 4c 69 73 74 57 69 |include |"CListWi|
|00000190| 6e 64 2e 68 22 0d 23 69 | 6e 63 6c 75 64 65 20 22 |nd.h".#i|nclude "|
|000001a0| 62 69 74 73 2e 68 22 0d | 20 0d 2f 2a 2a 2a 20 47 |bits.h".| ./*** G|
|000001b0| 6c 6f 62 61 6c 20 56 61 | 72 69 61 62 6c 65 73 20 |lobal Va|riables |
|000001c0| 2a 2a 2a 2f 0d 0d 65 78 | 74 65 72 6e 20 43 41 70 |***/..ex|tern CAp|
|000001d0| 70 6c 69 63 61 74 69 6f | 6e 09 2a 67 41 70 70 6c |plicatio|n.*gAppl|
|000001e0| 69 63 61 74 69 6f 6e 3b | 09 09 2f 2a 20 41 70 70 |ication;|../* App|
|000001f0| 6c 69 63 61 74 69 6f 6e | 20 6f 62 6a 65 63 74 09 |lication| object.|
|00000200| 09 09 09 2a 2f 0d 65 78 | 74 65 72 6e 20 43 42 61 |...*/.ex|tern CBa|
|00000210| 72 74 65 6e 64 65 72 20 | 2a 67 42 61 72 74 65 6e |rtender |*gBarten|
|00000220| 64 65 72 3b 0d 65 78 74 | 65 72 6e 20 43 44 65 73 |der;.ext|ern CDes|
|00000230| 6b 74 6f 70 09 09 2a 67 | 44 65 73 6b 74 6f 70 3b |ktop..*g|Desktop;|
|00000240| 09 09 09 2f 2a 20 54 68 | 65 20 76 69 73 69 62 6c |.../* Th|e visibl|
|00000250| 65 20 44 65 73 6b 74 6f | 70 09 09 09 09 2a 2f 0d |e Deskto|p....*/.|
|00000260| 65 78 74 65 72 6e 20 52 | 67 6e 48 61 6e 64 6c 65 |extern R|gnHandle|
|00000270| 09 67 55 74 69 6c 52 67 | 6e 3b 09 09 09 2f 2a 20 |.gUtilRg|n;.../* |
|00000280| 55 74 69 6c 69 74 79 20 | 72 65 67 69 6f 6e 09 09 |Utility |region..|
|00000290| 09 09 09 2a 2f 0d 65 78 | 74 65 72 6e 20 43 44 65 |...*/.ex|tern CDe|
|000002a0| 63 6f 72 61 74 6f 72 20 | 2a 67 44 65 63 6f 72 61 |corator |*gDecora|
|000002b0| 74 6f 72 3b 0d 0d 23 64 | 65 66 69 6e 65 20 63 6d |tor;..#d|efine cm|
|000002c0| 64 53 65 6c 65 63 74 41 | 6c 6c 09 31 30 37 30 4c |dSelectA|ll.1070L|
|000002d0| 0d 0d 2f 2a 0d 20 2a 20 | 49 4c 69 73 74 57 69 6e |../*. * |IListWin|
|000002e0| 64 0d 20 2a 0d 20 2a 09 | 09 49 6e 69 74 69 61 6c |d. *. *.|.Initial|
|000002f0| 69 7a 65 20 61 20 4c 69 | 73 74 57 49 6e 64 20 6f |ize a Li|stWInd o|
|00000300| 62 6a 65 63 74 0d 20 2a | 2f 0d 0d 76 6f 69 64 09 |bject. *|/..void.|
|00000310| 43 4c 69 73 74 57 69 6e | 64 3a 3a 49 4c 69 73 74 |CListWin|d::IList|
|00000320| 57 69 6e 64 28 0d 09 69 | 6e 74 20 77 69 6e 64 72 |Wind(..i|nt windr|
|00000330| 65 73 69 64 2c 20 63 68 | 61 72 20 2a 74 69 74 6c |esid, ch|ar *titl|
|00000340| 65 2c 20 69 6e 74 20 77 | 69 64 74 68 2c 20 69 6e |e, int w|idth, in|
|00000350| 74 20 6c 65 6e 67 74 68 | 29 0d 7b 0d 09 52 65 63 |t length|).{..Rec|
|00000360| 74 20 6d 61 72 67 69 6e | 3b 0d 09 46 6f 6e 74 49 |t margin|;..FontI|
|00000370| 6e 66 6f 20 66 69 3b 0d | 09 69 6e 74 20 68 2c 76 |nfo fi;.|.int h,v|
|00000380| 3b 0d 09 0d 09 43 44 69 | 72 65 63 74 6f 72 3a 3a |;....CDi|rector::|
|00000390| 49 44 69 72 65 63 74 6f | 72 28 67 41 70 70 6c 69 |IDirecto|r(gAppli|
|000003a0| 63 61 74 69 6f 6e 29 3b | 09 2f 2a 20 49 6e 69 74 |cation);|./* Init|
|000003b0| 69 61 6c 69 7a 65 20 73 | 75 70 65 72 63 6c 61 73 |ialize s|uperclas|
|000003c0| 73 20 2a 2f 0d 09 0d 09 | 69 74 73 57 69 6e 64 6f |s */....|itsWindo|
|000003d0| 77 20 3d 20 6e 65 77 28 | 43 43 6f 6c 6f 72 57 69 |w = new(|CColorWi|
|000003e0| 6e 64 6f 77 29 3b 09 09 | 2f 2a 20 43 72 65 61 74 |ndow);..|/* Creat|
|000003f0| 65 20 74 68 65 20 62 61 | 73 69 63 20 77 69 6e 64 |e the ba|sic wind|
|00000400| 6f 77 20 2a 2f 0d 09 69 | 74 73 57 69 6e 64 6f 77 |ow */..i|tsWindow|
|00000410| 2d 3e 49 57 69 6e 64 6f | 77 28 77 69 6e 64 72 65 |->IWindo|w(windre|
|00000420| 73 69 64 2c 20 46 41 4c | 53 45 2c 20 67 44 65 73 |sid, FAL|SE, gDes|
|00000430| 6b 74 6f 70 2c 20 74 68 | 69 73 29 3b 0d 0d 09 2f |ktop, th|is);.../|
|00000440| 2a 20 73 65 74 20 73 69 | 7a 65 73 20 2a 2f 0d 09 |* set si|zes */..|
|00000450| 53 65 74 50 6f 72 74 28 | 69 74 73 57 69 6e 64 6f |SetPort(|itsWindo|
|00000460| 77 2d 3e 6d 61 63 50 6f | 72 74 29 3b 0d 09 54 65 |w->macPo|rt);..Te|
|00000470| 78 74 46 6f 6e 74 28 6d | 6f 6e 61 63 6f 29 3b 09 |xtFont(m|onaco);.|
|00000480| 2f 2a 20 61 64 6a 75 73 | 74 20 66 6f 6e 74 20 73 |/* adjus|t font s|
|00000490| 6f 20 63 61 6c 63 75 6c | 61 74 69 6f 6e 73 20 77 |o calcul|ations w|
|000004a0| 6f 72 6b 20 2a 2f 0d 09 | 54 65 78 74 53 69 7a 65 |ork */..|TextSize|
|000004b0| 28 39 29 3b 0d 09 47 65 | 74 46 6f 6e 74 49 6e 66 |(9);..Ge|tFontInf|
|000004c0| 6f 28 26 66 69 29 3b 0d | 09 68 20 3d 20 28 66 69 |o(&fi);.|.h = (fi|
|000004d0| 2e 77 69 64 4d 61 78 20 | 2a 20 77 69 64 74 68 29 |.widMax |* width)|
|000004e0| 20 2b 20 31 35 3b 09 09 | 2f 2a 20 77 69 64 74 68 | + 15;..|/* width|
|000004f0| 20 70 6c 75 73 20 73 63 | 72 6f 6c 6c 20 77 69 64 | plus sc|roll wid|
|00000500| 74 68 20 2a 2f 0d 09 76 | 20 3d 20 28 28 66 69 2e |th */..v| = ((fi.|
|00000510| 61 73 63 65 6e 74 20 2b | 20 66 69 2e 64 65 73 63 |ascent +| fi.desc|
|00000520| 65 6e 74 29 20 2a 20 6c | 65 6e 67 74 68 29 20 2b |ent) * l|ength) +|
|00000530| 20 31 35 3b 09 2f 2a 20 | 6c 65 6e 67 74 68 20 70 | 15;./* |length p|
|00000540| 6c 75 73 20 73 63 72 6f | 6c 6c 20 77 69 64 74 68 |lus scro|ll width|
|00000550| 20 2a 2f 0d 09 69 74 73 | 57 69 6e 64 6f 77 2d 3e | */..its|Window->|
|00000560| 43 68 61 6e 67 65 53 69 | 7a 65 28 68 2c 76 29 3b |ChangeSi|ze(h,v);|
|00000570| 0d 09 0d 09 69 74 73 50 | 61 6e 65 20 3d 20 6e 65 |....itsP|ane = ne|
|00000580| 77 28 43 4c 4c 69 73 74 | 29 3b 0d 09 69 74 73 47 |w(CLList|);..itsG|
|00000590| 6f 70 68 65 72 20 3d 20 | 69 74 73 50 61 6e 65 3b |opher = |itsPane;|
|000005a0| 0d 09 69 74 73 50 61 6e | 65 2d 3e 49 4c 4c 69 73 |..itsPan|e->ILLis|
|000005b0| 74 28 69 74 73 57 69 6e | 64 6f 77 2c 20 74 68 69 |t(itsWin|dow, thi|
|000005c0| 73 2c 20 30 2c 20 30 2c | 20 30 2c 20 30 2c 20 73 |s, 0, 0,| 0, 0, s|
|000005d0| 69 7a 45 4c 41 53 54 49 | 43 2c 20 73 69 7a 45 4c |izELASTI|C, sizEL|
|000005e0| 41 53 54 49 43 29 3b 0d | 09 69 74 73 50 61 6e 65 |ASTIC);.|.itsPane|
|000005f0| 2d 3e 46 69 74 54 6f 45 | 6e 63 6c 6f 73 75 72 65 |->FitToE|nclosure|
|00000600| 28 54 52 55 45 2c 20 54 | 52 55 45 29 3b 0d 23 69 |(TRUE, T|RUE);.#i|
|00000610| 66 64 65 66 20 4d 59 43 | 4c 41 53 53 4d 4f 44 53 |fdef MYC|LASSMODS|
|00000620| 09 0d 09 67 44 65 63 6f | 72 61 74 6f 72 2d 3e 50 |...gDeco|rator->P|
|00000630| 6c 61 63 65 4e 65 77 57 | 69 6e 64 6f 77 28 69 74 |laceNewW|indow(it|
|00000640| 73 57 69 6e 64 6f 77 2c | 20 46 41 4c 53 45 29 3b |sWindow,| FALSE);|
|00000650| 0d 23 65 6c 73 65 0d 09 | 67 44 65 63 6f 72 61 74 |.#else..|gDecorat|
|00000660| 6f 72 2d 3e 50 6c 61 63 | 65 4e 65 77 57 69 6e 64 |or->Plac|eNewWind|
|00000670| 6f 77 28 69 74 73 57 69 | 6e 64 6f 77 29 3b 0d 23 |ow(itsWi|ndow);.#|
|00000680| 65 6e 64 69 66 0d 09 43 | 74 6f 50 73 74 72 28 74 |endif..C|toPstr(t|
|00000690| 69 74 6c 65 29 3b 0d 09 | 69 74 73 57 69 6e 64 6f |itle);..|itsWindo|
|000006a0| 77 2d 3e 53 65 74 54 69 | 74 6c 65 28 28 53 74 72 |w->SetTi|tle((Str|
|000006b0| 69 6e 67 50 74 72 29 74 | 69 74 6c 65 29 3b 0d 09 |ingPtr)t|itle);..|
|000006c0| 50 74 6f 43 73 74 72 28 | 74 69 74 6c 65 29 3b 0d |PtoCstr(|title);.|
|000006d0| 09 69 74 73 57 69 6e 64 | 6f 77 2d 3e 53 65 6c 65 |.itsWind|ow->Sele|
|000006e0| 63 74 28 29 3b 0d 7d 0d | 09 0d 76 6f 69 64 09 43 |ct();.}.|..void.C|
|000006f0| 4c 69 73 74 57 69 6e 64 | 3a 3a 44 69 73 70 6f 73 |ListWind|::Dispos|
|00000700| 65 28 29 0d 7b 0d 09 69 | 6e 68 65 72 69 74 65 64 |e().{..i|nherited|
|00000710| 3a 3a 44 69 73 70 6f 73 | 65 28 29 3b 0d 7d 0d 0d |::Dispos|e();.}..|
|00000720| 76 6f 69 64 20 43 4c 69 | 73 74 57 69 6e 64 3a 3a |void CLi|stWind::|
|00000730| 44 6f 43 6f 6d 6d 61 6e | 64 28 6c 6f 6e 67 20 74 |DoComman|d(long t|
|00000740| 68 65 43 6f 6d 6d 61 6e | 64 29 0d 7b 0d 09 73 77 |heComman|d).{..sw|
|00000750| 69 74 63 68 20 28 74 68 | 65 43 6f 6d 6d 61 6e 64 |itch (th|eCommand|
|00000760| 29 20 7b 0d 09 0d 09 63 | 61 73 65 20 63 6d 64 53 |) {....c|ase cmdS|
|00000770| 65 6c 65 63 74 41 6c 6c | 3a 0d 09 09 7b 0d 09 09 |electAll|:...{...|
|00000780| 09 43 65 6c 6c 20 74 68 | 65 43 65 6c 6c 3b 0d 09 |.Cell th|eCell;..|
|00000790| 09 09 0d 09 09 09 74 68 | 65 43 65 6c 6c 2e 68 20 |......th|eCell.h |
|000007a0| 3d 20 30 3b 0d 09 09 09 | 66 6f 72 20 28 74 68 65 |= 0;....|for (the|
|000007b0| 43 65 6c 6c 2e 76 3d 30 | 3b 20 74 68 65 43 65 6c |Cell.v=0|; theCel|
|000007c0| 6c 2e 76 20 3c 20 69 74 | 73 50 61 6e 65 2d 3e 6e |l.v < it|sPane->n|
|000007d0| 72 6f 77 73 3b 20 74 68 | 65 43 65 6c 6c 2e 76 2b |rows; th|eCell.v+|
|000007e0| 2b 29 0d 09 09 09 09 4c | 53 65 74 53 65 6c 65 63 |+).....L|SetSelec|
|000007f0| 74 28 54 52 55 45 2c 20 | 74 68 65 43 65 6c 6c 2c |t(TRUE, |theCell,|
|00000800| 20 69 74 73 50 61 6e 65 | 2d 3e 6c 69 73 74 48 29 | itsPane|->listH)|
|00000810| 3b 0d 09 09 7d 0d 09 09 | 62 72 65 61 6b 3b 0d 0d |;...}...|break;..|
|00000820| 09 64 65 66 61 75 6c 74 | 3a 0d 09 09 69 6e 68 65 |.default|:...inhe|
|00000830| 72 69 74 65 64 3a 3a 44 | 6f 43 6f 6d 6d 61 6e 64 |rited::D|oCommand|
|00000840| 28 74 68 65 43 6f 6d 6d | 61 6e 64 29 3b 0d 09 09 |(theComm|and);...|
|00000850| 62 72 65 61 6b 3b 0d 09 | 7d 0d 7d 0d 0d 76 6f 69 |break;..|}.}..voi|
|00000860| 64 20 43 4c 69 73 74 57 | 69 6e 64 3a 3a 55 70 64 |d CListW|ind::Upd|
|00000870| 61 74 65 4d 65 6e 75 73 | 28 29 0d 7b 0d 09 69 6e |ateMenus|().{..in|
|00000880| 68 65 72 69 74 65 64 3a | 3a 55 70 64 61 74 65 4d |herited:|:UpdateM|
|00000890| 65 6e 75 73 28 29 3b 0d | 09 0d 09 67 42 61 72 74 |enus();.|...gBart|
|000008a0| 65 6e 64 65 72 2d 3e 45 | 6e 61 62 6c 65 43 6d 64 |ender->E|nableCmd|
|000008b0| 28 63 6d 64 53 65 6c 65 | 63 74 41 6c 6c 29 3b 0d |(cmdSele|ctAll);.|
|000008c0| 7d 0d 0d 76 6f 69 64 20 | 43 4c 69 73 74 57 69 6e |}..void |CListWin|
|000008d0| 64 3a 3a 43 6c 69 63 6b | 4c 69 6e 65 28 69 6e 74 |d::Click|Line(int|
|000008e0| 20 6c 69 6e 65 29 0d 7b | 0d 7d 0d 0d 76 6f 69 64 | line).{|.}..void|
|000008f0| 20 43 4c 69 73 74 57 69 | 6e 64 3a 3a 45 6e 61 62 | CListWi|nd::Enab|
|00000900| 28 42 6f 6f 6c 65 61 6e | 20 65 6e 61 62 29 0d 7b |(Boolean| enab).{|
|00000910| 0d 09 4c 44 6f 44 72 61 | 77 28 65 6e 61 62 2c 20 |..LDoDra|w(enab, |
|00000920| 69 74 73 50 61 6e 65 2d | 3e 6c 69 73 74 48 29 3b |itsPane-|>listH);|
|00000930| 0d 09 69 66 20 28 65 6e | 61 62 20 3d 3d 20 30 29 |..if (en|ab == 0)|
|00000940| 20 7b 0d 09 09 69 74 73 | 50 61 6e 65 2d 3e 6e 72 | {...its|Pane->nr|
|00000950| 6f 77 73 20 3d 20 30 3b | 0d 09 09 4c 44 65 6c 52 |ows = 0;|...LDelR|
|00000960| 6f 77 28 30 2c 20 31 2c | 20 69 74 73 50 61 6e 65 |ow(0, 1,| itsPane|
|00000970| 2d 3e 6c 69 73 74 48 29 | 3b 0d 09 7d 0d 09 65 6c |->listH)|;..}..el|
|00000980| 73 65 0d 09 09 69 74 73 | 50 61 6e 65 2d 3e 52 65 |se...its|Pane->Re|
|00000990| 66 72 65 73 68 28 29 3b | 0d 7d 0d 0d 2f 2a 0d 20 |fresh();|.}../*. |
|000009a0| 2a 20 64 69 73 70 6c 61 | 79 20 61 20 74 65 6d 70 |* displa|y a temp|
|000009b0| 6f 72 61 72 79 20 6d 65 | 73 73 61 67 65 20 28 69 |orary me|ssage (i|
|000009c0| 2e 65 2e 20 77 6f 6e 27 | 74 20 62 65 20 72 65 66 |.e. won'|t be ref|
|000009d0| 72 65 73 68 65 64 29 0d | 20 2a 2f 0d 76 6f 69 64 |reshed).| */.void|
|000009e0| 20 43 4c 69 73 74 57 69 | 6e 64 3a 3a 54 6d 70 4d | CListWi|nd::TmpM|
|000009f0| 73 67 28 63 68 61 72 20 | 2a 6d 73 67 29 20 7b 0d |sg(char |*msg) {.|
|00000a00| 09 52 65 63 74 20 72 3b | 0d 09 0d 09 69 74 73 50 |.Rect r;|....itsP|
|00000a10| 61 6e 65 2d 3e 47 65 74 | 46 72 61 6d 65 28 26 72 |ane->Get|Frame(&r|
|00000a20| 29 3b 0d 09 72 2e 6c 65 | 66 74 20 2b 3d 20 31 30 |);..r.le|ft += 10|
|00000a30| 3b 0d 09 72 2e 72 69 67 | 68 74 20 2d 3d 20 33 32 |;..r.rig|ht -= 32|
|00000a40| 3b 0d 09 72 2e 74 6f 70 | 20 2b 3d 20 34 30 3b 0d |;..r.top| += 40;.|
|00000a50| 09 72 2e 62 6f 74 74 6f | 6d 20 3d 20 72 2e 74 6f |.r.botto|m = r.to|
|00000a60| 70 20 2b 20 38 30 3b 0d | 09 69 74 73 50 61 6e 65 |p + 80;.|.itsPane|
|00000a70| 2d 3e 50 72 65 70 61 72 | 65 28 29 3b 0d 09 54 65 |->Prepar|e();..Te|
|00000a80| 78 74 42 6f 78 28 6d 73 | 67 2c 20 73 74 72 6c 65 |xtBox(ms|g, strle|
|00000a90| 6e 28 6d 73 67 29 2c 20 | 26 72 2c 20 74 65 4a 75 |n(msg), |&r, teJu|
|00000aa0| 73 74 4c 65 66 74 29 3b | 0d 7d 0d 0d 0d 2f 2a 20 |stLeft);|.}.../* |
|00000ab0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 20 2d |--------|------ -|
|00000ac0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 20 2a |--------|------ *|
|00000ad0| 2f 0d 0d 76 6f 69 64 20 | 43 4c 4c 69 73 74 3a 3a |/..void |CLList::|
|00000ae0| 49 4c 4c 69 73 74 28 0d | 09 43 56 69 65 77 09 09 |ILList(.|.CView..|
|00000af0| 09 2a 61 6e 45 6e 63 6c | 6f 73 75 72 65 2c 0d 09 |.*anEncl|osure,..|
|00000b00| 43 42 75 72 65 61 75 63 | 72 61 74 09 09 2a 61 53 |CBureauc|rat..*aS|
|00000b10| 75 70 65 72 76 69 73 6f | 72 2c 0d 09 73 68 6f 72 |uperviso|r,..shor|
|00000b20| 74 09 09 09 61 57 69 64 | 74 68 2c 0d 09 73 68 6f |t...aWid|th,..sho|
|00000b30| 72 74 09 09 09 61 48 65 | 69 67 68 74 2c 0d 09 73 |rt...aHe|ight,..s|
|00000b40| 68 6f 72 74 09 09 09 61 | 48 45 6e 63 6c 2c 0d 09 |hort...a|HEncl,..|
|00000b50| 73 68 6f 72 74 09 09 09 | 61 56 45 6e 63 6c 2c 0d |short...|aVEncl,.|
|00000b60| 09 53 69 7a 69 6e 67 4f | 70 74 69 6f 6e 09 61 48 |.SizingO|ption.aH|
|00000b70| 53 69 7a 69 6e 67 2c 0d | 09 53 69 7a 69 6e 67 4f |Sizing,.|.SizingO|
|00000b80| 70 74 69 6f 6e 09 61 56 | 53 69 7a 69 6e 67 29 0d |ption.aV|Sizing).|
|00000b90| 7b 0d 09 50 6f 69 6e 74 | 20 63 65 6c 6c 70 74 3b |{..Point| cellpt;|
|00000ba0| 0d 09 57 69 6e 64 6f 77 | 50 74 72 20 77 3b 0d 09 |..Window|Ptr w;..|
|00000bb0| 52 65 63 74 20 72 2c 20 | 64 62 3b 0d 09 0d 09 69 |Rect r, |db;....i|
|00000bc0| 6e 68 65 72 69 74 65 64 | 3a 3a 49 50 61 6e 65 28 |nherited|::IPane(|
|00000bd0| 61 6e 45 6e 63 6c 6f 73 | 75 72 65 2c 20 61 53 75 |anEnclos|ure, aSu|
|00000be0| 70 65 72 76 69 73 6f 72 | 2c 20 61 57 69 64 74 68 |pervisor|, aWidth|
|00000bf0| 2c 20 61 48 65 69 67 68 | 74 2c 0d 09 09 09 09 09 |, aHeigh|t,......|
|00000c00| 09 61 48 45 6e 63 6c 2c | 20 61 56 45 6e 63 6c 2c |.aHEncl,| aVEncl,|
|00000c10| 20 61 48 53 69 7a 69 6e | 67 2c 20 61 56 53 69 7a | aHSizin|g, aVSiz|
|00000c20| 69 6e 67 29 3b 0d 09 09 | 09 09 09 09 0d 09 77 61 |ing);...|......wa|
|00000c30| 6e 74 73 43 6c 69 63 6b | 73 20 3d 20 54 52 55 45 |ntsClick|s = TRUE|
|00000c40| 3b 0d 0d 09 63 65 6c 6c | 70 74 2e 68 20 3d 20 30 |;...cell|pt.h = 0|
|00000c50| 3b 0d 09 63 65 6c 6c 70 | 74 2e 76 20 3d 20 30 3b |;..cellp|t.v = 0;|
|00000c60| 0d 09 53 65 74 52 65 63 | 74 28 26 64 62 2c 20 30 |..SetRec|t(&db, 0|
|00000c70| 2c 30 2c 20 31 2c 30 29 | 3b 0d 09 72 20 3d 20 6d |,0, 1,0)|;..r = m|
|00000c80| 61 63 50 6f 72 74 2d 3e | 70 6f 72 74 52 65 63 74 |acPort->|portRect|
|00000c90| 3b 0d 09 72 2e 72 69 67 | 68 74 20 2d 3d 20 31 35 |;..r.rig|ht -= 15|
|00000ca0| 3b 09 2f 2a 20 72 6f 6f | 6d 20 66 6f 72 20 73 63 |;./* roo|m for sc|
|00000cb0| 72 6f 6c 6c 20 2a 2f 0d | 09 0d 09 6c 69 73 74 48 |roll */.|...listH|
|00000cc0| 20 3d 20 4c 4e 65 77 28 | 26 72 2c 20 26 64 62 2c | = LNew(|&r, &db,|
|00000cd0| 20 63 65 6c 6c 70 74 2c | 20 30 2c 20 6d 61 63 50 | cellpt,| 0, macP|
|00000ce0| 6f 72 74 2c 20 46 41 4c | 53 45 2c 54 52 55 45 2c |ort, FAL|SE,TRUE,|
|00000cf0| 20 54 52 55 45 2c 54 52 | 55 45 29 3b 09 0d 09 2f | TRUE,TR|UE);.../|
|00000d00| 2a 20 4c 41 64 64 43 6f | 6c 75 6d 6e 28 31 2c 20 |* LAddCo|lumn(1, |
|00000d10| 30 2c 20 6c 69 73 74 48 | 29 3b 20 2a 2f 0d 09 4c |0, listH|); */..L|
|00000d20| 44 6f 44 72 61 77 28 54 | 52 55 45 2c 20 6c 69 73 |DoDraw(T|RUE, lis|
|00000d30| 74 48 29 3b 0d 7d 0d 0d | 76 6f 69 64 20 43 4c 4c |tH);.}..|void CLL|
|00000d40| 69 73 74 3a 3a 44 69 73 | 70 6f 73 65 28 29 0d 7b |ist::Dis|pose().{|
|00000d50| 0d 09 4c 44 69 73 70 6f | 73 65 28 6c 69 73 74 48 |..LDispo|se(listH|
|00000d60| 29 3b 0d 09 69 6e 68 65 | 72 69 74 65 64 3a 3a 44 |);..inhe|rited::D|
|00000d70| 69 73 70 6f 73 65 28 29 | 3b 0d 7d 0d 0d 76 6f 69 |ispose()|;.}..voi|
|00000d80| 64 20 43 4c 4c 69 73 74 | 3a 3a 44 72 61 77 28 52 |d CLList|::Draw(R|
|00000d90| 65 63 74 20 2a 61 72 65 | 61 29 0d 7b 0d 09 52 65 |ect *are|a).{..Re|
|00000da0| 63 74 52 67 6e 28 67 55 | 74 69 6c 52 67 6e 2c 20 |ctRgn(gU|tilRgn, |
|00000db0| 61 72 65 61 29 3b 0d 09 | 4c 55 70 64 61 74 65 28 |area);..|LUpdate(|
|00000dc0| 67 55 74 69 6c 52 67 6e | 2c 20 6c 69 73 74 48 29 |gUtilRgn|, listH)|
|00000dd0| 3b 0d 09 44 72 61 77 47 | 72 6f 77 49 63 6f 6e 28 |;..DrawG|rowIcon(|
|00000de0| 6d 61 63 50 6f 72 74 29 | 3b 0d 7d 0d 0d 76 6f 69 |macPort)|;.}..voi|
|00000df0| 64 20 43 4c 4c 69 73 74 | 3a 3a 41 63 74 69 76 61 |d CLList|::Activa|
|00000e00| 74 65 28 29 0d 7b 0d 09 | 69 6e 68 65 72 69 74 65 |te().{..|inherite|
|00000e10| 64 3a 3a 41 63 74 69 76 | 61 74 65 28 29 3b 0d 09 |d::Activ|ate();..|
|00000e20| 50 72 65 70 61 72 65 28 | 29 3b 0d 09 4c 41 63 74 |Prepare(|);..LAct|
|00000e30| 69 76 61 74 65 28 54 52 | 55 45 2c 20 6c 69 73 74 |ivate(TR|UE, list|
|00000e40| 48 29 3b 0d 7d 0d 0d 76 | 6f 69 64 20 43 4c 4c 69 |H);.}..v|oid CLLi|
|00000e50| 73 74 3a 3a 44 65 61 63 | 74 69 76 61 74 65 28 29 |st::Deac|tivate()|
|00000e60| 0d 7b 0d 09 50 72 65 70 | 61 72 65 28 29 3b 0d 09 |.{..Prep|are();..|
|00000e70| 4c 41 63 74 69 76 61 74 | 65 28 46 41 4c 53 45 2c |LActivat|e(FALSE,|
|00000e80| 20 6c 69 73 74 48 29 3b | 0d 09 69 6e 68 65 72 69 | listH);|..inheri|
|00000e90| 74 65 64 3a 3a 44 65 61 | 63 74 69 76 61 74 65 28 |ted::Dea|ctivate(|
|00000ea0| 29 3b 0d 7d 0d 0d 76 6f | 69 64 20 43 4c 4c 69 73 |);.}..vo|id CLLis|
|00000eb0| 74 3a 3a 44 6f 43 6c 69 | 63 6b 28 0d 09 50 6f 69 |t::DoCli|ck(..Poi|
|00000ec0| 6e 74 09 09 68 69 74 50 | 74 2c 0d 09 73 68 6f 72 |nt..hitP|t,..shor|
|00000ed0| 74 09 09 6d 6f 64 69 66 | 69 65 72 4b 65 79 73 2c |t..modif|ierKeys,|
|00000ee0| 0d 09 6c 6f 6e 67 09 09 | 77 68 65 6e 29 0d 7b 0d |..long..|when).{.|
|00000ef0| 09 52 65 63 74 20 72 3b | 0d 09 6c 6f 6e 67 20 78 |.Rect r;|..long x|
|00000f00| 3b 0d 09 65 78 74 65 72 | 6e 20 70 61 73 63 61 6c |;..exter|n pascal|
|00000f10| 20 6c 6f 6e 67 20 4c 4c | 61 73 74 43 6c 69 63 6b | long LL|astClick|
|00000f20| 28 29 3b 0d 09 0d 09 4c | 43 6c 69 63 6b 28 68 69 |();....L|Click(hi|
|00000f30| 74 50 74 2c 20 6d 6f 64 | 69 66 69 65 72 4b 65 79 |tPt, mod|ifierKey|
|00000f40| 73 2c 20 6c 69 73 74 48 | 29 3b 0d 09 72 20 3d 20 |s, listH|);..r = |
|00000f50| 6d 61 63 50 6f 72 74 2d | 3e 70 6f 72 74 52 65 63 |macPort-|>portRec|
|00000f60| 74 3b 0d 09 69 66 20 28 | 68 69 74 50 74 2e 68 20 |t;..if (|hitPt.h |
|00000f70| 3c 20 72 2e 72 69 67 68 | 74 20 2d 20 31 36 20 26 |< r.righ|t - 16 &|
|00000f80| 26 20 68 69 74 50 74 2e | 76 20 3c 20 72 2e 62 6f |& hitPt.|v < r.bo|
|00000f90| 74 74 6f 6d 20 2d 20 31 | 36 29 20 7b 09 2f 2a 20 |ttom - 1|6) {./* |
|00000fa0| 77 69 74 68 69 6e 20 66 | 69 65 6c 64 73 20 2a 2f |within f|ields */|
|00000fb0| 0d 09 09 78 20 3d 20 48 | 69 57 6f 72 64 28 20 4c |...x = H|iWord( L|
|00000fc0| 4c 61 73 74 43 6c 69 63 | 6b 28 6c 69 73 74 48 29 |LastClic|k(listH)|
|00000fd0| 20 29 3b 0d 09 09 69 66 | 20 28 78 20 3e 3d 20 30 | );...if| (x >= 0|
|00000fe0| 29 0d 09 09 09 28 28 43 | 4c 69 73 74 57 69 6e 64 |)....((C|ListWind|
|00000ff0| 20 2a 29 69 74 73 53 75 | 70 65 72 76 69 73 6f 72 | *)itsSu|pervisor|
|00001000| 29 2d 3e 43 6c 69 63 6b | 4c 69 6e 65 28 78 29 3b |)->Click|Line(x);|
|00001010| 0d 09 7d 0d 7d 0d 0d 76 | 6f 69 64 20 43 4c 4c 69 |..}.}..v|oid CLLi|
|00001020| 73 74 3a 3a 44 6f 4b 65 | 79 44 6f 77 6e 28 0d 09 |st::DoKe|yDown(..|
|00001030| 63 68 61 72 09 09 74 68 | 65 43 68 61 72 2c 0d 09 |char..th|eChar,..|
|00001040| 42 79 74 65 09 09 6b 65 | 79 43 6f 64 65 2c 0d 09 |Byte..ke|yCode,..|
|00001050| 45 76 65 6e 74 52 65 63 | 6f 72 64 09 2a 6d 61 63 |EventRec|ord.*mac|
|00001060| 45 76 65 6e 74 29 0d 7b | 0d 09 73 77 69 74 63 68 |Event).{|..switch|
|00001070| 28 74 68 65 43 68 61 72 | 29 20 7b 0d 09 63 61 73 |(theChar|) {..cas|
|00001080| 65 20 27 5c 62 27 3a 0d | 09 09 69 74 73 53 75 70 |e '\b':.|..itsSup|
|00001090| 65 72 76 69 73 6f 72 2d | 3e 44 6f 43 6f 6d 6d 61 |ervisor-|>DoComma|
|000010a0| 6e 64 28 63 6d 64 43 6c | 65 61 72 29 3b 0d 09 09 |nd(cmdCl|ear);...|
|000010b0| 62 72 65 61 6b 3b 0d 09 | 7d 0d 7d 0d 0d 62 69 74 |break;..|}.}..bit|
|000010c0| 6d 61 70 5f 74 20 2a 20 | 43 4c 4c 69 73 74 3a 3a |map_t * |CLList::|
|000010d0| 47 65 74 53 65 6c 65 63 | 74 28 6c 6f 6e 67 20 6c |GetSelec|t(long l|
|000010e0| 65 6e 29 0d 7b 0d 09 62 | 69 74 6d 61 70 5f 74 20 |en).{..b|itmap_t |
|000010f0| 2a 62 6d 3b 0d 09 43 65 | 6c 6c 20 74 68 65 43 65 |*bm;..Ce|ll theCe|
|00001100| 6c 6c 3b 0d 09 69 6e 74 | 20 69 3b 0d 09 0d 09 62 |ll;..int| i;....b|
|00001110| 6d 20 3d 20 62 6d 61 6c | 6c 6f 63 28 6c 65 6e 29 |m = bmal|loc(len)|
|00001120| 3b 0d 09 0d 09 74 68 65 | 43 65 6c 6c 2e 68 20 3d |;....the|Cell.h =|
|00001130| 20 74 68 65 43 65 6c 6c | 2e 76 20 3d 20 30 3b 0d | theCell|.v = 0;.|
|00001140| 09 77 68 69 6c 65 20 28 | 4c 47 65 74 53 65 6c 65 |.while (|LGetSele|
|00001150| 63 74 28 54 52 55 45 2c | 20 26 74 68 65 43 65 6c |ct(TRUE,| &theCel|
|00001160| 6c 2c 20 6c 69 73 74 48 | 29 20 26 26 20 74 68 65 |l, listH|) && the|
|00001170| 43 65 6c 6c 2e 76 20 3c | 20 6c 65 6e 29 20 7b 0d |Cell.v <| len) {.|
|00001180| 09 09 42 73 65 74 28 62 | 6d 2c 20 74 68 65 43 65 |..Bset(b|m, theCe|
|00001190| 6c 6c 2e 76 29 3b 0d 09 | 09 74 68 65 43 65 6c 6c |ll.v);..|.theCell|
|000011a0| 2e 76 2b 2b 3b 0d 09 7d | 0d 09 72 65 74 75 72 6e |.v++;..}|..return|
|000011b0| 20 28 62 6d 29 3b 0d 7d | 0d 0d 76 6f 69 64 09 43 | (bm);.}|..void.C|
|000011c0| 4c 4c 69 73 74 3a 3a 43 | 68 61 6e 67 65 53 69 7a |LList::C|hangeSiz|
|000011d0| 65 28 0d 09 72 65 67 69 | 73 74 65 72 20 52 65 63 |e(..regi|ster Rec|
|000011e0| 74 09 09 2a 64 65 6c 74 | 61 2c 09 09 09 2f 2a 20 |t..*delt|a,.../* |
|000011f0| 4d 6f 76 65 6d 65 6e 74 | 20 66 6f 72 20 65 61 63 |Movement| for eac|
|00001200| 68 20 73 69 64 65 09 09 | 09 2a 2f 0d 09 42 6f 6f |h side..|.*/..Boo|
|00001210| 6c 65 61 6e 09 09 09 09 | 72 65 64 72 61 77 29 09 |lean....|redraw).|
|00001220| 09 09 2f 2a 20 52 65 64 | 72 61 77 20 50 61 6e 65 |../* Red|raw Pane|
|00001230| 20 6f 72 20 6e 6f 74 3f | 09 09 09 09 2a 2f 0d 7b | or not?|....*/.{|
|00001240| 0d 09 52 65 63 74 20 72 | 3b 0d 0d 09 69 6e 68 65 |..Rect r|;...inhe|
|00001250| 72 69 74 65 64 3a 3a 43 | 68 61 6e 67 65 53 69 7a |rited::C|hangeSiz|
|00001260| 65 28 64 65 6c 74 61 2c | 20 72 65 64 72 61 77 29 |e(delta,| redraw)|
|00001270| 3b 0d 09 0d 09 72 20 3d | 20 6d 61 63 50 6f 72 74 |;....r =| macPort|
|00001280| 2d 3e 70 6f 72 74 52 65 | 63 74 3b 0d 09 72 2e 62 |->portRe|ct;..r.b|
|00001290| 6f 74 74 6f 6d 20 2d 3d | 20 31 35 3b 0d 09 72 2e |ottom -=| 15;..r.|
|000012a0| 72 69 67 68 74 20 2d 3d | 20 31 35 3b 09 2f 2a 20 |right -=| 15;./* |
|000012b0| 72 6f 6f 6d 20 66 6f 72 | 20 73 63 72 6f 6c 6c 20 |room for| scroll |
|000012c0| 2a 2f 0d 09 50 72 65 70 | 61 72 65 28 29 3b 0d 09 |*/..Prep|are();..|
|000012d0| 4c 53 69 7a 65 28 72 2e | 72 69 67 68 74 2d 72 2e |LSize(r.|right-r.|
|000012e0| 6c 65 66 74 2c 20 72 2e | 62 6f 74 74 6f 6d 2d 72 |left, r.|bottom-r|
|000012f0| 2e 74 6f 70 2c 20 6c 69 | 73 74 48 29 3b 0d 7d 0d |.top, li|stH);.}.|
|00001300| 0d 0d 76 6f 69 64 20 43 | 4c 4c 69 73 74 3a 3a 41 |..void C|LList::A|
|00001310| 64 64 4c 69 6e 65 28 63 | 68 61 72 20 2a 6c 69 6e |ddLine(c|har *lin|
|00001320| 65 29 0d 7b 0d 09 43 65 | 6c 6c 20 63 65 6c 6c 70 |e).{..Ce|ll cellp|
|00001330| 74 3b 0d 09 0d 09 50 72 | 65 70 61 72 65 28 29 3b |t;....Pr|epare();|
|00001340| 0d 09 4c 41 64 64 52 6f | 77 28 31 2c 20 6e 72 6f |..LAddRo|w(1, nro|
|00001350| 77 73 2c 20 6c 69 73 74 | 48 29 3b 0d 09 63 65 6c |ws, list|H);..cel|
|00001360| 6c 70 74 2e 68 20 3d 20 | 30 3b 0d 09 63 65 6c 6c |lpt.h = |0;..cell|
|00001370| 70 74 2e 76 20 3d 20 6e | 72 6f 77 73 2b 2b 3b 0d |pt.v = n|rows++;.|
|00001380| 09 4c 53 65 74 43 65 6c | 6c 28 6c 69 6e 65 2c 20 |.LSetCel|l(line, |
|00001390| 73 74 72 6c 65 6e 28 6c | 69 6e 65 29 2c 20 63 65 |strlen(l|ine), ce|
|000013a0| 6c 6c 70 74 2c 20 6c 69 | 73 74 48 29 3b 0d 7d 0d |llpt, li|stH);.}.|
|000013b0| 0d 76 6f 69 64 20 43 4c | 4c 69 73 74 3a 3a 44 65 |.void CL|List::De|
|000013c0| 6c 4c 69 6e 65 28 69 6e | 74 20 6c 69 6e 65 2c 20 |lLine(in|t line, |
|000013d0| 69 6e 74 20 63 6f 75 6e | 74 29 0d 7b 0d 09 67 44 |int coun|t).{..gD|
|000013e0| 65 73 6b 74 6f 70 2d 3e | 55 70 64 61 74 65 57 69 |esktop->|UpdateWi|
|000013f0| 6e 64 6f 77 73 28 29 3b | 09 09 2f 2a 20 68 61 63 |ndows();|../* hac|
|00001400| 6b 20 74 6f 20 6b 65 65 | 70 20 6c 69 73 74 20 64 |k to kee|p list d|
|00001410| 69 73 70 6c 61 79 20 63 | 75 72 72 65 6e 74 20 2a |isplay c|urrent *|
|00001420| 2f 0d 0d 09 50 72 65 70 | 61 72 65 28 29 3b 0d 09 |/...Prep|are();..|
|00001430| 4c 44 65 6c 52 6f 77 28 | 63 6f 75 6e 74 2c 20 6c |LDelRow(|count, l|
|00001440| 69 6e 65 2c 20 6c 69 73 | 74 48 29 3b 0d 09 6e 72 |ine, lis|tH);..nr|
|00001450| 6f 77 73 20 2d 3d 20 63 | 6f 75 6e 74 3b 0d 7d 0d |ows -= c|ount;.}.|
|00001460| 0d 76 6f 69 64 20 43 4c | 4c 69 73 74 3a 3a 53 65 |.void CL|List::Se|
|00001470| 74 4c 69 6e 65 28 69 6e | 74 20 6c 69 6e 65 2c 20 |tLine(in|t line, |
|00001480| 63 68 61 72 20 2a 74 78 | 74 29 0d 7b 0d 09 43 65 |char *tx|t).{..Ce|
|00001490| 6c 6c 20 63 65 6c 6c 70 | 74 3b 0d 09 0d 09 67 44 |ll cellp|t;....gD|
|000014a0| 65 73 6b 74 6f 70 2d 3e | 55 70 64 61 74 65 57 69 |esktop->|UpdateWi|
|000014b0| 6e 64 6f 77 73 28 29 3b | 09 09 2f 2a 20 68 61 63 |ndows();|../* hac|
|000014c0| 6b 20 74 6f 20 6b 65 65 | 70 20 6c 69 73 74 20 64 |k to kee|p list d|
|000014d0| 69 73 70 6c 61 79 20 63 | 75 72 72 65 6e 74 20 2a |isplay c|urrent *|
|000014e0| 2f 0d 0d 09 50 72 65 70 | 61 72 65 28 29 3b 0d 09 |/...Prep|are();..|
|000014f0| 63 65 6c 6c 70 74 2e 68 | 20 3d 20 30 3b 0d 09 63 |cellpt.h| = 0;..c|
|00001500| 65 6c 6c 70 74 2e 76 20 | 3d 20 6c 69 6e 65 3b 0d |ellpt.v |= line;.|
|00001510| 09 4c 53 65 74 43 65 6c | 6c 28 74 78 74 2c 20 73 |.LSetCel|l(txt, s|
|00001520| 74 72 6c 65 6e 28 74 78 | 74 29 2c 20 63 65 6c 6c |trlen(tx|t), cell|
|00001530| 70 74 2c 20 6c 69 73 74 | 48 29 3b 0d 7d 0d 0d 76 |pt, list|H);.}..v|
|00001540| 6f 69 64 20 43 4c 4c 69 | 73 74 3a 3a 53 65 6c 65 |oid CLLi|st::Sele|
|00001550| 63 74 4c 69 6e 65 28 69 | 6e 74 20 6c 69 6e 65 29 |ctLine(i|nt line)|
|00001560| 0d 7b 0d 09 43 65 6c 6c | 20 63 65 6c 6c 70 74 3b |.{..Cell| cellpt;|
|00001570| 0d 09 0d 09 50 72 65 70 | 61 72 65 28 29 3b 0d 09 |....Prep|are();..|
|00001580| 63 65 6c 6c 70 74 2e 68 | 20 3d 20 30 3b 0d 09 63 |cellpt.h| = 0;..c|
|00001590| 65 6c 6c 70 74 2e 76 20 | 3d 20 6c 69 6e 65 3b 0d |ellpt.v |= line;.|
|000015a0| 09 69 66 20 28 63 65 6c | 6c 70 74 2e 76 20 3e 3d |.if (cel|lpt.v >=|
|000015b0| 20 6e 72 6f 77 73 29 0d | 09 09 63 65 6c 6c 70 74 | nrows).|..cellpt|
|000015c0| 2e 76 20 3d 20 6e 72 6f | 77 73 2d 31 3b 0d 09 4c |.v = nro|ws-1;..L|
|000015d0| 53 65 74 53 65 6c 65 63 | 74 28 54 52 55 45 2c 20 |SetSelec|t(TRUE, |
|000015e0| 63 65 6c 6c 70 74 2c 20 | 6c 69 73 74 48 29 3b 0d |cellpt, |listH);.|
|000015f0| 7d 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |}.......|........|
|00001600| 00 00 01 00 00 00 01 5c | 00 00 00 5c 00 00 00 3c |.......\|...\...<|
|00001610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001630| 0b 43 4c 69 73 74 57 69 | 6e 64 2e 63 02 00 00 00 |.CListWi|nd.c....|
|00001640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001670| 00 00 a3 86 73 85 00 00 | 00 00 00 00 01 98 00 00 |....s...|........|
|00001680| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001690| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000016f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001700| 00 00 00 58 6c 93 28 c9 | 3f e5 32 30 00 04 00 02 |...Xl.(.|?.20....|
|00001710| 00 00 00 00 00 00 a2 65 | 07 39 a2 20 12 ad a2 65 |.......e|.9. ...e|
|00001720| 06 e3 00 02 a4 41 00 01 | 00 05 00 01 14 74 77 62 |.....A..|.....twb|
|00001730| 20 43 6c 61 73 73 65 73 | 20 70 72 6f 6a 65 63 74 | Classes| project|
|00001740| ba 00 03 74 77 62 00 01 | 31 00 0b 43 4c 69 73 74 |...twb..|1..CList|
|00001750| 57 69 6e 64 2e 63 00 00 | 00 00 00 00 00 00 01 00 |Wind.c..|........|
|00001760| 00 00 01 5c 00 00 00 5c | 00 00 00 3c 00 2c 33 bc |...\...\|...<.,3.|
|00001770| 07 5a 00 00 00 1c 00 32 | 00 00 63 6b 69 64 00 00 |.Z.....2|..ckid..|
|00001780| 00 0a 00 80 00 00 00 00 | 00 00 00 2d d8 d0 09 50 |........|...-...P|
|00001790| 72 6f 6a 65 63 74 6f 72 | 00 00 00 00 00 00 00 00 |rojector|........|
|000017a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000017f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+