home *** CD-ROM | disk | FTP | other *** search
Unknown | 2003-02-28 | 3.8 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 4a 3c 2f 2f 2f 2f 2f 2f |........|J<//////|
|00000010| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000020| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000030| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000040| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000050| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 0d 0a 2f 2f 20 20 20 |////////|/..// |
|00000060| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000070| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000080| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000090| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000a0| 20 20 20 20 20 20 20 20 | 2f 2f 0d 0a 2f 2f 20 20 | |//..// |
|000000b0| 20 24 41 75 74 68 6f 72 | 3a 3a 20 42 6f 62 20 20 | $Author|:: Bob |
|000000c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000f0| 20 20 20 20 20 20 20 20 | 24 2f 2f 0d 0a 2f 2f 20 | |$//..// |
|00000100| 24 57 6f 72 6b 66 69 6c | 65 3a 3a 20 44 53 74 61 |$Workfil|e:: DSta|
|00000110| 74 4d 6f 6e 69 74 6f 72 | 2e 75 63 20 20 20 20 20 |tMonitor|.uc |
|00000120| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000130| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000140| 20 20 20 20 20 20 20 20 | 20 24 2f 2f 0d 0a 2f 2f | | $//..//|
|00000150| 20 24 52 65 76 69 73 69 | 6f 6e 3a 3a 20 31 30 20 | $Revisi|on:: 10 |
|00000160| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000170| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000180| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000190| 20 20 20 20 20 20 20 20 | 20 20 24 2f 2f 0d 0a 2f | | $//../|
|000001a0| 2f 20 20 20 20 20 24 44 | 61 74 65 3a 3a 20 32 2f |/ $D|ate:: 2/|
|000001b0| 32 34 2f 30 33 20 34 3a | 30 31 61 20 20 20 20 20 |24/03 4:|01a |
|000001c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000001d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000001e0| 20 20 20 20 20 20 20 20 | 20 20 20 24 2f 2f 0d 0a | | $//..|
|000001f0| 2f 2f 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |// | |
|00000200| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000210| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000220| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000230| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2f 2f 0d | | //.|
|00000240| 0a 2f 2f 20 28 63 29 20 | 32 30 30 30 2d 32 30 30 |.// (c) |2000-200|
|00000250| 31 20 44 69 67 69 74 61 | 6c 6f 20 53 74 75 64 69 |1 Digita|lo Studi|
|00000260| 6f 73 2c 20 49 6e 63 2e | 20 20 20 20 20 20 20 20 |os, Inc.| |
|00000270| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000280| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2f 2f | | //|
|00000290| 0d 0a 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |..//////|////////|
|000002a0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|000002b0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|000002c0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|000002d0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|000002e0| 2f 0d 0a 63 6c 61 73 73 | 20 44 53 74 61 74 4d 6f |/..class| DStatMo|
|000002f0| 6e 69 74 6f 72 20 65 78 | 74 65 6e 64 73 20 55 57 |nitor ex|tends UW|
|00000300| 69 6e 64 6f 77 57 69 6e | 64 6f 77 3b 0d 0a 0d 0a |indowWin|dow;....|
|00000310| 76 61 72 20 44 53 74 61 | 74 4d 6f 6e 69 74 6f 72 |var DSta|tMonitor|
|00000320| 20 50 72 65 76 4d 6f 6e | 2c 20 4e 65 78 74 4d 6f | PrevMon|, NextMo|
|00000330| 6e 3b 0d 0a 76 61 72 20 | 62 6f 6f 6c 20 62 41 63 |n;..var |bool bAc|
|00000340| 74 69 76 65 3b 0d 0a 0d | 0a 76 61 72 20 69 6e 74 |tive;...|.var int|
|00000350| 20 42 75 74 74 6f 6e 48 | 65 69 67 68 74 2c 20 53 | ButtonH|eight, S|
|00000360| 74 61 74 41 72 65 61 48 | 65 69 67 68 74 2c 20 4d |tatAreaH|eight, M|
|00000370| 61 78 4c 65 6e 67 74 68 | 3b 0d 0a 0d 0a 66 75 6e |axLength|;....fun|
|00000380| 63 74 69 6f 6e 20 44 53 | 74 61 74 4d 6f 6e 69 74 |ction DS|tatMonit|
|00000390| 6f 72 20 41 70 70 65 6e | 64 4d 6f 6e 69 74 6f 72 |or Appen|dMonitor|
|000003a0| 28 20 63 6c 61 73 73 3c | 44 53 74 61 74 4d 6f 6e |( class<|DStatMon|
|000003b0| 69 74 6f 72 3e 20 61 4d | 6f 6e 20 29 0d 0a 7b 0d |itor> aM|on )..{.|
|000003c0| 0a 09 4e 65 78 74 4d 6f | 6e 20 3d 20 44 53 74 61 |..NextMo|n = DSta|
|000003d0| 74 4d 6f 6e 69 74 6f 72 | 28 20 50 61 72 65 6e 74 |tMonitor|( Parent|
|000003e0| 57 69 6e 64 6f 77 2e 43 | 72 65 61 74 65 57 69 6e |Window.C|reateWin|
|000003f0| 64 6f 77 28 20 61 4d 6f | 6e 2c 20 30 2c 20 30 2c |dow( aMo|n, 0, 0,|
|00000400| 20 30 2c 20 30 20 29 20 | 29 3b 0d 0a 09 4e 65 78 | 0, 0 ) |);...Nex|
|00000410| 74 4d 6f 6e 2e 50 72 65 | 76 4d 6f 6e 20 3d 20 53 |tMon.Pre|vMon = S|
|00000420| 45 4c 46 3b 0d 0a 0d 0a | 09 72 65 74 75 72 6e 20 |ELF;....|.return |
|00000430| 4e 65 78 74 4d 6f 6e 3b | 0d 0a 7d 0d 0a 0d 0a 66 |NextMon;|..}....f|
|00000440| 75 6e 63 74 69 6f 6e 20 | 42 65 66 6f 72 65 50 61 |unction |BeforePa|
|00000450| 69 6e 74 28 20 43 61 6e | 76 61 73 20 43 2c 20 66 |int( Can|vas C, f|
|00000460| 6c 6f 61 74 20 58 2c 20 | 66 6c 6f 61 74 20 59 20 |loat X, |float Y |
|00000470| 29 0d 0a 7b 0d 0a 09 57 | 69 6e 48 65 69 67 68 74 |)..{...W|inHeight|
|00000480| 20 3d 20 42 75 74 74 6f | 6e 48 65 69 67 68 74 20 | = Butto|nHeight |
|00000490| 2b 20 53 74 61 74 41 72 | 65 61 48 65 69 67 68 74 |+ StatAr|eaHeight|
|000004a0| 3b 0d 0a 0d 0a 09 69 66 | 20 28 20 50 72 65 76 4d |;.....if| ( PrevM|
|000004b0| 6f 6e 20 21 3d 20 4e 4f | 4e 45 20 29 0d 0a 09 09 |on != NO|NE )....|
|000004c0| 57 69 6e 54 6f 70 20 3d | 20 50 72 65 76 4d 6f 6e |WinTop =| PrevMon|
|000004d0| 2e 57 69 6e 54 6f 70 20 | 2b 20 50 72 65 76 4d 6f |.WinTop |+ PrevMo|
|000004e0| 6e 2e 57 69 6e 48 65 69 | 67 68 74 3b 0d 0a 09 65 |n.WinHei|ght;...e|
|000004f0| 6c 73 65 0d 0a 09 09 57 | 69 6e 54 6f 70 20 3d 20 |lse....W|inTop = |
|00000500| 30 3b 0d 0a 0d 0a 09 57 | 69 6e 4c 65 66 74 20 3d |0;.....W|inLeft =|
|00000510| 20 30 3b 0d 0a 09 57 69 | 6e 57 69 64 74 68 20 3d | 0;...Wi|nWidth =|
|00000520| 20 4d 61 78 28 20 4d 61 | 78 4c 65 6e 67 74 68 2c | Max( Ma|xLength,|
|00000530| 20 50 61 72 65 6e 74 57 | 69 6e 64 6f 77 2e 57 69 | ParentW|indow.Wi|
|00000540| 6e 57 69 64 74 68 20 29 | 3b 0d 0a 7d 0d 0a 0d 0a |nWidth )|;..}....|
|00000550| 66 75 6e 63 74 69 6f 6e | 20 43 6c 69 63 6b 28 20 |function| Click( |
|00000560| 66 6c 6f 61 74 20 58 2c | 20 66 6c 6f 61 74 20 59 |float X,| float Y|
|00000570| 20 29 0d 0a 7b 0d 0a 09 | 53 75 70 65 72 2e 43 6c | )..{...|Super.Cl|
|00000580| 69 63 6b 28 20 58 2c 20 | 59 20 29 3b 0d 0a 0d 0a |ick( X, |Y );....|
|00000590| 09 69 66 20 28 20 21 62 | 41 63 74 69 76 65 20 29 |.if ( !b|Active )|
|000005a0| 0d 0a 09 09 62 41 63 74 | 69 76 65 20 3d 20 54 52 |....bAct|ive = TR|
|000005b0| 55 45 3b 0d 0a 09 65 6c | 73 65 20 69 66 20 28 20 |UE;...el|se if ( |
|000005c0| 59 20 3e 20 30 20 26 26 | 20 59 20 3c 20 42 75 74 |Y > 0 &&| Y < But|
|000005d0| 74 6f 6e 48 65 69 67 68 | 74 20 29 0d 0a 09 09 62 |tonHeigh|t )....b|
|000005e0| 41 63 74 69 76 65 20 3d | 20 46 41 4c 53 45 3b 0d |Active =| FALSE;.|
|000005f0| 0a 7d 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 50 |.}....fu|nction P|
|00000600| 61 69 6e 74 28 20 43 61 | 6e 76 61 73 20 43 2c 20 |aint( Ca|nvas C, |
|00000610| 66 6c 6f 61 74 20 58 2c | 20 66 6c 6f 61 74 20 59 |float X,| float Y|
|00000620| 20 29 0d 0a 7b 0d 0a 09 | 44 72 61 77 42 75 74 74 | )..{...|DrawButt|
|00000630| 6f 6e 28 20 43 2c 20 59 | 20 3e 3d 20 30 20 26 26 |on( C, Y| >= 0 &&|
|00000640| 20 59 20 3c 20 42 75 74 | 74 6f 6e 48 65 69 67 68 | Y < But|tonHeigh|
|00000650| 74 20 26 26 20 58 20 3e | 3d 20 30 20 26 26 20 58 |t && X >|= 0 && X|
|00000660| 20 3c 20 57 69 6e 57 69 | 64 74 68 20 29 3b 0d 0a | < WinWi|dth );..|
|00000670| 09 44 72 61 77 53 74 61 | 74 41 72 65 61 28 20 43 |.DrawSta|tArea( C|
|00000680| 20 29 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 | );..}..|..functi|
|00000690| 6f 6e 20 44 72 61 77 42 | 75 74 74 6f 6e 28 20 43 |on DrawB|utton( C|
|000006a0| 61 6e 76 61 73 20 43 2c | 20 62 6f 6f 6c 20 62 4d |anvas C,| bool bM|
|000006b0| 6f 75 73 65 4f 76 65 72 | 42 75 74 74 6f 6e 20 29 |ouseOver|Button )|
|000006c0| 0d 0a 7b 0d 0a 09 2f 2f | 43 2e 53 74 79 6c 65 20 |..{...//|C.Style |
|000006d0| 3d 20 33 3b 20 2f 2f 74 | 72 61 6e 73 6c 75 63 65 |= 3; //t|ransluce|
|000006e0| 6e 74 0d 0a 09 43 2e 44 | 72 61 77 43 6f 6c 6f 72 |nt...C.D|rawColor|
|000006f0| 20 3d 20 63 6c 61 73 73 | 27 43 61 6e 76 61 73 27 | = class|'Canvas'|
|00000700| 2e 73 74 61 74 69 63 2e | 47 65 74 43 6f 6c 6f 72 |.static.|GetColor|
|00000710| 28 20 32 31 32 2c 20 32 | 30 38 2c 20 32 30 30 20 |( 212, 2|08, 200 |
|00000720| 29 3b 0d 0a 0d 0a 09 44 | 72 61 77 53 74 72 65 74 |);.....D|rawStret|
|00000730| 63 68 65 64 54 65 78 74 | 75 72 65 28 20 43 2c 20 |chedText|ure( C, |
|00000740| 30 2c 20 30 2c 20 57 69 | 6e 57 69 64 74 68 2c 20 |0, 0, Wi|nWidth, |
|00000750| 42 75 74 74 6f 6e 48 65 | 69 67 68 74 2c 20 54 65 |ButtonHe|ight, Te|
|00000760| 78 74 75 72 65 27 55 57 | 69 6e 64 6f 77 2e 57 68 |xture'UW|indow.Wh|
|00000770| 69 74 65 54 65 78 74 75 | 72 65 27 20 29 3b 0d 0a |iteTextu|re' );..|
|00000780| 0d 0a 09 69 66 20 28 20 | 21 28 62 4d 6f 75 73 65 |...if ( |!(bMouse|
|00000790| 44 6f 77 6e 20 26 26 20 | 62 4d 6f 75 73 65 4f 76 |Down && |bMouseOv|
|000007a0| 65 72 42 75 74 74 6f 6e | 29 20 29 0d 0a 09 09 43 |erButton|) )....C|
|000007b0| 2e 44 72 61 77 43 6f 6c | 6f 72 20 3d 20 63 6c 61 |.DrawCol|or = cla|
|000007c0| 73 73 27 43 61 6e 76 61 | 73 27 2e 73 74 61 74 69 |ss'Canva|s'.stati|
|000007d0| 63 2e 47 65 74 43 6f 6c | 6f 72 28 20 32 35 35 2c |c.GetCol|or( 255,|
|000007e0| 20 32 35 35 2c 20 32 35 | 35 20 29 3b 0d 0a 09 65 | 255, 25|5 );...e|
|000007f0| 6c 73 65 0d 0a 09 09 43 | 2e 44 72 61 77 43 6f 6c |lse....C|.DrawCol|
|00000800| 6f 72 20 3d 20 63 6c 61 | 73 73 27 43 61 6e 76 61 |or = cla|ss'Canva|
|00000810| 73 27 2e 73 74 61 74 69 | 63 2e 47 65 74 43 6f 6c |s'.stati|c.GetCol|
|00000820| 6f 72 28 20 31 31 32 2c | 20 31 30 34 2c 20 39 36 |or( 112,| 104, 96|
|00000830| 20 29 3b 0d 0a 0d 0a 09 | 44 72 61 77 53 74 72 65 | );.....|DrawStre|
|00000840| 74 63 68 65 64 54 65 78 | 74 75 72 65 28 20 43 2c |tchedTex|ture( C,|
|00000850| 20 30 2c 20 30 2c 20 31 | 2c 20 42 75 74 74 6f 6e | 0, 0, 1|, Button|
|00000860| 48 65 69 67 68 74 2c 20 | 54 65 78 74 75 72 65 27 |Height, |Texture'|
|00000870| 55 57 69 6e 64 6f 77 2e | 57 68 69 74 65 54 65 78 |UWindow.|WhiteTex|
|00000880| 74 75 72 65 27 20 29 3b | 0d 0a 09 44 72 61 77 53 |ture' );|...DrawS|
|00000890| 74 72 65 74 63 68 65 64 | 54 65 78 74 75 72 65 28 |tretched|Texture(|
|000008a0| 20 43 2c 20 30 2c 20 30 | 2c 20 57 69 6e 57 69 64 | C, 0, 0|, WinWid|
|000008b0| 74 68 2c 20 31 2c 20 54 | 65 78 74 75 72 65 27 55 |th, 1, T|exture'U|
|000008c0| 57 69 6e 64 6f 77 2e 57 | 68 69 74 65 54 65 78 74 |Window.W|hiteText|
|000008d0| 75 72 65 27 20 29 3b 0d | 0a 0d 0a 09 69 66 20 28 |ure' );.|....if (|
|000008e0| 20 21 28 62 4d 6f 75 73 | 65 44 6f 77 6e 20 26 26 | !(bMous|eDown &&|
|000008f0| 20 62 4d 6f 75 73 65 4f | 76 65 72 42 75 74 74 6f | bMouseO|verButto|
|00000900| 6e 29 20 29 0d 0a 09 09 | 43 2e 44 72 61 77 43 6f |n) )....|C.DrawCo|
|00000910| 6c 6f 72 20 3d 20 63 6c | 61 73 73 27 43 61 6e 76 |lor = cl|ass'Canv|
|00000920| 61 73 27 2e 73 74 61 74 | 69 63 2e 47 65 74 43 6f |as'.stat|ic.GetCo|
|00000930| 6c 6f 72 28 20 31 31 32 | 2c 20 31 30 34 2c 20 39 |lor( 112|, 104, 9|
|00000940| 36 20 29 3b 0d 0a 09 65 | 6c 73 65 0d 0a 09 09 43 |6 );...e|lse....C|
|00000950| 2e 44 72 61 77 43 6f 6c | 6f 72 20 3d 20 63 6c 61 |.DrawCol|or = cla|
|00000960| 73 73 27 43 61 6e 76 61 | 73 27 2e 73 74 61 74 69 |ss'Canva|s'.stati|
|00000970| 63 2e 47 65 74 43 6f 6c | 6f 72 28 20 32 35 35 2c |c.GetCol|or( 255,|
|00000980| 20 32 35 35 2c 20 32 35 | 35 20 29 3b 0d 0a 0d 0a | 255, 25|5 );....|
|00000990| 09 44 72 61 77 53 74 72 | 65 74 63 68 65 64 54 65 |.DrawStr|etchedTe|
|000009a0| 78 74 75 72 65 28 20 43 | 2c 20 57 69 6e 57 69 64 |xture( C|, WinWid|
|000009b0| 74 68 20 2d 20 31 2c 20 | 30 2c 20 31 2c 20 42 75 |th - 1, |0, 1, Bu|
|000009c0| 74 74 6f 6e 48 65 69 67 | 68 74 2c 20 54 65 78 74 |ttonHeig|ht, Text|
|000009d0| 75 72 65 27 55 57 69 6e | 64 6f 77 2e 57 68 69 74 |ure'UWin|dow.Whit|
|000009e0| 65 54 65 78 74 75 72 65 | 27 20 29 3b 0d 0a 09 44 |eTexture|' );...D|
|000009f0| 72 61 77 53 74 72 65 74 | 63 68 65 64 54 65 78 74 |rawStret|chedText|
|00000a00| 75 72 65 28 20 43 2c 20 | 30 2c 20 42 75 74 74 6f |ure( C, |0, Butto|
|00000a10| 6e 48 65 69 67 68 74 20 | 2d 20 31 2c 20 57 69 6e |nHeight |- 1, Win|
|00000a20| 57 69 64 74 68 2c 20 31 | 2c 20 54 65 78 74 75 72 |Width, 1|, Textur|
|00000a30| 65 27 55 57 69 6e 64 6f | 77 2e 57 68 69 74 65 54 |e'UWindo|w.WhiteT|
|00000a40| 65 78 74 75 72 65 27 20 | 29 3b 0d 0a 0d 0a 09 2f |exture' |);...../|
|00000a50| 2f 43 2e 53 74 79 6c 65 | 20 3d 20 31 3b 20 2f 2f |/C.Style| = 1; //|
|00000a60| 6e 6f 72 6d 61 6c 2e 0d | 0a 09 69 66 20 28 20 62 |normal..|..if ( b|
|00000a70| 4d 6f 75 73 65 4f 76 65 | 72 42 75 74 74 6f 6e 20 |MouseOve|rButton |
|00000a80| 29 0d 0a 09 09 43 2e 44 | 72 61 77 43 6f 6c 6f 72 |)....C.D|rawColor|
|00000a90| 20 3d 20 63 6c 61 73 73 | 27 43 61 6e 76 61 73 27 | = class|'Canvas'|
|00000aa0| 2e 73 74 61 74 69 63 2e | 47 65 74 43 6f 6c 6f 72 |.static.|GetColor|
|00000ab0| 28 20 30 2c 20 30 2c 20 | 31 36 30 20 29 3b 0d 0a |( 0, 0, |160 );..|
|00000ac0| 09 65 6c 73 65 0d 0a 09 | 09 43 2e 44 72 61 77 43 |.else...|.C.DrawC|
|00000ad0| 6f 6c 6f 72 20 3d 20 63 | 6c 61 73 73 27 43 61 6e |olor = c|lass'Can|
|00000ae0| 76 61 73 27 2e 73 74 61 | 74 69 63 2e 47 65 74 43 |vas'.sta|tic.GetC|
|00000af0| 6f 6c 6f 72 28 20 30 2c | 20 30 2c 20 30 20 29 3b |olor( 0,| 0, 0 );|
|00000b00| 0d 0a 0d 0a 09 43 2e 46 | 6f 6e 74 20 3d 20 52 6f |.....C.F|ont = Ro|
|00000b10| 6f 74 2e 46 6f 6e 74 73 | 5b 46 5f 42 6f 6c 64 5d |ot.Fonts|[F_Bold]|
|00000b20| 3b 0d 0a 0d 0a 09 43 6c | 69 70 54 65 78 74 28 20 |;.....Cl|ipText( |
|00000b30| 43 2c 20 35 2c 20 32 2c | 20 47 65 74 54 69 74 6c |C, 5, 2,| GetTitl|
|00000b40| 65 28 29 20 29 3b 0d 0a | 7d 0d 0a 0d 0a 66 75 6e |e() );..|}....fun|
|00000b50| 63 74 69 6f 6e 20 44 72 | 61 77 53 74 61 74 41 72 |ction Dr|awStatAr|
|00000b60| 65 61 28 20 43 61 6e 76 | 61 73 20 43 20 29 0d 0a |ea( Canv|as C )..|
|00000b70| 7b 0d 0a 09 6c 6f 63 61 | 6c 20 69 6e 74 20 69 2c |{...loca|l int i,|
|00000b80| 20 53 74 61 74 43 6f 75 | 6e 74 2c 20 59 43 75 72 | StatCou|nt, YCur|
|00000b90| 73 6f 72 3b 0d 0a 09 6c | 6f 63 61 6c 20 66 6c 6f |sor;...l|ocal flo|
|00000ba0| 61 74 20 74 58 2c 20 74 | 59 3b 0d 0a 0d 0a 09 53 |at tX, t|Y;.....S|
|00000bb0| 74 61 74 41 72 65 61 48 | 65 69 67 68 74 20 3d 20 |tatAreaH|eight = |
|00000bc0| 30 3b 0d 0a 0d 0a 09 69 | 66 20 28 20 21 62 41 63 |0;.....i|f ( !bAc|
|00000bd0| 74 69 76 65 20 29 0d 0a | 09 7b 0d 0a 09 09 4d 61 |tive )..|.{....Ma|
|00000be0| 78 4c 65 6e 67 74 68 20 | 3d 20 30 3b 0d 0a 09 09 |xLength |= 0;....|
|00000bf0| 72 65 74 75 72 6e 3b 0d | 0a 09 7d 0d 0a 0d 0a 09 |return;.|..}.....|
|00000c00| 43 2e 46 6f 6e 74 20 3d | 20 43 2e 53 6d 61 6c 6c |C.Font =| C.Small|
|00000c10| 46 6f 6e 74 3b 0d 0a 09 | 53 74 61 74 41 72 65 61 |Font;...|StatArea|
|00000c20| 48 65 69 67 68 74 20 2b | 3d 20 33 3b 0d 0a 09 54 |Height +|= 3;...T|
|00000c30| 65 78 74 53 69 7a 65 28 | 20 43 2c 20 22 62 6c 61 |extSize(| C, "bla|
|00000c40| 68 22 2c 20 74 58 2c 20 | 74 59 20 29 3b 0d 0a 09 |h", tX, |tY );...|
|00000c50| 74 59 20 2b 3d 20 32 3b | 0d 0a 09 77 68 69 6c 65 |tY += 2;|...while|
|00000c60| 28 20 47 65 74 53 74 61 | 74 53 74 72 69 6e 67 28 |( GetSta|tString(|
|00000c70| 20 69 20 29 20 21 3d 20 | 22 22 20 29 0d 0a 09 7b | i ) != |"" )...{|
|00000c80| 0d 0a 09 09 53 74 61 74 | 41 72 65 61 48 65 69 67 |....Stat|AreaHeig|
|00000c90| 68 74 20 2b 3d 20 74 59 | 3b 0d 0a 09 09 69 2b 2b |ht += tY|;....i++|
|00000ca0| 3b 0d 0a 09 7d 0d 0a 0d | 0a 09 53 74 61 74 41 72 |;...}...|..StatAr|
|00000cb0| 65 61 48 65 69 67 68 74 | 20 3d 20 4d 61 78 28 20 |eaHeight| = Max( |
|00000cc0| 31 36 2c 20 53 74 61 74 | 41 72 65 61 48 65 69 67 |16, Stat|AreaHeig|
|00000cd0| 68 74 20 29 3b 0d 0a 0d | 0a 09 2f 2f 20 64 72 61 |ht );...|..// dra|
|00000ce0| 77 20 62 6c 61 63 6b 20 | 62 61 63 6b 67 72 6f 75 |w black |backgrou|
|00000cf0| 6e 64 0d 0a 09 44 72 61 | 77 53 74 72 65 74 63 68 |nd...Dra|wStretch|
|00000d00| 65 64 54 65 78 74 75 72 | 65 28 20 43 2c 20 30 2c |edTextur|e( C, 0,|
|00000d10| 20 42 75 74 74 6f 6e 48 | 65 69 67 68 74 2c 20 57 | ButtonH|eight, W|
|00000d20| 69 6e 57 69 64 74 68 2c | 20 53 74 61 74 41 72 65 |inWidth,| StatAre|
|00000d30| 61 48 65 69 67 68 74 2c | 20 54 65 78 74 75 72 65 |aHeight,| Texture|
|00000d40| 27 55 57 69 6e 64 6f 77 | 2e 42 6c 61 63 6b 54 65 |'UWindow|.BlackTe|
|00000d50| 78 74 75 72 65 27 20 29 | 3b 0d 0a 0d 0a 09 43 2e |xture' )|;.....C.|
|00000d60| 44 72 61 77 43 6f 6c 6f | 72 20 3d 20 63 6c 61 73 |DrawColo|r = clas|
|00000d70| 73 27 43 61 6e 76 61 73 | 27 2e 73 74 61 74 69 63 |s'Canvas|'.static|
|00000d80| 2e 47 65 74 43 6f 6c 6f | 72 28 20 32 35 35 2c 20 |.GetColo|r( 255, |
|00000d90| 32 35 35 2c 20 32 35 35 | 20 29 3b 0d 0a 0d 0a 09 |255, 255| );.....|
|00000da0| 53 74 61 74 43 6f 75 6e | 74 20 3d 20 69 3b 0d 0a |StatCoun|t = i;..|
|00000db0| 09 66 6f 72 28 20 69 20 | 3d 20 30 3b 20 69 20 3c |.for( i |= 0; i <|
|00000dc0| 3d 20 53 74 61 74 43 6f | 75 6e 74 3b 20 69 2b 2b |= StatCo|unt; i++|
|00000dd0| 20 29 0d 0a 09 7b 0d 0a | 09 09 54 65 78 74 53 69 | )...{..|..TextSi|
|00000de0| 7a 65 28 20 43 2c 20 47 | 65 74 53 74 61 74 53 74 |ze( C, G|etStatSt|
|00000df0| 72 69 6e 67 28 69 29 2c | 20 74 58 2c 20 74 59 20 |ring(i),| tX, tY |
|00000e00| 29 3b 0d 0a 09 09 74 59 | 2b 3d 32 3b 0d 0a 09 09 |);....tY|+=2;....|
|00000e10| 59 43 75 72 73 6f 72 20 | 3d 20 74 59 20 2a 20 69 |YCursor |= tY * i|
|00000e20| 20 2b 20 28 42 75 74 74 | 6f 6e 48 65 69 67 68 74 | + (Butt|onHeight|
|00000e30| 2b 33 29 3b 0d 0a 09 09 | 43 6c 69 70 54 65 78 74 |+3);....|ClipText|
|00000e40| 28 20 43 2c 20 34 2c 20 | 59 43 75 72 73 6f 72 2c |( C, 4, |YCursor,|
|00000e50| 20 47 65 74 53 74 61 74 | 53 74 72 69 6e 67 28 20 | GetStat|String( |
|00000e60| 69 20 29 20 29 3b 0d 0a | 09 09 4d 61 78 4c 65 6e |i ) );..|..MaxLen|
|00000e70| 67 74 68 20 3d 20 4d 61 | 78 28 20 4d 61 78 4c 65 |gth = Ma|x( MaxLe|
|00000e80| 6e 67 74 68 2c 20 74 58 | 20 2b 20 38 20 29 3b 0d |ngth, tX| + 8 );.|
|00000e90| 0a 09 7d 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |..}..}..|..functi|
|00000ea0| 6f 6e 20 53 74 72 69 6e | 67 20 47 65 74 53 74 61 |on Strin|g GetSta|
|00000eb0| 74 53 74 72 69 6e 67 28 | 20 69 6e 74 20 49 6e 64 |tString(| int Ind|
|00000ec0| 65 78 20 29 0d 0a 7b 0d | 0a 09 72 65 74 75 72 6e |ex )..{.|..return|
|00000ed0| 20 22 22 3b 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 | "";..}.|...funct|
|00000ee0| 69 6f 6e 20 73 74 72 69 | 6e 67 20 47 65 74 54 69 |ion stri|ng GetTi|
|00000ef0| 74 6c 65 28 29 0d 0a 7b | 0d 0a 09 72 65 74 75 72 |tle()..{|...retur|
|00000f00| 6e 20 22 44 65 66 61 75 | 6c 74 22 3b 0d 0a 7d 0d |n "Defau|lt";..}.|
|00000f10| 0a 0d 0a 00 | |.... | |
+--------+-------------------------+-------------------------+--------+--------+