home *** CD-ROM | disk | FTP | other *** search
Unknown | 2002-05-07 | 4.6 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 4a 2f 2f 3d 3d 3d 3d |........|JJ//====|
|00000010| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000020| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000030| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000040| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000050| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 0d 0a 2f 2f 20 55 57 |========|=..// UW|
|00000060| 69 6e 64 6f 77 42 75 74 | 74 6f 6e 20 2d 20 41 20 |indowBut|ton - A |
|00000070| 62 75 74 74 6f 6e 0d 0a | 2f 2f 3d 3d 3d 3d 3d 3d |button..|//======|
|00000080| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000090| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000c0| 3d 3d 3d 3d 3d 3d 3d 0d | 0a 63 6c 61 73 73 20 55 |=======.|.class U|
|000000d0| 57 69 6e 64 6f 77 42 75 | 74 74 6f 6e 20 65 78 74 |WindowBu|tton ext|
|000000e0| 65 6e 64 73 20 55 57 69 | 6e 64 6f 77 44 69 61 6c |ends UWi|ndowDial|
|000000f0| 6f 67 43 6f 6e 74 72 6f | 6c 3b 0d 0a 0d 0a 76 61 |ogContro|l;....va|
|00000100| 72 20 62 6f 6f 6c 09 09 | 62 44 69 73 61 62 6c 65 |r bool..|bDisable|
|00000110| 64 3b 0d 0a 76 61 72 20 | 62 6f 6f 6c 09 09 62 53 |d;..var |bool..bS|
|00000120| 74 72 65 74 63 68 65 64 | 3b 0d 0a 76 61 72 20 74 |tretched|;..var t|
|00000130| 65 78 74 75 72 65 09 09 | 55 70 54 65 78 74 75 72 |exture..|UpTextur|
|00000140| 65 2c 20 44 6f 77 6e 54 | 65 78 74 75 72 65 2c 20 |e, DownT|exture, |
|00000150| 44 69 73 61 62 6c 65 64 | 54 65 78 74 75 72 65 2c |Disabled|Texture,|
|00000160| 20 4f 76 65 72 54 65 78 | 74 75 72 65 3b 0d 0a 76 | OverTex|ture;..v|
|00000170| 61 72 20 52 65 67 69 6f | 6e 09 09 55 70 52 65 67 |ar Regio|n..UpReg|
|00000180| 69 6f 6e 2c 20 20 44 6f | 77 6e 52 65 67 69 6f 6e |ion, Do|wnRegion|
|00000190| 2c 20 20 44 69 73 61 62 | 6c 65 64 52 65 67 69 6f |, Disab|ledRegio|
|000001a0| 6e 2c 20 20 4f 76 65 72 | 52 65 67 69 6f 6e 3b 0d |n, Over|Region;.|
|000001b0| 0a 76 61 72 20 62 6f 6f | 6c 09 09 62 55 73 65 52 |.var boo|l..bUseR|
|000001c0| 65 67 69 6f 6e 3b 0d 0a | 76 61 72 20 66 6c 6f 61 |egion;..|var floa|
|000001d0| 74 09 09 52 65 67 69 6f | 6e 53 63 61 6c 65 3b 0d |t..Regio|nScale;.|
|000001e0| 0a 76 61 72 20 73 74 72 | 69 6e 67 09 09 54 6f 6f |.var str|ing..Too|
|000001f0| 6c 54 69 70 53 74 72 69 | 6e 67 3b 0d 0a 76 61 72 |lTipStri|ng;..var|
|00000200| 20 66 6c 6f 61 74 09 09 | 49 6d 61 67 65 58 2c 20 | float..|ImageX, |
|00000210| 49 6d 61 67 65 59 3b 0d | 0a 76 61 72 20 73 6f 75 |ImageY;.|.var sou|
|00000220| 6e 64 09 09 4f 76 65 72 | 53 6f 75 6e 64 2c 20 44 |nd..Over|Sound, D|
|00000230| 6f 77 6e 53 6f 75 6e 64 | 3b 0d 0a 0d 0a 66 75 6e |ownSound|;....fun|
|00000240| 63 74 69 6f 6e 20 43 72 | 65 61 74 65 64 28 29 0d |ction Cr|eated().|
|00000250| 0a 7b 0d 0a 09 53 75 70 | 65 72 2e 43 72 65 61 74 |.{...Sup|er.Creat|
|00000260| 65 64 28 29 3b 0d 0a 0d | 0a 09 49 6d 61 67 65 58 |ed();...|..ImageX|
|00000270| 20 3d 20 30 3b 0d 0a 09 | 49 6d 61 67 65 59 20 3d | = 0;...|ImageY =|
|00000280| 20 30 3b 0d 0a 09 54 65 | 78 74 58 20 3d 20 30 3b | 0;...Te|xtX = 0;|
|00000290| 0d 0a 09 54 65 78 74 59 | 20 3d 20 30 3b 0d 0a 09 |...TextY| = 0;...|
|000002a0| 52 65 67 69 6f 6e 53 63 | 61 6c 65 20 3d 20 31 3b |RegionSc|ale = 1;|
|000002b0| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|000002c0| 42 65 66 6f 72 65 50 61 | 69 6e 74 28 43 61 6e 76 |BeforePa|int(Canv|
|000002d0| 61 73 20 43 2c 20 66 6c | 6f 61 74 20 58 2c 20 66 |as C, fl|oat X, f|
|000002e0| 6c 6f 61 74 20 59 29 0d | 0a 7b 0d 0a 09 43 2e 46 |loat Y).|.{...C.F|
|000002f0| 6f 6e 74 20 3d 20 52 6f | 6f 74 2e 46 6f 6e 74 73 |ont = Ro|ot.Fonts|
|00000300| 5b 46 6f 6e 74 5d 3b 0d | 0a 7d 0d 0a 0d 0a 66 75 |[Font];.|.}....fu|
|00000310| 6e 63 74 69 6f 6e 20 50 | 61 69 6e 74 28 43 61 6e |nction P|aint(Can|
|00000320| 76 61 73 20 43 2c 20 66 | 6c 6f 61 74 20 58 2c 20 |vas C, f|loat X, |
|00000330| 66 6c 6f 61 74 20 59 29 | 0d 0a 7b 0d 0a 09 43 2e |float Y)|..{...C.|
|00000340| 46 6f 6e 74 20 3d 20 52 | 6f 6f 74 2e 46 6f 6e 74 |Font = R|oot.Font|
|00000350| 73 5b 46 6f 6e 74 5d 3b | 0d 0a 0d 0a 09 69 66 28 |s[Font];|.....if(|
|00000360| 62 44 69 73 61 62 6c 65 | 64 29 20 7b 0d 0a 09 09 |bDisable|d) {....|
|00000370| 69 66 28 44 69 73 61 62 | 6c 65 64 54 65 78 74 75 |if(Disab|ledTextu|
|00000380| 72 65 20 21 3d 20 4e 6f | 6e 65 29 0d 0a 09 09 7b |re != No|ne)....{|
|00000390| 0d 0a 09 09 09 69 66 28 | 62 55 73 65 52 65 67 69 |.....if(|bUseRegi|
|000003a0| 6f 6e 20 26 26 20 62 53 | 74 72 65 74 63 68 65 64 |on && bS|tretched|
|000003b0| 29 0d 0a 09 09 09 09 44 | 72 61 77 53 74 72 65 74 |)......D|rawStret|
|000003c0| 63 68 65 64 54 65 78 74 | 75 72 65 53 65 67 6d 65 |chedText|ureSegme|
|000003d0| 6e 74 28 20 43 2c 20 49 | 6d 61 67 65 58 2c 20 49 |nt( C, I|mageX, I|
|000003e0| 6d 61 67 65 59 2c 20 57 | 69 6e 57 69 64 74 68 2c |mageY, W|inWidth,|
|000003f0| 20 57 69 6e 48 65 69 67 | 68 74 2c 20 0d 0a 09 09 | WinHeig|ht, ....|
|00000400| 09 09 09 09 09 09 09 09 | 09 44 69 73 61 62 6c 65 |........|.Disable|
|00000410| 64 52 65 67 69 6f 6e 2e | 58 2c 20 44 69 73 61 62 |dRegion.|X, Disab|
|00000420| 6c 65 64 52 65 67 69 6f | 6e 2e 59 2c 20 0d 0a 09 |ledRegio|n.Y, ...|
|00000430| 09 09 09 09 09 09 09 09 | 09 09 44 69 73 61 62 6c |........|..Disabl|
|00000440| 65 64 52 65 67 69 6f 6e | 2e 57 2c 20 44 69 73 61 |edRegion|.W, Disa|
|00000450| 62 6c 65 64 52 65 67 69 | 6f 6e 2e 48 2c 20 44 69 |bledRegi|on.H, Di|
|00000460| 73 61 62 6c 65 64 54 65 | 78 74 75 72 65 20 29 3b |sabledTe|xture );|
|00000470| 0d 0a 09 09 09 65 6c 73 | 65 20 69 66 28 62 55 73 |.....els|e if(bUs|
|00000480| 65 52 65 67 69 6f 6e 29 | 0d 0a 09 09 09 09 44 72 |eRegion)|......Dr|
|00000490| 61 77 53 74 72 65 74 63 | 68 65 64 54 65 78 74 75 |awStretc|hedTextu|
|000004a0| 72 65 53 65 67 6d 65 6e | 74 28 20 43 2c 20 49 6d |reSegmen|t( C, Im|
|000004b0| 61 67 65 58 2c 20 49 6d | 61 67 65 59 2c 20 44 69 |ageX, Im|ageY, Di|
|000004c0| 73 61 62 6c 65 64 52 65 | 67 69 6f 6e 2e 57 2a 52 |sabledRe|gion.W*R|
|000004d0| 65 67 69 6f 6e 53 63 61 | 6c 65 2c 20 44 69 73 61 |egionSca|le, Disa|
|000004e0| 62 6c 65 64 52 65 67 69 | 6f 6e 2e 48 2a 52 65 67 |bledRegi|on.H*Reg|
|000004f0| 69 6f 6e 53 63 61 6c 65 | 2c 20 0d 0a 09 09 09 09 |ionScale|, ......|
|00000500| 09 09 09 09 09 09 09 44 | 69 73 61 62 6c 65 64 52 |.......D|isabledR|
|00000510| 65 67 69 6f 6e 2e 58 2c | 20 44 69 73 61 62 6c 65 |egion.X,| Disable|
|00000520| 64 52 65 67 69 6f 6e 2e | 59 2c 20 0d 0a 09 09 09 |dRegion.|Y, .....|
|00000530| 09 09 09 09 09 09 09 09 | 44 69 73 61 62 6c 65 64 |........|Disabled|
|00000540| 52 65 67 69 6f 6e 2e 57 | 2c 20 44 69 73 61 62 6c |Region.W|, Disabl|
|00000550| 65 64 52 65 67 69 6f 6e | 2e 48 2c 20 44 69 73 61 |edRegion|.H, Disa|
|00000560| 62 6c 65 64 54 65 78 74 | 75 72 65 20 29 3b 0d 0a |bledText|ure );..|
|00000570| 09 09 09 65 6c 73 65 20 | 69 66 28 62 53 74 72 65 |...else |if(bStre|
|00000580| 74 63 68 65 64 29 0d 0a | 09 09 09 09 44 72 61 77 |tched)..|....Draw|
|00000590| 53 74 72 65 74 63 68 65 | 64 54 65 78 74 75 72 65 |Stretche|dTexture|
|000005a0| 28 20 43 2c 20 49 6d 61 | 67 65 58 2c 20 49 6d 61 |( C, Ima|geX, Ima|
|000005b0| 67 65 59 2c 20 57 69 6e | 57 69 64 74 68 2c 20 57 |geY, Win|Width, W|
|000005c0| 69 6e 48 65 69 67 68 74 | 2c 20 44 69 73 61 62 6c |inHeight|, Disabl|
|000005d0| 65 64 54 65 78 74 75 72 | 65 20 29 3b 0d 0a 09 09 |edTextur|e );....|
|000005e0| 09 65 6c 73 65 0d 0a 09 | 09 09 09 44 72 61 77 43 |.else...|...DrawC|
|000005f0| 6c 69 70 70 65 64 54 65 | 78 74 75 72 65 28 20 43 |lippedTe|xture( C|
|00000600| 2c 20 49 6d 61 67 65 58 | 2c 20 49 6d 61 67 65 59 |, ImageX|, ImageY|
|00000610| 2c 20 44 69 73 61 62 6c | 65 64 54 65 78 74 75 72 |, Disabl|edTextur|
|00000620| 65 29 3b 0d 0a 09 09 7d | 0d 0a 09 7d 20 65 6c 73 |e);....}|...} els|
|00000630| 65 20 7b 0d 0a 09 09 69 | 66 28 62 4d 6f 75 73 65 |e {....i|f(bMouse|
|00000640| 44 6f 77 6e 29 0d 0a 09 | 09 7b 0d 0a 09 09 09 69 |Down)...|.{.....i|
|00000650| 66 28 44 6f 77 6e 54 65 | 78 74 75 72 65 20 21 3d |f(DownTe|xture !=|
|00000660| 20 4e 6f 6e 65 29 0d 0a | 09 09 09 7b 0d 0a 09 09 | None)..|...{....|
|00000670| 09 09 69 66 28 62 55 73 | 65 52 65 67 69 6f 6e 20 |..if(bUs|eRegion |
|00000680| 26 26 20 62 53 74 72 65 | 74 63 68 65 64 29 0d 0a |&& bStre|tched)..|
|00000690| 09 09 09 09 09 44 72 61 | 77 53 74 72 65 74 63 68 |.....Dra|wStretch|
|000006a0| 65 64 54 65 78 74 75 72 | 65 53 65 67 6d 65 6e 74 |edTextur|eSegment|
|000006b0| 28 20 43 2c 20 49 6d 61 | 67 65 58 2c 20 49 6d 61 |( C, Ima|geX, Ima|
|000006c0| 67 65 59 2c 20 57 69 6e | 57 69 64 74 68 2c 20 57 |geY, Win|Width, W|
|000006d0| 69 6e 48 65 69 67 68 74 | 2c 20 0d 0a 09 09 09 09 |inHeight|, ......|
|000006e0| 09 09 09 09 09 09 09 09 | 44 6f 77 6e 52 65 67 69 |........|DownRegi|
|000006f0| 6f 6e 2e 58 2c 20 44 6f | 77 6e 52 65 67 69 6f 6e |on.X, Do|wnRegion|
|00000700| 2e 59 2c 20 0d 0a 09 09 | 09 09 09 09 09 09 09 09 |.Y, ....|........|
|00000710| 09 09 44 6f 77 6e 52 65 | 67 69 6f 6e 2e 57 2c 20 |..DownRe|gion.W, |
|00000720| 44 6f 77 6e 52 65 67 69 | 6f 6e 2e 48 2c 20 44 6f |DownRegi|on.H, Do|
|00000730| 77 6e 54 65 78 74 75 72 | 65 20 29 3b 0d 0a 09 09 |wnTextur|e );....|
|00000740| 09 09 65 6c 73 65 20 69 | 66 28 62 55 73 65 52 65 |..else i|f(bUseRe|
|00000750| 67 69 6f 6e 29 0d 0a 09 | 09 09 09 09 44 72 61 77 |gion)...|....Draw|
|00000760| 53 74 72 65 74 63 68 65 | 64 54 65 78 74 75 72 65 |Stretche|dTexture|
|00000770| 53 65 67 6d 65 6e 74 28 | 20 43 2c 20 49 6d 61 67 |Segment(| C, Imag|
|00000780| 65 58 2c 20 49 6d 61 67 | 65 59 2c 20 44 6f 77 6e |eX, Imag|eY, Down|
|00000790| 52 65 67 69 6f 6e 2e 57 | 2a 52 65 67 69 6f 6e 53 |Region.W|*RegionS|
|000007a0| 63 61 6c 65 2c 20 44 6f | 77 6e 52 65 67 69 6f 6e |cale, Do|wnRegion|
|000007b0| 2e 48 2a 52 65 67 69 6f | 6e 53 63 61 6c 65 2c 20 |.H*Regio|nScale, |
|000007c0| 0d 0a 09 09 09 09 09 09 | 09 09 09 09 09 09 44 6f |........|......Do|
|000007d0| 77 6e 52 65 67 69 6f 6e | 2e 58 2c 20 44 6f 77 6e |wnRegion|.X, Down|
|000007e0| 52 65 67 69 6f 6e 2e 59 | 2c 20 0d 0a 09 09 09 09 |Region.Y|, ......|
|000007f0| 09 09 09 09 09 09 09 09 | 44 6f 77 6e 52 65 67 69 |........|DownRegi|
|00000800| 6f 6e 2e 57 2c 20 44 6f | 77 6e 52 65 67 69 6f 6e |on.W, Do|wnRegion|
|00000810| 2e 48 2c 20 44 6f 77 6e | 54 65 78 74 75 72 65 20 |.H, Down|Texture |
|00000820| 29 3b 0d 0a 09 09 09 09 | 65 6c 73 65 20 69 66 28 |);......|else if(|
|00000830| 62 53 74 72 65 74 63 68 | 65 64 29 0d 0a 09 09 09 |bStretch|ed).....|
|00000840| 09 09 44 72 61 77 53 74 | 72 65 74 63 68 65 64 54 |..DrawSt|retchedT|
|00000850| 65 78 74 75 72 65 28 20 | 43 2c 20 49 6d 61 67 65 |exture( |C, Image|
|00000860| 58 2c 20 49 6d 61 67 65 | 59 2c 20 57 69 6e 57 69 |X, Image|Y, WinWi|
|00000870| 64 74 68 2c 20 57 69 6e | 48 65 69 67 68 74 2c 20 |dth, Win|Height, |
|00000880| 44 6f 77 6e 54 65 78 74 | 75 72 65 20 29 3b 0d 0a |DownText|ure );..|
|00000890| 09 09 09 09 65 6c 73 65 | 0d 0a 09 09 09 09 09 44 |....else|.......D|
|000008a0| 72 61 77 43 6c 69 70 70 | 65 64 54 65 78 74 75 72 |rawClipp|edTextur|
|000008b0| 65 28 20 43 2c 20 49 6d | 61 67 65 58 2c 20 49 6d |e( C, Im|ageX, Im|
|000008c0| 61 67 65 59 2c 20 44 6f | 77 6e 54 65 78 74 75 72 |ageY, Do|wnTextur|
|000008d0| 65 29 3b 0d 0a 09 09 09 | 7d 0d 0a 09 09 7d 20 65 |e);.....|}....} e|
|000008e0| 6c 73 65 20 7b 0d 0a 09 | 09 09 69 66 28 4d 6f 75 |lse {...|..if(Mou|
|000008f0| 73 65 49 73 4f 76 65 72 | 28 29 29 20 7b 0d 0a 09 |seIsOver|()) {...|
|00000900| 09 09 09 69 66 28 4f 76 | 65 72 54 65 78 74 75 72 |...if(Ov|erTextur|
|00000910| 65 20 21 3d 20 4e 6f 6e | 65 29 0d 0a 09 09 09 09 |e != Non|e)......|
|00000920| 7b 0d 0a 09 09 09 09 09 | 69 66 28 62 55 73 65 52 |{.......|if(bUseR|
|00000930| 65 67 69 6f 6e 20 26 26 | 20 62 53 74 72 65 74 63 |egion &&| bStretc|
|00000940| 68 65 64 29 0d 0a 09 09 | 09 09 09 09 44 72 61 77 |hed)....|....Draw|
|00000950| 53 74 72 65 74 63 68 65 | 64 54 65 78 74 75 72 65 |Stretche|dTexture|
|00000960| 53 65 67 6d 65 6e 74 28 | 20 43 2c 20 49 6d 61 67 |Segment(| C, Imag|
|00000970| 65 58 2c 20 49 6d 61 67 | 65 59 2c 20 57 69 6e 57 |eX, Imag|eY, WinW|
|00000980| 69 64 74 68 2c 20 57 69 | 6e 48 65 69 67 68 74 2c |idth, Wi|nHeight,|
|00000990| 20 0d 0a 09 09 09 09 09 | 09 09 09 09 09 09 09 09 | .......|........|
|000009a0| 4f 76 65 72 52 65 67 69 | 6f 6e 2e 58 2c 20 4f 76 |OverRegi|on.X, Ov|
|000009b0| 65 72 52 65 67 69 6f 6e | 2e 59 2c 20 0d 0a 09 09 |erRegion|.Y, ....|
|000009c0| 09 09 09 09 09 09 09 09 | 09 09 09 4f 76 65 72 52 |........|...OverR|
|000009d0| 65 67 69 6f 6e 2e 57 2c | 20 4f 76 65 72 52 65 67 |egion.W,| OverReg|
|000009e0| 69 6f 6e 2e 48 2c 20 4f | 76 65 72 54 65 78 74 75 |ion.H, O|verTextu|
|000009f0| 72 65 20 29 3b 0d 0a 09 | 09 09 09 09 65 6c 73 65 |re );...|....else|
|00000a00| 20 69 66 28 62 55 73 65 | 52 65 67 69 6f 6e 29 0d | if(bUse|Region).|
|00000a10| 0a 09 09 09 09 09 09 44 | 72 61 77 53 74 72 65 74 |.......D|rawStret|
|00000a20| 63 68 65 64 54 65 78 74 | 75 72 65 53 65 67 6d 65 |chedText|ureSegme|
|00000a30| 6e 74 28 20 43 2c 20 49 | 6d 61 67 65 58 2c 20 49 |nt( C, I|mageX, I|
|00000a40| 6d 61 67 65 59 2c 20 4f | 76 65 72 52 65 67 69 6f |mageY, O|verRegio|
|00000a50| 6e 2e 57 2a 52 65 67 69 | 6f 6e 53 63 61 6c 65 2c |n.W*Regi|onScale,|
|00000a60| 20 4f 76 65 72 52 65 67 | 69 6f 6e 2e 48 2a 52 65 | OverReg|ion.H*Re|
|00000a70| 67 69 6f 6e 53 63 61 6c | 65 2c 20 0d 0a 09 09 09 |gionScal|e, .....|
|00000a80| 09 09 09 09 09 09 09 09 | 09 09 4f 76 65 72 52 65 |........|..OverRe|
|00000a90| 67 69 6f 6e 2e 58 2c 20 | 4f 76 65 72 52 65 67 69 |gion.X, |OverRegi|
|00000aa0| 6f 6e 2e 59 2c 20 0d 0a | 09 09 09 09 09 09 09 09 |on.Y, ..|........|
|00000ab0| 09 09 09 09 09 4f 76 65 | 72 52 65 67 69 6f 6e 2e |.....Ove|rRegion.|
|00000ac0| 57 2c 20 4f 76 65 72 52 | 65 67 69 6f 6e 2e 48 2c |W, OverR|egion.H,|
|00000ad0| 20 4f 76 65 72 54 65 78 | 74 75 72 65 20 29 3b 0d | OverTex|ture );.|
|00000ae0| 0a 09 09 09 09 09 65 6c | 73 65 20 69 66 28 62 53 |......el|se if(bS|
|00000af0| 74 72 65 74 63 68 65 64 | 29 0d 0a 09 09 09 09 09 |tretched|).......|
|00000b00| 09 44 72 61 77 53 74 72 | 65 74 63 68 65 64 54 65 |.DrawStr|etchedTe|
|00000b10| 78 74 75 72 65 28 20 43 | 2c 20 49 6d 61 67 65 58 |xture( C|, ImageX|
|00000b20| 2c 20 49 6d 61 67 65 59 | 2c 20 57 69 6e 57 69 64 |, ImageY|, WinWid|
|00000b30| 74 68 2c 20 57 69 6e 48 | 65 69 67 68 74 2c 20 4f |th, WinH|eight, O|
|00000b40| 76 65 72 54 65 78 74 75 | 72 65 20 29 3b 0d 0a 09 |verTextu|re );...|
|00000b50| 09 09 09 09 65 6c 73 65 | 0d 0a 09 09 09 09 09 09 |....else|........|
|00000b60| 44 72 61 77 43 6c 69 70 | 70 65 64 54 65 78 74 75 |DrawClip|pedTextu|
|00000b70| 72 65 28 20 43 2c 20 49 | 6d 61 67 65 58 2c 20 49 |re( C, I|mageX, I|
|00000b80| 6d 61 67 65 59 2c 20 4f | 76 65 72 54 65 78 74 75 |mageY, O|verTextu|
|00000b90| 72 65 29 3b 0d 0a 09 09 | 09 09 7d 0d 0a 09 09 09 |re);....|..}.....|
|00000ba0| 7d 20 65 6c 73 65 20 7b | 0d 0a 09 09 09 09 69 66 |} else {|......if|
|00000bb0| 28 55 70 54 65 78 74 75 | 72 65 20 21 3d 20 4e 6f |(UpTextu|re != No|
|00000bc0| 6e 65 29 0d 0a 09 09 09 | 09 7b 0d 0a 09 09 09 09 |ne).....|.{......|
|00000bd0| 09 69 66 28 62 55 73 65 | 52 65 67 69 6f 6e 20 26 |.if(bUse|Region &|
|00000be0| 26 20 62 53 74 72 65 74 | 63 68 65 64 29 0d 0a 09 |& bStret|ched)...|
|00000bf0| 09 09 09 09 09 44 72 61 | 77 53 74 72 65 74 63 68 |.....Dra|wStretch|
|00000c00| 65 64 54 65 78 74 75 72 | 65 53 65 67 6d 65 6e 74 |edTextur|eSegment|
|00000c10| 28 20 43 2c 20 49 6d 61 | 67 65 58 2c 20 49 6d 61 |( C, Ima|geX, Ima|
|00000c20| 67 65 59 2c 20 57 69 6e | 57 69 64 74 68 2c 20 57 |geY, Win|Width, W|
|00000c30| 69 6e 48 65 69 67 68 74 | 2c 20 0d 0a 09 09 09 09 |inHeight|, ......|
|00000c40| 09 09 09 09 09 09 09 09 | 09 55 70 52 65 67 69 6f |........|.UpRegio|
|00000c50| 6e 2e 58 2c 20 55 70 52 | 65 67 69 6f 6e 2e 59 2c |n.X, UpR|egion.Y,|
|00000c60| 20 0d 0a 09 09 09 09 09 | 09 09 09 09 09 09 09 09 | .......|........|
|00000c70| 55 70 52 65 67 69 6f 6e | 2e 57 2c 20 55 70 52 65 |UpRegion|.W, UpRe|
|00000c80| 67 69 6f 6e 2e 48 2c 20 | 55 70 54 65 78 74 75 72 |gion.H, |UpTextur|
|00000c90| 65 20 29 3b 0d 0a 09 09 | 09 09 09 65 6c 73 65 20 |e );....|...else |
|00000ca0| 69 66 28 62 55 73 65 52 | 65 67 69 6f 6e 29 0d 0a |if(bUseR|egion)..|
|00000cb0| 09 09 09 09 09 09 44 72 | 61 77 53 74 72 65 74 63 |......Dr|awStretc|
|00000cc0| 68 65 64 54 65 78 74 75 | 72 65 53 65 67 6d 65 6e |hedTextu|reSegmen|
|00000cd0| 74 28 20 43 2c 20 49 6d | 61 67 65 58 2c 20 49 6d |t( C, Im|ageX, Im|
|00000ce0| 61 67 65 59 2c 20 55 70 | 52 65 67 69 6f 6e 2e 57 |ageY, Up|Region.W|
|00000cf0| 2a 52 65 67 69 6f 6e 53 | 63 61 6c 65 2c 20 55 70 |*RegionS|cale, Up|
|00000d00| 52 65 67 69 6f 6e 2e 48 | 2a 52 65 67 69 6f 6e 53 |Region.H|*RegionS|
|00000d10| 63 61 6c 65 2c 20 0d 0a | 09 09 09 09 09 09 09 09 |cale, ..|........|
|00000d20| 09 09 09 09 09 55 70 52 | 65 67 69 6f 6e 2e 58 2c |.....UpR|egion.X,|
|00000d30| 20 55 70 52 65 67 69 6f | 6e 2e 59 2c 20 0d 0a 09 | UpRegio|n.Y, ...|
|00000d40| 09 09 09 09 09 09 09 09 | 09 09 09 09 55 70 52 65 |........|....UpRe|
|00000d50| 67 69 6f 6e 2e 57 2c 20 | 55 70 52 65 67 69 6f 6e |gion.W, |UpRegion|
|00000d60| 2e 48 2c 20 55 70 54 65 | 78 74 75 72 65 20 29 3b |.H, UpTe|xture );|
|00000d70| 0d 0a 09 09 09 09 09 65 | 6c 73 65 20 69 66 28 62 |.......e|lse if(b|
|00000d80| 53 74 72 65 74 63 68 65 | 64 29 0d 0a 09 09 09 09 |Stretche|d)......|
|00000d90| 09 09 44 72 61 77 53 74 | 72 65 74 63 68 65 64 54 |..DrawSt|retchedT|
|00000da0| 65 78 74 75 72 65 28 20 | 43 2c 20 49 6d 61 67 65 |exture( |C, Image|
|00000db0| 58 2c 20 49 6d 61 67 65 | 59 2c 20 57 69 6e 57 69 |X, Image|Y, WinWi|
|00000dc0| 64 74 68 2c 20 57 69 6e | 48 65 69 67 68 74 2c 20 |dth, Win|Height, |
|00000dd0| 55 70 54 65 78 74 75 72 | 65 20 29 3b 0d 0a 09 09 |UpTextur|e );....|
|00000de0| 09 09 09 65 6c 73 65 0d | 0a 09 09 09 09 09 09 44 |...else.|.......D|
|00000df0| 72 61 77 43 6c 69 70 70 | 65 64 54 65 78 74 75 72 |rawClipp|edTextur|
|00000e00| 65 28 20 43 2c 20 49 6d | 61 67 65 58 2c 20 49 6d |e( C, Im|ageX, Im|
|00000e10| 61 67 65 59 2c 20 55 70 | 54 65 78 74 75 72 65 29 |ageY, Up|Texture)|
|00000e20| 3b 0d 0a 09 09 09 09 7d | 0d 0a 09 09 09 7d 0d 0a |;......}|.....}..|
|00000e30| 09 09 7d 0d 0a 09 7d 0d | 0a 0d 0a 09 69 66 28 54 |..}...}.|....if(T|
|00000e40| 65 78 74 20 21 3d 20 22 | 22 29 0d 0a 09 7b 0d 0a |ext != "|")...{..|
|00000e50| 09 09 43 2e 44 72 61 77 | 43 6f 6c 6f 72 20 3d 20 |..C.Draw|Color = |
|00000e60| 54 65 78 74 43 6f 6c 6f | 72 3b 0d 0a 09 09 43 6c |TextColo|r;....Cl|
|00000e70| 69 70 54 65 78 74 28 43 | 2c 20 54 65 78 74 58 2c |ipText(C|, TextX,|
|00000e80| 20 54 65 78 74 59 2c 20 | 54 65 78 74 2c 20 54 72 | TextY, |Text, Tr|
|00000e90| 75 65 29 3b 0d 0a 09 09 | 43 2e 44 72 61 77 43 6f |ue);....|C.DrawCo|
|00000ea0| 6c 6f 72 2e 52 20 3d 20 | 32 35 35 3b 0d 0a 09 09 |lor.R = |255;....|
|00000eb0| 43 2e 44 72 61 77 43 6f | 6c 6f 72 2e 47 20 3d 20 |C.DrawCo|lor.G = |
|00000ec0| 32 35 35 3b 0d 0a 09 09 | 43 2e 44 72 61 77 43 6f |255;....|C.DrawCo|
|00000ed0| 6c 6f 72 2e 42 20 3d 20 | 32 35 35 3b 0d 0a 09 7d |lor.B = |255;...}|
|00000ee0| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|00000ef0| 4d 6f 75 73 65 4c 65 61 | 76 65 28 29 0d 0a 7b 0d |MouseLea|ve()..{.|
|00000f00| 0a 09 53 75 70 65 72 2e | 4d 6f 75 73 65 4c 65 61 |..Super.|MouseLea|
|00000f10| 76 65 28 29 3b 0d 0a 09 | 69 66 28 54 6f 6f 6c 54 |ve();...|if(ToolT|
|00000f20| 69 70 53 74 72 69 6e 67 | 20 21 3d 20 22 22 29 20 |ipString| != "") |
|00000f30| 54 6f 6f 6c 54 69 70 28 | 22 22 29 3b 0d 0a 7d 0d |ToolTip(|"");..}.|
|00000f40| 0a 0d 0a 73 69 6d 75 6c | 61 74 65 64 20 66 75 6e |...simul|ated fun|
|00000f50| 63 74 69 6f 6e 20 4d 6f | 75 73 65 45 6e 74 65 72 |ction Mo|useEnter|
|00000f60| 28 29 0d 0a 7b 0d 0a 09 | 53 75 70 65 72 2e 4d 6f |()..{...|Super.Mo|
|00000f70| 75 73 65 45 6e 74 65 72 | 28 29 3b 0d 0a 09 69 66 |useEnter|();...if|
|00000f80| 28 54 6f 6f 6c 54 69 70 | 53 74 72 69 6e 67 20 21 |(ToolTip|String !|
|00000f90| 3d 20 22 22 29 20 54 6f | 6f 6c 54 69 70 28 54 6f |= "") To|olTip(To|
|00000fa0| 6f 6c 54 69 70 53 74 72 | 69 6e 67 29 3b 0d 0a 09 |olTipStr|ing);...|
|00000fb0| 69 66 20 28 21 62 44 69 | 73 61 62 6c 65 64 20 26 |if (!bDi|sabled &|
|00000fc0| 26 20 28 4f 76 65 72 53 | 6f 75 6e 64 20 21 3d 20 |& (OverS|ound != |
|00000fd0| 4e 6f 6e 65 29 29 0d 0a | 09 09 47 65 74 50 6c 61 |None))..|..GetPla|
|00000fe0| 79 65 72 4f 77 6e 65 72 | 28 29 2e 50 6c 61 79 53 |yerOwner|().PlayS|
|00000ff0| 6f 75 6e 64 28 4f 76 65 | 72 53 6f 75 6e 64 2c 20 |ound(Ove|rSound, |
|00001000| 53 4c 4f 54 5f 49 6e 74 | 65 72 66 61 63 65 29 3b |SLOT_Int|erface);|
|00001010| 0d 0a 7d 0d 0a 0d 0a 73 | 69 6d 75 6c 61 74 65 64 |..}....s|imulated|
|00001020| 20 66 75 6e 63 74 69 6f | 6e 20 43 6c 69 63 6b 28 | functio|n Click(|
|00001030| 66 6c 6f 61 74 20 58 2c | 20 66 6c 6f 61 74 20 59 |float X,| float Y|
|00001040| 29 20 0d 0a 7b 0d 0a 09 | 4e 6f 74 69 66 79 28 44 |) ..{...|Notify(D|
|00001050| 45 5f 43 6c 69 63 6b 29 | 3b 0d 0a 09 69 66 20 28 |E_Click)|;...if (|
|00001060| 21 62 44 69 73 61 62 6c | 65 64 20 26 26 20 28 44 |!bDisabl|ed && (D|
|00001070| 6f 77 6e 53 6f 75 6e 64 | 20 21 3d 20 4e 6f 6e 65 |ownSound| != None|
|00001080| 29 29 0d 0a 09 09 47 65 | 74 50 6c 61 79 65 72 4f |))....Ge|tPlayerO|
|00001090| 77 6e 65 72 28 29 2e 50 | 6c 61 79 53 6f 75 6e 64 |wner().P|laySound|
|000010a0| 28 44 6f 77 6e 53 6f 75 | 6e 64 2c 20 53 4c 4f 54 |(DownSou|nd, SLOT|
|000010b0| 5f 49 6e 74 65 72 61 63 | 74 29 3b 0d 0a 7d 0d 0a |_Interac|t);..}..|
|000010c0| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 44 6f 75 62 6c |..functi|on Doubl|
|000010d0| 65 43 6c 69 63 6b 28 66 | 6c 6f 61 74 20 58 2c 20 |eClick(f|loat X, |
|000010e0| 66 6c 6f 61 74 20 59 29 | 20 0d 0a 7b 0d 0a 09 4e |float Y)| ..{...N|
|000010f0| 6f 74 69 66 79 28 44 45 | 5f 44 6f 75 62 6c 65 43 |otify(DE|_DoubleC|
|00001100| 6c 69 63 6b 29 3b 0d 0a | 7d 0d 0a 0d 0a 66 75 6e |lick);..|}....fun|
|00001110| 63 74 69 6f 6e 20 52 43 | 6c 69 63 6b 28 66 6c 6f |ction RC|lick(flo|
|00001120| 61 74 20 58 2c 20 66 6c | 6f 61 74 20 59 29 20 0d |at X, fl|oat Y) .|
|00001130| 0a 7b 0d 0a 09 4e 6f 74 | 69 66 79 28 44 45 5f 52 |.{...Not|ify(DE_R|
|00001140| 43 6c 69 63 6b 29 3b 0d | 0a 7d 0d 0a 0d 0a 66 75 |Click);.|.}....fu|
|00001150| 6e 63 74 69 6f 6e 20 4d | 43 6c 69 63 6b 28 66 6c |nction M|Click(fl|
|00001160| 6f 61 74 20 58 2c 20 66 | 6c 6f 61 74 20 59 29 20 |oat X, f|loat Y) |
|00001170| 0d 0a 7b 0d 0a 09 4e 6f | 74 69 66 79 28 44 45 5f |..{...No|tify(DE_|
|00001180| 4d 43 6c 69 63 6b 29 3b | 0d 0a 7d 0d 0a 0d 0a 66 |MClick);|..}....f|
|00001190| 75 6e 63 74 69 6f 6e 20 | 4b 65 79 44 6f 77 6e 28 |unction |KeyDown(|
|000011a0| 69 6e 74 20 4b 65 79 2c | 20 66 6c 6f 61 74 20 58 |int Key,| float X|
|000011b0| 2c 20 66 6c 6f 61 74 20 | 59 29 0d 0a 7b 0d 0a 09 |, float |Y)..{...|
|000011c0| 6c 6f 63 61 6c 20 50 6c | 61 79 65 72 50 61 77 6e |local Pl|ayerPawn|
|000011d0| 20 50 3b 0d 0a 0d 0a 09 | 50 20 3d 20 52 6f 6f 74 | P;.....|P = Root|
|000011e0| 2e 47 65 74 50 6c 61 79 | 65 72 4f 77 6e 65 72 28 |.GetPlay|erOwner(|
|000011f0| 29 3b 0d 0a 0d 0a 09 73 | 77 69 74 63 68 20 28 4b |);.....s|witch (K|
|00001200| 65 79 29 0d 0a 09 7b 0d | 0a 09 63 61 73 65 20 50 |ey)...{.|..case P|
|00001210| 2e 45 49 6e 70 75 74 4b | 65 79 2e 49 4b 5f 53 70 |.EInputK|ey.IK_Sp|
|00001220| 61 63 65 3a 0d 0a 09 09 | 4c 4d 6f 75 73 65 44 6f |ace:....|LMouseDo|
|00001230| 77 6e 28 58 2c 20 59 29 | 3b 0d 0a 09 09 4c 4d 6f |wn(X, Y)|;....LMo|
|00001240| 75 73 65 55 70 28 58 2c | 20 59 29 3b 0d 0a 09 09 |useUp(X,| Y);....|
|00001250| 62 72 65 61 6b 3b 0d 0a | 09 64 65 66 61 75 6c 74 |break;..|.default|
|00001260| 3a 0d 0a 09 09 53 75 70 | 65 72 2e 4b 65 79 44 6f |:....Sup|er.KeyDo|
|00001270| 77 6e 28 4b 65 79 2c 20 | 58 2c 20 59 29 3b 0d 0a |wn(Key, |X, Y);..|
|00001280| 09 09 62 72 65 61 6b 3b | 0d 0a 09 7d 0d 0a 7d 0d |..break;|...}..}.|
|00001290| 0a 0d 0a 00 | |.... | |
+--------+-------------------------+-------------------------+--------+--------+