home *** CD-ROM | disk | FTP | other *** search
MacBinary | 2000-03-09 | 12.0 KB | [TEXT/CWIE] |
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
| MS-DOS Code Page Info (other/dosCodePage)
| ext
| Unsupported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Thu Mar 9 18:12:05 2000, modified Thu Mar 9 18:12:05 2000, creator 'CWIE', type ASCII, 11575 bytes "LTooltipAttachment.cp" , at 0x2db7 410 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 | [CWIE] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 15 4c 54 6f 6f 6c 74 | 69 70 41 74 74 61 63 68 |..LToolt|ipAttach|
|00000010| 6d 65 6e 74 2e 63 70 00 | 00 00 00 00 00 00 00 00 |ment.cp.|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 00 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 2d 37 00 | 00 01 9a b4 ed e0 45 b4 |.....-7.|......E.|
|00000060| ed e0 45 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..E.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 a5 34 00 00 |........|.....4..|
|00000080| 2f 2f 20 4c 54 6f 6f 6c | 74 69 70 41 74 74 61 63 |// LTool|tipAttac|
|00000090| 68 6d 65 6e 74 2e 63 70 | 0d 2f 2f 20 a9 20 47 61 |hment.cp|.// . Ga|
|000000a0| 62 72 69 65 6c 65 20 64 | 65 20 53 69 6d 6f 6e 65 |briele d|e Simone|
|000000b0| 2c 20 31 39 39 38 2d 32 | 30 30 30 0d 2f 2f 0d 2f |, 1998-2|000.//./|
|000000c0| 2f 20 55 73 61 67 65 3a | 0d 2f 2f 20 49 6e 73 74 |/ Usage:|.// Inst|
|000000d0| 61 6c 6c 20 61 20 4c 54 | 6f 6f 6c 74 69 70 4d 6f |all a LT|ooltipMo|
|000000e0| 75 73 65 54 72 61 63 6b | 65 72 20 6f 62 6a 65 63 |useTrack|er objec|
|000000f0| 74 20 6a 75 73 74 20 61 | 73 20 79 6f 75 20 77 6f |t just a|s you wo|
|00000100| 75 6c 64 20 69 6e 73 74 | 61 6c 6c 20 61 20 50 6f |uld inst|all a Po|
|00000110| 77 65 72 50 6c 61 6e 74 | 0d 2f 2f 20 4c 4d 6f 75 |werPlant|.// LMou|
|00000120| 73 65 54 72 61 63 6b 65 | 72 20 6f 62 6a 65 63 74 |seTracke|r object|
|00000130| 2e 20 49 66 20 79 6f 75 | 20 61 6c 72 65 61 64 79 |. If you| already|
|00000140| 20 68 61 76 65 20 61 20 | 4c 4d 6f 75 73 65 54 72 | have a |LMouseTr|
|00000150| 61 63 6b 65 72 20 69 6e | 73 74 61 6c 6c 65 64 2c |acker in|stalled,|
|00000160| 20 74 68 65 20 6e 65 77 | 0d 2f 2f 20 4c 54 6f 6f | the new|.// LToo|
|00000170| 6c 74 69 70 4d 6f 75 73 | 65 54 72 61 63 6b 65 72 |ltipMous|eTracker|
|00000180| 20 77 69 6c 6c 20 70 65 | 72 66 6f 72 6d 20 74 68 | will pe|rform th|
|00000190| 65 20 73 61 6d 65 20 64 | 75 74 69 65 73 20 69 6e |e same d|uties in|
|000001a0| 20 69 74 73 20 70 6c 61 | 63 65 2e 0d 2f 2f 20 41 | its pla|ce..// A|
|000001b0| 64 64 20 74 68 65 20 4c | 54 6f 6f 6c 74 69 70 41 |dd the L|TooltipA|
|000001c0| 74 74 61 63 68 6d 65 6e | 74 2e 43 54 59 50 20 66 |ttachmen|t.CTYP f|
|000001d0| 69 6c 65 20 69 6e 74 6f | 20 79 6f 75 72 20 22 43 |ile into| your "C|
|000001e0| 75 73 74 6f 6d 20 54 79 | 70 65 73 22 20 43 6f 6e |ustom Ty|pes" Con|
|000001f0| 73 74 72 75 63 74 6f 72 | 0d 2f 2f 20 66 6f 6c 64 |structor|.// fold|
|00000200| 65 72 20 61 6e 64 20 61 | 64 64 20 74 6f 6f 6c 74 |er and a|dd toolt|
|00000210| 69 70 73 20 74 6f 20 70 | 61 6e 65 73 20 62 79 20 |ips to p|anes by |
|00000220| 64 72 61 67 67 69 6e 67 | 20 4c 54 6f 6f 6c 74 69 |dragging| LToolti|
|00000230| 70 41 74 74 61 63 68 6d | 65 6e 74 73 20 6f 76 65 |pAttachm|ents ove|
|00000240| 72 20 74 68 65 6d 2e 0d | 2f 2f 20 55 73 65 20 74 |r them..|// Use t|
|00000250| 68 65 20 77 69 6e 64 6f | 77 27 73 20 48 69 65 72 |he windo|w's Hier|
|00000260| 61 72 63 68 79 20 76 69 | 65 77 20 74 6f 20 73 65 |archy vi|ew to se|
|00000270| 74 20 74 68 65 20 6f 70 | 74 69 6f 6e 73 20 66 6f |t the op|tions fo|
|00000280| 72 20 65 61 63 68 20 74 | 6f 6f 6c 74 69 70 2e 0d |r each t|ooltip..|
|00000290| 2f 2f 0d 2f 2f 20 44 65 | 70 65 6e 64 65 6e 63 69 |//.// De|pendenci|
|000002a0| 65 73 3a 0d 2f 2f 20 54 | 6f 6f 6c 74 69 70 73 20 |es:.// T|ooltips |
|000002b0| 6f 6e 6c 79 20 77 6f 72 | 6b 20 63 6f 72 72 65 63 |only wor|k correc|
|000002c0| 74 6c 79 20 69 66 20 61 | 20 4c 54 6f 6f 6c 74 69 |tly if a| LToolti|
|000002d0| 70 4d 6f 75 73 65 54 72 | 61 63 6b 65 72 20 6f 62 |pMouseTr|acker ob|
|000002e0| 6a 65 63 74 20 69 73 20 | 63 75 72 72 65 6e 74 6c |ject is |currentl|
|000002f0| 79 0d 2f 2f 20 69 6e 73 | 74 61 6c 6c 65 64 2e 0d |y.// ins|talled..|
|00000300| 2f 2f 0d 2f 2f 20 4c 69 | 6d 69 74 61 74 69 6f 6e |//.// Li|mitation|
|00000310| 73 3a 0d 2f 2f 20 54 6f | 6f 6c 74 69 70 73 20 77 |s:.// To|oltips w|
|00000320| 69 6c 6c 20 6e 6f 74 20 | 73 68 6f 77 20 63 6f 72 |ill not |show cor|
|00000330| 72 65 63 74 6c 79 20 77 | 69 74 68 69 6e 20 6d 6f |rectly w|ithin mo|
|00000340| 64 61 6c 20 64 69 61 6c | 6f 67 73 2e 20 54 68 65 |dal dial|ogs. The|
|00000350| 20 72 65 61 73 6f 6e 20 | 69 73 20 73 69 6d 70 6c | reason |is simpl|
|00000360| 65 3a 0d 2f 2f 20 74 68 | 65 20 74 6f 6f 6c 74 69 |e:.// th|e toolti|
|00000370| 70 20 77 69 6e 64 6f 77 | 20 69 73 20 61 20 50 6f |p window| is a Po|
|00000380| 77 65 72 50 6c 61 6e 74 | 20 66 6c 6f 61 74 69 6e |werPlant| floatin|
|00000390| 67 20 77 69 6e 64 6f 77 | 2c 20 61 6e 64 20 61 73 |g window|, and as|
|000003a0| 20 73 75 63 68 20 69 74 | 73 20 6c 61 79 65 72 20 | such it|s layer |
|000003b0| 73 74 61 6e 64 73 0d 2f | 2f 20 75 6e 64 65 72 6e |stands./|/ undern|
|000003c0| 65 61 74 68 20 6d 6f 64 | 61 6c 20 64 69 61 6c 6f |eath mod|al dialo|
|000003d0| 67 73 2e 0d 0d 0d 23 69 | 6e 63 6c 75 64 65 20 22 |gs....#i|nclude "|
|000003e0| 4c 54 6f 6f 6c 74 69 70 | 41 74 74 61 63 68 6d 65 |LTooltip|Attachme|
|000003f0| 6e 74 2e 68 22 0d 0d 2f | 2f 20 50 6f 77 65 72 50 |nt.h"../|/ PowerP|
|00000400| 6c 61 6e 74 0d 23 69 6e | 63 6c 75 64 65 20 3c 4c |lant.#in|clude <L|
|00000410| 53 74 72 69 6e 67 2e 68 | 3e 0d 23 69 6e 63 6c 75 |String.h|>.#inclu|
|00000420| 64 65 20 3c 55 47 72 61 | 70 68 69 63 55 74 69 6c |de <UGra|phicUtil|
|00000430| 73 2e 68 3e 0d 23 69 6e | 63 6c 75 64 65 20 3c 55 |s.h>.#in|clude <U|
|00000440| 54 65 78 74 54 72 61 69 | 74 73 2e 68 3e 0d 23 69 |TextTrai|ts.h>.#i|
|00000450| 6e 63 6c 75 64 65 20 3c | 55 44 72 61 77 69 6e 67 |nclude <|UDrawing|
|00000460| 53 74 61 74 65 2e 68 3e | 0d 23 69 6e 63 6c 75 64 |State.h>|.#includ|
|00000470| 65 20 3c 55 44 72 61 77 | 69 6e 67 55 74 69 6c 73 |e <UDraw|ingUtils|
|00000480| 2e 68 3e 0d 23 69 6e 63 | 6c 75 64 65 20 3c 50 50 |.h>.#inc|lude <PP|
|00000490| 5f 52 65 73 6f 75 72 63 | 65 73 2e 68 3e 0d 23 69 |_Resourc|es.h>.#i|
|000004a0| 6e 63 6c 75 64 65 20 3c | 4c 53 74 72 65 61 6d 2e |nclude <|LStream.|
|000004b0| 68 3e 0d 0d 2f 2f 20 53 | 74 61 74 69 63 20 4d 65 |h>..// S|tatic Me|
|000004c0| 6d 62 65 72 73 0d 4c 54 | 6f 6f 6c 74 69 70 57 69 |mbers.LT|ooltipWi|
|000004d0| 6e 64 6f 77 2a 20 09 09 | 55 54 6f 6f 6c 74 69 70 |ndow* ..|UTooltip|
|000004e0| 3a 3a 73 57 69 6e 64 6f | 77 20 09 09 09 09 3d 20 |::sWindo|w ....= |
|000004f0| 6e 69 6c 3b 0d 62 6f 6f | 6c 20 09 09 09 09 09 55 |nil;.boo|l .....U|
|00000500| 54 6f 6f 6c 74 69 70 3a | 3a 73 49 6e 69 74 69 61 |Tooltip:|:sInitia|
|00000510| 6c 69 7a 65 64 20 09 09 | 09 3d 20 66 61 6c 73 65 |lized ..|.= false|
|00000520| 3b 0d 62 6f 6f 6c 09 09 | 09 09 09 55 54 6f 6f 6c |;.bool..|...UTool|
|00000530| 74 69 70 3a 3a 73 53 68 | 6f 77 54 6f 6f 6c 74 69 |tip::sSh|owToolti|
|00000540| 70 20 09 09 09 3d 20 74 | 72 75 65 3b 0d 55 49 6e |p ...= t|rue;.UIn|
|00000550| 74 31 36 09 09 09 09 09 | 4c 54 6f 6f 6c 74 69 70 |t16.....|LTooltip|
|00000560| 41 74 74 61 63 68 6d 65 | 6e 74 3a 3a 73 43 6f 75 |Attachme|nt::sCou|
|00000570| 6e 74 65 72 09 3d 20 30 | 3b 0d 55 49 6e 74 33 32 |nter.= 0|;.UInt32|
|00000580| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000590| 20 20 4c 54 6f 6f 6c 74 | 69 70 41 74 74 61 63 68 | LToolt|ipAttach|
|000005a0| 6d 65 6e 74 3a 3a 73 48 | 69 64 65 54 69 6d 65 20 |ment::sH|ideTime |
|000005b0| 20 20 3d 20 30 3b 0d 0d | 0d 2f 2f 20 44 65 66 61 | = 0;..|.// Defa|
|000005c0| 75 6c 74 20 74 6f 6f 6c | 74 69 70 20 64 65 6c 61 |ult tool|tip dela|
|000005d0| 79 0d 65 6e 75 6d 0d 7b | 0d 09 74 6f 6f 6c 74 69 |y.enum.{|..toolti|
|000005e0| 70 5f 44 65 66 61 75 6c | 74 44 65 6c 61 79 20 09 |p_Defaul|tDelay .|
|000005f0| 09 09 3d 20 34 35 0d 7d | 3b 0d 0d 0d 2f 2f 20 57 |..= 45.}|;...// W|
|00000600| 69 6e 64 6f 77 20 64 72 | 61 77 69 6e 67 20 63 6f |indow dr|awing co|
|00000610| 6e 73 74 61 6e 74 73 0d | 65 6e 75 6d 0d 7b 0d 09 |nstants.|enum.{..|
|00000620| 74 6f 6f 6c 74 69 70 5f | 57 69 6e 64 6f 77 45 78 |tooltip_|WindowEx|
|00000630| 74 72 61 48 65 69 67 68 | 74 20 09 09 3d 20 33 2c |traHeigh|t ..= 3,|
|00000640| 0d 09 74 6f 6f 6c 74 69 | 70 5f 57 69 6e 64 6f 77 |..toolti|p_Window|
|00000650| 45 78 74 72 61 57 69 64 | 74 68 20 09 09 3d 20 39 |ExtraWid|th ..= 9|
|00000660| 2c 0d 09 74 6f 6f 6c 74 | 69 70 5f 57 69 6e 64 6f |,..toolt|ip_Windo|
|00000670| 77 4f 66 66 73 65 74 46 | 72 6f 6d 52 65 63 74 20 |wOffsetF|romRect |
|00000680| 09 3d 20 33 0d 7d 3b 0d | 0d 2f 2f 20 44 65 66 61 |.= 3.};.|.// Defa|
|00000690| 75 6c 74 20 63 6f 6c 6f | 72 73 0d 63 6f 6e 73 74 |ult colo|rs.const|
|000006a0| 20 52 47 42 43 6f 6c 6f | 72 20 09 09 09 74 6f 6f | RGBColo|r ...too|
|000006b0| 6c 74 69 70 5f 44 65 66 | 61 75 6c 74 46 61 63 65 |ltip_Def|aultFace|
|000006c0| 20 09 09 09 3d 20 7b 36 | 35 35 33 35 2c 20 36 35 | ...= {6|5535, 65|
|000006d0| 35 33 35 2c 20 34 30 30 | 39 32 7d 3b 0d 63 6f 6e |535, 400|92};.con|
|000006e0| 73 74 20 52 47 42 43 6f | 6c 6f 72 20 09 09 09 74 |st RGBCo|lor ...t|
|000006f0| 6f 6f 6c 74 69 70 5f 44 | 65 66 61 75 6c 74 48 69 |ooltip_D|efaultHi|
|00000700| 67 68 6c 69 67 68 74 20 | 09 09 3d 20 7b 36 35 35 |ghlight |..= {655|
|00000710| 33 35 2c 20 36 35 35 33 | 35 2c 20 36 35 35 33 35 |35, 6553|5, 65535|
|00000720| 7d 3b 0d 63 6f 6e 73 74 | 20 52 47 42 43 6f 6c 6f |};.const| RGBColo|
|00000730| 72 20 09 09 09 74 6f 6f | 6c 74 69 70 5f 44 65 66 |r ...too|ltip_Def|
|00000740| 61 75 6c 74 53 68 61 64 | 6f 77 20 09 09 09 3d 20 |aultShad|ow ...= |
|00000750| 7b 35 32 34 39 32 2c 20 | 35 32 34 39 32 2c 20 31 |{52492, |52492, 1|
|00000760| 32 35 39 33 7d 3b 0d 0d | 2f 2f 20 4d 61 78 20 74 |2593};..|// Max t|
|00000770| 69 6d 65 20 62 65 74 77 | 65 65 6e 20 6f 63 63 75 |ime betw|een occu|
|00000780| 72 72 65 6e 63 65 73 20 | 77 68 65 72 65 20 64 65 |rrences |where de|
|00000790| 6c 61 79 20 73 68 6f 75 | 6c 64 20 62 65 20 69 67 |lay shou|ld be ig|
|000007a0| 6e 6f 72 65 64 0d 63 6f | 6e 73 74 20 55 49 6e 74 |nored.co|nst UInt|
|000007b0| 33 32 09 09 09 74 6f 6f | 6c 74 69 70 5f 53 75 70 |32...too|ltip_Sup|
|000007c0| 70 72 65 73 73 54 69 6d | 65 09 09 20 20 20 20 3d |pressTim|e.. =|
|000007d0| 20 36 30 3b 20 2f 2f 20 | 31 20 73 65 63 6f 6e 64 | 60; // |1 second|
|000007e0| 0d 0d 0d 2f 2f 20 49 6e | 69 74 54 6f 6f 6c 74 69 |...// In|itToolti|
|000007f0| 70 0d 2f 2f 0d 2f 2f 20 | 43 61 6c 6c 65 64 20 69 |p.//.// |Called i|
|00000800| 6e 74 65 72 6e 61 6c 6c | 79 20 62 65 66 6f 72 65 |nternall|y before|
|00000810| 20 73 68 6f 77 69 6e 67 | 20 61 6e 79 20 74 6f 6f | showing| any too|
|00000820| 6c 74 69 70 2e 20 49 74 | 20 63 72 65 61 74 65 73 |ltip. It| creates|
|00000830| 20 74 68 65 0d 2f 2f 20 | 74 6f 6f 6c 74 69 70 20 | the.// |tooltip |
|00000840| 77 69 6e 64 6f 77 20 69 | 66 20 69 74 20 68 61 73 |window i|f it has|
|00000850| 6e 27 74 20 62 65 65 6e | 20 63 72 65 61 74 65 64 |n't been| created|
|00000860| 20 79 65 74 2e 0d 2f 2f | 0d 62 6f 6f 6c 0d 55 54 | yet..//|.bool.UT|
|00000870| 6f 6f 6c 74 69 70 3a 3a | 49 6e 69 74 54 6f 6f 6c |ooltip::|InitTool|
|00000880| 74 69 70 28 29 0d 7b 0d | 09 2f 2a 20 43 6f 6d 6d |tip().{.|./* Comm|
|00000890| 65 6e 74 2d 69 6e 20 69 | 66 20 79 6f 75 72 20 61 |ent-in i|f your a|
|000008a0| 70 70 6c 69 63 61 74 69 | 6f 6e 20 75 73 65 73 20 |pplicati|on uses |
|000008b0| 62 61 6c 6c 6f 6f 6e 20 | 68 65 6c 70 0d 09 0d 09 |balloon |help....|
|000008c0| 69 66 20 28 3a 3a 48 4d | 47 65 74 42 61 6c 6c 6f |if (::HM|GetBallo|
|000008d0| 6f 6e 73 28 29 29 0d 09 | 7b 0d 09 09 72 65 74 75 |ons())..|{...retu|
|000008e0| 72 6e 20 66 61 6c 73 65 | 3b 0d 09 7d 0d 09 0d 09 |rn false|;..}....|
|000008f0| 2a 2f 0d 09 0d 09 69 66 | 20 28 6e 6f 74 20 73 49 |*/....if| (not sI|
|00000900| 6e 69 74 69 61 6c 69 7a | 65 64 20 61 6e 64 20 73 |nitializ|ed and s|
|00000910| 53 68 6f 77 54 6f 6f 6c | 74 69 70 29 0d 09 7b 0d |ShowTool|tip)..{.|
|00000920| 09 20 20 20 20 53 49 6e | 74 31 36 20 20 77 69 6e |. SIn|t16 win|
|00000930| 64 6f 77 50 72 6f 63 20 | 3d 20 70 6c 61 69 6e 44 |dowProc |= plainD|
|00000940| 42 6f 78 3b 0d 09 20 20 | 20 20 0d 20 20 20 20 20 |Box;.. | . |
|00000950| 20 20 20 69 66 20 28 55 | 45 6e 76 69 72 6f 6e 6d | if (U|Environm|
|00000960| 65 6e 74 3a 3a 48 61 73 | 46 65 61 74 75 72 65 28 |ent::Has|Feature(|
|00000970| 65 6e 76 5f 48 61 73 41 | 70 70 65 61 72 61 6e 63 |env_HasA|ppearanc|
|00000980| 65 29 29 0d 20 20 20 20 | 20 20 20 20 7b 0d 09 09 |e)). | {...|
|00000990| 09 77 69 6e 64 6f 77 50 | 72 6f 63 20 3d 20 6b 57 |.windowP|roc = kW|
|000009a0| 69 6e 64 6f 77 50 6c 61 | 69 6e 44 69 61 6c 6f 67 |indowPla|inDialog|
|000009b0| 50 72 6f 63 3b 0d 20 20 | 20 20 20 20 20 20 7d 0d |Proc;. | }.|
|000009c0| 09 20 20 20 20 0d 09 09 | 73 57 69 6e 64 6f 77 20 |. ...|sWindow |
|000009d0| 3d 20 6e 65 77 20 4c 54 | 6f 6f 6c 74 69 70 57 69 |= new LT|ooltipWi|
|000009e0| 6e 64 6f 77 28 0d 09 09 | 09 4e 55 4c 4c 2c 0d 09 |ndow(...|.NULL,..|
|000009f0| 09 09 52 65 63 74 5f 30 | 30 30 30 2c 0d 09 09 09 |..Rect_0|000,....|
|00000a00| 53 74 72 5f 45 6d 70 74 | 79 2c 0d 09 09 09 77 69 |Str_Empt|y,....wi|
|00000a10| 6e 64 6f 77 50 72 6f 63 | 2c 0d 09 09 09 77 69 6e |ndowProc|,....win|
|00000a20| 64 41 74 74 72 5f 46 6c | 6f 61 74 69 6e 67 20 2b |dAttr_Fl|oating +|
|00000a30| 20 77 69 6e 64 41 74 74 | 72 5f 48 69 64 65 4f 6e | windAtt|r_HideOn|
|00000a40| 53 75 73 70 65 6e 64 2c | 0d 09 09 09 77 69 6e 64 |Suspend,|....wind|
|00000a50| 6f 77 5f 49 6e 46 72 6f | 6e 74 29 3b 0d 09 09 0d |ow_InFro|nt);....|
|00000a60| 09 09 69 66 20 28 73 57 | 69 6e 64 6f 77 20 21 3d |..if (sW|indow !=|
|00000a70| 20 4e 55 4c 4c 29 0d 09 | 09 7b 0d 09 09 09 73 49 | NULL)..|.{....sI|
|00000a80| 6e 69 74 69 61 6c 69 7a | 65 64 20 3d 20 74 72 75 |nitializ|ed = tru|
|00000a90| 65 3b 0d 09 09 7d 0d 09 | 7d 0d 09 0d 09 72 65 74 |e;...}..|}....ret|
|00000aa0| 75 72 6e 20 28 73 49 6e | 69 74 69 61 6c 69 7a 65 |urn (sIn|itialize|
|00000ab0| 64 20 61 6e 64 20 73 53 | 68 6f 77 54 6f 6f 6c 74 |d and sS|howToolt|
|00000ac0| 69 70 29 3b 0d 7d 0d 0d | 0d 2f 2f 20 44 65 73 74 |ip);.}..|.// Dest|
|00000ad0| 72 6f 79 54 6f 6f 6c 74 | 69 70 0d 2f 2f 0d 2f 2f |royToolt|ip.//.//|
|00000ae0| 20 43 61 6c 6c 65 64 20 | 77 68 65 6e 20 6e 6f 20 | Called |when no |
|00000af0| 6d 6f 72 65 20 4c 54 6f | 6f 6c 74 69 70 41 74 74 |more LTo|oltipAtt|
|00000b00| 61 63 68 6d 65 6e 74 73 | 20 61 72 65 20 63 75 72 |achments| are cur|
|00000b10| 72 65 6e 74 6c 79 20 61 | 6c 6c 6f 63 61 74 65 64 |rently a|llocated|
|00000b20| 2e 0d 2f 2f 20 44 65 73 | 74 72 6f 79 54 6f 6f 6c |..// Des|troyTool|
|00000b30| 74 69 70 20 64 65 61 6c | 6c 6f 63 61 74 65 73 20 |tip deal|locates |
|00000b40| 74 68 65 20 74 6f 6f 6c | 74 69 70 20 77 69 6e 64 |the tool|tip wind|
|00000b50| 6f 77 20 61 6e 64 20 72 | 65 73 65 74 73 20 74 68 |ow and r|esets th|
|00000b60| 65 20 73 74 61 74 65 0d | 2f 2f 20 6f 66 20 74 68 |e state.|// of th|
|00000b70| 65 20 55 54 6f 6f 6c 74 | 69 70 20 63 6c 61 73 73 |e UToolt|ip class|
|00000b80| 2e 0d 2f 2f 0d 76 6f 69 | 64 0d 55 54 6f 6f 6c 74 |..//.voi|d.UToolt|
|00000b90| 69 70 3a 3a 44 65 73 74 | 72 6f 79 54 6f 6f 6c 74 |ip::Dest|royToolt|
|00000ba0| 69 70 28 29 0d 7b 0d 09 | 69 66 20 28 73 49 6e 69 |ip().{..|if (sIni|
|00000bb0| 74 69 61 6c 69 7a 65 64 | 29 0d 09 7b 0d 09 09 73 |tialized|)..{...s|
|00000bc0| 57 69 6e 64 6f 77 2d 3e | 44 6f 43 6c 6f 73 65 28 |Window->|DoClose(|
|00000bd0| 29 3b 0d 09 09 73 57 69 | 6e 64 6f 77 20 3d 20 6e |);...sWi|ndow = n|
|00000be0| 69 6c 3b 0d 09 09 73 49 | 6e 69 74 69 61 6c 69 7a |il;...sI|nitializ|
|00000bf0| 65 64 20 3d 20 66 61 6c | 73 65 3b 0d 09 7d 0d 7d |ed = fal|se;..}.}|
|00000c00| 0d 0d 0d 2f 2f 20 53 68 | 6f 77 54 6f 6f 6c 74 69 |...// Sh|owToolti|
|00000c10| 70 0d 2f 2f 0d 2f 2f 20 | 54 68 69 73 20 66 75 6e |p.//.// |This fun|
|00000c20| 63 74 69 6f 6e 20 73 68 | 6f 77 73 20 74 68 65 20 |ction sh|ows the |
|00000c30| 74 6f 6f 6c 74 69 70 20 | 75 6e 64 65 72 6e 65 61 |tooltip |undernea|
|00000c40| 74 68 20 74 68 65 20 72 | 65 63 74 20 73 70 65 63 |th the r|ect spec|
|00000c50| 69 66 69 65 64 20 69 6e | 20 67 6c 6f 62 61 6c 0d |ified in| global.|
|00000c60| 2f 2f 20 63 6f 6f 72 64 | 69 6e 61 74 65 73 2e 20 |// coord|inates. |
|00000c70| 54 68 65 20 6d 65 73 73 | 61 67 65 20 64 69 73 70 |The mess|age disp|
|00000c80| 6c 61 79 65 64 20 69 73 | 20 70 61 73 73 65 64 20 |layed is| passed |
|00000c90| 61 73 20 61 20 70 61 73 | 63 61 6c 20 73 74 72 69 |as a pas|cal stri|
|00000ca0| 6e 67 20 70 61 72 61 6d | 65 74 65 72 2e 0d 2f 2f |ng param|eter..//|
|00000cb0| 20 54 68 65 20 66 6f 75 | 72 20 63 6f 6c 6f 72 73 | The fou|r colors|
|00000cc0| 20 64 65 66 69 6e 65 20 | 74 68 65 20 61 70 70 65 | define |the appe|
|00000cd0| 61 72 61 6e 63 65 20 6f | 66 20 74 68 65 20 74 6f |arance o|f the to|
|00000ce0| 6f 6c 74 69 70 20 6f 6e | 20 73 63 72 65 65 6e 20 |oltip on| screen |
|00000cf0| 74 6f 20 61 6c 6c 6f 77 | 0d 2f 2f 20 66 6f 72 20 |to allow|.// for |
|00000d00| 67 72 65 61 74 65 72 20 | 63 75 73 74 6f 6d 69 7a |greater |customiz|
|00000d10| 61 62 69 6c 69 74 79 2e | 0d 2f 2f 0d 2f 2f 20 54 |ability.|.//.// T|
|00000d20| 68 69 73 20 66 75 6e 63 | 74 69 6f 6e 20 63 61 6e |his func|tion can|
|00000d30| 20 61 6c 73 6f 20 62 65 | 20 63 61 6c 6c 65 64 20 | also be| called |
|00000d40| 62 79 20 65 78 74 65 72 | 6e 61 6c 20 63 6c 61 73 |by exter|nal clas|
|00000d50| 73 65 73 2c 20 62 75 74 | 20 61 6e 79 6f 6e 65 20 |ses, but| anyone |
|00000d60| 69 6e 74 65 72 66 61 63 | 69 6e 67 0d 2f 2f 20 77 |interfac|ing.// w|
|00000d70| 69 74 68 20 55 54 6f 6f | 6c 74 69 70 20 6d 61 6e |ith UToo|ltip man|
|00000d80| 75 61 6c 6c 79 20 6d 75 | 73 74 20 61 6c 73 6f 20 |ually mu|st also |
|00000d90| 6d 61 6b 65 20 73 75 72 | 65 20 74 6f 20 68 69 64 |make sur|e to hid|
|00000da0| 65 20 61 6e 64 20 64 65 | 69 6e 69 74 69 61 6c 69 |e and de|initiali|
|00000db0| 7a 65 20 74 68 65 0d 2f | 2f 20 74 6f 6f 6c 74 69 |ze the./|/ toolti|
|00000dc0| 70 20 61 73 20 6e 65 65 | 64 65 64 28 77 68 65 6e |p as nee|ded(when|
|00000dd0| 20 75 73 69 6e 67 20 4c | 54 6f 6f 6c 74 69 70 41 | using L|TooltipA|
|00000de0| 74 74 61 63 68 6d 65 6e | 74 73 20 61 6c 6c 20 6f |ttachmen|ts all o|
|00000df0| 66 20 74 68 69 73 20 68 | 61 70 70 65 6e 73 0d 2f |f this h|appens./|
|00000e00| 2f 20 61 75 74 6f 6d 61 | 74 69 63 61 6c 6c 79 2e |/ automa|tically.|
|00000e10| 0d 2f 2f 0d 76 6f 69 64 | 0d 55 54 6f 6f 6c 74 69 |.//.void|.UToolti|
|00000e20| 70 3a 3a 53 68 6f 77 54 | 6f 6f 6c 74 69 70 28 0d |p::ShowT|ooltip(.|
|00000e30| 09 63 6f 6e 73 74 20 52 | 65 63 74 20 09 09 26 69 |.const R|ect ..&i|
|00000e40| 6e 47 6c 6f 62 61 6c 52 | 65 63 74 2c 0d 09 63 6f |nGlobalR|ect,..co|
|00000e50| 6e 73 74 20 52 65 73 49 | 44 54 20 09 69 6e 54 65 |nst ResI|DT .inTe|
|00000e60| 78 74 54 72 61 69 74 73 | 49 44 2c 0d 09 43 6f 6e |xtTraits|ID,..Con|
|00000e70| 73 74 53 74 72 69 6e 67 | 50 74 72 20 09 69 6e 54 |stString|Ptr .inT|
|00000e80| 69 74 6c 65 2c 0d 09 63 | 6f 6e 73 74 20 52 47 42 |itle,..c|onst RGB|
|00000e90| 43 6f 6c 6f 72 20 09 26 | 69 6e 46 61 63 65 2c 0d |Color .&|inFace,.|
|00000ea0| 09 63 6f 6e 73 74 20 52 | 47 42 43 6f 6c 6f 72 20 |.const R|GBColor |
|00000eb0| 09 26 69 6e 48 69 67 68 | 6c 69 67 68 74 2c 0d 09 |.&inHigh|light,..|
|00000ec0| 63 6f 6e 73 74 20 52 47 | 42 43 6f 6c 6f 72 20 09 |const RG|BColor .|
|00000ed0| 26 69 6e 53 68 61 64 6f | 77 29 0d 7b 0d 09 69 66 |&inShado|w).{..if|
|00000ee0| 20 28 49 6e 69 74 54 6f | 6f 6c 74 69 70 28 29 29 | (InitTo|oltip())|
|00000ef0| 0d 09 7b 09 0d 09 09 73 | 57 69 6e 64 6f 77 2d 3e |..{....s|Window->|
|00000f00| 53 65 74 54 6f 6f 6c 74 | 69 70 28 69 6e 47 6c 6f |SetToolt|ip(inGlo|
|00000f10| 62 61 6c 52 65 63 74 2c | 20 69 6e 54 65 78 74 54 |balRect,| inTextT|
|00000f20| 72 61 69 74 73 49 44 2c | 20 69 6e 54 69 74 6c 65 |raitsID,| inTitle|
|00000f30| 2c 20 69 6e 46 61 63 65 | 2c 20 0d 09 09 09 09 09 |, inFace|, ......|
|00000f40| 09 09 09 09 09 09 09 09 | 09 69 6e 48 69 67 68 6c |........|.inHighl|
|00000f50| 69 67 68 74 2c 20 69 6e | 53 68 61 64 6f 77 29 3b |ight, in|Shadow);|
|00000f60| 0d 09 7d 0d 7d 0d 0d 0d | 2f 2f 20 48 69 64 65 54 |..}.}...|// HideT|
|00000f70| 6f 6f 6c 74 69 70 0d 2f | 2f 0d 2f 2f 20 48 69 64 |ooltip./|/.// Hid|
|00000f80| 65 73 20 61 6e 79 20 76 | 69 73 69 62 6c 65 20 74 |es any v|isible t|
|00000f90| 6f 6f 6c 74 69 70 0d 2f | 2f 0d 76 6f 69 64 0d 55 |ooltip./|/.void.U|
|00000fa0| 54 6f 6f 6c 74 69 70 3a | 3a 48 69 64 65 54 6f 6f |Tooltip:|:HideToo|
|00000fb0| 6c 74 69 70 28 29 0d 7b | 0d 09 69 66 20 28 73 49 |ltip().{|..if (sI|
|00000fc0| 6e 69 74 69 61 6c 69 7a | 65 64 29 0d 09 7b 0d 09 |nitializ|ed)..{..|
|00000fd0| 09 73 57 69 6e 64 6f 77 | 2d 3e 48 69 64 65 28 29 |.sWindow|->Hide()|
|00000fe0| 3b 0d 09 7d 0d 7d 0d 0d | 0d 2f 2f 20 53 65 74 54 |;..}.}..|.// SetT|
|00000ff0| 6f 6f 6c 74 69 70 53 74 | 61 74 65 0d 2f 2f 0d 2f |ooltipSt|ate.//./|
|00001000| 2f 20 43 61 6c 6c 20 74 | 68 69 73 20 66 75 6e 63 |/ Call t|his func|
|00001010| 74 69 6f 6e 20 74 6f 20 | 67 6c 6f 62 61 6c 6c 79 |tion to |globally|
|00001020| 20 64 65 2f 61 63 74 69 | 76 61 74 65 20 74 6f 6f | de/acti|vate too|
|00001030| 6c 74 69 70 73 2e 20 55 | 73 65 66 75 6c 20 69 66 |ltips. U|seful if|
|00001040| 20 74 68 65 20 61 70 70 | 6c 69 63 61 74 69 6f 6e | the app|lication|
|00001050| 0d 2f 2f 20 6c 65 74 73 | 20 74 68 65 20 75 73 65 |.// lets| the use|
|00001060| 72 20 64 65 63 69 64 65 | 20 77 68 65 74 68 65 72 |r decide| whether|
|00001070| 20 74 6f 20 73 68 6f 77 | 20 74 6f 6f 6c 74 69 70 | to show| tooltip|
|00001080| 73 20 6f 72 20 6e 6f 74 | 2e 0d 2f 2f 0d 76 6f 69 |s or not|..//.voi|
|00001090| 64 0d 55 54 6f 6f 6c 74 | 69 70 3a 3a 53 65 74 54 |d.UToolt|ip::SetT|
|000010a0| 6f 6f 6c 74 69 70 53 74 | 61 74 65 28 0d 09 62 6f |ooltipSt|ate(..bo|
|000010b0| 6f 6c 20 09 09 09 69 6e | 53 68 6f 77 54 6f 6f 6c |ol ...in|ShowTool|
|000010c0| 74 69 70 29 0d 7b 0d 09 | 73 53 68 6f 77 54 6f 6f |tip).{..|sShowToo|
|000010d0| 6c 74 69 70 20 3d 20 69 | 6e 53 68 6f 77 54 6f 6f |ltip = i|nShowToo|
|000010e0| 6c 74 69 70 3b 0d 09 0d | 09 69 66 20 28 6e 6f 74 |ltip;...|.if (not|
|000010f0| 20 69 6e 53 68 6f 77 54 | 6f 6f 6c 74 69 70 29 0d | inShowT|ooltip).|
|00001100| 09 7b 0d 09 09 48 69 64 | 65 54 6f 6f 6c 74 69 70 |.{...Hid|eTooltip|
|00001110| 28 29 3b 0d 09 7d 0d 7d | 0d 0d 0d 23 70 72 61 67 |();..}.}|...#prag|
|00001120| 6d 61 20 6d 61 72 6b 20 | 2d 0d 0d 2f 2f 20 4c 54 |ma mark |-..// LT|
|00001130| 6f 6f 6c 74 69 70 57 69 | 6e 64 6f 77 0d 2f 2f 09 |ooltipWi|ndow.//.|
|00001140| 0d 4c 54 6f 6f 6c 74 69 | 70 57 69 6e 64 6f 77 3a |.LToolti|pWindow:|
|00001150| 3a 4c 54 6f 6f 6c 74 69 | 70 57 69 6e 64 6f 77 28 |:LToolti|pWindow(|
|00001160| 0d 09 4c 43 6f 6d 6d 61 | 6e 64 65 72 2a 20 09 69 |..LComma|nder* .i|
|00001170| 6e 53 75 70 65 72 43 6f | 6d 6d 61 6e 64 65 72 2c |nSuperCo|mmander,|
|00001180| 0d 09 63 6f 6e 73 74 20 | 52 65 63 74 26 20 09 69 |..const |Rect& .i|
|00001190| 6e 47 6c 6f 62 61 6c 42 | 6f 75 6e 64 73 2c 0d 09 |nGlobalB|ounds,..|
|000011a0| 43 6f 6e 73 74 53 74 72 | 69 6e 67 50 74 72 20 09 |ConstStr|ingPtr .|
|000011b0| 69 6e 54 69 74 6c 65 2c | 0d 09 53 49 6e 74 31 36 |inTitle,|..SInt16|
|000011c0| 20 09 09 09 69 6e 50 72 | 6f 63 49 44 2c 0d 09 55 | ...inPr|ocID,..U|
|000011d0| 49 6e 74 33 32 20 09 09 | 09 69 6e 41 74 74 72 69 |Int32 ..|.inAttri|
|000011e0| 62 75 74 65 73 2c 0d 09 | 57 69 6e 64 6f 77 50 74 |butes,..|WindowPt|
|000011f0| 72 20 09 09 69 6e 42 65 | 68 69 6e 64 29 0d 09 0d |r ..inBe|hind)...|
|00001200| 09 3a 20 4c 57 69 6e 64 | 6f 77 28 0d 09 09 69 6e |.: LWind|ow(...in|
|00001210| 53 75 70 65 72 43 6f 6d | 6d 61 6e 64 65 72 2c 0d |SuperCom|mander,.|
|00001220| 09 09 69 6e 47 6c 6f 62 | 61 6c 42 6f 75 6e 64 73 |..inGlob|alBounds|
|00001230| 2c 0d 09 09 69 6e 54 69 | 74 6c 65 2c 0d 09 09 69 |,...inTi|tle,...i|
|00001240| 6e 50 72 6f 63 49 44 2c | 0d 09 09 69 6e 41 74 74 |nProcID,|...inAtt|
|00001250| 72 69 62 75 74 65 73 2c | 0d 09 09 69 6e 42 65 68 |ributes,|...inBeh|
|00001260| 69 6e 64 29 0d 7b 0d 09 | 6d 54 65 78 74 54 72 61 |ind).{..|mTextTra|
|00001270| 69 74 73 49 44 20 09 3d | 20 54 78 74 72 5f 53 79 |itsID .=| Txtr_Sy|
|00001280| 73 74 65 6d 46 6f 6e 74 | 3b 0d 09 6d 54 69 74 6c |stemFont|;..mTitl|
|00001290| 65 5b 30 5d 20 09 09 3d | 20 30 3b 0d 09 6d 46 61 |e[0] ..=| 0;..mFa|
|000012a0| 63 65 20 09 09 09 3d 20 | 74 6f 6f 6c 74 69 70 5f |ce ...= |tooltip_|
|000012b0| 44 65 66 61 75 6c 74 46 | 61 63 65 3b 0d 09 6d 48 |DefaultF|ace;..mH|
|000012c0| 69 67 68 6c 69 67 68 74 | 20 09 09 3d 20 74 6f 6f |ighlight| ..= too|
|000012d0| 6c 74 69 70 5f 44 65 66 | 61 75 6c 74 48 69 67 68 |ltip_Def|aultHigh|
|000012e0| 6c 69 67 68 74 3b 0d 09 | 6d 53 68 61 64 6f 77 20 |light;..|mShadow |
|000012f0| 09 09 3d 20 74 6f 6f 6c | 74 69 70 5f 44 65 66 61 |..= tool|tip_Defa|
|00001300| 75 6c 74 53 68 61 64 6f | 77 3b 0d 7d 0d 0d 0d 2f |ultShado|w;.}.../|
|00001310| 2f 20 4c 54 6f 6f 6c 74 | 69 70 57 69 6e 64 6f 77 |/ LToolt|ipWindow|
|00001320| 0d 2f 2f 0d 2f 2f 20 52 | 65 73 65 74 73 20 74 68 |.//.// R|esets th|
|00001330| 65 20 61 70 70 72 6f 70 | 72 69 61 74 65 20 73 74 |e approp|riate st|
|00001340| 61 74 65 20 66 6f 72 20 | 74 68 65 20 63 6c 61 73 |ate for |the clas|
|00001350| 73 20 74 6f 20 77 6f 72 | 6b 2e 20 41 6c 74 68 6f |s to wor|k. Altho|
|00001360| 75 67 68 20 74 68 65 20 | 69 6e 69 74 69 61 6c 0d |ugh the |initial.|
|00001370| 2f 2f 20 73 74 61 74 65 | 20 69 73 20 61 6c 73 6f |// state| is also|
|00001380| 20 72 65 73 65 74 20 62 | 79 20 74 68 65 20 55 54 | reset b|y the UT|
|00001390| 6f 6f 6c 74 69 70 3a 3a | 44 65 73 74 72 6f 79 54 |ooltip::|DestroyT|
|000013a0| 6f 6f 6c 74 69 70 28 29 | 20 6d 65 74 68 6f 64 2c |ooltip()| method,|
|000013b0| 20 77 65 20 6d 61 6b 65 | 0d 2f 2f 20 73 75 72 65 | we make|.// sure|
|000013c0| 20 74 68 61 74 20 65 76 | 65 72 79 74 68 69 6e 67 | that ev|erything|
|000013d0| 20 73 74 61 79 73 20 69 | 6e 20 70 6c 61 63 65 20 | stays i|n place |
|000013e0| 69 66 20 74 68 65 20 77 | 69 6e 64 6f 77 20 67 65 |if the w|indow ge|
|000013f0| 74 73 20 63 6c 6f 73 65 | 64 20 62 79 20 61 6e 20 |ts close|d by an |
|00001400| 65 78 74 65 72 6e 61 6c | 0d 2f 2f 20 6f 62 6a 65 |external|.// obje|
|00001410| 63 74 2e 0d 2f 2f 0d 4c | 54 6f 6f 6c 74 69 70 57 |ct..//.L|TooltipW|
|00001420| 69 6e 64 6f 77 3a 3a 7e | 4c 54 6f 6f 6c 74 69 70 |indow::~|LTooltip|
|00001430| 57 69 6e 64 6f 77 28 29 | 0d 7b 0d 7d 0d 0d 0d 2f |Window()|.{.}.../|
|00001440| 2f 20 44 72 61 77 53 65 | 6c 66 0d 2f 2f 0d 2f 2f |/ DrawSe|lf.//.//|
|00001450| 20 44 72 61 77 73 20 74 | 68 65 20 63 75 72 72 65 | Draws t|he curre|
|00001460| 6e 74 20 77 69 6e 64 6f | 77 20 61 6e 64 20 74 6f |nt windo|w and to|
|00001470| 6f 6c 74 69 70 20 6d 65 | 73 73 61 67 65 2c 20 75 |oltip me|ssage, u|
|00001480| 73 69 6e 67 20 74 68 65 | 20 66 6f 75 72 20 63 6f |sing the| four co|
|00001490| 6c 6f 72 73 0d 2f 2f 20 | 73 70 65 63 69 66 69 65 |lors.// |specifie|
|000014a0| 64 20 62 79 20 53 65 74 | 54 6f 6f 6f 6c 74 69 70 |d by Set|Toooltip|
|000014b0| 43 6f 6c 6f 72 73 28 6f | 72 20 74 68 65 20 64 65 |Colors(o|r the de|
|000014c0| 66 61 75 6c 74 20 63 6f | 6c 6f 72 73 29 2e 0d 2f |fault co|lors)../|
|000014d0| 2f 0d 2f 2f 20 49 6d 70 | 6f 72 74 61 6e 74 21 20 |/.// Imp|ortant! |
|000014e0| 54 68 65 20 61 6c 69 67 | 6e 6d 65 6e 74 20 73 65 |The alig|nment se|
|000014f0| 74 74 69 6e 67 20 73 70 | 65 63 69 66 69 65 64 20 |tting sp|ecified |
|00001500| 69 6e 20 74 68 65 20 54 | 65 78 74 20 54 72 61 69 |in the T|ext Trai|
|00001510| 74 20 69 73 0d 2f 2f 20 | 69 67 6e 6f 72 65 64 2e |t is.// |ignored.|
|00001520| 20 54 6f 6f 6c 74 69 70 | 73 20 61 72 65 20 61 6c | Tooltip|s are al|
|00001530| 77 61 79 73 20 61 6c 69 | 67 6e 65 64 20 74 6f 20 |ways ali|gned to |
|00001540| 74 68 65 20 43 45 4e 54 | 45 52 2e 0d 2f 2f 0d 76 |the CENT|ER..//.v|
|00001550| 6f 69 64 20 4c 54 6f 6f | 6c 74 69 70 57 69 6e 64 |oid LToo|ltipWind|
|00001560| 6f 77 3a 3a 44 72 61 77 | 53 65 6c 66 28 29 0d 7b |ow::Draw|Self().{|
|00001570| 0d 09 53 74 47 72 61 66 | 50 6f 72 74 53 61 76 65 |..StGraf|PortSave|
|00001580| 72 09 70 6f 72 74 53 61 | 76 65 72 3b 0d 09 53 74 |r.portSa|ver;..St|
|00001590| 54 65 78 74 53 74 61 74 | 65 09 09 74 65 78 74 53 |TextStat|e..textS|
|000015a0| 61 76 65 72 3b 0d 09 53 | 74 43 6f 6c 6f 72 53 74 |aver;..S|tColorSt|
|000015b0| 61 74 65 09 63 6f 6c 6f | 72 53 61 76 65 72 3b 0d |ate.colo|rSaver;.|
|000015c0| 09 52 65 63 74 09 09 09 | 66 72 61 6d 65 52 65 63 |.Rect...|frameRec|
|000015d0| 74 3b 0d 0d 09 43 61 6c | 63 4c 6f 63 61 6c 46 72 |t;...Cal|cLocalFr|
|000015e0| 61 6d 65 52 65 63 74 28 | 66 72 61 6d 65 52 65 63 |ameRect(|frameRec|
|000015f0| 74 29 3b 0d 09 0d 09 3a | 3a 52 47 42 42 61 63 6b |t);....:|:RGBBack|
|00001600| 43 6f 6c 6f 72 28 26 6d | 46 61 63 65 29 3b 0d 09 |Color(&m|Face);..|
|00001610| 3a 3a 45 72 61 73 65 52 | 65 63 74 28 26 66 72 61 |::EraseR|ect(&fra|
|00001620| 6d 65 52 65 63 74 29 3b | 0d 09 0d 09 3a 3a 52 47 |meRect);|....::RG|
|00001630| 42 46 6f 72 65 43 6f 6c | 6f 72 28 26 6d 48 69 67 |BForeCol|or(&mHig|
|00001640| 68 6c 69 67 68 74 29 3b | 0d 09 55 47 72 61 70 68 |hlight);|..UGraph|
|00001650| 69 63 55 74 69 6c 73 3a | 3a 54 6f 70 4c 65 66 74 |icUtils:|:TopLeft|
|00001660| 53 69 64 65 28 66 72 61 | 6d 65 52 65 63 74 2c 20 |Side(fra|meRect, |
|00001670| 30 2c 20 30 2c 20 31 2c | 20 31 29 3b 0d 09 0d 09 |0, 0, 1,| 1);....|
|00001680| 3a 3a 52 47 42 46 6f 72 | 65 43 6f 6c 6f 72 28 26 |::RGBFor|eColor(&|
|00001690| 6d 53 68 61 64 6f 77 29 | 3b 0d 09 55 47 72 61 70 |mShadow)|;..UGrap|
|000016a0| 68 69 63 55 74 69 6c 73 | 3a 3a 42 6f 74 74 6f 6d |hicUtils|::Bottom|
|000016b0| 52 69 67 68 74 53 69 64 | 65 28 66 72 61 6d 65 52 |RightSid|e(frameR|
|000016c0| 65 63 74 2c 20 31 2c 20 | 31 2c 20 30 2c 20 30 29 |ect, 1, |1, 0, 0)|
|000016d0| 3b 0d 09 0d 09 66 72 61 | 6d 65 52 65 63 74 2e 74 |;....fra|meRect.t|
|000016e0| 6f 70 2b 2b 3b 0d 09 66 | 72 61 6d 65 52 65 63 74 |op++;..f|rameRect|
|000016f0| 2e 72 69 67 68 74 2b 2b | 3b 0d 09 0d 09 55 54 65 |.right++|;....UTe|
|00001700| 78 74 54 72 61 69 74 73 | 3a 3a 53 65 74 50 6f 72 |xtTraits|::SetPor|
|00001710| 74 54 65 78 74 54 72 61 | 69 74 73 28 6d 54 65 78 |tTextTra|its(mTex|
|00001720| 74 54 72 61 69 74 73 49 | 44 29 3b 0d 09 0d 09 55 |tTraitsI|D);....U|
|00001730| 54 65 78 74 44 72 61 77 | 69 6e 67 3a 3a 44 72 61 |TextDraw|ing::Dra|
|00001740| 77 54 72 75 6e 63 61 74 | 65 64 57 69 74 68 4a 75 |wTruncat|edWithJu|
|00001750| 73 74 28 6d 54 69 74 6c | 65 2c 20 66 72 61 6d 65 |st(mTitl|e, frame|
|00001760| 52 65 63 74 2c 20 74 65 | 43 65 6e 74 65 72 29 3b |Rect, te|Center);|
|00001770| 0d 7d 0d 0d 0d 2f 2f 20 | 53 65 74 54 6f 6f 6c 74 |.}...// |SetToolt|
|00001780| 69 70 0d 2f 2f 0d 76 6f | 69 64 0d 4c 54 6f 6f 6c |ip.//.vo|id.LTool|
|00001790| 74 69 70 57 69 6e 64 6f | 77 3a 3a 53 65 74 54 6f |tipWindo|w::SetTo|
|000017a0| 6f 6c 74 69 70 28 0d 09 | 63 6f 6e 73 74 20 52 65 |oltip(..|const Re|
|000017b0| 63 74 20 09 09 26 69 6e | 47 6c 6f 62 61 6c 52 65 |ct ..&in|GlobalRe|
|000017c0| 63 74 2c 0d 09 63 6f 6e | 73 74 20 52 65 73 49 44 |ct,..con|st ResID|
|000017d0| 54 20 09 69 6e 54 65 78 | 74 54 72 61 69 74 73 49 |T .inTex|tTraitsI|
|000017e0| 44 2c 0d 09 43 6f 6e 73 | 74 53 74 72 69 6e 67 50 |D,..Cons|tStringP|
|000017f0| 74 72 20 09 69 6e 54 69 | 74 6c 65 2c 0d 09 63 6f |tr .inTi|tle,..co|
|00001800| 6e 73 74 20 52 47 42 43 | 6f 6c 6f 72 20 09 26 69 |nst RGBC|olor .&i|
|00001810| 6e 46 61 63 65 2c 0d 09 | 63 6f 6e 73 74 20 52 47 |nFace,..|const RG|
|00001820| 42 43 6f 6c 6f 72 20 09 | 26 69 6e 48 69 67 68 6c |BColor .|&inHighl|
|00001830| 69 67 68 74 2c 0d 09 63 | 6f 6e 73 74 20 52 47 42 |ight,..c|onst RGB|
|00001840| 43 6f 6c 6f 72 20 09 26 | 69 6e 53 68 61 64 6f 77 |Color .&|inShadow|
|00001850| 29 0d 7b 0d 09 53 74 47 | 72 61 66 50 6f 72 74 53 |).{..StG|rafPortS|
|00001860| 61 76 65 72 09 70 6f 72 | 74 53 61 76 65 72 28 28 |aver.por|tSaver((|
|00001870| 47 72 61 66 50 74 72 29 | 20 3a 3a 47 65 74 57 69 |GrafPtr)| ::GetWi|
|00001880| 6e 64 6f 77 50 6f 72 74 | 28 6d 4d 61 63 57 69 6e |ndowPort|(mMacWin|
|00001890| 64 6f 77 50 29 29 3b 0d | 09 53 74 54 65 78 74 53 |dowP));.|.StTextS|
|000018a0| 74 61 74 65 09 09 74 65 | 78 74 53 61 76 65 72 3b |tate..te|xtSaver;|
|000018b0| 0d 09 53 74 43 6f 6c 6f | 72 53 74 61 74 65 09 63 |..StColo|rState.c|
|000018c0| 6f 6c 6f 72 53 61 76 65 | 72 3b 0d 09 0d 09 48 69 |olorSave|r;....Hi|
|000018d0| 64 65 28 29 3b 0d 09 0d | 2f 2f 20 43 6f 70 79 20 |de();...|// Copy |
|000018e0| 74 68 65 20 6e 65 77 20 | 74 6f 6f 6c 74 69 70 20 |the new |tooltip |
|000018f0| 73 65 74 74 69 6e 67 73 | 0d 09 4c 53 74 72 69 6e |settings|..LStrin|
|00001900| 67 3a 3a 43 6f 70 79 50 | 53 74 72 28 69 6e 54 69 |g::CopyP|Str(inTi|
|00001910| 74 6c 65 2c 20 6d 54 69 | 74 6c 65 29 3b 0d 09 6d |tle, mTi|tle);..m|
|00001920| 54 65 78 74 54 72 61 69 | 74 73 49 44 20 09 3d 20 |TextTrai|tsID .= |
|00001930| 69 6e 54 65 78 74 54 72 | 61 69 74 73 49 44 3b 0d |inTextTr|aitsID;.|
|00001940| 09 6d 46 61 63 65 20 09 | 09 09 3d 20 69 6e 46 61 |.mFace .|..= inFa|
|00001950| 63 65 3b 0d 09 6d 48 69 | 67 68 6c 69 67 68 74 20 |ce;..mHi|ghlight |
|00001960| 09 09 3d 20 69 6e 48 69 | 67 68 6c 69 67 68 74 3b |..= inHi|ghlight;|
|00001970| 0d 09 6d 53 68 61 64 6f | 77 20 09 09 3d 20 69 6e |..mShado|w ..= in|
|00001980| 53 68 61 64 6f 77 3b 0d | 09 0d 2f 2f 20 43 61 6c |Shadow;.|..// Cal|
|00001990| 63 75 6c 61 74 65 20 74 | 68 65 20 6e 65 77 20 77 |culate t|he new w|
|000019a0| 69 64 74 68 20 61 6e 64 | 20 68 65 69 67 68 74 20 |idth and| height |
|000019b0| 6f 66 20 74 68 65 20 74 | 6f 6f 6c 74 69 70 20 77 |of the t|ooltip w|
|000019c0| 69 6e 64 6f 77 0d 09 55 | 54 65 78 74 54 72 61 69 |indow..U|TextTrai|
|000019d0| 74 73 3a 3a 53 65 74 50 | 6f 72 74 54 65 78 74 54 |ts::SetP|ortTextT|
|000019e0| 72 61 69 74 73 28 69 6e | 54 65 78 74 54 72 61 69 |raits(in|TextTrai|
|000019f0| 74 73 49 44 29 3b 0d 0d | 09 46 6f 6e 74 49 6e 66 |tsID);..|.FontInf|
|00001a00| 6f 09 09 66 49 6e 66 6f | 3b 0d 09 0d 09 3a 3a 47 |o..fInfo|;....::G|
|00001a10| 65 74 46 6f 6e 74 49 6e | 66 6f 28 26 66 49 6e 66 |etFontIn|fo(&fInf|
|00001a20| 6f 29 3b 0d 09 0d 09 53 | 44 69 6d 65 6e 73 69 6f |o);....S|Dimensio|
|00001a30| 6e 31 36 09 64 69 6d 65 | 6e 73 69 6f 6e 3b 0d 09 |n16.dime|nsion;..|
|00001a40| 0d 09 64 69 6d 65 6e 73 | 69 6f 6e 2e 68 65 69 67 |..dimens|ion.heig|
|00001a50| 68 74 20 3d 20 66 49 6e | 66 6f 2e 61 73 63 65 6e |ht = fIn|fo.ascen|
|00001a60| 74 20 2b 20 66 49 6e 66 | 6f 2e 64 65 73 63 65 6e |t + fInf|o.descen|
|00001a70| 74 20 2b 20 74 6f 6f 6c | 74 69 70 5f 57 69 6e 64 |t + tool|tip_Wind|
|00001a80| 6f 77 45 78 74 72 61 48 | 65 69 67 68 74 3b 0d 09 |owExtraH|eight;..|
|00001a90| 64 69 6d 65 6e 73 69 6f | 6e 2e 77 69 64 74 68 20 |dimensio|n.width |
|00001aa0| 3d 20 3a 3a 53 74 72 69 | 6e 67 57 69 64 74 68 28 |= ::Stri|ngWidth(|
|00001ab0| 6d 54 69 74 6c 65 29 20 | 2b 20 74 6f 6f 6c 74 69 |mTitle) |+ toolti|
|00001ac0| 70 5f 57 69 6e 64 6f 77 | 45 78 74 72 61 57 69 64 |p_Window|ExtraWid|
|00001ad0| 74 68 3b 0d 09 0d 09 52 | 65 73 69 7a 65 57 69 6e |th;....R|esizeWin|
|00001ae0| 64 6f 77 54 6f 28 64 69 | 6d 65 6e 73 69 6f 6e 2e |dowTo(di|mension.|
|00001af0| 77 69 64 74 68 2c 20 64 | 69 6d 65 6e 73 69 6f 6e |width, d|imension|
|00001b00| 2e 68 65 69 67 68 74 29 | 3b 09 0d 09 0d 2f 2f 20 |.height)|;....// |
|00001b10| 43 65 6e 74 65 72 20 74 | 68 65 20 74 6f 6f 6c 74 |Center t|he toolt|
|00001b20| 69 70 20 77 69 6e 64 6f | 77 20 75 6e 64 65 72 20 |ip windo|w under |
|00001b30| 74 68 65 20 67 6c 6f 62 | 61 6c 20 72 65 63 74 0d |the glob|al rect.|
|00001b40| 09 53 50 6f 69 6e 74 31 | 36 09 09 70 6f 73 69 74 |.SPoint1|6..posit|
|00001b50| 69 6f 6e 3b 0d 0d 09 70 | 6f 73 69 74 69 6f 6e 2e |ion;...p|osition.|
|00001b60| 68 20 3d 20 69 6e 47 6c | 6f 62 61 6c 52 65 63 74 |h = inGl|obalRect|
|00001b70| 2e 6c 65 66 74 20 2b 20 | 0d 09 09 09 09 09 28 28 |.left + |......((|
|00001b80| 55 47 72 61 70 68 69 63 | 55 74 69 6c 73 3a 3a 52 |UGraphic|Utils::R|
|00001b90| 65 63 74 57 69 64 74 68 | 28 69 6e 47 6c 6f 62 61 |ectWidth|(inGloba|
|00001ba0| 6c 52 65 63 74 29 20 2d | 20 64 69 6d 65 6e 73 69 |lRect) -| dimensi|
|00001bb0| 6f 6e 2e 77 69 64 74 68 | 29 20 2f 20 32 29 3b 0d |on.width|) / 2);.|
|00001bc0| 09 70 6f 73 69 74 69 6f | 6e 2e 76 20 3d 20 69 6e |.positio|n.v = in|
|00001bd0| 47 6c 6f 62 61 6c 52 65 | 63 74 2e 62 6f 74 74 6f |GlobalRe|ct.botto|
|00001be0| 6d 20 2b 20 74 6f 6f 6c | 74 69 70 5f 57 69 6e 64 |m + tool|tip_Wind|
|00001bf0| 6f 77 4f 66 66 73 65 74 | 46 72 6f 6d 52 65 63 74 |owOffset|FromRect|
|00001c00| 3b 0d 09 0d 2f 2f 20 43 | 6c 69 70 20 6c 65 66 74 |;...// C|lip left|
|00001c10| 20 63 6f 6f 72 64 69 6e | 61 74 65 20 74 6f 20 6c | coordin|ate to l|
|00001c20| 65 66 74 20 65 64 67 65 | 20 6f 66 20 73 63 72 65 |eft edge| of scre|
|00001c30| 65 6e 09 0d 09 69 66 20 | 28 70 6f 73 69 74 69 6f |en...if |(positio|
|00001c40| 6e 2e 68 20 3c 20 30 29 | 0d 09 7b 0d 09 09 70 6f |n.h < 0)|..{...po|
|00001c50| 73 69 74 69 6f 6e 2e 68 | 20 3d 20 30 3b 0d 09 7d |sition.h| = 0;..}|
|00001c60| 0d 09 0d 09 4d 6f 76 65 | 57 69 6e 64 6f 77 54 6f |....Move|WindowTo|
|00001c70| 28 70 6f 73 69 74 69 6f | 6e 2e 68 2c 20 70 6f 73 |(positio|n.h, pos|
|00001c80| 69 74 69 6f 6e 2e 76 29 | 3b 0d 09 0d 09 53 65 6c |ition.v)|;....Sel|
|00001c90| 65 63 74 28 29 3b 0d 09 | 53 68 6f 77 28 29 3b 0d |ect();..|Show();.|
|00001ca0| 7d 0d 0d 0d 23 70 72 61 | 67 6d 61 20 6d 61 72 6b |}...#pra|gma mark|
|00001cb0| 20 2d 0d 0d 0d 2f 2f 20 | 4c 54 6f 6f 6c 74 69 70 | -...// |LTooltip|
|00001cc0| 41 74 74 61 63 68 6d 65 | 6e 74 0d 2f 2f 0d 2f 2f |Attachme|nt.//.//|
|00001cd0| 20 54 68 69 73 20 63 6f | 6e 73 74 72 75 63 74 6f | This co|nstructo|
|00001ce0| 72 20 69 73 20 75 73 65 | 64 20 77 68 65 6e 20 63 |r is use|d when c|
|00001cf0| 72 65 61 74 69 6e 67 20 | 61 20 74 6f 6f 6c 74 69 |reating |a toolti|
|00001d00| 70 20 61 74 74 61 63 68 | 6d 65 6e 74 20 6f 6e 20 |p attach|ment on |
|00001d10| 74 68 65 0d 2f 2f 20 66 | 6c 79 2e 20 49 74 20 61 |the.// f|ly. It a|
|00001d20| 73 73 75 6d 65 73 20 73 | 6f 6d 65 20 63 6f 6d 6d |ssumes s|ome comm|
|00001d30| 6f 6e 20 64 65 66 61 75 | 6c 74 20 76 61 6c 75 65 |on defau|lt value|
|00001d40| 73 20 66 6f 72 20 74 68 | 65 20 74 6f 6f 6c 74 69 |s for th|e toolti|
|00001d50| 70 2e 0d 2f 2f 0d 4c 54 | 6f 6f 6c 74 69 70 41 74 |p..//.LT|ooltipAt|
|00001d60| 74 61 63 68 6d 65 6e 74 | 3a 3a 4c 54 6f 6f 6c 74 |tachment|::LToolt|
|00001d70| 69 70 41 74 74 61 63 68 | 6d 65 6e 74 28 0d 09 4d |ipAttach|ment(..M|
|00001d80| 65 73 73 61 67 65 54 20 | 69 6e 4d 65 73 73 61 67 |essageT |inMessag|
|00001d90| 65 2c 0d 09 42 6f 6f 6c | 65 61 6e 20 69 6e 45 78 |e,..Bool|ean inEx|
|00001da0| 65 63 75 74 65 48 6f 73 | 74 29 0d 09 0d 09 3a 20 |ecuteHos|t)....: |
|00001db0| 4c 41 74 74 61 63 68 6d | 65 6e 74 28 69 6e 4d 65 |LAttachm|ent(inMe|
|00001dc0| 73 73 61 67 65 2c 20 69 | 6e 45 78 65 63 75 74 65 |ssage, i|nExecute|
|00001dd0| 48 6f 73 74 29 0d 7b 0d | 09 6d 49 73 49 6e 73 69 |Host).{.|.mIsInsi|
|00001de0| 64 65 20 09 09 3d 20 66 | 61 6c 73 65 3b 0d 09 6d |de ..= f|alse;..m|
|00001df0| 49 73 53 68 6f 77 69 6e | 67 20 09 09 3d 20 66 61 |IsShowin|g ..= fa|
|00001e00| 6c 73 65 3b 0d 09 0d 09 | 6d 54 65 78 74 54 72 61 |lse;....|mTextTra|
|00001e10| 69 74 73 49 44 20 09 3d | 20 54 78 74 72 5f 53 79 |itsID .=| Txtr_Sy|
|00001e20| 73 74 65 6d 46 6f 6e 74 | 3b 0d 09 6d 54 69 74 6c |stemFont|;..mTitl|
|00001e30| 65 5b 30 5d 20 09 09 3d | 20 30 3b 0d 09 6d 44 65 |e[0] ..=| 0;..mDe|
|00001e40| 6c 61 79 20 09 09 09 3d | 20 74 6f 6f 6c 74 69 70 |lay ...=| tooltip|
|00001e50| 5f 44 65 66 61 75 6c 74 | 44 65 6c 61 79 3b 0d 09 |_Default|Delay;..|
|00001e60| 6d 46 61 63 65 20 09 09 | 09 3d 20 74 6f 6f 6c 74 |mFace ..|.= toolt|
|00001e70| 69 70 5f 44 65 66 61 75 | 6c 74 46 61 63 65 3b 0d |ip_Defau|ltFace;.|
|00001e80| 09 6d 48 69 67 68 6c 69 | 67 68 74 20 09 09 3d 20 |.mHighli|ght ..= |
|00001e90| 74 6f 6f 6c 74 69 70 5f | 44 65 66 61 75 6c 74 48 |tooltip_|DefaultH|
|00001ea0| 69 67 68 6c 69 67 68 74 | 3b 0d 09 6d 53 68 61 64 |ighlight|;..mShad|
|00001eb0| 6f 77 20 09 09 3d 20 74 | 6f 6f 6c 74 69 70 5f 44 |ow ..= t|ooltip_D|
|00001ec0| 65 66 61 75 6c 74 53 68 | 61 64 6f 77 3b 0d 09 0d |efaultSh|adow;...|
|00001ed0| 09 73 43 6f 75 6e 74 65 | 72 2b 2b 3b 0d 7d 0d 0d |.sCounte|r++;.}..|
|00001ee0| 0d 2f 2f 20 4c 54 6f 6f | 6c 74 69 70 41 74 74 61 |.// LToo|ltipAtta|
|00001ef0| 63 68 6d 65 6e 74 0d 2f | 2f 0d 2f 2f 20 54 68 65 |chment./|/.// The|
|00001f00| 20 73 74 72 65 61 6d 20 | 63 6f 6e 73 74 72 75 63 | stream |construc|
|00001f10| 74 6f 72 20 69 73 20 76 | 65 72 79 20 75 73 65 66 |tor is v|ery usef|
|00001f20| 75 6c 20 66 6f 72 20 63 | 72 65 61 74 69 6e 67 20 |ul for c|reating |
|00001f30| 4c 54 6f 6f 6c 74 69 70 | 41 74 74 61 63 68 6d 65 |LTooltip|Attachme|
|00001f40| 6e 74 73 0d 2f 2f 20 66 | 72 6f 6d 20 77 69 74 68 |nts.// f|rom with|
|00001f50| 69 6e 20 63 6f 6e 73 74 | 72 75 63 74 6f 72 2e 20 |in const|ructor. |
|00001f60| 4a 75 73 74 20 6d 61 6b | 65 20 73 75 72 65 20 74 |Just mak|e sure t|
|00001f70| 6f 20 61 64 64 20 74 68 | 65 20 70 72 6f 70 65 72 |o add th|e proper|
|00001f80| 20 43 54 59 50 20 66 69 | 6c 65 20 0d 2f 2f 20 69 | CTYP fi|le .// i|
|00001f90| 6e 74 6f 20 79 6f 75 72 | 20 22 43 75 73 74 6f 6d |nto your| "Custom|
|00001fa0| 20 54 79 70 65 73 22 20 | 66 6f 6c 64 65 72 20 61 | Types" |folder a|
|00001fb0| 6e 64 20 74 68 65 6e 20 | 64 72 61 67 20 74 68 65 |nd then |drag the|
|00001fc0| 20 74 6f 6f 6c 74 69 70 | 20 61 74 74 61 63 68 6d | tooltip| attachm|
|00001fd0| 65 6e 74 73 0d 2f 2f 20 | 6f 6e 74 6f 20 74 68 65 |ents.// |onto the|
|00001fe0| 20 64 65 73 69 72 65 64 | 20 70 61 6e 65 73 28 72 | desired| panes(r|
|00001ff0| 65 6d 65 6d 62 65 72 20 | 74 6f 20 75 73 65 20 74 |emember |to use t|
|00002000| 68 65 20 48 69 65 72 61 | 72 63 68 79 20 77 69 6e |he Hiera|rchy win|
|00002010| 64 6f 77 20 74 6f 20 63 | 75 73 74 6f 6d 69 7a 65 |dow to c|ustomize|
|00002020| 0d 2f 2f 20 65 61 63 68 | 20 74 6f 6f 6c 74 69 70 |.// each| tooltip|
|00002030| 20 74 68 61 74 20 79 6f | 75 20 61 64 64 29 2e 0d | that yo|u add)..|
|00002040| 2f 2f 0d 4c 54 6f 6f 6c | 74 69 70 41 74 74 61 63 |//.LTool|tipAttac|
|00002050| 68 6d 65 6e 74 3a 3a 4c | 54 6f 6f 6c 74 69 70 41 |hment::L|TooltipA|
|00002060| 74 74 61 63 68 6d 65 6e | 74 28 0d 09 4c 53 74 72 |ttachmen|t(..LStr|
|00002070| 65 61 6d 20 09 2a 69 6e | 53 74 72 65 61 6d 29 0d |eam .*in|Stream).|
|00002080| 09 0d 09 3a 20 4c 41 74 | 74 61 63 68 6d 65 6e 74 |...: LAt|tachment|
|00002090| 28 69 6e 53 74 72 65 61 | 6d 29 0d 7b 0d 09 6d 49 |(inStrea|m).{..mI|
|000020a0| 73 49 6e 73 69 64 65 20 | 3d 20 66 61 6c 73 65 3b |sInside |= false;|
|000020b0| 0d 09 6d 49 73 53 68 6f | 77 69 6e 67 20 3d 20 66 |..mIsSho|wing = f|
|000020c0| 61 6c 73 65 3b 0d 0d 09 | 69 6e 53 74 72 65 61 6d |alse;...|inStream|
|000020d0| 2d 3e 52 65 61 64 44 61 | 74 61 28 26 6d 54 65 78 |->ReadDa|ta(&mTex|
|000020e0| 74 54 72 61 69 74 73 49 | 44 2c 20 73 69 7a 65 6f |tTraitsI|D, sizeo|
|000020f0| 66 28 52 65 73 49 44 54 | 29 29 3b 0d 09 69 6e 53 |f(ResIDT|));..inS|
|00002100| 74 72 65 61 6d 2d 3e 52 | 65 61 64 50 53 74 72 69 |tream->R|eadPStri|
|00002110| 6e 67 28 6d 54 69 74 6c | 65 29 3b 0d 09 69 6e 53 |ng(mTitl|e);..inS|
|00002120| 74 72 65 61 6d 2d 3e 52 | 65 61 64 44 61 74 61 28 |tream->R|eadData(|
|00002130| 26 6d 44 65 6c 61 79 2c | 20 73 69 7a 65 6f 66 28 |&mDelay,| sizeof(|
|00002140| 55 49 6e 74 33 32 29 29 | 3b 0d 09 69 6e 53 74 72 |UInt32))|;..inStr|
|00002150| 65 61 6d 2d 3e 52 65 61 | 64 44 61 74 61 28 26 6d |eam->Rea|dData(&m|
|00002160| 46 61 63 65 2c 20 73 69 | 7a 65 6f 66 28 52 47 42 |Face, si|zeof(RGB|
|00002170| 43 6f 6c 6f 72 29 29 3b | 0d 09 69 6e 53 74 72 65 |Color));|..inStre|
|00002180| 61 6d 2d 3e 52 65 61 64 | 44 61 74 61 28 26 6d 48 |am->Read|Data(&mH|
|00002190| 69 67 68 6c 69 67 68 74 | 2c 20 73 69 7a 65 6f 66 |ighlight|, sizeof|
|000021a0| 28 52 47 42 43 6f 6c 6f | 72 29 29 3b 0d 09 69 6e |(RGBColo|r));..in|
|000021b0| 53 74 72 65 61 6d 2d 3e | 52 65 61 64 44 61 74 61 |Stream->|ReadData|
|000021c0| 28 26 6d 53 68 61 64 6f | 77 2c 20 73 69 7a 65 6f |(&mShado|w, sizeo|
|000021d0| 66 28 52 47 42 43 6f 6c | 6f 72 29 29 3b 09 0d 09 |f(RGBCol|or));...|
|000021e0| 0d 09 73 43 6f 75 6e 74 | 65 72 2b 2b 3b 0d 7d 0d |..sCount|er++;.}.|
|000021f0| 0d 0d 2f 2f 20 7e 4c 54 | 6f 6f 6c 74 69 70 41 74 |..// ~LT|ooltipAt|
|00002200| 74 61 63 68 6d 65 6e 74 | 0d 2f 2f 0d 2f 2f 20 54 |tachment|.//.// T|
|00002210| 68 65 20 64 65 73 74 72 | 75 63 74 6f 72 20 64 65 |he destr|uctor de|
|00002220| 63 72 65 61 73 65 73 20 | 74 68 65 20 6f 62 6a 65 |creases |the obje|
|00002230| 63 74 20 63 6f 75 6e 74 | 65 72 20 66 6f 72 20 74 |ct count|er for t|
|00002240| 68 69 73 20 63 6c 61 73 | 73 20 61 6e 64 0d 2f 2f |his clas|s and.//|
|00002250| 20 64 65 73 74 72 6f 79 | 65 73 20 74 68 65 20 74 | destroy|es the t|
|00002260| 6f 6f 6c 74 69 70 20 77 | 69 6e 64 6f 77 20 69 66 |ooltip w|indow if|
|00002270| 20 6e 6f 20 6d 6f 72 65 | 20 4c 54 6f 6f 6c 74 69 | no more| LToolti|
|00002280| 70 41 74 74 61 63 68 6d | 65 6e 74 73 0d 2f 2f 20 |pAttachm|ents.// |
|00002290| 61 72 65 20 61 6c 6c 6f | 63 61 74 65 64 2e 20 49 |are allo|cated. I|
|000022a0| 74 20 61 6c 73 6f 20 6d | 61 6b 65 73 20 73 75 72 |t also m|akes sur|
|000022b0| 65 20 74 68 61 74 20 61 | 6e 79 20 74 6f 6f 6c 74 |e that a|ny toolt|
|000022c0| 69 70 20 61 73 73 6f 63 | 69 61 74 65 64 0d 2f 2f |ip assoc|iated.//|
|000022d0| 20 77 69 74 68 20 74 68 | 69 73 20 61 74 74 61 63 | with th|is attac|
|000022e0| 68 6d 65 6e 74 20 69 73 | 20 68 69 64 64 65 6e 2e |hment is| hidden.|
|000022f0| 0d 2f 2f 0d 4c 54 6f 6f | 6c 74 69 70 41 74 74 61 |.//.LToo|ltipAtta|
|00002300| 63 68 6d 65 6e 74 3a 3a | 7e 4c 54 6f 6f 6c 74 69 |chment::|~LToolti|
|00002310| 70 41 74 74 61 63 68 6d | 65 6e 74 28 29 0d 7b 0d |pAttachm|ent().{.|
|00002320| 09 69 66 20 28 2d 2d 73 | 43 6f 75 6e 74 65 72 20 |.if (--s|Counter |
|00002330| 3d 3d 20 30 29 0d 09 7b | 0d 09 09 55 54 6f 6f 6c |== 0)..{|...UTool|
|00002340| 74 69 70 3a 3a 44 65 73 | 74 72 6f 79 54 6f 6f 6c |tip::Des|troyTool|
|00002350| 74 69 70 28 29 3b 0d 09 | 7d 0d 09 65 6c 73 65 20 |tip();..|}..else |
|00002360| 69 66 20 28 6d 49 73 53 | 68 6f 77 69 6e 67 29 0d |if (mIsS|howing).|
|00002370| 09 7b 0d 09 09 55 54 6f | 6f 6c 74 69 70 3a 3a 48 |.{...UTo|oltip::H|
|00002380| 69 64 65 54 6f 6f 6c 74 | 69 70 28 29 3b 0d 09 7d |ideToolt|ip();..}|
|00002390| 0d 7d 0d 0d 0d 2f 2f 20 | 45 78 65 63 75 74 65 53 |.}...// |ExecuteS|
|000023a0| 65 6c 66 0d 2f 2f 0d 2f | 2f 20 54 68 65 20 45 78 |elf.//./|/ The Ex|
|000023b0| 65 63 75 74 65 53 65 6c | 66 20 66 75 6e 63 74 69 |ecuteSel|f functi|
|000023c0| 6f 6e 20 74 61 6b 65 73 | 20 63 61 72 65 20 6f 66 |on takes| care of|
|000023d0| 20 73 68 6f 77 69 6e 67 | 2f 68 69 64 69 6e 67 20 | showing|/hiding |
|000023e0| 74 68 65 20 74 6f 6f 6c | 74 69 70 0d 2f 2f 20 64 |the tool|tip.// d|
|000023f0| 65 70 65 6e 64 69 6e 67 | 20 6f 6e 20 74 68 65 20 |epending| on the |
|00002400| 63 75 72 72 65 6e 74 20 | 70 6f 73 69 74 69 6f 6e |current |position|
|00002410| 20 6f 66 20 74 68 65 20 | 6d 6f 75 73 65 20 69 6e | of the |mouse in|
|00002420| 20 72 65 73 70 65 63 74 | 20 77 69 74 68 20 74 68 | respect| with th|
|00002430| 65 0d 2f 2f 20 70 61 6e | 65 20 74 68 61 74 20 6f |e.// pan|e that o|
|00002440| 77 6e 73 20 74 68 65 20 | 4c 54 6f 6f 6c 74 69 70 |wns the |LTooltip|
|00002450| 41 74 74 61 63 68 6d 65 | 6e 74 2e 0d 2f 2f 0d 2f |Attachme|nt..//./|
|00002460| 2f 20 49 6d 70 6f 72 74 | 61 6e 74 21 0d 2f 2f 20 |/ Import|ant!.// |
|00002470| 54 68 65 20 74 68 72 65 | 65 20 6d 65 73 73 61 67 |The thre|e messag|
|00002480| 65 73 20 75 73 65 64 20 | 62 79 20 45 78 65 63 75 |es used |by Execu|
|00002490| 74 65 53 65 6c 66 20 61 | 72 65 20 4e 4f 54 20 70 |teSelf a|re NOT p|
|000024a0| 61 72 74 20 6f 66 0d 2f | 2f 20 74 68 65 20 73 74 |art of./|/ the st|
|000024b0| 61 6e 64 61 72 64 20 6d | 65 73 73 61 67 65 73 20 |andard m|essages |
|000024c0| 62 72 6f 61 64 63 61 73 | 74 65 64 20 62 79 20 50 |broadcas|ted by P|
|000024d0| 6f 77 65 72 50 6c 61 6e | 74 27 73 20 4c 4d 6f 75 |owerPlan|t's LMou|
|000024e0| 73 65 54 72 61 63 6b 65 | 72 2e 20 49 6e 0d 2f 2f |seTracke|r. In.//|
|000024f0| 20 6f 72 64 65 72 20 74 | 6f 20 6d 61 6b 65 20 4c | order t|o make L|
|00002500| 54 6f 6f 6c 74 69 70 41 | 74 74 61 63 68 6d 65 6e |TooltipA|ttachmen|
|00002510| 74 73 20 77 6f 72 6b 2c | 20 79 6f 75 20 6e 65 65 |ts work,| you nee|
|00002520| 64 20 74 6f 20 75 73 65 | 20 4c 54 6f 6f 6c 74 69 |d to use| LToolti|
|00002530| 70 4d 6f 75 73 65 54 72 | 61 63 6b 65 72 0d 2f 2f |pMouseTr|acker.//|
|00002540| 20 69 6e 73 74 65 61 64 | 2e 0d 2f 2f 0d 76 6f 69 | instead|..//.voi|
|00002550| 64 0d 4c 54 6f 6f 6c 74 | 69 70 41 74 74 61 63 68 |d.LToolt|ipAttach|
|00002560| 6d 65 6e 74 3a 3a 45 78 | 65 63 75 74 65 53 65 6c |ment::Ex|ecuteSel|
|00002570| 66 28 0d 09 4d 65 73 73 | 61 67 65 54 20 09 69 6e |f(..Mess|ageT .in|
|00002580| 4d 65 73 73 61 67 65 2c | 0d 09 76 6f 69 64 20 09 |Message,|..void .|
|00002590| 09 2a 2f 2a 69 6f 50 61 | 72 61 6d 2a 2f 29 0d 7b |.*/*ioPa|ram*/).{|
|000025a0| 0d 09 73 77 69 74 63 68 | 20 28 69 6e 4d 65 73 73 |..switch| (inMess|
|000025b0| 61 67 65 29 0d 09 7b 0d | 09 09 63 61 73 65 20 6d |age)..{.|..case m|
|000025c0| 73 67 5f 4d 6f 75 73 65 | 57 69 74 68 69 6e 3a 0d |sg_Mouse|Within:.|
|000025d0| 09 09 63 61 73 65 20 6d | 73 67 5f 4d 6f 75 73 65 |..case m|sg_Mouse|
|000025e0| 45 6e 74 65 72 3a 0d 09 | 09 09 4c 50 61 6e 65 09 |Enter:..|..LPane.|
|000025f0| 2a 6f 77 6e 65 72 50 61 | 6e 65 20 3d 20 64 79 6e |*ownerPa|ne = dyn|
|00002600| 61 6d 69 63 5f 63 61 73 | 74 3c 4c 50 61 6e 65 20 |amic_cas|t<LPane |
|00002610| 2a 3e 28 47 65 74 4f 77 | 6e 65 72 48 6f 73 74 28 |*>(GetOw|nerHost(|
|00002620| 29 29 3b 0d 09 09 09 0d | 09 09 09 69 66 20 28 28 |));.....|...if ((|
|00002630| 6f 77 6e 65 72 50 61 6e | 65 20 21 3d 20 6e 69 6c |ownerPan|e != nil|
|00002640| 29 20 61 6e 64 20 55 54 | 6f 6f 6c 74 69 70 3a 3a |) and UT|ooltip::|
|00002650| 47 65 74 54 6f 6f 6c 74 | 69 70 53 74 61 74 65 28 |GetToolt|ipState(|
|00002660| 29 29 0d 09 09 09 7b 0d | 09 09 09 09 69 66 20 28 |))....{.|....if (|
|00002670| 6e 6f 74 20 6f 77 6e 65 | 72 50 61 6e 65 2d 3e 49 |not owne|rPane->I|
|00002680| 73 41 63 74 69 76 65 28 | 29 29 0d 09 09 09 09 7b |sActive(|)).....{|
|00002690| 0d 09 09 09 09 09 69 66 | 20 28 6d 49 73 53 68 6f |......if| (mIsSho|
|000026a0| 77 69 6e 67 29 0d 09 09 | 09 09 09 7b 0d 09 09 09 |wing)...|...{....|
|000026b0| 09 09 09 55 54 6f 6f 6c | 74 69 70 3a 3a 48 69 64 |...UTool|tip::Hid|
|000026c0| 65 54 6f 6f 6c 74 69 70 | 28 29 3b 0d 09 09 09 09 |eTooltip|();.....|
|000026d0| 09 7d 0d 09 09 09 09 7d | 0d 09 09 09 09 65 6c 73 |.}.....}|.....els|
|000026e0| 65 20 69 66 20 28 6d 49 | 73 49 6e 73 69 64 65 20 |e if (mI|sInside |
|000026f0| 3d 3d 20 66 61 6c 73 65 | 29 0d 09 09 09 09 7b 0d |== false|).....{.|
|00002700| 09 09 09 09 09 6d 49 73 | 49 6e 73 69 64 65 20 3d |.....mIs|Inside =|
|00002710| 20 74 72 75 65 3b 0d 09 | 09 09 09 09 6d 4f 6c 64 | true;..|....mOld|
|00002720| 54 69 6d 65 20 3d 20 3a | 3a 54 69 63 6b 43 6f 75 |Time = :|:TickCou|
|00002730| 6e 74 28 29 3b 0d 09 09 | 09 09 7d 0d 09 09 09 09 |nt();...|..}.....|
|00002740| 65 6c 73 65 20 69 66 20 | 28 6d 49 73 53 68 6f 77 |else if |(mIsShow|
|00002750| 69 6e 67 20 3d 3d 20 66 | 61 6c 73 65 29 0d 09 09 |ing == f|alse)...|
|00002760| 09 09 7b 0d 09 09 09 09 | 09 55 49 6e 74 33 32 09 |..{.....|.UInt32.|
|00002770| 09 6e 65 77 54 69 6d 65 | 20 3d 20 3a 3a 54 69 63 |.newTime| = ::Tic|
|00002780| 6b 43 6f 75 6e 74 28 29 | 3b 0d 09 09 09 09 09 0d |kCount()|;.......|
|00002790| 09 09 09 09 09 69 66 20 | 28 28 6e 65 77 54 69 6d |.....if |((newTim|
|000027a0| 65 20 2d 20 6d 4f 6c 64 | 54 69 6d 65 20 3e 3d 20 |e - mOld|Time >= |
|000027b0| 6d 44 65 6c 61 79 29 20 | 6f 72 0d 09 09 09 09 09 |mDelay) |or......|
|000027c0| 09 28 6e 65 77 54 69 6d | 65 20 2d 20 73 48 69 64 |.(newTim|e - sHid|
|000027d0| 65 54 69 6d 65 20 3c 20 | 74 6f 6f 6c 74 69 70 5f |eTime < |tooltip_|
|000027e0| 53 75 70 70 72 65 73 73 | 54 69 6d 65 29 29 0d 09 |Suppress|Time))..|
|000027f0| 09 09 09 09 7b 0d 09 09 | 09 09 09 09 52 65 63 74 |....{...|....Rect|
|00002800| 09 6f 77 6e 65 72 52 65 | 63 74 3b 0d 09 09 09 09 |.ownerRe|ct;.....|
|00002810| 09 0d 09 09 09 09 09 09 | 6f 77 6e 65 72 50 61 6e |........|ownerPan|
|00002820| 65 2d 3e 43 61 6c 63 50 | 6f 72 74 46 72 61 6d 65 |e->CalcP|ortFrame|
|00002830| 52 65 63 74 28 6f 77 6e | 65 72 52 65 63 74 29 3b |Rect(own|erRect);|
|00002840| 0d 09 09 09 09 09 09 6f | 77 6e 65 72 50 61 6e 65 |.......o|wnerPane|
|00002850| 2d 3e 50 6f 72 74 54 6f | 47 6c 6f 62 61 6c 50 6f |->PortTo|GlobalPo|
|00002860| 69 6e 74 28 74 6f 70 4c | 65 66 74 28 6f 77 6e 65 |int(topL|eft(owne|
|00002870| 72 52 65 63 74 29 29 3b | 0d 09 09 09 09 09 09 6f |rRect));|.......o|
|00002880| 77 6e 65 72 50 61 6e 65 | 2d 3e 50 6f 72 74 54 6f |wnerPane|->PortTo|
|00002890| 47 6c 6f 62 61 6c 50 6f | 69 6e 74 28 62 6f 74 52 |GlobalPo|int(botR|
|000028a0| 69 67 68 74 28 6f 77 6e | 65 72 52 65 63 74 29 29 |ight(own|erRect))|
|000028b0| 3b 0d 09 09 09 09 09 0d | 09 09 09 09 09 09 55 54 |;.......|......UT|
|000028c0| 6f 6f 6c 74 69 70 3a 3a | 53 68 6f 77 54 6f 6f 6c |ooltip::|ShowTool|
|000028d0| 74 69 70 28 6f 77 6e 65 | 72 52 65 63 74 2c 20 6d |tip(owne|rRect, m|
|000028e0| 54 65 78 74 54 72 61 69 | 74 73 49 44 2c 20 6d 54 |TextTrai|tsID, mT|
|000028f0| 69 74 6c 65 2c 20 0d 09 | 09 09 09 09 09 09 09 09 |itle, ..|........|
|00002900| 09 09 09 09 09 6d 46 61 | 63 65 2c 20 6d 48 69 67 |.....mFa|ce, mHig|
|00002910| 68 6c 69 67 68 74 2c 20 | 6d 53 68 61 64 6f 77 29 |hlight, |mShadow)|
|00002920| 3b 0d 09 09 09 09 09 09 | 0d 09 09 09 09 09 09 6d |;.......|.......m|
|00002930| 49 73 53 68 6f 77 69 6e | 67 20 3d 20 74 72 75 65 |IsShowin|g = true|
|00002940| 3b 0d 09 09 09 09 09 7d | 0d 09 09 09 09 7d 0d 09 |;......}|.....}..|
|00002950| 09 09 7d 0d 09 09 62 72 | 65 61 6b 3b 0d 0d 09 09 |..}...br|eak;....|
|00002960| 63 61 73 65 20 6d 73 67 | 5f 4d 6f 75 73 65 4c 65 |case msg|_MouseLe|
|00002970| 61 76 65 3a 0d 09 09 09 | 69 66 20 28 6d 49 73 53 |ave:....|if (mIsS|
|00002980| 68 6f 77 69 6e 67 29 0d | 09 09 09 7b 0d 09 09 09 |howing).|...{....|
|00002990| 09 55 54 6f 6f 6c 74 69 | 70 3a 3a 48 69 64 65 54 |.UToolti|p::HideT|
|000029a0| 6f 6f 6c 74 69 70 28 29 | 3b 0d 09 09 09 09 0d 09 |ooltip()|;.......|
|000029b0| 09 09 09 6d 49 73 53 68 | 6f 77 69 6e 67 20 3d 20 |...mIsSh|owing = |
|000029c0| 66 61 6c 73 65 3b 0d 09 | 09 09 09 0d 09 09 09 09 |false;..|........|
|000029d0| 73 48 69 64 65 54 69 6d | 65 20 3d 20 3a 3a 54 69 |sHideTim|e = ::Ti|
|000029e0| 63 6b 43 6f 75 6e 74 28 | 29 3b 0d 09 09 09 7d 0d |ckCount(|);....}.|
|000029f0| 09 09 09 0d 09 09 09 6d | 49 73 49 6e 73 69 64 65 |.......m|IsInside|
|00002a00| 20 3d 20 66 61 6c 73 65 | 3b 0d 09 09 62 72 65 61 | = false|;...brea|
|00002a10| 6b 3b 0d 0d 09 09 64 65 | 66 61 75 6c 74 3a 0d 09 |k;....de|fault:..|
|00002a20| 09 62 72 65 61 6b 3b 0d | 09 7d 0d 7d 0d 0d 0d 2f |.break;.|.}.}.../|
|00002a30| 2f 20 53 65 74 54 65 78 | 74 54 72 61 69 74 73 49 |/ SetTex|tTraitsI|
|00002a40| 44 0d 2f 2f 0d 2f 2f 20 | 43 68 61 6e 67 65 20 74 |D.//.// |Change t|
|00002a50| 68 65 20 54 65 78 74 20 | 54 72 61 69 74 73 20 72 |he Text |Traits r|
|00002a60| 65 73 6f 75 72 63 65 20 | 61 73 73 6f 63 69 61 74 |esource |associat|
|00002a70| 65 64 20 77 69 74 68 20 | 74 68 69 73 20 74 6f 6f |ed with |this too|
|00002a80| 6c 74 69 70 0d 2f 2f 0d | 76 6f 69 64 0d 4c 54 6f |ltip.//.|void.LTo|
|00002a90| 6f 6c 74 69 70 41 74 74 | 61 63 68 6d 65 6e 74 3a |oltipAtt|achment:|
|00002aa0| 3a 53 65 74 54 65 78 74 | 54 72 61 69 74 73 49 44 |:SetText|TraitsID|
|00002ab0| 28 0d 09 52 65 73 49 44 | 54 20 09 09 69 6e 54 65 |(..ResID|T ..inTe|
|00002ac0| 78 74 54 72 61 69 74 73 | 49 44 29 0d 7b 0d 09 6d |xtTraits|ID).{..m|
|00002ad0| 54 65 78 74 54 72 61 69 | 74 73 49 44 20 3d 20 69 |TextTrai|tsID = i|
|00002ae0| 6e 54 65 78 74 54 72 61 | 69 74 73 49 44 3b 0d 09 |nTextTra|itsID;..|
|00002af0| 0d 09 2f 2f 20 46 6f 72 | 63 65 20 61 20 72 65 66 |..// For|ce a ref|
|00002b00| 72 65 73 68 0d 09 6d 49 | 73 53 68 6f 77 69 6e 67 |resh..mI|sShowing|
|00002b10| 20 3d 20 66 61 6c 73 65 | 3b 0d 7d 0d 0d 0d 2f 2f | = false|;.}...//|
|00002b20| 20 53 65 74 44 65 73 63 | 72 69 70 74 6f 72 0d 2f | SetDesc|riptor./|
|00002b30| 2f 0d 2f 2f 20 43 68 61 | 6e 67 65 20 74 68 65 20 |/.// Cha|nge the |
|00002b40| 74 6f 6f 6c 74 69 70 20 | 6d 65 73 73 61 67 65 20 |tooltip |message |
|00002b50| 64 69 73 70 6c 61 79 65 | 64 20 62 79 20 74 68 69 |displaye|d by thi|
|00002b60| 73 20 61 74 74 61 63 68 | 6d 65 6e 74 0d 2f 2f 0d |s attach|ment.//.|
|00002b70| 76 6f 69 64 0d 4c 54 6f | 6f 6c 74 69 70 41 74 74 |void.LTo|oltipAtt|
|00002b80| 61 63 68 6d 65 6e 74 3a | 3a 53 65 74 44 65 73 63 |achment:|:SetDesc|
|00002b90| 72 69 70 74 6f 72 28 0d | 09 43 6f 6e 73 74 53 74 |riptor(.|.ConstSt|
|00002ba0| 72 69 6e 67 50 74 72 20 | 09 69 6e 44 65 73 63 72 |ringPtr |.inDescr|
|00002bb0| 69 70 74 6f 72 29 0d 7b | 0d 09 4c 53 74 72 69 6e |iptor).{|..LStrin|
|00002bc0| 67 3a 3a 43 6f 70 79 50 | 53 74 72 28 69 6e 44 65 |g::CopyP|Str(inDe|
|00002bd0| 73 63 72 69 70 74 6f 72 | 2c 20 6d 54 69 74 6c 65 |scriptor|, mTitle|
|00002be0| 29 3b 0d 09 0d 09 2f 2f | 20 46 6f 72 63 65 20 61 |);....//| Force a|
|00002bf0| 20 72 65 66 72 65 73 68 | 0d 09 6d 49 73 53 68 6f | refresh|..mIsSho|
|00002c00| 77 69 6e 67 20 3d 20 66 | 61 6c 73 65 3b 0d 7d 0d |wing = f|alse;.}.|
|00002c10| 0d 0d 2f 2f 20 53 65 74 | 44 65 6c 61 79 0d 2f 2f |..// Set|Delay.//|
|00002c20| 0d 2f 2f 20 43 68 61 6e | 67 65 20 74 68 65 20 64 |.// Chan|ge the d|
|00002c30| 65 6c 61 79 20 74 69 6d | 65 20 62 65 66 6f 72 65 |elay tim|e before|
|00002c40| 20 74 68 65 20 74 6f 6f | 6c 74 69 70 20 61 70 70 | the too|ltip app|
|00002c50| 65 61 72 73 20 6f 6e 20 | 73 63 72 65 65 6e 0d 2f |ears on |screen./|
|00002c60| 2f 0d 76 6f 69 64 0d 4c | 54 6f 6f 6c 74 69 70 41 |/.void.L|TooltipA|
|00002c70| 74 74 61 63 68 6d 65 6e | 74 3a 3a 53 65 74 44 65 |ttachmen|t::SetDe|
|00002c80| 6c 61 79 28 0d 09 55 49 | 6e 74 33 32 20 09 09 09 |lay(..UI|nt32 ...|
|00002c90| 69 6e 44 65 6c 61 79 29 | 0d 7b 0d 09 6d 44 65 6c |inDelay)|.{..mDel|
|00002ca0| 61 79 20 3d 20 69 6e 44 | 65 6c 61 79 3b 0d 7d 0d |ay = inD|elay;.}.|
|00002cb0| 0d 0d 2f 2f 20 53 65 74 | 43 6f 6c 6f 72 73 0d 2f |..// Set|Colors./|
|00002cc0| 2f 0d 2f 2f 20 43 68 61 | 6e 67 65 20 74 68 65 20 |/.// Cha|nge the |
|00002cd0| 63 6f 6c 6f 72 73 20 75 | 73 65 64 20 74 6f 20 64 |colors u|sed to d|
|00002ce0| 72 61 77 20 74 68 65 20 | 74 6f 6f 6c 74 69 70 20 |raw the |tooltip |
|00002cf0| 77 69 6e 64 6f 77 0d 2f | 2f 0d 76 6f 69 64 0d 4c |window./|/.void.L|
|00002d00| 54 6f 6f 6c 74 69 70 41 | 74 74 61 63 68 6d 65 6e |TooltipA|ttachmen|
|00002d10| 74 3a 3a 53 65 74 43 6f | 6c 6f 72 73 28 0d 09 63 |t::SetCo|lors(..c|
|00002d20| 6f 6e 73 74 20 52 47 42 | 43 6f 6c 6f 72 09 26 69 |onst RGB|Color.&i|
|00002d30| 6e 46 61 63 65 2c 0d 09 | 63 6f 6e 73 74 20 52 47 |nFace,..|const RG|
|00002d40| 42 43 6f 6c 6f 72 20 09 | 26 69 6e 48 69 67 68 6c |BColor .|&inHighl|
|00002d50| 69 67 68 74 2c 0d 09 63 | 6f 6e 73 74 20 52 47 42 |ight,..c|onst RGB|
|00002d60| 43 6f 6c 6f 72 20 09 26 | 69 6e 53 68 61 64 6f 77 |Color .&|inShadow|
|00002d70| 29 0d 7b 0d 09 6d 46 61 | 63 65 20 3d 20 69 6e 46 |).{..mFa|ce = inF|
|00002d80| 61 63 65 3b 0d 09 6d 48 | 69 67 68 6c 69 67 68 74 |ace;..mH|ighlight|
|00002d90| 20 3d 20 69 6e 48 69 67 | 68 6c 69 67 68 74 3b 0d | = inHig|hlight;.|
|00002da0| 09 6d 53 68 61 64 6f 77 | 20 3d 20 69 6e 53 68 61 |.mShadow| = inSha|
|00002db0| 64 6f 77 3b 0d 7d 0d 00 | 00 00 00 00 00 00 00 00 |dow;.}..|........|
|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 54 | 00 00 00 54 00 00 00 46 |.......T|...T...F|
|00002e10| 7c 08 02 a6 93 e1 ff fc | 90 01 00 08 94 21 ff c0 ||.......|.....!..|
|00002e20| 90 81 00 5c 48 00 00 01 | 7c 7f 1b 78 28 1f 00 00 |...\H...||..x(...|
|00002e30| 41 82 00 1c 7f e3 fb 78 | 80 81 00 5c 81 83 00 04 |A......x|...\....|
|00002e40| 81 8c 00 84 48 00 00 01 | 60 00 00 00 80 01 00 48 |....H...|`......H|
|00002e50| 38 21 00 40 7c 08 03 a6 | 83 e1 ff fc 4e 80 00 20 |8!.@|...|....N.. |
|00002e60| 00 00 00 00 00 09 20 41 | 80 01 00 00 00 00 00 50 |...... A|.......P|
|00002e70| 00 31 2e 45 76 65 6e 74 | 4d 6f 75 73 65 55 70 5f |.1.Event|MouseUp_|
|00002e80| 5f 31 36 4c 45 76 65 6e | 74 44 69 73 70 61 74 63 |_16LEven|tDispatc|
|00002e90| 68 65 72 46 52 43 31 31 | 45 76 65 6e 74 52 65 63 |herFRC11|EventRec|
|00002ea0| 6f 72 64 00 45 75 00 00 | 00 00 00 ec 00 00 00 14 |ord.Eu..|........|
|00002eb0| 45 75 00 00 00 00 00 40 | 00 00 00 34 45 6e 0c 04 |Eu.....@|...4En..|
|00002ec0| 00 00 00 ee 00 00 00 0c | 80 00 00 00 00 00 00 00 |........|........|
|00002ed0| 00 00 00 00 80 00 00 94 | 08 00 00 00 45 77 00 00 |........|....Ew..|
|00002ee0| 00 00 00 eb 00 00 00 00 | 45 6b 00 84 00 00 00 ec |........|Ek......|
|00002ef0| 00 00 00 3c 80 00 00 00 | 00 00 00 00 80 62 00 00 |...<....|.....b..|
|00002f00| 00 00 00 48 00 0c 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 07 | 00 04 00 2e 00 0a 02 f5 |........|........|
|00002f30| 02 8a 00 2e 00 0a 02 f5 | 02 8a b4 ed a8 05 00 00 |........|........|
|00002f40| 04 32 00 00 04 32 00 00 | 00 00 01 00 00 00 00 04 |.2...2..|........|
|00002f50| 00 01 00 01 00 00 01 00 | 00 00 01 54 00 00 00 54 |........|...T...T|
|00002f60| 00 00 00 46 06 c6 8e 48 | 01 f6 00 00 00 1c 00 46 |...F...H|.......F|
|00002f70| 00 01 4d 50 53 52 00 00 | 00 12 4d 57 42 42 00 00 |..MPSR..|..MWBB..|
|00002f80| 00 1e 03 ed ff ff 00 00 | 00 00 00 00 00 00 03 f0 |........|........|
|00002f90| ff ff 00 00 00 4c 00 00 | 00 00 00 00 00 00 00 00 |.....L..|........|
|00002fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|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 |........|........|
+--------+-------------------------+-------------------------+--------+--------+