home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1994-03-16 | 12.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).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Wed Mar 16 15:58:00 1994, modified Wed Mar 16 15:58:00 1994, creator Think C, type ASCII, 11538 bytes "TwistDownList.h" , at 0x2d92 444 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 0f 54 77 69 73 74 44 | 6f 77 6e 4c 69 73 74 2e |..TwistD|ownList.|
|00000010| 68 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |h.......|........|
|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 01 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 2d 12 00 | 00 01 bc a9 ad 23 58 a9 |.....-..|.....#X.|
|00000060| ad 23 58 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 81 81 74 82 00 00 |........|....t...|
|00000080| 2f 2a 09 09 09 09 09 09 | 09 09 09 54 77 69 73 74 |/*......|...Twist|
|00000090| 44 6f 77 6e 4c 69 73 74 | 2e 68 09 09 09 09 09 09 |DownList|.h......|
|000000a0| 09 09 2a 2f 0d 2f 2a 0d | 20 2a 20 4c 69 73 74 20 |..*/./*.| * List |
|000000b0| 49 6e 20 41 20 4c 69 73 | 74 20 53 61 6d 70 6c 65 |In A Lis|t Sample|
|000000c0| 0d 20 2a 20 54 77 69 73 | 74 44 6f 77 6e 4c 69 73 |. * Twis|tDownLis|
|000000d0| 74 2e 68 0d 20 2a 20 43 | 6f 70 79 72 69 67 68 74 |t.h. * C|opyright|
|000000e0| 20 a9 20 31 39 39 33 2d | 39 34 20 41 70 70 6c 65 | . 1993-|94 Apple|
|000000f0| 20 43 6f 6d 70 75 74 65 | 72 20 49 6e 63 2e 0d 20 | Compute|r Inc.. |
|00000100| 2a 0d 20 2a 20 4e 6f 74 | 65 20 74 68 61 74 20 22 |*. * Not|e that "|
|00000110| 6c 69 73 74 22 20 69 73 | 20 61 6d 62 69 67 75 6f |list" is| ambiguo|
|00000120| 75 73 2c 20 72 65 66 65 | 72 72 69 6e 67 20 65 69 |us, refe|rring ei|
|00000130| 74 68 65 72 20 74 6f 20 | 61 20 4c 69 73 74 20 4d |ther to |a List M|
|00000140| 61 6e 61 67 65 72 20 6c | 69 73 74 20 6f 72 20 74 |anager l|ist or t|
|00000150| 6f 0d 20 2a 20 61 20 22 | 4c 69 73 70 2d 6c 69 6b |o. * a "|Lisp-lik|
|00000160| 65 22 20 6c 69 73 74 2e | 20 49 6e 20 74 68 65 20 |e" list.| In the |
|00000170| 66 6f 6c 6c 6f 77 69 6e | 67 20 64 6f 63 75 6d 65 |followin|g docume|
|00000180| 6e 74 61 74 69 6f 6e 2c | 20 22 63 65 6c 6c 22 20 |ntation,| "cell" |
|00000190| 77 69 6c 6c 20 61 6c 77 | 61 79 73 20 72 65 66 65 |will alw|ays refe|
|000001a0| 72 0d 20 2a 20 74 6f 20 | 61 20 4c 69 73 74 20 4d |r. * to |a List M|
|000001b0| 61 6e 61 67 65 72 20 6c | 69 73 74 20 63 65 6c 6c |anager l|ist cell|
|000001c0| 2c 20 77 68 69 6c 65 20 | 22 65 6c 65 6d 65 6e 74 |, while |"element|
|000001d0| 22 20 77 69 6c 6c 20 61 | 6c 77 61 79 73 20 72 65 |" will a|lways re|
|000001e0| 66 65 72 20 74 6f 20 61 | 20 4c 69 73 70 0d 20 2a |fer to a| Lisp. *|
|000001f0| 20 63 65 6c 6c 2e 20 4e | 6f 74 65 20 74 68 61 74 | cell. N|ote that|
|00000200| 20 65 6c 65 6d 65 6e 74 | 73 20 61 72 65 20 6e 6f | element|s are no|
|00000210| 74 20 61 6c 77 61 79 73 | 20 64 69 73 70 6c 61 79 |t always| display|
|00000220| 65 64 20 62 79 20 74 68 | 65 20 4c 69 73 74 20 4d |ed by th|e List M|
|00000230| 61 6e 61 67 65 72 2e 0d | 20 2a 2f 0d 23 69 66 6e |anager..| */.#ifn|
|00000240| 64 65 66 20 5f 54 77 69 | 73 74 44 6f 77 6e 4c 69 |def _Twi|stDownLi|
|00000250| 73 74 5f 0d 23 64 65 66 | 69 6e 65 20 5f 54 77 69 |st_.#def|ine _Twi|
|00000260| 73 74 44 6f 77 6e 4c 69 | 73 74 5f 0d 0d 23 69 66 |stDownLi|st_..#if|
|00000270| 6e 64 65 66 20 52 45 5a | 0d 23 69 66 6e 64 65 66 |ndef REZ|.#ifndef|
|00000280| 20 54 48 49 4e 4b 5f 43 | 09 09 09 09 2f 2a 20 4d | THINK_C|..../* M|
|00000290| 50 57 20 69 6e 63 6c 75 | 64 65 73 09 09 09 2a 2f |PW inclu|des...*/|
|000002a0| 0d 23 69 6e 63 6c 75 64 | 65 20 3c 54 79 70 65 73 |.#includ|e <Types|
|000002b0| 2e 68 3e 0d 23 69 6e 63 | 6c 75 64 65 20 3c 4c 69 |.h>.#inc|lude <Li|
|000002c0| 73 74 73 2e 68 3e 0d 23 | 69 6e 63 6c 75 64 65 20 |sts.h>.#|include |
|000002d0| 3c 51 75 69 63 6b 44 72 | 61 77 2e 68 3e 0d 23 69 |<QuickDr|aw.h>.#i|
|000002e0| 6e 63 6c 75 64 65 20 3c | 50 61 63 6b 61 67 65 73 |nclude <|Packages|
|000002f0| 2e 68 3e 0d 23 69 6e 63 | 6c 75 64 65 20 3c 54 72 |.h>.#inc|lude <Tr|
|00000300| 61 70 73 2e 68 3e 0d 23 | 69 6e 63 6c 75 64 65 20 |aps.h>.#|include |
|00000310| 3c 57 69 6e 64 6f 77 73 | 2e 68 3e 0d 23 65 6e 64 |<Windows|.h>.#end|
|00000320| 69 66 0d 23 69 66 6e 64 | 65 66 20 54 52 55 45 0d |if.#ifnd|ef TRUE.|
|00000330| 23 64 65 66 69 6e 65 20 | 54 52 55 45 09 09 09 09 |#define |TRUE....|
|00000340| 31 0d 23 64 65 66 69 6e | 65 20 46 41 4c 53 45 09 |1.#defin|e FALSE.|
|00000350| 09 09 09 30 0d 23 65 6e | 64 69 66 0d 23 69 66 6e |...0.#en|dif.#ifn|
|00000360| 64 65 66 20 4e 55 4c 4c | 0d 23 64 65 66 69 6e 65 |def NULL|.#define|
|00000370| 20 4e 55 4c 4c 09 09 09 | 09 30 0d 23 65 6e 64 69 | NULL...|.0.#endi|
|00000380| 66 0d 2f 2a 0d 20 2a 20 | 54 68 69 73 20 69 73 20 |f./*. * |This is |
|00000390| 74 68 65 20 72 65 73 6f | 75 72 63 65 20 49 44 20 |the reso|urce ID |
|000003a0| 6f 66 20 74 68 65 20 63 | 61 6c 6c 62 61 63 6b 20 |of the c|allback |
|000003b0| 73 74 75 62 20 74 68 61 | 74 20 6d 75 73 74 20 62 |stub tha|t must b|
|000003c0| 65 20 64 65 66 69 6e 65 | 64 20 69 6e 20 74 68 65 |e define|d in the|
|000003d0| 0d 20 2a 20 61 70 70 6c | 69 63 61 74 69 6f 6e 27 |. * appl|ication'|
|000003e0| 73 20 72 65 73 6f 75 72 | 63 65 20 66 6f 72 6b 2e |s resour|ce fork.|
|000003f0| 20 53 65 65 20 74 68 65 | 20 65 78 61 6d 70 6c 65 | See the| example|
|00000400| 20 69 6e 20 4c 69 73 74 | 49 6e 41 4c 69 73 74 2e | in List|InAList.|
|00000410| 72 2e 0d 20 2a 2f 0d 23 | 64 65 66 69 6e 65 20 4c |r.. */.#|define L|
|00000420| 44 45 46 5f 53 74 75 62 | 09 09 09 31 30 32 34 0d |DEF_Stub|...1024.|
|00000430| 2f 2a 0d 20 2a 20 54 77 | 69 73 74 44 6f 77 6e 43 |/*. * Tw|istDownC|
|00000440| 6c 69 63 6b 53 74 61 74 | 65 20 69 73 20 74 68 65 |lickStat|e is the|
|00000450| 20 76 61 6c 75 65 20 72 | 65 74 75 72 6e 65 64 20 | value r|eturned |
|00000460| 62 79 20 44 6f 54 77 69 | 73 74 44 6f 77 6e 43 6c |by DoTwi|stDownCl|
|00000470| 69 63 6b 2e 0d 20 2a 2f | 0d 74 79 70 65 64 65 66 |ick.. */|.typedef|
|00000480| 20 65 6e 75 6d 20 7b 0d | 09 6b 54 77 69 73 74 44 | enum {.|.kTwistD|
|00000490| 6f 77 6e 4e 6f 74 49 6e | 4c 69 73 74 20 3d 20 30 |ownNotIn|List = 0|
|000004a0| 2c 09 09 09 2f 2a 20 54 | 68 65 20 63 6c 69 63 6b |,.../* T|he click|
|000004b0| 20 77 61 73 20 6e 6f 74 | 20 69 6e 20 74 68 69 73 | was not| in this|
|000004c0| 20 6c 69 73 74 09 09 2a | 2f 0d 09 6b 54 77 69 73 | list..*|/..kTwis|
|000004d0| 74 44 6f 77 6e 4e 6f 43 | 6c 69 63 6b 2c 09 09 09 |tDownNoC|lick,...|
|000004e0| 09 09 2f 2a 20 55 73 65 | 72 20 63 68 61 6e 67 65 |../* Use|r change|
|000004f0| 64 20 6d 69 6e 64 09 09 | 09 09 09 2a 2f 0d 09 6b |d mind..|...*/..k|
|00000500| 54 77 69 73 74 44 6f 77 | 6e 42 75 74 74 6f 6e 43 |TwistDow|nButtonC|
|00000510| 6c 69 63 6b 2c 09 09 09 | 09 2f 2a 20 43 6c 69 63 |lick,...|./* Clic|
|00000520| 6b 65 64 20 6f 6e 20 74 | 77 69 73 74 2d 64 6f 77 |ked on t|wist-dow|
|00000530| 6e 20 62 75 74 74 6f 6e | 09 09 09 2a 2f 0d 09 6b |n button|...*/..k|
|00000540| 54 77 69 73 74 44 6f 77 | 6e 43 6c 69 63 6b 2c 09 |TwistDow|nClick,.|
|00000550| 09 09 09 09 2f 2a 20 53 | 69 6e 67 6c 65 2d 63 6c |..../* S|ingle-cl|
|00000560| 69 63 6b 20 6f 6e 20 6c | 69 73 74 20 64 61 74 75 |ick on l|ist datu|
|00000570| 6d 09 09 09 2a 2f 0d 09 | 6b 54 77 69 73 74 44 6f |m...*/..|kTwistDo|
|00000580| 77 6e 44 6f 75 62 6c 65 | 43 6c 69 63 6b 09 09 09 |wnDouble|Click...|
|00000590| 09 2f 2a 20 44 6f 75 62 | 6c 65 2d 63 6c 69 63 6b |./* Doub|le-click|
|000005a0| 20 6f 6e 20 6c 69 73 74 | 20 64 61 74 75 6d 09 09 | on list| datum..|
|000005b0| 09 2a 2f 0d 7d 20 54 77 | 69 73 74 44 6f 77 6e 43 |.*/.} Tw|istDownC|
|000005c0| 6c 69 63 6b 53 74 61 74 | 65 3b 0d 0d 2f 2a 0d 20 |lickStat|e;../*. |
|000005d0| 2a 20 54 68 69 73 20 69 | 73 20 74 68 65 20 69 6e |* This i|s the in|
|000005e0| 66 6f 72 6d 61 74 69 6f | 6e 20 6e 65 65 64 65 64 |formatio|n needed|
|000005f0| 20 74 6f 20 6d 61 6e 61 | 67 65 20 74 68 65 20 74 | to mana|ge the t|
|00000600| 77 69 73 74 2d 64 6f 77 | 6e 20 64 69 73 70 6c 61 |wist-dow|n displa|
|00000610| 79 20 6c 69 73 74 2e 20 | 49 74 20 69 73 2c 0d 20 |y list. |It is,. |
|00000620| 2a 20 65 73 73 65 6e 74 | 69 61 6c 6c 79 2c 20 61 |* essent|ially, a|
|00000630| 20 63 6c 61 73 73 69 63 | 61 6c 20 4c 69 73 70 20 | classic|al Lisp |
|00000640| 6c 69 73 74 20 77 69 74 | 68 20 72 65 63 75 72 73 |list wit|h recurs|
|00000650| 69 76 65 6c 79 2d 64 65 | 66 69 6e 65 64 20 73 75 |ively-de|fined su|
|00000660| 62 6c 69 73 74 73 2e 20 | 45 61 63 68 0d 20 2a 20 |blists. |Each. * |
|00000670| 65 6c 65 6d 65 6e 74 20 | 63 6f 6e 74 61 69 6e 73 |element |contains|
|00000680| 20 65 6e 6f 75 67 68 20 | 69 6e 66 6f 72 6d 61 74 | enough |informat|
|00000690| 69 6f 6e 20 74 6f 20 64 | 69 73 70 6c 61 79 20 6f |ion to d|isplay o|
|000006a0| 6e 65 20 63 6f 6d 70 6f | 6e 65 6e 74 2e 20 54 68 |ne compo|nent. Th|
|000006b0| 69 73 20 6c 69 73 74 20 | 69 73 0d 20 2a 20 73 74 |is list |is. * st|
|000006c0| 6f 72 65 64 20 69 6e 20 | 61 20 68 61 6e 64 6c 65 |ored in |a handle|
|000006d0| 20 73 74 6f 72 65 64 20 | 69 6e 20 74 68 65 20 6c | stored |in the l|
|000006e0| 69 73 74 27 73 20 70 72 | 69 76 61 74 65 20 64 61 |ist's pr|ivate da|
|000006f0| 74 61 20 68 61 6e 64 6c | 65 2e 20 54 68 65 20 4c |ta handl|e. The L|
|00000700| 69 73 74 4d 61 6e 61 67 | 65 72 0d 20 2a 20 6c 69 |istManag|er. * li|
|00000710| 73 74 20 63 65 6c 6c 73 | 20 63 6f 6e 74 61 69 6e |st cells| contain|
|00000720| 20 54 77 69 73 74 44 6f | 77 6e 48 64 6c 20 70 6f | TwistDo|wnHdl po|
|00000730| 69 6e 74 65 72 73 20 74 | 6f 20 74 68 65 20 76 69 |inters t|o the vi|
|00000740| 73 69 62 6c 65 20 65 6c | 65 6d 65 6e 74 73 2e 0d |sible el|ements..|
|00000750| 20 2a 20 41 20 76 61 6c | 75 65 20 6f 66 20 4e 55 | * A val|ue of NU|
|00000760| 4c 4c 20 69 6e 20 6e 65 | 78 74 45 6c 65 6d 65 6e |LL in ne|xtElemen|
|00000770| 74 20 69 6e 64 69 63 61 | 74 65 73 20 74 68 65 20 |t indica|tes the |
|00000780| 65 6e 64 20 6f 66 20 61 | 20 6c 69 73 74 20 6f 72 |end of a| list or|
|00000790| 20 73 75 62 6c 69 73 74 | 2e 0d 20 2a 20 41 20 76 | sublist|.. * A v|
|000007a0| 61 6c 75 65 20 6f 66 20 | 4e 55 4c 4c 20 69 6e 20 |alue of |NULL in |
|000007b0| 73 75 62 45 6c 65 6d 65 | 6e 74 20 6d 65 61 6e 73 |subEleme|nt means|
|000007c0| 20 74 68 61 74 20 74 68 | 65 72 65 20 61 72 65 20 | that th|ere are |
|000007d0| 6e 6f 20 73 75 62 2d 65 | 6c 65 6d 65 6e 74 73 20 |no sub-e|lements |
|000007e0| 28 74 68 69 73 0d 20 2a | 20 69 73 20 61 20 6c 65 |(this. *| is a le|
|000007f0| 61 66 29 2e 20 4e 6f 74 | 65 20 74 68 61 74 20 74 |af). Not|e that t|
|00000800| 68 65 20 4d 61 63 69 6e | 74 6f 73 68 20 6d 65 6d |he Macin|tosh mem|
|00000810| 6f 72 79 20 6d 61 6e 61 | 67 65 72 20 68 61 6e 64 |ory mana|ger hand|
|00000820| 6c 65 73 20 67 61 72 62 | 61 67 65 20 63 6f 6c 6c |les garb|age coll|
|00000830| 65 63 74 69 6f 6e 2e 0d | 20 2a 0d 20 2a 20 54 68 |ection..| *. * Th|
|00000840| 65 20 66 6c 61 67 20 62 | 69 74 73 20 68 61 76 65 |e flag b|its have|
|00000850| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 6d | the fol|lowing m|
|00000860| 65 61 6e 69 6e 67 73 3a | 0d 20 2a 09 6b 48 61 73 |eanings:|. *.kHas|
|00000870| 54 77 69 73 74 44 6f 77 | 6e 09 09 54 68 69 73 20 |TwistDow|n..This |
|00000880| 6c 69 73 74 20 65 6c 65 | 6d 65 6e 74 20 69 73 20 |list ele|ment is |
|00000890| 61 20 73 75 62 2d 6c 69 | 73 74 20 28 69 74 20 6d |a sub-li|st (it m|
|000008a0| 61 79 20 62 65 20 65 6d | 70 74 79 29 2e 0d 20 2a |ay be em|pty).. *|
|000008b0| 09 09 09 09 09 09 44 72 | 61 77 20 74 68 65 20 74 |......Dr|aw the t|
|000008c0| 77 69 73 74 2d 64 6f 77 | 6e 20 62 75 74 74 6f 6e |wist-dow|n button|
|000008d0| 20 28 65 76 65 6e 20 69 | 66 20 73 75 62 45 6c 65 | (even i|f subEle|
|000008e0| 6d 65 6e 74 20 69 73 20 | 4e 55 4c 4c 29 2e 0d 20 |ment is |NULL).. |
|000008f0| 2a 09 6b 53 68 6f 77 53 | 75 62 4c 69 73 74 09 09 |*.kShowS|ubList..|
|00000900| 54 68 69 73 20 6c 69 73 | 74 20 65 6c 65 6d 65 6e |This lis|t elemen|
|00000910| 74 20 69 73 20 68 61 73 | 20 61 20 73 75 62 2d 6c |t is has| a sub-l|
|00000920| 69 73 74 20 61 6e 64 20 | 74 68 65 20 75 73 65 72 |ist and |the user|
|00000930| 20 77 61 6e 74 73 0d 20 | 2a 09 09 09 09 09 09 74 | wants. |*......t|
|00000940| 6f 20 73 65 65 20 74 68 | 65 20 63 6f 6e 74 65 6e |o see th|e conten|
|00000950| 74 73 20 6f 66 20 74 68 | 65 20 73 75 62 2d 6c 69 |ts of th|e sub-li|
|00000960| 73 74 2c 20 74 6f 6f 2e | 0d 20 2a 09 6b 4f 6c 64 |st, too.|. *.kOld|
|00000970| 53 68 6f 77 53 75 62 4c | 69 73 74 09 09 54 68 69 |ShowSubL|ist..Thi|
|00000980| 73 20 77 6f 75 6c 64 20 | 62 65 20 75 73 65 64 20 |s would |be used |
|00000990| 74 6f 20 73 61 76 65 20 | 74 68 65 20 73 74 61 74 |to save |the stat|
|000009a0| 65 20 6f 66 20 74 68 65 | 20 6b 53 68 6f 77 53 75 |e of the| kShowSu|
|000009b0| 62 4c 69 73 74 0d 20 2a | 09 09 09 09 09 09 66 6c |bList. *|......fl|
|000009c0| 61 67 20 69 66 20 69 74 | 20 6e 65 65 64 73 20 74 |ag if it| needs t|
|000009d0| 6f 20 62 65 20 63 68 61 | 6e 67 65 64 20 74 65 6d |o be cha|nged tem|
|000009e0| 70 6f 72 61 72 69 6c 79 | 20 28 74 6f 20 73 68 6f |porarily| (to sho|
|000009f0| 77 0d 20 2a 09 09 09 09 | 09 09 74 68 65 20 65 6e |w. *....|..the en|
|00000a00| 74 69 72 65 20 68 69 65 | 72 61 72 63 68 79 2c 20 |tire hie|rarchy, |
|00000a10| 66 6f 72 20 65 78 61 6d | 70 6c 65 29 2e 0d 20 2a |for exam|ple).. *|
|00000a20| 20 54 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 66 | The fol|lowing f|
|00000a30| 6c 61 67 73 20 61 72 65 | 20 6f 6e 6c 79 20 6e 65 |lags are| only ne|
|00000a40| 65 64 65 64 20 62 79 20 | 74 68 65 20 6d 6f 75 73 |eded by |the mous|
|00000a50| 65 2d 63 6c 69 63 6b 20 | 68 61 6e 64 6c 65 72 2e |e-click |handler.|
|00000a60| 0d 20 2a 09 6b 44 72 61 | 77 42 75 74 74 6f 6e 46 |. *.kDra|wButtonF|
|00000a70| 69 6c 6c 65 64 09 54 68 | 69 73 20 69 73 20 75 73 |illed.Th|is is us|
|00000a80| 65 64 20 62 79 20 74 68 | 65 20 6d 6f 75 73 65 2d |ed by th|e mouse-|
|00000a90| 63 6c 69 63 6b 20 68 61 | 6e 64 6c 65 72 20 74 6f |click ha|ndler to|
|00000aa0| 20 73 69 67 6e 61 6c 0d | 20 2a 09 09 09 09 09 09 | signal.| *......|
|00000ab0| 22 6d 6f 75 73 65 2d 64 | 6f 77 6e 20 69 6e 20 62 |"mouse-d|own in b|
|00000ac0| 75 74 74 6f 6e 2e 22 20 | 54 68 65 20 4c 44 45 46 |utton." |The LDEF|
|00000ad0| 20 66 69 6c 6c 73 20 74 | 68 65 20 62 75 74 74 6f | fills t|he butto|
|00000ae0| 6e 20 61 72 65 61 2e 0d | 20 2a 09 6b 4f 6e 6c 79 |n area..| *.kOnly|
|00000af0| 52 65 64 72 61 77 42 75 | 74 74 6f 6e 09 54 68 69 |RedrawBu|tton.Thi|
|00000b00| 73 20 69 73 20 75 73 65 | 64 20 62 79 20 74 68 65 |s is use|d by the|
|00000b10| 20 6d 6f 75 73 65 2d 63 | 6c 69 63 6b 20 68 61 6e | mouse-c|lick han|
|00000b20| 64 6c 65 72 20 74 6f 20 | 73 69 67 6e 61 6c 20 74 |dler to |signal t|
|00000b30| 68 65 0d 20 2a 09 09 09 | 09 09 09 4c 44 45 46 20 |he. *...|...LDEF |
|00000b40| 74 6f 20 64 72 61 77 20 | 6f 6e 6c 79 20 74 68 65 |to draw |only the|
|00000b50| 20 62 75 74 74 6f 6e 2c | 20 62 75 74 20 6e 6f 74 | button,| but not|
|00000b60| 20 74 68 65 20 6c 69 73 | 74 20 63 6f 6e 74 65 6e | the lis|t conten|
|00000b70| 74 2e 0d 20 2a 09 6b 44 | 72 61 77 49 6e 74 65 72 |t.. *.kD|rawInter|
|00000b80| 6d 65 64 69 61 74 65 09 | 54 68 65 20 75 73 65 72 |mediate.|The user|
|00000b90| 20 69 73 20 65 78 70 61 | 6e 64 69 6e 67 2f 63 6f | is expa|nding/co|
|00000ba0| 6c 6c 61 70 73 69 6e 67 | 20 74 68 65 20 66 6f 6c |llapsing| the fol|
|00000bb0| 64 65 72 2e 20 44 72 61 | 77 0d 20 2a 09 09 09 09 |der. Dra|w. *....|
|00000bc0| 09 09 74 68 65 20 61 6e | 69 6d 61 74 69 6f 6e 20 |..the an|imation |
|00000bd0| 74 72 69 61 6e 67 6c 65 | 2e 0d 20 2a 09 6b 53 65 |triangle|.. *.kSe|
|00000be0| 6c 65 63 74 65 64 45 6c | 65 6d 65 6e 74 09 54 68 |lectedEl|ement.Th|
|00000bf0| 69 73 20 65 6c 65 6d 65 | 6e 74 20 77 61 73 20 73 |is eleme|nt was s|
|00000c00| 65 6c 65 63 74 65 64 20 | 69 6e 20 74 68 65 20 64 |elected |in the d|
|00000c10| 69 73 70 6c 61 79 20 6c | 69 73 74 2e 20 54 68 69 |isplay l|ist. Thi|
|00000c20| 73 20 69 73 0d 20 2a 09 | 09 09 09 09 09 61 20 74 |s is. *.|.....a t|
|00000c30| 65 6d 70 6f 72 61 72 79 | 20 76 61 6c 75 65 20 6e |emporary| value n|
|00000c40| 65 65 64 65 64 20 77 68 | 65 6e 20 74 68 65 20 6c |eeded wh|en the l|
|00000c50| 69 73 74 20 69 73 20 65 | 78 70 61 6e 64 65 64 20 |ist is e|xpanded |
|00000c60| 6f 72 0d 20 2a 09 09 09 | 09 09 09 63 6f 6e 74 72 |or. *...|...contr|
|00000c70| 61 63 74 65 64 2e 0d 20 | 2a 09 6b 45 72 61 73 65 |acted.. |*.kErase|
|00000c80| 42 75 74 74 6f 6e 41 72 | 65 61 09 49 66 20 77 65 |ButtonAr|ea.If we|
|00000c90| 20 61 72 65 20 6f 6e 6c | 79 20 68 69 6c 69 74 69 | are onl|y hiliti|
|00000ca0| 6e 67 20 74 68 65 20 62 | 75 74 74 6f 6e 20 28 77 |ng the b|utton (w|
|00000cb0| 68 69 6c 65 20 74 68 65 | 20 75 73 65 72 20 68 61 |hile the| user ha|
|00000cc0| 73 0d 20 2a 09 09 09 09 | 09 09 70 72 65 73 73 65 |s. *....|..presse|
|00000cd0| 64 20 74 68 65 20 6d 6f | 75 73 65 20 69 6e 20 74 |d the mo|use in t|
|00000ce0| 68 65 20 62 75 74 74 6f | 6e 20 61 72 65 61 29 2c |he butto|n area),|
|00000cf0| 20 77 65 20 64 6f 6e 27 | 74 20 6e 65 65 64 20 74 | we don'|t need t|
|00000d00| 6f 0d 20 2a 09 09 09 09 | 09 09 65 72 61 73 65 20 |o. *....|..erase |
|00000d10| 74 68 65 20 62 75 74 74 | 6f 6e 20 62 65 66 6f 72 |the butt|on befor|
|00000d20| 65 20 72 65 64 72 61 77 | 69 6e 67 20 69 74 2e 20 |e redraw|ing it. |
|00000d30| 57 68 65 6e 20 74 68 65 | 20 75 73 65 72 20 63 6c |When the| user cl|
|00000d40| 69 63 6b 73 0d 20 2a 09 | 09 09 09 09 09 2d 2d 20 |icks. *.|.....-- |
|00000d50| 72 65 6c 65 61 73 65 73 | 20 74 68 65 20 6d 6f 75 |releases| the mou|
|00000d60| 73 65 20 69 6e 20 74 68 | 65 20 62 75 74 74 6f 6e |se in th|e button|
|00000d70| 20 2d 2d 20 74 68 65 20 | 62 75 74 74 6f 6e 20 73 | -- the |button s|
|00000d80| 68 61 70 65 0d 20 2a 09 | 09 09 09 09 09 77 69 6c |hape. *.|.....wil|
|00000d90| 6c 20 63 68 61 6e 67 65 | 2c 20 73 6f 20 74 68 65 |l change|, so the|
|00000da0| 20 6f 6c 64 20 73 68 61 | 70 65 20 6d 75 73 74 20 | old sha|pe must |
|00000db0| 62 65 20 65 72 61 73 65 | 64 2e 20 54 68 69 73 20 |be erase|d. This |
|00000dc0| 69 73 0d 20 2a 09 09 09 | 09 09 09 63 6f 6e 74 72 |is. *...|...contr|
|00000dd0| 6f 6c 6c 65 64 20 62 79 | 20 74 68 69 73 20 66 6c |olled by| this fl|
|00000de0| 61 67 2e 0d 20 2a 2f 0d | 23 64 65 66 69 6e 65 20 |ag.. */.|#define |
|00000df0| 6b 48 61 73 54 77 69 73 | 74 44 6f 77 6e 09 09 30 |kHasTwis|tDown..0|
|00000e00| 78 30 30 30 31 09 09 09 | 09 2f 2a 20 54 68 69 73 |x0001...|./* This|
|00000e10| 20 65 6c 65 6d 65 6e 74 | 20 68 61 73 20 61 20 73 | element| has a s|
|00000e20| 75 62 2d 6c 69 73 74 09 | 2a 2f 0d 23 64 65 66 69 |ub-list.|*/.#defi|
|00000e30| 6e 65 09 6b 53 68 6f 77 | 53 75 62 6c 69 73 74 09 |ne.kShow|Sublist.|
|00000e40| 09 30 78 30 30 30 32 09 | 09 09 09 2f 2a 20 44 69 |.0x0002.|.../* Di|
|00000e50| 73 70 6c 61 79 20 74 68 | 65 20 73 75 62 2d 6c 69 |splay th|e sub-li|
|00000e60| 73 74 20 63 6f 6e 74 65 | 6e 74 09 2a 2f 0d 23 64 |st conte|nt.*/.#d|
|00000e70| 65 66 69 6e 65 09 6b 4f | 6c 64 53 68 6f 77 53 75 |efine.kO|ldShowSu|
|00000e80| 62 6c 69 73 74 09 09 30 | 78 30 30 30 34 09 09 09 |blist..0|x0004...|
|00000e90| 09 2f 2a 20 53 61 76 65 | 20 6b 53 68 6f 77 53 75 |./* Save| kShowSu|
|00000ea0| 62 6c 69 73 74 20 73 74 | 61 74 65 09 09 2a 2f 0d |blist st|ate..*/.|
|00000eb0| 23 64 65 66 69 6e 65 09 | 6b 53 65 6c 65 63 74 65 |#define.|kSelecte|
|00000ec0| 64 45 6c 65 6d 65 6e 74 | 09 30 78 30 30 30 38 09 |dElement|.0x0008.|
|00000ed0| 09 09 09 2f 2a 20 43 6f | 70 79 20 22 73 65 6c 65 |.../* Co|py "sele|
|00000ee0| 63 74 65 64 22 20 66 72 | 6f 6d 20 4c 69 73 74 09 |cted" fr|om List.|
|00000ef0| 2a 2f 0d 23 64 65 66 69 | 6e 65 09 6b 44 72 61 77 |*/.#defi|ne.kDraw|
|00000f00| 42 75 74 74 6f 6e 46 69 | 6c 6c 65 64 09 30 78 30 |ButtonFi|lled.0x0|
|00000f10| 30 31 30 09 09 09 09 2f | 2a 20 53 69 67 6e 61 6c |010..../|* Signal|
|00000f20| 20 22 6d 6f 75 73 65 44 | 6f 77 6e 22 20 69 6e 20 | "mouseD|own" in |
|00000f30| 62 75 74 74 6f 6e 09 2a | 2f 0d 23 64 65 66 69 6e |button.*|/.#defin|
|00000f40| 65 09 6b 4f 6e 6c 79 52 | 65 64 72 61 77 42 75 74 |e.kOnlyR|edrawBut|
|00000f50| 74 6f 6e 09 30 78 30 30 | 32 30 09 09 09 09 2f 2a |ton.0x00|20..../*|
|00000f60| 20 53 69 67 6e 61 6c 20 | 22 74 72 61 63 6b 69 6e | Signal |"trackin|
|00000f70| 67 20 6d 6f 75 73 65 22 | 09 09 2a 2f 0d 23 64 65 |g mouse"|..*/.#de|
|00000f80| 66 69 6e 65 20 6b 44 72 | 61 77 49 6e 74 65 72 6d |fine kDr|awInterm|
|00000f90| 65 64 69 61 74 65 09 30 | 78 30 30 34 30 09 09 09 |ediate.0|x0040...|
|00000fa0| 09 2f 2a 20 44 72 61 77 | 20 74 68 65 20 61 6e 69 |./* Draw| the ani|
|00000fb0| 6d 61 74 69 6f 6e 20 70 | 6f 6c 79 67 6f 6e 09 2a |mation p|olygon.*|
|00000fc0| 2f 0d 23 64 65 66 69 6e | 65 09 6b 45 72 61 73 65 |/.#defin|e.kErase|
|00000fd0| 42 75 74 74 6f 6e 41 72 | 65 61 09 30 78 30 30 38 |ButtonAr|ea.0x008|
|00000fe0| 30 09 09 09 09 2f 2a 20 | 4e 65 65 64 20 63 6f 6d |0..../* |Need com|
|00000ff0| 70 6c 65 74 65 20 62 75 | 74 74 6f 6e 20 72 65 64 |plete bu|tton red|
|00001000| 72 61 77 09 2a 2f 0d 09 | 0d 73 74 72 75 63 74 20 |raw.*/..|.struct |
|00001010| 54 77 69 73 74 44 6f 77 | 6e 52 65 63 6f 72 64 20 |TwistDow|nRecord |
|00001020| 7b 0d 09 73 74 72 75 63 | 74 20 54 77 69 73 74 44 |{..struc|t TwistD|
|00001030| 6f 77 6e 52 65 63 6f 72 | 64 09 2a 2a 6e 65 78 74 |ownRecor|d.**next|
|00001040| 45 6c 65 6d 65 6e 74 3b | 09 09 2f 2a 20 43 44 52 |Element;|../* CDR|
|00001050| 20 2d 20 6e 65 78 74 20 | 6f 6e 20 74 68 69 73 20 | - next |on this |
|00001060| 22 6c 65 76 65 6c 22 09 | 2a 2f 0d 09 73 74 72 75 |"level".|*/..stru|
|00001070| 63 74 20 54 77 69 73 74 | 44 6f 77 6e 52 65 63 6f |ct Twist|DownReco|
|00001080| 72 64 09 2a 2a 73 75 62 | 45 6c 65 6d 65 6e 74 3b |rd.**sub|Element;|
|00001090| 09 09 2f 2a 20 43 41 52 | 20 2d 20 66 69 72 73 74 |../* CAR| - first|
|000010a0| 20 69 6e 20 61 20 73 75 | 62 6c 69 73 74 09 09 2a | in a su|blist..*|
|000010b0| 2f 0d 09 73 68 6f 72 74 | 09 09 09 09 69 6e 64 65 |/..short|....inde|
|000010c0| 6e 74 4c 65 76 65 6c 3b | 09 09 09 2f 2a 20 49 6e |ntLevel;|.../* In|
|000010d0| 64 65 6e 74 61 74 69 6f | 6e 20 64 65 70 74 68 09 |dentatio|n depth.|
|000010e0| 09 09 2a 2f 0d 09 75 6e | 73 69 67 6e 65 64 20 73 |..*/..un|signed s|
|000010f0| 68 6f 72 74 09 09 66 6c | 61 67 3b 09 09 09 09 09 |hort..fl|ag;.....|
|00001100| 2f 2a 20 54 77 69 73 74 | 44 6f 77 6e 46 6c 61 67 |/* Twist|DownFlag|
|00001110| 73 09 09 09 09 2a 2f 0d | 09 75 6e 73 69 67 6e 65 |s....*/.|.unsigne|
|00001120| 64 20 73 68 6f 72 74 09 | 09 64 61 74 61 4c 65 6e |d short.|.dataLen|
|00001130| 67 74 68 3b 09 09 09 09 | 2f 2a 20 4c 65 6e 67 74 |gth;....|/* Lengt|
|00001140| 68 20 6f 66 20 61 63 74 | 75 61 6c 20 64 61 74 75 |h of act|ual datu|
|00001150| 6d 09 09 2a 2f 0d 09 75 | 6e 73 69 67 6e 65 64 20 |m..*/..u|nsigned |
|00001160| 63 68 61 72 09 09 64 61 | 74 61 5b 31 5d 3b 09 09 |char..da|ta[1];..|
|00001170| 09 09 2f 2a 20 44 61 74 | 75 6d 20 74 6f 20 64 69 |../* Dat|um to di|
|00001180| 73 70 6c 61 79 09 09 09 | 09 2a 2f 0d 7d 3b 0d 74 |splay...|.*/.};.t|
|00001190| 79 70 65 64 65 66 20 73 | 74 72 75 63 74 20 54 77 |ypedef s|truct Tw|
|000011a0| 69 73 74 44 6f 77 6e 52 | 65 63 6f 72 64 09 54 77 |istDownR|ecord.Tw|
|000011b0| 69 73 74 44 6f 77 6e 52 | 65 63 6f 72 64 2c 20 2a |istDownR|ecord, *|
|000011c0| 54 77 69 73 74 44 6f 77 | 6e 50 74 72 2c 20 2a 2a |TwistDow|nPtr, **|
|000011d0| 54 77 69 73 74 44 6f 77 | 6e 48 64 6c 3b 0d 0d 2f |TwistDow|nHdl;../|
|000011e0| 2a 0d 20 2a 20 54 68 69 | 73 20 69 73 20 74 68 65 |*. * Thi|s is the|
|000011f0| 20 66 75 6e 63 74 69 6f | 6e 20 74 68 61 74 20 69 | functio|n that i|
|00001200| 73 20 63 61 6c 6c 65 64 | 20 74 6f 20 64 72 61 77 |s called| to draw|
|00001210| 20 74 68 65 20 75 73 65 | 72 2d 73 70 65 63 69 66 | the use|r-specif|
|00001220| 69 65 64 20 6c 69 73 74 | 20 63 65 6c 6c 0d 20 2a |ied list| cell. *|
|00001230| 20 63 6f 6e 74 65 6e 74 | 73 2e 20 54 68 65 20 70 | content|s. The p|
|00001240| 6f 72 74 20 61 6e 64 20 | 66 6f 6e 74 20 68 61 76 |ort and |font hav|
|00001250| 65 20 62 65 65 6e 20 70 | 72 6f 70 65 72 6c 79 20 |e been p|roperly |
|00001260| 69 6e 69 74 69 61 6c 69 | 7a 65 64 2e 20 49 66 20 |initiali|zed. If |
|00001270| 74 68 69 73 20 70 61 72 | 61 6d 65 74 65 72 0d 20 |this par|ameter. |
|00001280| 2a 20 69 73 20 73 70 65 | 63 69 66 69 65 64 20 61 |* is spe|cified a|
|00001290| 73 20 4e 55 4c 4c 2c 20 | 44 72 61 77 54 65 78 74 |s NULL, |DrawText|
|000012a0| 20 77 69 6c 6c 20 62 65 | 20 75 73 65 64 2e 20 4e | will be| used. N|
|000012b0| 6f 74 65 20 74 68 61 74 | 20 74 68 65 20 61 70 70 |ote that| the app|
|000012c0| 6c 69 63 61 74 69 6f 6e | 20 63 61 6e 20 75 73 65 |lication| can use|
|000012d0| 0d 20 2a 20 74 68 65 20 | 6c 69 73 74 27 73 20 72 |. * the |list's r|
|000012e0| 65 66 43 6f 6e 20 74 6f | 20 70 61 73 73 20 6f 74 |efCon to| pass ot|
|000012f0| 68 65 72 20 64 61 74 61 | 20 74 6f 20 74 68 65 20 |her data| to the |
|00001300| 64 72 61 77 69 6e 67 20 | 70 72 6f 63 65 64 75 72 |drawing |procedur|
|00001310| 65 2e 20 41 70 70 6c 69 | 63 61 74 69 6f 6e 73 0d |e. Appli|cations.|
|00001320| 20 2a 20 73 68 6f 75 6c | 64 20 6e 6f 74 20 68 61 | * shoul|d not ha|
|00001330| 76 65 20 61 6e 79 20 6f | 74 68 65 72 20 6e 65 65 |ve any o|ther nee|
|00001340| 64 20 74 6f 20 61 63 63 | 65 73 73 20 74 68 65 20 |d to acc|ess the |
|00001350| 6c 69 73 74 20 68 61 6e | 64 6c 65 20 6f 72 20 69 |list han|dle or i|
|00001360| 74 73 20 63 6f 6e 74 65 | 6e 74 73 2e 0d 20 2a 2f |ts conte|nts.. */|
|00001370| 0d 74 79 70 65 64 65 66 | 20 70 61 73 63 61 6c 20 |.typedef| pascal |
|00001380| 76 6f 69 64 09 09 28 2a | 54 77 69 73 74 44 6f 77 |void..(*|TwistDow|
|00001390| 6e 44 72 61 77 50 72 6f | 63 29 28 0d 09 09 4c 69 |nDrawPro|c)(...Li|
|000013a0| 73 74 48 61 6e 64 6c 65 | 09 09 09 74 77 69 73 74 |stHandle|...twist|
|000013b0| 44 6f 77 6e 4c 69 73 74 | 48 64 6c 2c 09 2f 2a 20 |DownList|Hdl,./* |
|000013c0| 54 68 65 20 6c 69 73 74 | 20 69 74 73 65 6c 66 09 |The list| itself.|
|000013d0| 09 09 09 2a 2f 0d 09 09 | 63 6f 6e 73 74 20 50 74 |...*/...|const Pt|
|000013e0| 72 09 09 09 64 61 74 61 | 50 74 72 2c 09 09 09 2f |r...data|Ptr,.../|
|000013f0| 2a 20 2d 3e 20 75 73 65 | 72 20 64 61 74 61 20 69 |* -> use|r data i|
|00001400| 6e 20 72 65 63 6f 72 64 | 09 09 2a 2f 0d 09 09 75 |n record|..*/...u|
|00001410| 6e 73 69 67 6e 65 64 20 | 73 68 6f 72 74 09 09 64 |nsigned |short..d|
|00001420| 61 74 61 4c 65 6e 67 74 | 68 2c 09 09 09 2f 2a 20 |ataLengt|h,.../* |
|00001430| 6c 65 6e 67 74 68 20 6f | 66 20 75 73 65 72 20 64 |length o|f user d|
|00001440| 61 74 75 6d 09 09 09 2a | 2f 0d 09 09 63 6f 6e 73 |atum...*|/...cons|
|00001450| 74 20 52 65 63 74 09 09 | 09 2a 76 69 65 77 52 65 |t Rect..|.*viewRe|
|00001460| 63 74 09 09 09 2f 2a 20 | 44 72 61 77 20 69 6e 20 |ct.../* |Draw in |
|00001470| 74 68 69 73 20 61 72 65 | 61 09 09 09 2a 2f 0d 09 |this are|a...*/..|
|00001480| 29 3b 0d 0d 2f 2a 0d 20 | 2a 20 43 72 65 61 74 65 |);../*. |* Create|
|00001490| 20 61 20 74 77 69 73 74 | 2d 64 6f 77 6e 20 6c 69 | a twist|-down li|
|000014a0| 73 74 2e 20 42 65 66 6f | 72 65 20 63 61 6c 6c 69 |st. Befo|re calli|
|000014b0| 6e 67 2c 20 79 6f 75 20 | 6d 75 73 74 20 73 65 74 |ng, you |must set|
|000014c0| 20 74 68 65 20 70 6f 72 | 74 20 74 6f 20 74 68 65 | the por|t to the|
|000014d0| 20 63 75 72 72 65 6e 74 | 0d 20 2a 20 77 69 6e 64 | current|. * wind|
|000014e0| 6f 77 20 61 6e 64 20 73 | 70 65 63 69 66 79 20 74 |ow and s|pecify t|
|000014f0| 68 65 20 66 6f 6e 74 20 | 61 6e 64 20 66 6f 6e 74 |he font |and font|
|00001500| 20 73 69 7a 65 20 74 68 | 61 74 20 69 73 20 74 6f | size th|at is to|
|00001510| 20 62 65 20 75 73 65 64 | 20 74 6f 20 64 72 61 77 | be used| to draw|
|00001520| 20 74 68 65 20 6c 69 73 | 74 2e 0d 20 2a 20 4e 65 | the lis|t.. * Ne|
|00001530| 77 54 77 69 73 74 44 6f | 77 6e 4c 69 73 74 20 63 |wTwistDo|wnList c|
|00001540| 72 65 61 74 65 73 20 61 | 6e 20 65 6d 70 74 79 20 |reates a|n empty |
|00001550| 6f 6e 65 2d 63 6f 6c 75 | 6d 6e 20 6c 69 73 74 20 |one-colu|mn list |
|00001560| 77 69 74 68 20 61 20 76 | 65 72 74 69 63 61 6c 20 |with a v|ertical |
|00001570| 73 63 72 6f 6c 6c 20 62 | 61 72 0d 20 2a 20 61 6e |scroll b|ar. * an|
|00001580| 64 20 6e 6f 20 67 72 6f | 77 20 62 6f 78 2e 20 4f |d no gro|w box. O|
|00001590| 6e 6c 79 20 6f 6e 65 20 | 69 74 65 6d 20 6d 61 79 |nly one |item may|
|000015a0| 20 62 65 20 73 65 6c 65 | 63 74 65 64 20 61 74 20 | be sele|cted at |
|000015b0| 61 20 74 69 6d 65 3b 20 | 62 75 74 20 74 68 69 73 |a time; |but this|
|000015c0| 20 63 6f 75 6c 64 0d 20 | 2a 20 62 65 20 63 68 61 | could. |* be cha|
|000015d0| 6e 67 65 64 20 62 79 20 | 74 68 65 20 61 70 70 6c |nged by |the appl|
|000015e0| 69 63 61 74 69 6f 6e 20 | 77 69 74 68 6f 75 74 20 |ication |without |
|000015f0| 64 69 66 66 69 63 75 6c | 74 79 2e 0d 20 2a 0d 20 |difficul|ty.. *. |
|00001600| 2a 20 4e 6f 74 65 3a 20 | 75 6e 6c 69 6b 65 20 4c |* Note: |unlike L|
|00001610| 4e 65 77 2c 20 79 6f 75 | 20 73 68 6f 75 6c 64 20 |New, you| should |
|00001620| 73 70 65 63 69 66 79 20 | 61 20 63 6f 72 72 65 63 |specify |a correc|
|00001630| 74 20 76 69 65 77 52 65 | 63 74 3a 20 74 68 65 20 |t viewRe|ct: the |
|00001640| 73 63 72 6f 6c 6c 20 62 | 61 72 73 20 61 6e 64 0d |scroll b|ars and.|
|00001650| 20 2a 20 66 72 61 6d 65 | 20 77 69 6c 6c 20 62 65 | * frame| will be|
|00001660| 20 63 72 65 61 74 65 64 | 20 69 6e 73 69 64 65 20 | created| inside |
|00001670| 74 68 65 20 76 69 65 77 | 20 72 65 63 74 2e 0d 20 |the view| rect.. |
|00001680| 2a 0d 20 2a 20 54 68 65 | 20 54 77 69 73 74 44 6f |*. * The| TwistDo|
|00001690| 77 6e 44 72 61 77 50 72 | 6f 63 20 77 69 6c 6c 20 |wnDrawPr|oc will |
|000016a0| 62 65 20 63 61 6c 6c 65 | 64 20 74 6f 20 64 72 61 |be calle|d to dra|
|000016b0| 77 20 61 20 73 65 6c 65 | 63 74 69 6f 6e 2e 20 49 |w a sele|ction. I|
|000016c0| 66 20 73 70 65 63 69 66 | 69 65 64 20 61 73 0d 20 |f specif|ied as. |
|000016d0| 2a 20 4e 55 4c 4c 2c 20 | 44 72 61 77 54 65 78 74 |* NULL, |DrawText|
|000016e0| 20 77 69 6c 6c 20 62 65 | 20 63 61 6c 6c 65 64 2e | will be| called.|
|000016f0| 0d 20 2a 0d 20 2a 20 54 | 68 65 20 74 61 62 49 6e |. *. * T|he tabIn|
|00001700| 64 65 6e 74 20 70 61 72 | 61 6d 65 74 65 72 20 73 |dent par|ameter s|
|00001710| 68 6f 75 6c 64 20 62 65 | 20 73 65 74 20 74 6f 20 |hould be| set to |
|00001720| 74 68 65 20 61 6d 6f 75 | 6e 74 20 74 6f 20 69 6e |the amou|nt to in|
|00001730| 64 65 6e 74 20 73 75 63 | 63 65 73 73 69 76 65 20 |dent suc|cessive |
|00001740| 6c 65 76 65 6c 73 0d 20 | 2a 20 28 7a 65 72 6f 20 |levels. |* (zero |
|00001750| 6d 65 61 6e 73 20 6e 6f | 20 69 6e 64 65 6e 74 61 |means no| indenta|
|00001760| 74 69 6f 6e 29 2e 20 53 | 65 74 74 69 6e 67 20 69 |tion). S|etting i|
|00001770| 74 20 74 6f 20 74 68 65 | 20 77 69 64 4d 61 78 20 |t to the| widMax |
|00001780| 76 61 6c 75 65 20 66 72 | 6f 6d 20 74 68 65 20 63 |value fr|om the c|
|00001790| 75 72 72 65 6e 74 0d 20 | 2a 20 66 6f 6e 74 20 73 |urrent. |* font s|
|000017a0| 65 65 6d 73 20 72 65 61 | 73 6f 6e 61 62 6c 65 2e |eems rea|sonable.|
|000017b0| 0d 20 2a 0d 20 2a 20 63 | 61 6e 48 69 6c 69 74 65 |. *. * c|anHilite|
|000017c0| 53 65 6c 65 63 74 69 6f | 6e 20 73 68 6f 75 6c 64 |Selectio|n should|
|000017d0| 20 62 65 20 54 52 55 45 | 20 66 6f 72 20 6e 6f 72 | be TRUE| for nor|
|000017e0| 6d 61 6c 20 73 65 6c 65 | 63 74 69 6f 6e 20 28 74 |mal sele|ction (t|
|000017f0| 68 65 20 73 65 6c 65 63 | 74 69 6f 6e 20 69 73 0d |he selec|tion is.|
|00001800| 20 2a 20 68 69 6c 69 74 | 65 64 29 2e 20 49 74 20 | * hilit|ed). It |
|00001810| 73 68 6f 75 6c 64 20 62 | 65 20 46 41 4c 53 45 20 |should b|e FALSE |
|00001820| 69 66 20 79 6f 75 20 77 | 61 6e 74 20 74 6f 20 73 |if you w|ant to s|
|00001830| 75 70 72 65 73 73 20 73 | 65 6c 65 63 74 69 6f 6e |upress s|election|
|00001840| 2e 20 42 65 63 61 75 73 | 65 0d 20 2a 20 68 69 72 |. Becaus|e. * hir|
|00001850| 65 61 72 63 68 69 63 61 | 6c 20 6c 69 73 74 73 20 |earchica|l lists |
|00001860| 6f 66 74 65 6e 20 22 73 | 65 6c 65 63 74 22 20 62 |often "s|elect" b|
|00001870| 79 20 72 65 76 65 61 6c | 69 6e 67 20 61 20 73 75 |y reveal|ing a su|
|00001880| 62 2d 74 6f 70 69 63 2c | 20 74 68 69 73 20 6d 61 |b-topic,| this ma|
|00001890| 79 20 62 65 0d 20 2a 20 | 6d 6f 72 65 20 72 65 61 |y be. * |more rea|
|000018a0| 73 6f 6e 61 62 6c 65 20 | 69 6e 20 6d 61 6e 79 20 |sonable |in many |
|000018b0| 63 61 73 65 73 2e 0d 20 | 2a 0d 20 2a 20 69 73 4c |cases.. |*. * isL|
|000018c0| 65 66 74 4a 75 73 74 69 | 66 79 20 73 68 6f 75 6c |eftJusti|fy shoul|
|000018d0| 64 20 62 65 20 73 65 74 | 20 54 52 55 45 20 66 6f |d be set| TRUE fo|
|000018e0| 72 20 73 79 73 74 65 6d | 73 20 75 73 69 6e 67 20 |r system|s using |
|000018f0| 74 68 65 20 52 6f 6d 61 | 6e 20 61 6c 70 68 61 62 |the Roma|n alphab|
|00001900| 65 74 2e 20 49 74 20 77 | 6f 75 6c 64 0d 20 2a 20 |et. It w|ould. * |
|00001910| 62 65 20 73 65 74 20 46 | 41 4c 53 45 20 66 6f 72 |be set F|ALSE for|
|00001920| 20 72 69 67 68 74 2d 74 | 6f 2d 6c 65 66 74 20 6c | right-t|o-left l|
|00001930| 61 6e 67 75 61 67 65 73 | 20 73 75 63 68 20 61 73 |anguages| such as|
|00001940| 20 41 72 61 62 69 63 20 | 61 6e 64 20 48 65 62 72 | Arabic |and Hebr|
|00001950| 65 77 2e 20 49 74 20 69 | 73 20 75 73 65 64 0d 20 |ew. It i|s used. |
|00001960| 2a 20 74 6f 20 63 6f 6e | 66 69 67 75 72 65 20 74 |* to con|figure t|
|00001970| 68 65 20 64 69 72 65 63 | 74 69 6f 6e 20 6f 66 20 |he direc|tion of |
|00001980| 74 68 65 20 62 75 74 74 | 6f 6e 73 20 61 6e 64 20 |the butt|ons and |
|00001990| 74 68 65 20 6c 6f 63 61 | 74 69 6f 6e 20 6f 66 20 |the loca|tion of |
|000019a0| 74 65 78 74 20 77 69 74 | 68 69 6e 0d 20 2a 20 74 |text wit|hin. * t|
|000019b0| 68 65 20 64 69 73 70 6c | 61 79 65 64 20 6c 69 73 |he displ|ayed lis|
|000019c0| 74 20 63 65 6c 6c 2e 0d | 20 2a 2f 0d 4c 69 73 74 |t cell..| */.List|
|000019d0| 48 61 6e 64 6c 65 09 09 | 09 09 09 09 4e 65 77 54 |Handle..|....NewT|
|000019e0| 77 69 73 74 44 6f 77 6e | 4c 69 73 74 28 0d 09 09 |wistDown|List(...|
|000019f0| 63 6f 6e 73 74 20 52 65 | 63 74 09 09 09 09 09 2a |const Re|ct.....*|
|00001a00| 76 69 65 77 52 65 63 74 | 2c 0d 09 09 54 77 69 73 |viewRect|,...Twis|
|00001a10| 74 44 6f 77 6e 44 72 61 | 77 50 72 6f 63 09 09 09 |tDownDra|wProc...|
|00001a20| 64 72 61 77 50 72 6f 63 | 2c 0d 09 09 75 6e 73 69 |drawProc|,...unsi|
|00001a30| 67 6e 65 64 20 73 68 6f | 72 74 09 09 09 09 74 61 |gned sho|rt....ta|
|00001a40| 62 49 6e 64 65 6e 74 2c | 0d 09 09 42 6f 6f 6c 65 |bIndent,|...Boole|
|00001a50| 61 6e 09 09 09 09 09 09 | 63 61 6e 48 69 6c 69 74 |an......|canHilit|
|00001a60| 65 53 65 6c 65 63 74 69 | 6f 6e 2c 0d 09 09 42 6f |eSelecti|on,...Bo|
|00001a70| 6f 6c 65 61 6e 09 09 09 | 09 09 09 69 73 4c 65 66 |olean...|...isLef|
|00001a80| 74 4a 75 73 74 69 66 79 | 0d 09 29 3b 0d 2f 2a 0d |tJustify|..);./*.|
|00001a90| 20 2a 20 44 69 73 70 6f | 73 65 20 6f 66 20 61 20 | * Dispo|se of a |
|00001aa0| 54 77 69 73 74 20 44 6f | 77 6e 20 4c 69 73 74 20 |Twist Do|wn List |
|00001ab0| 61 6e 64 20 69 74 73 20 | 70 72 69 76 61 74 65 20 |and its |private |
|00001ac0| 73 74 6f 72 61 67 65 2e | 20 54 68 65 20 61 70 70 |storage.| The app|
|00001ad0| 6c 69 63 61 74 69 6f 6e | 20 70 72 6f 67 72 61 6d |lication| program|
|00001ae0| 0d 20 2a 20 6d 75 73 74 | 20 69 74 73 65 6c 66 20 |. * must| itself |
|00001af0| 64 69 73 70 6f 73 65 20 | 6f 66 20 74 68 65 20 6c |dispose |of the l|
|00001b00| 69 73 74 20 64 61 74 61 | 2e 20 74 68 65 4c 69 73 |ist data|. theLis|
|00001b10| 74 20 6d 61 79 20 62 65 | 20 4e 55 4c 4c 2e 0d 20 |t may be| NULL.. |
|00001b20| 2a 2f 0d 76 6f 69 64 09 | 09 09 09 09 09 09 44 69 |*/.void.|......Di|
|00001b30| 73 70 6f 73 65 54 77 69 | 73 74 44 6f 77 6e 4c 69 |sposeTwi|stDownLi|
|00001b40| 73 74 28 0d 09 09 4c 69 | 73 74 48 61 6e 64 6c 65 |st(...Li|stHandle|
|00001b50| 09 09 09 09 09 74 68 65 | 4c 69 73 74 0d 09 29 3b |.....the|List..);|
|00001b60| 20 0d 2f 2a 0d 20 2a 20 | 43 72 65 61 74 65 54 77 | ./*. * |CreateTw|
|00001b70| 69 73 74 44 6f 77 6e 42 | 75 74 74 6f 6e 73 20 69 |istDownB|uttons i|
|00001b80| 73 20 63 61 6c 6c 65 64 | 2c 20 69 6e 74 65 72 6e |s called|, intern|
|00001b90| 61 6c 6c 79 2c 20 77 68 | 65 6e 20 74 68 65 20 6c |ally, wh|en the l|
|00001ba0| 69 73 74 20 69 73 20 63 | 72 65 61 74 65 64 2e 0d |ist is c|reated..|
|00001bb0| 20 2a 20 69 66 20 74 68 | 65 20 61 70 70 6c 69 63 | * if th|e applic|
|00001bc0| 61 74 69 6f 6e 20 70 72 | 6f 67 72 61 6d 20 63 68 |ation pr|ogram ch|
|00001bd0| 61 6e 67 65 73 20 74 68 | 65 20 6c 69 73 74 20 63 |anges th|e list c|
|00001be0| 65 6c 6c 20 68 65 69 67 | 68 74 20 28 62 79 20 63 |ell heig|ht (by c|
|00001bf0| 61 6c 6c 69 6e 67 20 4c | 53 69 7a 65 29 2c 0d 20 |alling L|Size),. |
|00001c00| 2a 20 6f 72 20 63 68 61 | 6e 67 65 73 20 74 68 65 |* or cha|nges the|
|00001c10| 20 64 69 72 65 63 74 69 | 6f 6e 20 6f 66 20 74 65 | directi|on of te|
|00001c20| 78 74 20 69 74 20 6d 75 | 73 74 20 72 65 2d 63 61 |xt it mu|st re-ca|
|00001c30| 6c 6c 20 43 72 65 61 74 | 65 54 77 69 73 74 44 6f |ll Creat|eTwistDo|
|00001c40| 77 6e 42 75 74 74 6f 6e | 73 0d 20 2a 20 74 6f 20 |wnButton|s. * to |
|00001c50| 72 65 2d 63 72 65 61 74 | 65 20 74 68 65 20 74 77 |re-creat|e the tw|
|00001c60| 69 73 74 2d 64 6f 77 6e | 20 62 75 74 74 6f 6e 73 |ist-down| buttons|
|00001c70| 2e 0d 20 2a 2f 0d 76 6f | 69 64 09 09 09 09 09 09 |.. */.vo|id......|
|00001c80| 09 43 72 65 61 74 65 54 | 77 69 73 74 44 6f 77 6e |.CreateT|wistDown|
|00001c90| 42 75 74 74 6f 6e 73 28 | 0d 09 09 4c 69 73 74 48 |Buttons(|...ListH|
|00001ca0| 61 6e 64 6c 65 09 09 09 | 09 09 74 68 65 4c 69 73 |andle...|..theLis|
|00001cb0| 74 0d 09 29 3b 0d 0d 2f | 2a 0d 20 2a 20 44 6f 54 |t..);../|*. * DoT|
|00001cc0| 77 69 73 74 44 6f 77 6e | 43 6c 69 63 6b 20 68 61 |wistDown|Click ha|
|00001cd0| 6e 64 6c 65 73 20 61 6c | 6c 20 70 72 6f 63 65 73 |ndles al|l proces|
|00001ce0| 73 69 6e 67 20 61 66 74 | 65 72 20 61 20 63 6c 69 |sing aft|er a cli|
|00001cf0| 63 6b 20 69 6e 20 74 68 | 65 20 6c 69 73 74 20 77 |ck in th|e list w|
|00001d00| 69 6e 64 6f 77 2e 0d 20 | 2a 20 49 74 20 72 65 74 |indow.. |* It ret|
|00001d10| 75 72 6e 73 20 61 6e 20 | 69 6e 64 69 63 61 74 69 |urns an |indicati|
|00001d20| 6f 6e 20 6f 66 20 74 68 | 65 20 75 73 65 72 20 61 |on of th|e user a|
|00001d30| 63 74 69 6f 6e 3a 0d 20 | 2a 09 6b 54 77 69 73 74 |ction:. |*.kTwist|
|00001d40| 44 6f 77 6e 4e 6f 74 49 | 6e 4c 69 73 74 0d 20 2a |DownNotI|nList. *|
|00001d50| 09 09 54 68 65 20 63 6c | 69 63 6b 20 77 61 73 20 |..The cl|ick was |
|00001d60| 6e 6f 74 20 69 6e 20 74 | 68 69 73 20 6c 69 73 74 |not in t|his list|
|00001d70| 2e 20 59 6f 75 72 20 61 | 70 70 6c 69 63 61 74 69 |. Your a|pplicati|
|00001d80| 6f 6e 20 6d 61 79 20 69 | 67 6e 6f 72 65 20 74 68 |on may i|gnore th|
|00001d90| 69 73 20 63 6c 69 63 6b | 20 6f 72 0d 20 2a 09 09 |is click| or. *..|
|00001da0| 74 61 6b 65 20 6f 74 68 | 65 72 20 61 70 70 72 6f |take oth|er appro|
|00001db0| 70 72 69 61 74 65 20 61 | 63 74 69 6f 6e 2e 0d 20 |priate a|ction.. |
|00001dc0| 2a 09 6b 54 77 69 73 74 | 44 6f 77 6e 4e 6f 43 6c |*.kTwist|DownNoCl|
|00001dd0| 69 63 6b 0d 20 2a 09 09 | 54 68 65 20 75 73 65 72 |ick. *..|The user|
|00001de0| 20 72 65 6c 65 61 73 65 | 64 20 74 68 65 20 6d 6f | release|d the mo|
|00001df0| 75 73 65 20 6f 75 74 73 | 69 64 65 20 6f 66 20 74 |use outs|ide of t|
|00001e00| 68 65 20 6c 69 73 74 20 | 61 72 65 61 3a 20 74 68 |he list |area: th|
|00001e10| 69 73 20 63 6c 69 63 6b | 20 73 68 6f 75 6c 64 20 |is click| should |
|00001e20| 62 65 0d 20 2a 09 09 69 | 67 6e 6f 72 65 64 2e 0d |be. *..i|gnored..|
|00001e30| 20 2a 09 6b 54 77 69 73 | 74 44 6f 77 6e 42 75 74 | *.kTwis|tDownBut|
|00001e40| 74 6f 6e 43 6c 69 63 6b | 0d 20 2a 09 09 54 68 65 |tonClick|. *..The|
|00001e50| 20 75 73 65 72 20 63 6c | 69 63 6b 65 64 20 6f 6e | user cl|icked on|
|00001e60| 20 74 68 65 20 74 77 69 | 73 74 2d 64 6f 77 6e 20 | the twi|st-down |
|00001e70| 62 75 74 74 6f 6e 2e 20 | 45 78 70 61 6e 64 20 6f |button. |Expand o|
|00001e80| 72 20 63 6f 6e 74 72 61 | 63 74 20 74 68 65 20 6c |r contra|ct the l|
|00001e90| 69 73 74 20 61 73 0d 20 | 2a 09 09 61 70 70 72 6f |ist as. |*..appro|
|00001ea0| 70 72 69 61 74 65 2e 0d | 20 2a 09 6b 54 77 69 73 |priate..| *.kTwis|
|00001eb0| 74 44 6f 77 6e 43 6c 69 | 63 6b 0d 20 2a 09 09 54 |tDownCli|ck. *..T|
|00001ec0| 68 65 20 75 73 65 72 20 | 63 6c 69 63 6b 65 64 20 |he user |clicked |
|00001ed0| 28 6f 6e 63 65 29 20 6f | 6e 20 61 20 6c 69 73 74 |(once) o|n a list|
|00001ee0| 20 64 61 74 75 6d 2e 20 | 54 68 65 20 61 70 70 6c | datum. |The appl|
|00001ef0| 69 63 61 74 69 6f 6e 20 | 73 68 6f 75 6c 64 20 74 |ication |should t|
|00001f00| 72 65 61 74 20 74 68 69 | 73 0d 20 2a 09 09 61 73 |reat thi|s. *..as|
|00001f10| 20 61 6e 20 69 74 65 6d | 20 73 65 6c 65 63 74 69 | an item| selecti|
|00001f20| 6f 6e 20 28 6f 72 2c 20 | 69 74 20 6d 61 79 20 62 |on (or, |it may b|
|00001f30| 65 20 61 20 63 6c 69 63 | 6b 20 69 6e 20 74 68 65 |e a clic|k in the|
|00001f40| 20 73 63 72 6f 6c 6c 20 | 62 61 72 29 2e 20 54 68 | scroll |bar). Th|
|00001f50| 69 73 20 69 73 0d 20 2a | 09 09 74 68 65 20 72 65 |is is. *|..the re|
|00001f60| 73 75 6c 74 20 6f 66 20 | 61 20 46 41 4c 53 45 20 |sult of |a FALSE |
|00001f70| 72 65 74 75 72 6e 20 66 | 72 6f 6d 20 4c 43 6c 69 |return f|rom LCli|
|00001f80| 63 6b 2e 0d 20 2a 09 6b | 54 77 69 73 74 44 6f 77 |ck.. *.k|TwistDow|
|00001f90| 6e 44 6f 75 62 6c 65 43 | 6c 69 63 6b 0d 20 2a 09 |nDoubleC|lick. *.|
|00001fa0| 09 54 68 65 20 75 73 65 | 72 20 64 6f 75 62 6c 65 |.The use|r double|
|00001fb0| 2d 63 6c 69 63 6b 65 64 | 20 6f 6e 20 61 20 6c 69 |-clicked| on a li|
|00001fc0| 73 74 20 64 61 74 75 6d | 2e 20 54 68 65 20 61 70 |st datum|. The ap|
|00001fd0| 70 6c 69 63 61 74 69 6f | 6e 20 73 68 6f 75 6c 64 |plicatio|n should|
|00001fe0| 20 6f 70 65 6e 20 74 68 | 69 73 0d 20 2a 09 09 69 | open th|is. *..i|
|00001ff0| 74 65 6d 20 6f 72 20 74 | 61 6b 65 20 6f 74 68 65 |tem or t|ake othe|
|00002000| 72 20 61 70 70 72 6f 70 | 72 69 61 74 65 20 61 63 |r approp|riate ac|
|00002010| 74 69 6f 6e 2e 20 54 68 | 69 73 20 69 73 20 74 68 |tion. Th|is is th|
|00002020| 65 20 72 65 73 75 6c 74 | 20 6f 66 20 61 20 54 52 |e result| of a TR|
|00002030| 55 45 0d 20 2a 09 09 72 | 65 74 75 72 6e 20 66 72 |UE. *..r|eturn fr|
|00002040| 6f 6d 20 4c 43 6c 69 63 | 6b 2e 0d 20 2a 0d 20 2a |om LClic|k.. *. *|
|00002050| 20 49 66 20 44 6f 54 77 | 69 73 74 44 6f 77 6e 43 | If DoTw|istDownC|
|00002060| 6c 69 63 6b 20 72 65 74 | 75 72 6e 73 20 6b 54 77 |lick ret|urns kTw|
|00002070| 69 73 74 44 6f 77 6e 42 | 75 74 74 6f 6e 43 6c 69 |istDownB|uttonCli|
|00002080| 63 6b 2c 20 6b 54 77 69 | 73 74 44 6f 77 6e 43 6c |ck, kTwi|stDownCl|
|00002090| 69 63 6b 2c 20 6f 72 0d | 20 2a 20 6b 54 77 69 73 |ick, or.| * kTwis|
|000020a0| 74 44 6f 77 6e 44 6f 75 | 62 6c 65 43 6c 69 63 6b |tDownDou|bleClick|
|000020b0| 2c 20 73 65 6c 65 63 74 | 65 64 4c 69 73 74 43 65 |, select|edListCe|
|000020c0| 6c 6c 20 77 69 6c 6c 20 | 62 65 20 73 65 74 20 74 |ll will |be set t|
|000020d0| 6f 20 74 68 65 20 63 65 | 6c 6c 20 74 68 61 74 20 |o the ce|ll that |
|000020e0| 74 68 65 20 75 73 65 72 | 0d 20 2a 20 63 6c 69 63 |the user|. * clic|
|000020f0| 6b 65 64 20 6f 6e 2e 0d | 20 2a 2f 0d 54 77 69 73 |ked on..| */.Twis|
|00002100| 74 44 6f 77 6e 43 6c 69 | 63 6b 53 74 61 74 65 09 |tDownCli|ckState.|
|00002110| 09 09 09 44 6f 54 77 69 | 73 74 44 6f 77 6e 43 6c |...DoTwi|stDownCl|
|00002120| 69 63 6b 28 0d 09 09 4c | 69 73 74 48 61 6e 64 6c |ick(...L|istHandl|
|00002130| 65 09 09 09 09 09 74 68 | 65 4c 69 73 74 2c 0d 09 |e.....th|eList,..|
|00002140| 09 63 6f 6e 73 74 20 45 | 76 65 6e 74 52 65 63 6f |.const E|ventReco|
|00002150| 72 64 09 09 09 2a 65 76 | 65 6e 74 52 65 63 6f 72 |rd...*ev|entRecor|
|00002160| 64 50 74 72 2c 0d 09 09 | 43 65 6c 6c 09 09 09 09 |dPtr,...|Cell....|
|00002170| 09 09 2a 73 65 6c 65 63 | 74 65 64 4c 69 73 74 43 |..*selec|tedListC|
|00002180| 65 6c 6c 0d 09 29 3b 0d | 2f 2a 0d 20 2a 20 45 78 |ell..);.|/*. * Ex|
|00002190| 70 61 6e 64 4f 72 43 6f | 6c 6c 61 70 73 65 54 77 |pandOrCo|llapseTw|
|000021a0| 69 73 74 64 6f 77 6e 53 | 75 62 4c 69 73 74 20 69 |istdownS|ubList i|
|000021b0| 73 20 63 61 6c 6c 65 64 | 20 77 68 65 6e 20 74 68 |s called| when th|
|000021c0| 65 20 75 73 65 72 20 63 | 6c 69 63 6b 73 20 6f 6e |e user c|licks on|
|000021d0| 20 74 68 65 0d 20 2a 20 | 74 77 69 73 74 2d 64 6f | the. * |twist-do|
|000021e0| 77 6e 20 62 75 74 74 6f | 6e 2e 20 69 6e 64 65 78 |wn butto|n. index|
|000021f0| 20 61 6e 64 20 73 65 6c | 65 63 74 65 64 4c 69 73 | and sel|ectedLis|
|00002200| 74 43 65 6c 6c 20 61 72 | 65 20 74 68 65 20 76 61 |tCell ar|e the va|
|00002210| 6c 75 65 73 20 72 65 74 | 75 72 6e 65 64 20 62 79 |lues ret|urned by|
|00002220| 0d 20 2a 20 44 6f 54 77 | 69 73 74 44 6f 77 6e 43 |. * DoTw|istDownC|
|00002230| 6c 69 63 6b 2e 0d 20 2a | 2f 0d 76 6f 69 64 09 09 |lick.. *|/.void..|
|00002240| 09 09 09 09 09 45 78 70 | 61 6e 64 4f 72 43 6f 6c |.....Exp|andOrCol|
|00002250| 6c 61 70 73 65 54 77 69 | 73 74 44 6f 77 6e 4c 69 |lapseTwi|stDownLi|
|00002260| 73 74 28 0d 09 09 4c 69 | 73 74 48 61 6e 64 6c 65 |st(...Li|stHandle|
|00002270| 09 09 09 09 09 74 68 65 | 4c 69 73 74 2c 0d 09 09 |.....the|List,...|
|00002280| 43 65 6c 6c 09 09 09 09 | 09 09 73 65 6c 65 63 74 |Cell....|..select|
|00002290| 65 64 4c 69 73 74 43 65 | 6c 6c 0d 09 29 3b 0d 2f |edListCe|ll..);./|
|000022a0| 2a 0d 20 2a 20 43 72 65 | 61 74 65 56 69 73 69 62 |*. * Cre|ateVisib|
|000022b0| 6c 65 4c 69 73 74 20 69 | 73 20 63 61 6c 6c 65 64 |leList i|s called|
|000022c0| 20 77 68 65 6e 20 74 68 | 65 20 6c 69 73 74 20 69 | when th|e list i|
|000022d0| 73 20 63 72 65 61 74 65 | 64 2e 20 49 74 20 73 74 |s create|d. It st|
|000022e0| 6f 72 65 73 20 74 68 65 | 20 6c 69 73 74 0d 20 2a |ores the| list. *|
|000022f0| 20 68 65 61 64 20 69 6e | 74 6f 20 63 65 6c 6c 20 | head in|to cell |
|00002300| 5b 30 2c 20 30 5d 20 61 | 6e 64 20 63 61 6c 6c 73 |[0, 0] a|nd calls|
|00002310| 20 42 75 69 6c 64 56 69 | 73 69 62 6c 65 4c 69 73 | BuildVi|sibleLis|
|00002320| 74 20 74 6f 20 69 6e 73 | 74 61 6e 74 69 61 74 65 |t to ins|tantiate|
|00002330| 20 74 68 65 20 64 69 73 | 70 6c 61 79 2e 0d 20 2a | the dis|play.. *|
|00002340| 2f 0d 76 6f 69 64 09 09 | 09 09 09 09 09 43 72 65 |/.void..|.....Cre|
|00002350| 61 74 65 56 69 73 69 62 | 6c 65 4c 69 73 74 28 0d |ateVisib|leList(.|
|00002360| 09 09 4c 69 73 74 48 61 | 6e 64 6c 65 09 09 09 09 |..ListHa|ndle....|
|00002370| 09 74 68 65 4c 69 73 74 | 2c 0d 09 09 54 77 69 73 |.theList|,...Twis|
|00002380| 74 44 6f 77 6e 48 64 6c | 09 09 09 09 74 77 69 73 |tDownHdl|....twis|
|00002390| 74 44 6f 77 6e 48 64 6c | 0d 09 29 3b 0d 2f 2a 0d |tDownHdl|..);./*.|
|000023a0| 20 2a 20 42 75 69 6c 64 | 56 69 73 69 62 6c 65 4c | * Build|VisibleL|
|000023b0| 69 73 74 20 69 73 20 63 | 61 6c 6c 65 64 20 77 68 |ist is c|alled wh|
|000023c0| 65 6e 20 74 68 65 20 6c | 69 73 74 20 69 73 20 63 |en the l|ist is c|
|000023d0| 72 65 61 74 65 64 2c 20 | 6f 72 20 77 68 65 6e 20 |reated, |or when |
|000023e0| 74 68 65 20 75 73 65 72 | 20 63 6c 69 63 6b 73 20 |the user| clicks |
|000023f0| 6f 6e 0d 20 2a 20 61 20 | 74 77 69 73 74 2d 64 6f |on. * a |twist-do|
|00002400| 77 6e 20 62 75 74 74 6f | 6e 2e 20 73 65 6c 65 63 |wn butto|n. selec|
|00002410| 74 65 64 52 6f 77 20 69 | 73 20 74 68 65 20 66 69 |tedRow i|s the fi|
|00002420| 72 73 74 20 72 6f 77 20 | 74 68 61 74 20 6e 65 65 |rst row |that nee|
|00002430| 64 73 20 74 6f 20 62 65 | 20 72 65 64 72 61 77 6e |ds to be| redrawn|
|00002440| 2e 20 54 68 65 0d 20 2a | 20 68 65 61 64 20 6f 66 |. The. *| head of|
|00002450| 20 74 68 65 20 65 6e 74 | 69 72 65 20 6c 69 73 74 | the ent|ire list|
|00002460| 20 68 61 73 20 62 65 65 | 6e 20 73 74 6f 72 65 64 | has bee|n stored|
|00002470| 20 69 6e 74 6f 20 63 65 | 6c 6c 20 5b 30 2c 20 30 | into ce|ll [0, 0|
|00002480| 5d 2e 0d 20 2a 2f 0d 76 | 6f 69 64 09 09 09 09 09 |].. */.v|oid.....|
|00002490| 09 09 42 75 69 6c 64 56 | 69 73 69 62 6c 65 4c 69 |..BuildV|isibleLi|
|000024a0| 73 74 28 0d 09 09 4c 69 | 73 74 48 61 6e 64 6c 65 |st(...Li|stHandle|
|000024b0| 09 09 09 09 09 74 68 65 | 4c 69 73 74 2c 0d 09 09 |.....the|List,...|
|000024c0| 73 68 6f 72 74 09 09 09 | 09 09 09 73 65 6c 65 63 |short...|...selec|
|000024d0| 74 65 64 52 6f 77 0d 09 | 29 3b 0d 2f 2a 0d 20 2a |tedRow..|);./*. *|
|000024e0| 20 47 65 74 54 77 69 73 | 74 44 6f 77 6e 45 6c 65 | GetTwis|tDownEle|
|000024f0| 6d 65 6e 74 48 61 6e 64 | 6c 65 20 72 65 74 75 72 |mentHand|le retur|
|00002500| 6e 73 20 74 68 65 20 54 | 77 69 73 74 44 6f 77 6e |ns the T|wistDown|
|00002510| 48 64 6c 20 74 68 61 74 | 20 69 73 20 73 74 6f 72 |Hdl that| is stor|
|00002520| 65 64 20 69 6e 20 61 20 | 4c 69 73 74 0d 20 2a 20 |ed in a |List. * |
|00002530| 63 65 6c 6c 2e 20 49 74 | 20 77 69 6c 6c 20 72 65 |cell. It| will re|
|00002540| 74 75 72 6e 20 4e 55 4c | 4c 20 69 66 20 74 68 65 |turn NUL|L if the|
|00002550| 20 63 65 6c 6c 20 69 73 | 20 6f 75 74 20 6f 66 20 | cell is| out of |
|00002560| 62 6f 75 6e 64 73 2e 0d | 20 2a 2f 0d 54 77 69 73 |bounds..| */.Twis|
|00002570| 74 44 6f 77 6e 48 64 6c | 09 09 09 09 09 47 65 74 |tDownHdl|.....Get|
|00002580| 54 77 69 73 74 44 6f 77 | 6e 45 6c 65 6d 65 6e 74 |TwistDow|nElement|
|00002590| 48 61 6e 64 6c 65 28 0d | 09 09 4c 69 73 74 48 61 |Handle(.|..ListHa|
|000025a0| 6e 64 6c 65 09 09 09 09 | 09 74 68 65 4c 69 73 74 |ndle....|.theList|
|000025b0| 2c 0d 09 09 43 65 6c 6c | 09 09 09 09 09 09 74 68 |,...Cell|......th|
|000025c0| 65 43 65 6c 6c 0d 09 29 | 3b 0d 0d 2f 2a 0d 20 2a |eCell..)|;../*. *|
|000025d0| 20 4d 61 6b 65 54 77 69 | 73 74 44 6f 77 6e 45 6c | MakeTwi|stDownEl|
|000025e0| 65 6d 65 6e 74 20 61 64 | 64 73 20 61 6e 20 65 6c |ement ad|ds an el|
|000025f0| 65 6d 65 6e 74 20 74 6f | 20 61 20 6c 69 6e 6b 65 |ement to| a linke|
|00002600| 64 20 6c 69 73 74 2e 20 | 49 74 20 69 73 20 64 65 |d list. |It is de|
|00002610| 73 69 67 6e 65 64 20 74 | 6f 20 63 72 65 61 74 65 |signed t|o create|
|00002620| 0d 20 2a 20 65 6c 65 6d | 65 6e 74 73 20 69 6e 20 |. * elem|ents in |
|00002630| 61 20 68 69 65 72 61 72 | 63 68 69 63 61 6c 20 6c |a hierar|chical l|
|00002640| 69 6e 6b 65 64 2d 6c 69 | 73 74 20 77 68 65 72 65 |inked-li|st where|
|00002650| 20 65 61 63 68 20 65 6c | 65 6d 65 6e 74 20 6d 61 | each el|ement ma|
|00002660| 79 20 62 65 20 66 6f 6c | 6c 6f 77 65 64 20 62 79 |y be fol|lowed by|
|00002670| 20 61 0d 20 2a 20 73 75 | 63 63 65 73 73 6f 72 20 | a. * su|ccessor |
|00002680| 28 6f 6e 20 74 68 65 20 | 73 61 6d 65 20 22 6c 65 |(on the |same "le|
|00002690| 76 65 6c 22 29 20 61 6e | 64 2f 6f 72 20 62 79 20 |vel") an|d/or by |
|000026a0| 61 20 63 68 69 6c 64 20 | 6c 69 73 74 20 28 6f 6e |a child |list (on|
|000026b0| 20 61 20 6c 6f 77 65 72 | 20 22 6c 65 76 65 6c 22 | a lower| "level"|
|000026c0| 29 2e 0d 20 2a 20 54 68 | 65 20 70 61 72 61 6d 65 |).. * Th|e parame|
|000026d0| 74 65 72 73 20 61 72 65 | 20 61 73 20 66 6f 6c 6c |ters are| as foll|
|000026e0| 6f 77 73 3a 0d 20 2a 09 | 70 72 65 76 69 6f 75 73 |ows:. *.|previous|
|000026f0| 45 6c 65 6d 65 6e 74 0d | 20 2a 09 09 54 68 69 73 |Element.| *..This|
|00002700| 20 68 61 73 20 61 20 68 | 61 6e 64 6c 65 20 74 6f | has a h|andle to|
|00002710| 20 74 68 65 20 70 72 65 | 64 65 63 65 73 73 6f 72 | the pre|decessor|
|00002720| 20 74 6f 20 74 68 69 73 | 20 65 6c 65 6d 65 6e 74 | to this| element|
|00002730| 2e 20 50 72 65 76 69 6f | 75 73 45 6c 65 6d 65 6e |. Previo|usElemen|
|00002740| 74 0d 20 2a 09 09 73 68 | 6f 75 6c 64 20 62 65 20 |t. *..sh|ould be |
|00002750| 4e 55 4c 4c 20 69 66 20 | 74 68 69 73 20 69 73 20 |NULL if |this is |
|00002760| 74 68 65 20 66 69 72 73 | 74 20 65 6c 65 6d 65 6e |the firs|t elemen|
|00002770| 74 2e 0d 20 2a 09 69 6e | 64 65 6e 74 4c 65 76 65 |t.. *.in|dentLeve|
|00002780| 6c 0d 20 2a 09 09 54 68 | 69 73 20 69 73 20 74 68 |l. *..Th|is is th|
|00002790| 65 20 69 6e 64 65 6e 74 | 61 74 69 6f 6e 2d 6c 65 |e indent|ation-le|
|000027a0| 76 65 6c 20 6f 66 20 74 | 68 69 73 20 6c 69 73 74 |vel of t|his list|
|000027b0| 20 65 6c 65 6d 65 6e 74 | 2e 20 49 74 20 69 73 20 | element|. It is |
|000027c0| 6f 6e 6c 79 20 75 73 65 | 64 20 74 6f 20 74 61 62 |only use|d to tab|
|000027d0| 0d 20 2a 09 09 74 68 65 | 20 6c 69 73 74 20 65 6c |. *..the| list el|
|000027e0| 65 6d 65 6e 74 73 20 6f | 6e 20 74 68 65 20 76 69 |ements o|n the vi|
|000027f0| 73 75 61 6c 20 64 69 73 | 70 6c 61 79 2e 20 49 66 |sual dis|play. If|
|00002800| 20 79 6f 75 20 6e 65 76 | 65 72 20 77 61 6e 74 20 | you nev|er want |
|00002810| 74 61 62 62 69 6e 67 2c | 20 73 65 74 0d 20 2a 09 |tabbing,| set. *.|
|00002820| 09 74 61 62 49 6e 64 65 | 6e 74 20 74 6f 20 7a 65 |.tabInde|nt to ze|
|00002830| 72 6f 20 77 68 65 6e 20 | 74 68 65 20 6c 69 73 74 |ro when |the list|
|00002840| 20 77 61 73 20 63 72 65 | 61 74 65 64 2e 20 49 6e | was cre|ated. In|
|00002850| 64 65 6e 74 73 20 73 74 | 61 72 74 20 61 74 20 7a |dents st|art at z|
|00002860| 65 72 6f 2e 0d 20 2a 09 | 64 61 74 61 4c 65 6e 67 |ero.. *.|dataLeng|
|00002870| 74 68 0d 20 2a 09 09 54 | 68 69 73 20 69 73 20 74 |th. *..T|his is t|
|00002880| 68 65 20 6c 65 6e 67 74 | 68 20 6f 66 20 74 68 65 |he lengt|h of the|
|00002890| 20 6c 69 73 74 20 65 6c | 65 6d 65 6e 74 20 64 61 | list el|ement da|
|000028a0| 74 75 6d 2e 0d 20 2a 09 | 64 61 74 61 50 74 72 0d |tum.. *.|dataPtr.|
|000028b0| 20 2a 09 09 54 68 69 73 | 20 69 73 20 61 20 70 6f | *..This| is a po|
|000028c0| 69 6e 74 65 72 20 74 6f | 20 74 68 65 20 66 69 72 |inter to| the fir|
|000028d0| 73 74 20 62 79 74 65 20 | 6f 66 20 74 68 65 20 6c |st byte |of the l|
|000028e0| 69 73 74 20 65 6c 65 6d | 65 6e 74 20 64 61 74 75 |ist elem|ent datu|
|000028f0| 6d 2e 20 49 66 20 4e 55 | 4c 4c 2c 0d 20 2a 09 09 |m. If NU|LL,. *..|
|00002900| 61 20 64 61 74 61 20 62 | 6c 6f 63 6b 20 6f 66 20 |a data b|lock of |
|00002910| 74 68 65 20 72 65 71 75 | 69 73 69 74 65 20 73 69 |the requ|isite si|
|00002920| 7a 65 20 77 69 6c 6c 20 | 62 65 20 63 72 65 61 74 |ze will |be creat|
|00002930| 65 64 2c 20 62 75 74 20 | 74 68 65 20 63 61 6c 6c |ed, but |the call|
|00002940| 65 72 20 69 73 0d 20 2a | 09 09 72 65 73 70 6f 6e |er is. *|..respon|
|00002950| 73 69 62 6c 65 20 66 6f | 72 20 66 69 6c 6c 69 6e |sible fo|r fillin|
|00002960| 67 20 69 74 20 69 6e 2e | 0d 20 2a 09 72 65 73 75 |g it in.|. *.resu|
|00002970| 6c 74 0d 20 2a 09 09 49 | 66 20 4d 61 6b 65 45 6c |lt. *..I|f MakeEl|
|00002980| 65 6d 65 6e 74 20 73 75 | 63 63 65 65 64 73 2c 20 |ement su|cceeds, |
|00002990| 72 65 73 75 6c 74 20 77 | 69 6c 6c 20 77 69 6c 6c |result w|ill will|
|000029a0| 20 63 6f 6e 74 61 69 6e | 20 61 20 68 61 6e 64 6c | contain| a handl|
|000029b0| 65 20 74 6f 20 74 68 65 | 0d 20 2a 09 09 6c 69 73 |e to the|. *..lis|
|000029c0| 74 20 65 6c 65 6d 65 6e | 74 20 69 74 20 63 72 65 |t elemen|t it cre|
|000029d0| 61 74 65 64 2e 20 54 68 | 69 73 20 69 73 20 6e 65 |ated. Th|is is ne|
|000029e0| 65 64 65 64 20 74 6f 20 | 63 72 65 61 74 65 20 61 |eded to |create a|
|000029f0| 20 73 75 63 63 65 73 73 | 6f 72 0d 20 2a 09 09 65 | success|or. *..e|
|00002a00| 6c 65 6d 65 6e 74 2e 0d | 20 2a 2f 0d 4f 53 45 72 |lement..| */.OSEr|
|00002a10| 72 09 09 09 09 09 09 09 | 4d 61 6b 65 54 77 69 73 |r.......|MakeTwis|
|00002a20| 74 44 6f 77 6e 45 6c 65 | 6d 65 6e 74 28 0d 09 09 |tDownEle|ment(...|
|00002a30| 54 77 69 73 74 44 6f 77 | 6e 48 64 6c 09 09 09 09 |TwistDow|nHdl....|
|00002a40| 70 72 65 76 69 6f 75 73 | 45 6c 65 6d 65 6e 74 2c |previous|Element,|
|00002a50| 0d 09 09 73 68 6f 72 74 | 09 09 09 09 09 09 69 6e |...short|......in|
|00002a60| 64 65 6e 74 4c 65 76 65 | 6c 2c 0d 09 09 75 6e 73 |dentLeve|l,...uns|
|00002a70| 69 67 6e 65 64 20 73 68 | 6f 72 74 09 09 09 09 64 |igned sh|ort....d|
|00002a80| 61 74 61 4c 65 6e 67 74 | 68 2c 0d 09 09 50 74 72 |ataLengt|h,...Ptr|
|00002a90| 09 09 09 09 09 09 09 64 | 61 74 61 50 74 72 2c 0d |.......d|ataPtr,.|
|00002aa0| 09 09 54 77 69 73 74 44 | 6f 77 6e 48 64 6c 09 09 |..TwistD|ownHdl..|
|00002ab0| 09 09 2a 72 65 73 75 6c | 74 0d 09 29 3b 0d 0d 2f |..*resul|t..);../|
|00002ac0| 2a 0d 20 2a 20 54 68 69 | 73 20 72 65 63 75 72 73 |*. * Thi|s recurs|
|00002ad0| 69 76 65 20 66 75 6e 63 | 74 69 6f 6e 20 64 69 73 |ive func|tion dis|
|00002ae0| 70 6f 73 65 73 20 6f 66 | 20 74 68 65 20 61 72 67 |poses of| the arg|
|00002af0| 75 6d 65 6e 74 20 6c 69 | 73 74 20 74 68 61 74 20 |ument li|st that |
|00002b00| 68 61 73 20 74 68 65 20 | 61 72 67 75 6d 65 6e 74 |has the |argument|
|00002b10| 0d 20 2a 20 61 74 20 69 | 74 73 20 68 65 61 64 2c |. * at i|ts head,|
|00002b20| 20 61 6e 64 20 6f 66 20 | 61 6c 6c 20 73 75 62 6c | and of |all subl|
|00002b30| 69 73 74 73 20 6c 69 6e | 6b 65 64 20 74 6f 20 74 |ists lin|ked to t|
|00002b40| 68 69 73 20 6c 69 73 74 | 2e 20 49 66 20 75 73 65 |his list|. If use|
|00002b50| 72 50 72 6f 63 20 69 73 | 20 6e 6f 6e 2d 4e 55 4c |rProc is| non-NUL|
|00002b60| 4c 2c 0d 20 2a 20 69 74 | 20 77 69 6c 6c 20 62 65 |L,. * it| will be|
|00002b70| 20 63 61 6c 6c 65 64 20 | 77 68 65 6e 20 64 69 73 | called |when dis|
|00002b80| 70 6f 73 69 6e 67 20 65 | 61 63 68 20 68 61 6e 64 |posing e|ach hand|
|00002b90| 6c 65 2e 20 54 68 69 73 | 20 61 6c 6c 6f 77 73 20 |le. This| allows |
|00002ba0| 74 68 65 20 63 61 6c 6c | 65 72 20 74 6f 0d 20 2a |the call|er to. *|
|00002bb0| 20 73 74 6f 72 65 20 68 | 61 6e 64 6c 65 20 6f 72 | store h|andle or|
|00002bc0| 20 70 6f 69 6e 74 65 72 | 20 64 61 74 61 20 77 69 | pointer| data wi|
|00002bd0| 74 68 69 6e 20 61 20 6c | 69 73 74 20 65 6c 65 6d |thin a l|ist elem|
|00002be0| 65 6e 74 2e 0d 20 2a 2f | 0d 74 79 70 65 64 65 66 |ent.. */|.typedef|
|00002bf0| 20 76 6f 69 64 09 28 2a | 44 69 73 70 6f 73 65 54 | void.(*|DisposeT|
|00002c00| 77 69 73 74 44 6f 77 6e | 43 61 6c 6c 62 61 63 6b |wistDown|Callback|
|00002c10| 29 28 0d 09 09 54 77 69 | 73 74 44 6f 77 6e 48 64 |)(...Twi|stDownHd|
|00002c20| 6c 09 09 09 09 74 77 69 | 73 74 44 6f 77 6e 48 64 |l....twi|stDownHd|
|00002c30| 6c 2c 0d 09 09 76 6f 69 | 64 09 09 09 09 09 09 2a |l,...voi|d......*|
|00002c40| 75 73 65 72 44 61 74 61 | 0d 09 29 3b 0d 09 09 0d |userData|..);....|
|00002c50| 76 6f 69 64 0d 44 69 73 | 70 6f 73 65 54 77 69 73 |void.Dis|poseTwis|
|00002c60| 74 44 6f 77 6e 48 64 6c | 28 0d 09 09 54 77 69 73 |tDownHdl|(...Twis|
|00002c70| 74 44 6f 77 6e 48 64 6c | 09 09 09 09 74 77 69 73 |tDownHdl|....twis|
|00002c80| 74 44 6f 77 6e 48 64 6c | 2c 0d 09 09 44 69 73 70 |tDownHdl|,...Disp|
|00002c90| 6f 73 65 54 77 69 73 74 | 44 6f 77 6e 43 61 6c 6c |oseTwist|DownCall|
|00002ca0| 62 61 63 6b 09 75 73 65 | 72 50 72 6f 63 2c 0d 09 |back.use|rProc,..|
|00002cb0| 09 76 6f 69 64 09 09 09 | 09 09 09 2a 75 73 65 72 |.void...|...*user|
|00002cc0| 44 61 74 61 0d 09 29 3b | 0d 0d 2f 2a 0d 20 2a 20 |Data..);|../*. * |
|00002cd0| 43 6f 75 6e 74 20 74 68 | 65 20 6e 75 6d 62 65 72 |Count th|e number|
|00002ce0| 20 6f 66 20 65 6c 65 6d | 65 6e 74 73 20 69 6e 20 | of elem|ents in |
|00002cf0| 74 68 65 20 6c 69 73 74 | 20 28 77 68 65 74 68 65 |the list| (whethe|
|00002d00| 72 20 76 69 73 69 62 6c | 65 20 6f 72 20 6e 6f 74 |r visibl|e or not|
|00002d10| 29 2e 0d 20 2a 2f 0d 75 | 6e 73 69 67 6e 65 64 20 |).. */.u|nsigned |
|00002d20| 6c 6f 6e 67 09 09 09 09 | 09 43 6f 75 6e 74 4c 69 |long....|.CountLi|
|00002d30| 73 74 45 6c 65 6d 65 6e | 74 73 28 0d 09 09 54 77 |stElemen|ts(...Tw|
|00002d40| 69 73 74 44 6f 77 6e 48 | 64 6c 09 09 09 09 74 77 |istDownH|dl....tw|
|00002d50| 69 73 74 44 6f 77 6e 48 | 64 6c 0d 09 29 3b 0d 0d |istDownH|dl..);..|
|00002d60| 0d 23 65 6e 64 69 66 09 | 2f 2a 20 52 45 5a 09 09 |.#endif.|/* REZ..|
|00002d70| 09 09 2a 2f 0d 23 65 6e | 64 69 66 09 2f 2a 20 5f |..*/.#en|dif./* _|
|00002d80| 54 77 69 73 74 44 6f 77 | 6e 4c 69 73 74 5f 09 2a |TwistDow|nList_.*|
|00002d90| 2f 0d 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |/.......|........|
|00002da0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e00| 00 00 01 00 00 00 01 62 | 00 00 00 62 00 00 00 5a |.......b|...b...Z|
|00002e10| 65 47 65 74 41 70 70 44 | 69 65 64 4d 73 67 20 3d |eGetAppD|iedMsg =|
|00002e20| 20 30 78 30 30 30 30 30 | 31 30 30 2c 0d 20 20 20 | 0x00000|100,. |
|00002e30| 0f 54 77 69 73 74 44 6f | 77 6e 4c 69 73 74 2e 68 |.TwistDo|wnList.h|
|00002e40| 02 00 00 00 54 45 58 54 | 4b 41 48 4c 01 00 00 78 |....TEXT|KAHL...x|
|00002e50| 00 00 54 45 58 54 4b 41 | 48 4c 01 00 00 78 00 00 |..TEXTKA|HL...x..|
|00002e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e70| 00 00 a8 37 dc 5b 00 00 | 2d 12 00 00 01 bc 20 20 |...7.[..|-..... |
|00002e80| 20 6d 6f 64 65 4c 6f 63 | 61 6c 41 6e 64 52 65 6d | modeLoc|alAndRem|
|00002e90| 6f 74 65 48 4c 45 76 65 | 6e 74 73 20 3d 20 30 78 |oteHLEve|nts = 0x|
|00002ea0| 30 30 30 30 30 30 32 30 | 2c 0d 20 20 20 20 6d 6f |00000020|,. mo|
|00002eb0| 64 65 53 74 61 74 69 6f | 6e 65 72 79 41 77 61 72 |deStatio|neryAwar|
|00002ec0| 65 20 3d 20 30 78 30 30 | 30 30 30 30 31 30 2c 0d |e = 0x00|000010,.|
|00002ed0| 20 20 20 20 6d 6f 64 65 | 55 73 65 54 65 78 74 45 | mode|UseTextE|
|00002ee0| 64 69 74 53 65 72 76 69 | 63 65 73 20 3d 20 30 78 |ditServi|ces = 0x|
|00002ef0| 30 30 30 30 30 30 30 38 | 0d 7d 3b 0d 0d 2f 2a 20 |00000008|.};../* |
|00002f00| 00 00 00 48 00 0a 43 6f | 75 72 69 65 72 00 00 00 |...H..Co|urier...|
|00002f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f20| 00 00 00 00 00 00 00 03 | 00 04 00 56 00 0a 01 f0 |........|...V....|
|00002f30| 02 80 00 56 00 0a 01 f0 | 02 80 a9 6a a7 89 00 00 |...V....|...j....|
|00002f40| 03 7c 00 00 03 7c 00 00 | 03 23 01 00 00 00 00 04 |.|...|..|.#......|
|00002f50| 00 06 00 04 00 00 00 0a | 00 0a 07 43 6f 75 72 69 |........|...Couri|
|00002f60| 65 72 00 00 01 00 00 00 | 01 62 00 00 00 62 00 00 |er......|.b...b..|
|00002f70| 00 5a 00 a7 b5 a8 1d 62 | 00 00 00 1c 00 5a 00 02 |.Z.....b|.....Z..|
|00002f80| 4d 50 53 52 00 00 00 1a | 45 54 41 42 00 00 00 26 |MPSR....|ETAB...&|
|00002f90| 45 46 4e 54 00 00 00 32 | 03 ed ff ff 00 00 00 00 |EFNT...2|........|
|00002fa0| 00 00 00 00 03 ec ff ff | 00 00 00 4c 00 a7 b4 9c |........|...L....|
|00002fb0| 03 eb ff ff 00 00 00 54 | 00 a7 b3 44 00 00 00 00 |.......T|...D....|
|00002fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+