home *** CD-ROM | disk | FTP | other *** search
Unknown | 2004-01-13 | 20.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 | 69 c9 02 63 6c 61 73 73 |........|i..class|
|00000010| 20 55 57 69 6e 64 6f 77 | 57 69 6e 39 35 4c 6f 6f | UWindow|Win95Loo|
|00000020| 6b 41 6e 64 46 65 65 6c | 20 65 78 74 65 6e 64 73 |kAndFeel| extends|
|00000030| 20 55 57 69 6e 64 6f 77 | 4c 6f 6f 6b 41 6e 64 46 | UWindow|LookAndF|
|00000040| 65 65 6c 3b 0d 0a 0d 0a | 23 65 78 65 63 20 54 45 |eel;....|#exec TE|
|00000050| 58 54 55 52 45 20 49 4d | 50 4f 52 54 20 4e 41 4d |XTURE IM|PORT NAM|
|00000060| 45 3d 41 63 74 69 76 65 | 46 72 61 6d 65 20 46 49 |E=Active|Frame FI|
|00000070| 4c 45 3d 54 65 78 74 75 | 72 65 73 5c 41 63 74 69 |LE=Textu|res\Acti|
|00000080| 76 65 46 72 61 6d 65 2e | 62 6d 70 20 47 52 4f 55 |veFrame.|bmp GROU|
|00000090| 50 3d 22 49 63 6f 6e 73 | 22 20 4d 41 53 4b 45 44 |P="Icons|" MASKED|
|000000a0| 3d 31 20 4d 49 50 53 3d | 4f 46 46 0d 0a 23 65 78 |=1 MIPS=|OFF..#ex|
|000000b0| 65 63 20 54 45 58 54 55 | 52 45 20 49 4d 50 4f 52 |ec TEXTU|RE IMPOR|
|000000c0| 54 20 4e 41 4d 45 3d 49 | 6e 61 63 74 69 76 65 46 |T NAME=I|nactiveF|
|000000d0| 72 61 6d 65 20 46 49 4c | 45 3d 54 65 78 74 75 72 |rame FIL|E=Textur|
|000000e0| 65 73 5c 49 6e 61 63 74 | 69 76 65 46 72 61 6d 65 |es\Inact|iveFrame|
|000000f0| 2e 62 6d 70 20 47 52 4f | 55 50 3d 22 49 63 6f 6e |.bmp GRO|UP="Icon|
|00000100| 73 22 20 4d 41 53 4b 45 | 44 3d 31 20 4d 49 50 53 |s" MASKE|D=1 MIPS|
|00000110| 3d 4f 46 46 0d 0a 23 65 | 78 65 63 20 54 45 58 54 |=OFF..#e|xec TEXT|
|00000120| 55 52 45 20 49 4d 50 4f | 52 54 20 4e 41 4d 45 3d |URE IMPO|RT NAME=|
|00000130| 41 63 74 69 76 65 46 72 | 61 6d 65 53 20 46 49 4c |ActiveFr|ameS FIL|
|00000140| 45 3d 54 65 78 74 75 72 | 65 73 5c 41 63 74 69 76 |E=Textur|es\Activ|
|00000150| 65 46 72 61 6d 65 53 2e | 62 6d 70 20 47 52 4f 55 |eFrameS.|bmp GROU|
|00000160| 50 3d 22 49 63 6f 6e 73 | 22 20 4d 41 53 4b 45 44 |P="Icons|" MASKED|
|00000170| 3d 31 20 4d 49 50 53 3d | 4f 46 46 0d 0a 23 65 78 |=1 MIPS=|OFF..#ex|
|00000180| 65 63 20 54 45 58 54 55 | 52 45 20 49 4d 50 4f 52 |ec TEXTU|RE IMPOR|
|00000190| 54 20 4e 41 4d 45 3d 49 | 6e 61 63 74 69 76 65 46 |T NAME=I|nactiveF|
|000001a0| 72 61 6d 65 53 20 46 49 | 4c 45 3d 54 65 78 74 75 |rameS FI|LE=Textu|
|000001b0| 72 65 73 5c 49 6e 61 63 | 74 69 76 65 46 72 61 6d |res\Inac|tiveFram|
|000001c0| 65 53 2e 62 6d 70 20 47 | 52 4f 55 50 3d 22 49 63 |eS.bmp G|ROUP="Ic|
|000001d0| 6f 6e 73 22 20 4d 41 53 | 4b 45 44 3d 31 20 4d 49 |ons" MAS|KED=1 MI|
|000001e0| 50 53 3d 4f 46 46 0d 0a | 0d 0a 23 65 78 65 63 20 |PS=OFF..|..#exec |
|000001f0| 54 45 58 54 55 52 45 20 | 49 4d 50 4f 52 54 20 4e |TEXTURE |IMPORT N|
|00000200| 41 4d 45 3d 4d 69 73 63 | 20 46 49 4c 45 3d 54 65 |AME=Misc| FILE=Te|
|00000210| 78 74 75 72 65 73 5c 4d | 69 73 63 2e 62 6d 70 20 |xtures\M|isc.bmp |
|00000220| 47 52 4f 55 50 3d 22 49 | 63 6f 6e 73 22 20 4d 49 |GROUP="I|cons" MI|
|00000230| 50 53 3d 4f 46 46 0d 0a | 0d 0a 23 65 78 65 63 20 |PS=OFF..|..#exec |
|00000240| 54 45 58 54 55 52 45 20 | 49 4d 50 4f 52 54 20 4e |TEXTURE |IMPORT N|
|00000250| 41 4d 45 3d 43 68 6b 43 | 68 65 63 6b 65 64 20 46 |AME=ChkC|hecked F|
|00000260| 49 4c 45 3d 54 65 78 74 | 75 72 65 73 5c 43 68 6b |ILE=Text|ures\Chk|
|00000270| 43 68 65 63 6b 65 64 2e | 62 6d 70 20 47 52 4f 55 |Checked.|bmp GROU|
|00000280| 50 3d 22 49 63 6f 6e 73 | 22 20 4d 41 53 4b 45 44 |P="Icons|" MASKED|
|00000290| 3d 31 20 4d 49 50 53 3d | 4f 46 46 0d 0a 23 65 78 |=1 MIPS=|OFF..#ex|
|000002a0| 65 63 20 54 45 58 54 55 | 52 45 20 49 4d 50 4f 52 |ec TEXTU|RE IMPOR|
|000002b0| 54 20 4e 41 4d 45 3d 43 | 68 6b 55 6e 63 68 65 63 |T NAME=C|hkUnchec|
|000002c0| 6b 65 64 20 46 49 4c 45 | 3d 54 65 78 74 75 72 65 |ked FILE|=Texture|
|000002d0| 73 5c 43 68 6b 55 6e 63 | 68 65 63 6b 65 64 2e 62 |s\ChkUnc|hecked.b|
|000002e0| 6d 70 20 47 52 4f 55 50 | 3d 22 49 63 6f 6e 73 22 |mp GROUP|="Icons"|
|000002f0| 20 4d 41 53 4b 45 44 3d | 31 20 4d 49 50 53 3d 4f | MASKED=|1 MIPS=O|
|00000300| 46 46 0d 0a 23 65 78 65 | 63 20 54 45 58 54 55 52 |FF..#exe|c TEXTUR|
|00000310| 45 20 49 4d 50 4f 52 54 | 20 4e 41 4d 45 3d 43 68 |E IMPORT| NAME=Ch|
|00000320| 6b 43 68 65 63 6b 65 64 | 44 69 73 61 62 6c 65 64 |kChecked|Disabled|
|00000330| 20 46 49 4c 45 3d 54 65 | 78 74 75 72 65 73 5c 43 | FILE=Te|xtures\C|
|00000340| 68 6b 43 68 65 63 6b 65 | 64 44 69 73 61 62 6c 65 |hkChecke|dDisable|
|00000350| 64 2e 62 6d 70 20 47 52 | 4f 55 50 3d 22 49 63 6f |d.bmp GR|OUP="Ico|
|00000360| 6e 73 22 20 4d 41 53 4b | 45 44 3d 31 20 4d 49 50 |ns" MASK|ED=1 MIP|
|00000370| 53 3d 4f 46 46 0d 0a 23 | 65 78 65 63 20 54 45 58 |S=OFF..#|exec TEX|
|00000380| 54 55 52 45 20 49 4d 50 | 4f 52 54 20 4e 41 4d 45 |TURE IMP|ORT NAME|
|00000390| 3d 43 68 6b 55 6e 63 68 | 65 63 6b 65 64 44 69 73 |=ChkUnch|eckedDis|
|000003a0| 61 62 6c 65 64 20 46 49 | 4c 45 3d 54 65 78 74 75 |abled FI|LE=Textu|
|000003b0| 72 65 73 5c 43 68 6b 55 | 6e 63 68 65 63 6b 65 64 |res\ChkU|nchecked|
|000003c0| 44 69 73 61 62 6c 65 64 | 2e 62 6d 70 20 47 52 4f |Disabled|.bmp GRO|
|000003d0| 55 50 3d 22 49 63 6f 6e | 73 22 20 4d 41 53 4b 45 |UP="Icon|s" MASKE|
|000003e0| 44 3d 31 20 4d 49 50 53 | 3d 4f 46 46 0d 0a 0d 0a |D=1 MIPS|=OFF....|
|000003f0| 23 65 78 65 63 20 54 45 | 58 54 55 52 45 20 49 4d |#exec TE|XTURE IM|
|00000400| 50 4f 52 54 20 4e 41 4d | 45 3d 4d 65 6e 75 42 61 |PORT NAM|E=MenuBa|
|00000410| 72 20 46 49 4c 45 3d 54 | 65 78 74 75 72 65 73 5c |r FILE=T|extures\|
|00000420| 4d 65 6e 75 42 61 72 2e | 62 6d 70 20 47 52 4f 55 |MenuBar.|bmp GROU|
|00000430| 50 3d 22 49 63 6f 6e 73 | 22 20 4d 49 50 53 3d 4f |P="Icons|" MIPS=O|
|00000440| 46 46 0d 0a 23 65 78 65 | 63 20 54 45 58 54 55 52 |FF..#exe|c TEXTUR|
|00000450| 45 20 49 4d 50 4f 52 54 | 20 4e 41 4d 45 3d 4d 65 |E IMPORT| NAME=Me|
|00000460| 6e 75 48 69 67 68 6c 69 | 67 68 74 4c 20 46 49 4c |nuHighli|ghtL FIL|
|00000470| 45 3d 54 65 78 74 75 72 | 65 73 5c 4d 65 6e 75 48 |E=Textur|es\MenuH|
|00000480| 69 67 68 6c 69 67 68 74 | 4c 2e 62 6d 70 20 4d 41 |ighlight|L.bmp MA|
|00000490| 53 4b 45 44 3d 31 20 47 | 52 4f 55 50 3d 22 49 63 |SKED=1 G|ROUP="Ic|
|000004a0| 6f 6e 73 22 20 4d 49 50 | 53 3d 4f 46 46 0d 0a 23 |ons" MIP|S=OFF..#|
|000004b0| 65 78 65 63 20 54 45 58 | 54 55 52 45 20 49 4d 50 |exec TEX|TURE IMP|
|000004c0| 4f 52 54 20 4e 41 4d 45 | 3d 4d 65 6e 75 48 69 67 |ORT NAME|=MenuHig|
|000004d0| 68 6c 69 67 68 74 4d 20 | 46 49 4c 45 3d 54 65 78 |hlightM |FILE=Tex|
|000004e0| 74 75 72 65 73 5c 4d 65 | 6e 75 48 69 67 68 6c 69 |tures\Me|nuHighli|
|000004f0| 67 68 74 4d 2e 62 6d 70 | 20 4d 41 53 4b 45 44 3d |ghtM.bmp| MASKED=|
|00000500| 31 20 47 52 4f 55 50 3d | 22 49 63 6f 6e 73 22 20 |1 GROUP=|"Icons" |
|00000510| 4d 49 50 53 3d 4f 46 46 | 0d 0a 23 65 78 65 63 20 |MIPS=OFF|..#exec |
|00000520| 54 45 58 54 55 52 45 20 | 49 4d 50 4f 52 54 20 4e |TEXTURE |IMPORT N|
|00000530| 41 4d 45 3d 4d 65 6e 75 | 48 69 67 68 6c 69 67 68 |AME=Menu|Highligh|
|00000540| 74 52 20 46 49 4c 45 3d | 54 65 78 74 75 72 65 73 |tR FILE=|Textures|
|00000550| 5c 4d 65 6e 75 48 69 67 | 68 6c 69 67 68 74 52 2e |\MenuHig|hlightR.|
|00000560| 62 6d 70 20 4d 41 53 4b | 45 44 3d 31 20 47 52 4f |bmp MASK|ED=1 GRO|
|00000570| 55 50 3d 22 49 63 6f 6e | 73 22 20 4d 49 50 53 3d |UP="Icon|s" MIPS=|
|00000580| 4f 46 46 0d 0a 0d 0a 23 | 65 78 65 63 20 54 45 58 |OFF....#|exec TEX|
|00000590| 54 55 52 45 20 49 4d 50 | 4f 52 54 20 4e 41 4d 45 |TURE IMP|ORT NAME|
|000005a0| 3d 4d 65 6e 75 41 72 65 | 61 20 46 49 4c 45 3d 54 |=MenuAre|a FILE=T|
|000005b0| 65 78 74 75 72 65 73 5c | 4d 65 6e 75 41 72 65 61 |extures\|MenuArea|
|000005c0| 2e 62 6d 70 20 47 52 4f | 55 50 3d 22 49 63 6f 6e |.bmp GRO|UP="Icon|
|000005d0| 73 22 20 4d 49 50 53 3d | 4f 46 46 0d 0a 23 65 78 |s" MIPS=|OFF..#ex|
|000005e0| 65 63 20 54 45 58 54 55 | 52 45 20 49 4d 50 4f 52 |ec TEXTU|RE IMPOR|
|000005f0| 54 20 4e 41 4d 45 3d 4d | 65 6e 75 54 4c 20 46 49 |T NAME=M|enuTL FI|
|00000600| 4c 45 3d 54 65 78 74 75 | 72 65 73 5c 4d 65 6e 75 |LE=Textu|res\Menu|
|00000610| 54 4c 2e 62 6d 70 20 47 | 52 4f 55 50 3d 22 49 63 |TL.bmp G|ROUP="Ic|
|00000620| 6f 6e 73 22 20 4d 49 50 | 53 3d 4f 46 46 0d 0a 23 |ons" MIP|S=OFF..#|
|00000630| 65 78 65 63 20 54 45 58 | 54 55 52 45 20 49 4d 50 |exec TEX|TURE IMP|
|00000640| 4f 52 54 20 4e 41 4d 45 | 3d 4d 65 6e 75 54 20 46 |ORT NAME|=MenuT F|
|00000650| 49 4c 45 3d 54 65 78 74 | 75 72 65 73 5c 4d 65 6e |ILE=Text|ures\Men|
|00000660| 75 54 2e 62 6d 70 20 47 | 52 4f 55 50 3d 22 49 63 |uT.bmp G|ROUP="Ic|
|00000670| 6f 6e 73 22 20 4d 49 50 | 53 3d 4f 46 46 0d 0a 23 |ons" MIP|S=OFF..#|
|00000680| 65 78 65 63 20 54 45 58 | 54 55 52 45 20 49 4d 50 |exec TEX|TURE IMP|
|00000690| 4f 52 54 20 4e 41 4d 45 | 3d 4d 65 6e 75 54 52 20 |ORT NAME|=MenuTR |
|000006a0| 46 49 4c 45 3d 54 65 78 | 74 75 72 65 73 5c 4d 65 |FILE=Tex|tures\Me|
|000006b0| 6e 75 54 52 2e 62 6d 70 | 20 47 52 4f 55 50 3d 22 |nuTR.bmp| GROUP="|
|000006c0| 49 63 6f 6e 73 22 20 4d | 49 50 53 3d 4f 46 46 0d |Icons" M|IPS=OFF.|
|000006d0| 0a 23 65 78 65 63 20 54 | 45 58 54 55 52 45 20 49 |.#exec T|EXTURE I|
|000006e0| 4d 50 4f 52 54 20 4e 41 | 4d 45 3d 4d 65 6e 75 4c |MPORT NA|ME=MenuL|
|000006f0| 20 46 49 4c 45 3d 54 65 | 78 74 75 72 65 73 5c 4d | FILE=Te|xtures\M|
|00000700| 65 6e 75 4c 2e 62 6d 70 | 20 47 52 4f 55 50 3d 22 |enuL.bmp| GROUP="|
|00000710| 49 63 6f 6e 73 22 20 4d | 49 50 53 3d 4f 46 46 0d |Icons" M|IPS=OFF.|
|00000720| 0a 23 65 78 65 63 20 54 | 45 58 54 55 52 45 20 49 |.#exec T|EXTURE I|
|00000730| 4d 50 4f 52 54 20 4e 41 | 4d 45 3d 4d 65 6e 75 52 |MPORT NA|ME=MenuR|
|00000740| 20 46 49 4c 45 3d 54 65 | 78 74 75 72 65 73 5c 4d | FILE=Te|xtures\M|
|00000750| 65 6e 75 52 2e 62 6d 70 | 20 47 52 4f 55 50 3d 22 |enuR.bmp| GROUP="|
|00000760| 49 63 6f 6e 73 22 20 4d | 49 50 53 3d 4f 46 46 0d |Icons" M|IPS=OFF.|
|00000770| 0a 23 65 78 65 63 20 54 | 45 58 54 55 52 45 20 49 |.#exec T|EXTURE I|
|00000780| 4d 50 4f 52 54 20 4e 41 | 4d 45 3d 4d 65 6e 75 42 |MPORT NA|ME=MenuB|
|00000790| 4c 20 46 49 4c 45 3d 54 | 65 78 74 75 72 65 73 5c |L FILE=T|extures\|
|000007a0| 4d 65 6e 75 42 4c 2e 62 | 6d 70 20 47 52 4f 55 50 |MenuBL.b|mp GROUP|
|000007b0| 3d 22 49 63 6f 6e 73 22 | 20 4d 49 50 53 3d 4f 46 |="Icons"| MIPS=OF|
|000007c0| 46 0d 0a 23 65 78 65 63 | 20 54 45 58 54 55 52 45 |F..#exec| TEXTURE|
|000007d0| 20 49 4d 50 4f 52 54 20 | 4e 41 4d 45 3d 4d 65 6e | IMPORT |NAME=Men|
|000007e0| 75 42 20 46 49 4c 45 3d | 54 65 78 74 75 72 65 73 |uB FILE=|Textures|
|000007f0| 5c 4d 65 6e 75 42 2e 62 | 6d 70 20 47 52 4f 55 50 |\MenuB.b|mp GROUP|
|00000800| 3d 22 49 63 6f 6e 73 22 | 20 4d 49 50 53 3d 4f 46 |="Icons"| MIPS=OF|
|00000810| 46 0d 0a 23 65 78 65 63 | 20 54 45 58 54 55 52 45 |F..#exec| TEXTURE|
|00000820| 20 49 4d 50 4f 52 54 20 | 4e 41 4d 45 3d 4d 65 6e | IMPORT |NAME=Men|
|00000830| 75 42 52 20 46 49 4c 45 | 3d 54 65 78 74 75 72 65 |uBR FILE|=Texture|
|00000840| 73 5c 4d 65 6e 75 42 52 | 2e 62 6d 70 20 47 52 4f |s\MenuBR|.bmp GRO|
|00000850| 55 50 3d 22 49 63 6f 6e | 73 22 20 4d 49 50 53 3d |UP="Icon|s" MIPS=|
|00000860| 4f 46 46 0d 0a 23 65 78 | 65 63 20 54 45 58 54 55 |OFF..#ex|ec TEXTU|
|00000870| 52 45 20 49 4d 50 4f 52 | 54 20 4e 41 4d 45 3d 4d |RE IMPOR|T NAME=M|
|00000880| 65 6e 75 48 69 67 68 6c | 69 67 68 74 20 46 49 4c |enuHighl|ight FIL|
|00000890| 45 3d 54 65 78 74 75 72 | 65 73 5c 4d 65 6e 75 48 |E=Textur|es\MenuH|
|000008a0| 69 67 68 6c 69 67 68 74 | 2e 62 6d 70 20 47 52 4f |ighlight|.bmp GRO|
|000008b0| 55 50 3d 22 49 63 6f 6e | 73 22 20 4d 49 50 53 3d |UP="Icon|s" MIPS=|
|000008c0| 4f 46 46 0d 0a 0d 0a 76 | 61 72 28 29 20 52 65 67 |OFF....v|ar() Reg|
|000008d0| 69 6f 6e 09 53 42 55 70 | 55 70 3b 0d 0a 76 61 72 |ion.SBUp|Up;..var|
|000008e0| 28 29 20 52 65 67 69 6f | 6e 09 53 42 55 70 44 6f |() Regio|n.SBUpDo|
|000008f0| 77 6e 3b 0d 0a 76 61 72 | 28 29 20 52 65 67 69 6f |wn;..var|() Regio|
|00000900| 6e 09 53 42 55 70 44 69 | 73 61 62 6c 65 64 3b 0d |n.SBUpDi|sabled;.|
|00000910| 0a 0d 0a 76 61 72 28 29 | 20 52 65 67 69 6f 6e 09 |...var()| Region.|
|00000920| 53 42 44 6f 77 6e 55 70 | 3b 0d 0a 76 61 72 28 29 |SBDownUp|;..var()|
|00000930| 20 52 65 67 69 6f 6e 09 | 53 42 44 6f 77 6e 44 6f | Region.|SBDownDo|
|00000940| 77 6e 3b 0d 0a 76 61 72 | 28 29 20 52 65 67 69 6f |wn;..var|() Regio|
|00000950| 6e 09 53 42 44 6f 77 6e | 44 69 73 61 62 6c 65 64 |n.SBDown|Disabled|
|00000960| 3b 0d 0a 0d 0a 76 61 72 | 28 29 20 52 65 67 69 6f |;....var|() Regio|
|00000970| 6e 09 53 42 4c 65 66 74 | 55 70 3b 0d 0a 76 61 72 |n.SBLeft|Up;..var|
|00000980| 28 29 20 52 65 67 69 6f | 6e 09 53 42 4c 65 66 74 |() Regio|n.SBLeft|
|00000990| 44 6f 77 6e 3b 0d 0a 76 | 61 72 28 29 20 52 65 67 |Down;..v|ar() Reg|
|000009a0| 69 6f 6e 09 53 42 4c 65 | 66 74 44 69 73 61 62 6c |ion.SBLe|ftDisabl|
|000009b0| 65 64 3b 0d 0a 0d 0a 76 | 61 72 28 29 20 52 65 67 |ed;....v|ar() Reg|
|000009c0| 69 6f 6e 09 53 42 52 69 | 67 68 74 55 70 3b 0d 0a |ion.SBRi|ghtUp;..|
|000009d0| 76 61 72 28 29 20 52 65 | 67 69 6f 6e 09 53 42 52 |var() Re|gion.SBR|
|000009e0| 69 67 68 74 44 6f 77 6e | 3b 0d 0a 76 61 72 28 29 |ightDown|;..var()|
|000009f0| 20 52 65 67 69 6f 6e 09 | 53 42 52 69 67 68 74 44 | Region.|SBRightD|
|00000a00| 69 73 61 62 6c 65 64 3b | 0d 0a 0d 0a 76 61 72 28 |isabled;|....var(|
|00000a10| 29 20 52 65 67 69 6f 6e | 09 53 42 42 61 63 6b 67 |) Region|.SBBackg|
|00000a20| 72 6f 75 6e 64 3b 0d 0a | 0d 0a 76 61 72 28 29 20 |round;..|..var() |
|00000a30| 52 65 67 69 6f 6e 09 46 | 72 61 6d 65 53 42 4c 3b |Region.F|rameSBL;|
|00000a40| 0d 0a 76 61 72 28 29 20 | 52 65 67 69 6f 6e 09 46 |..var() |Region.F|
|00000a50| 72 61 6d 65 53 42 3b 0d | 0a 76 61 72 28 29 20 52 |rameSB;.|.var() R|
|00000a60| 65 67 69 6f 6e 09 46 72 | 61 6d 65 53 42 52 3b 0d |egion.Fr|ameSBR;.|
|00000a70| 0a 0d 0a 76 61 72 28 29 | 20 52 65 67 69 6f 6e 09 |...var()| Region.|
|00000a80| 43 6c 6f 73 65 42 6f 78 | 55 70 3b 0d 0a 76 61 72 |CloseBox|Up;..var|
|00000a90| 28 29 20 52 65 67 69 6f | 6e 09 43 6c 6f 73 65 42 |() Regio|n.CloseB|
|00000aa0| 6f 78 44 6f 77 6e 3b 0d | 0a 76 61 72 28 29 20 69 |oxDown;.|.var() i|
|00000ab0| 6e 74 09 09 43 6c 6f 73 | 65 42 6f 78 4f 66 66 73 |nt..Clos|eBoxOffs|
|00000ac0| 65 74 58 3b 0d 0a 76 61 | 72 28 29 20 69 6e 74 09 |etX;..va|r() int.|
|00000ad0| 09 43 6c 6f 73 65 42 6f | 78 4f 66 66 73 65 74 59 |.CloseBo|xOffsetY|
|00000ae0| 3b 0d 0a 0d 0a 0d 0a 63 | 6f 6e 73 74 20 53 49 5a |;......c|onst SIZ|
|00000af0| 45 42 4f 52 44 45 52 20 | 3d 20 33 3b 0d 0a 63 6f |EBORDER |= 3;..co|
|00000b00| 6e 73 74 20 42 52 53 49 | 5a 45 42 4f 52 44 45 52 |nst BRSI|ZEBORDER|
|00000b10| 20 3d 20 31 35 3b 0d 0a | 0d 0a 2f 2a 20 46 72 61 | = 15;..|../* Fra|
|00000b20| 6d 65 64 20 57 69 6e 64 | 6f 77 20 44 72 61 77 69 |med Wind|ow Drawi|
|00000b30| 6e 67 20 46 75 6e 63 74 | 69 6f 6e 73 20 2a 2f 0d |ng Funct|ions */.|
|00000b40| 0a 66 75 6e 63 74 69 6f | 6e 20 46 57 5f 44 72 61 |.functio|n FW_Dra|
|00000b50| 77 57 69 6e 64 6f 77 46 | 72 61 6d 65 28 55 57 69 |wWindowF|rame(UWi|
|00000b60| 6e 64 6f 77 46 72 61 6d | 65 64 57 69 6e 64 6f 77 |ndowFram|edWindow|
|00000b70| 20 57 2c 20 43 61 6e 76 | 61 73 20 43 29 0d 0a 7b | W, Canv|as C)..{|
|00000b80| 0d 0a 09 6c 6f 63 61 6c | 20 54 65 78 74 75 72 65 |...local| Texture|
|00000b90| 20 54 3b 0d 0a 09 6c 6f | 63 61 6c 20 52 65 67 69 | T;...lo|cal Regi|
|00000ba0| 6f 6e 20 52 2c 20 54 65 | 6d 70 3b 0d 0a 0d 0a 09 |on R, Te|mp;.....|
|00000bb0| 43 2e 44 72 61 77 43 6f | 6c 6f 72 2e 72 20 3d 20 |C.DrawCo|lor.r = |
|00000bc0| 32 35 35 3b 0d 0a 09 43 | 2e 44 72 61 77 43 6f 6c |255;...C|.DrawCol|
|00000bd0| 6f 72 2e 67 20 3d 20 32 | 35 35 3b 0d 0a 09 43 2e |or.g = 2|55;...C.|
|00000be0| 44 72 61 77 43 6f 6c 6f | 72 2e 62 20 3d 20 32 35 |DrawColo|r.b = 25|
|00000bf0| 35 3b 0d 0a 0d 0a 09 54 | 20 3d 20 57 2e 47 65 74 |5;.....T| = W.Get|
|00000c00| 4c 6f 6f 6b 41 6e 64 46 | 65 65 6c 54 65 78 74 75 |LookAndF|eelTextu|
|00000c10| 72 65 28 29 3b 0d 0a 0d | 0a 09 52 20 3d 20 46 72 |re();...|..R = Fr|
|00000c20| 61 6d 65 54 4c 3b 0d 0a | 09 57 2e 44 72 61 77 53 |ameTL;..|.W.DrawS|
|00000c30| 74 72 65 74 63 68 65 64 | 54 65 78 74 75 72 65 53 |tretched|TextureS|
|00000c40| 65 67 6d 65 6e 74 28 20 | 43 2c 20 30 2c 20 30 2c |egment( |C, 0, 0,|
|00000c50| 20 52 2e 57 2c 20 52 2e | 48 2c 20 52 2e 58 2c 20 | R.W, R.|H, R.X, |
|00000c60| 52 2e 59 2c 20 52 2e 57 | 2c 20 52 2e 48 2c 20 54 |R.Y, R.W|, R.H, T|
|00000c70| 20 29 3b 0d 0a 0d 0a 09 | 52 20 3d 20 46 72 61 6d | );.....|R = Fram|
|00000c80| 65 54 3b 0d 0a 09 57 2e | 44 72 61 77 53 74 72 65 |eT;...W.|DrawStre|
|00000c90| 74 63 68 65 64 54 65 78 | 74 75 72 65 53 65 67 6d |tchedTex|tureSegm|
|00000ca0| 65 6e 74 28 20 43 2c 20 | 46 72 61 6d 65 54 4c 2e |ent( C, |FrameTL.|
|00000cb0| 57 2c 20 30 2c 20 0d 0a | 09 09 09 09 09 09 09 09 |W, 0, ..|........|
|00000cc0| 09 57 2e 57 69 6e 57 69 | 64 74 68 20 2d 20 46 72 |.W.WinWi|dth - Fr|
|00000cd0| 61 6d 65 54 4c 2e 57 0d | 0a 09 09 09 09 09 09 09 |ameTL.W.|........|
|00000ce0| 09 09 2d 20 46 72 61 6d | 65 54 52 2e 57 2c 0d 0a |..- Fram|eTR.W,..|
|00000cf0| 09 09 09 09 09 09 09 09 | 09 52 2e 48 2c 20 52 2e |........|.R.H, R.|
|00000d00| 58 2c 20 52 2e 59 2c 20 | 52 2e 57 2c 20 52 2e 48 |X, R.Y, |R.W, R.H|
|00000d10| 2c 20 54 20 29 3b 0d 0a | 0d 0a 09 52 20 3d 20 46 |, T );..|...R = F|
|00000d20| 72 61 6d 65 54 52 3b 0d | 0a 09 57 2e 44 72 61 77 |rameTR;.|..W.Draw|
|00000d30| 53 74 72 65 74 63 68 65 | 64 54 65 78 74 75 72 65 |Stretche|dTexture|
|00000d40| 53 65 67 6d 65 6e 74 28 | 20 43 2c 20 57 2e 57 69 |Segment(| C, W.Wi|
|00000d50| 6e 57 69 64 74 68 20 2d | 20 52 2e 57 2c 20 30 2c |nWidth -| R.W, 0,|
|00000d60| 20 52 2e 57 2c 20 52 2e | 48 2c 20 52 2e 58 2c 20 | R.W, R.|H, R.X, |
|00000d70| 52 2e 59 2c 20 52 2e 57 | 2c 20 52 2e 48 2c 20 54 |R.Y, R.W|, R.H, T|
|00000d80| 20 29 3b 0d 0a 09 0d 0a | 0d 0a 09 69 66 28 57 2e | );.....|...if(W.|
|00000d90| 62 53 74 61 74 75 73 42 | 61 72 29 0d 0a 09 09 54 |bStatusB|ar)....T|
|00000da0| 65 6d 70 20 3d 20 46 72 | 61 6d 65 53 42 4c 3b 0d |emp = Fr|ameSBL;.|
|00000db0| 0a 09 65 6c 73 65 0d 0a | 09 09 54 65 6d 70 20 3d |..else..|..Temp =|
|00000dc0| 20 46 72 61 6d 65 42 4c | 3b 0d 0a 09 0d 0a 09 52 | FrameBL|;......R|
|00000dd0| 20 3d 20 46 72 61 6d 65 | 4c 3b 0d 0a 09 57 2e 44 | = Frame|L;...W.D|
|00000de0| 72 61 77 53 74 72 65 74 | 63 68 65 64 54 65 78 74 |rawStret|chedText|
|00000df0| 75 72 65 53 65 67 6d 65 | 6e 74 28 20 43 2c 20 30 |ureSegme|nt( C, 0|
|00000e00| 2c 20 46 72 61 6d 65 54 | 4c 2e 48 2c 0d 0a 09 09 |, FrameT|L.H,....|
|00000e10| 09 09 09 09 09 09 09 52 | 2e 57 2c 20 20 0d 0a 09 |.......R|.W, ...|
|00000e20| 09 09 09 09 09 09 09 09 | 57 2e 57 69 6e 48 65 69 |........|W.WinHei|
|00000e30| 67 68 74 20 2d 20 46 72 | 61 6d 65 54 4c 2e 48 0d |ght - Fr|ameTL.H.|
|00000e40| 0a 09 09 09 09 09 09 09 | 09 09 2d 20 54 65 6d 70 |........|..- Temp|
|00000e50| 2e 48 2c 0d 0a 09 09 09 | 09 09 09 09 09 09 52 2e |.H,.....|......R.|
|00000e60| 58 2c 20 52 2e 59 2c 20 | 52 2e 57 2c 20 52 2e 48 |X, R.Y, |R.W, R.H|
|00000e70| 2c 20 54 20 29 3b 0d 0a | 0d 0a 09 52 20 3d 20 46 |, T );..|...R = F|
|00000e80| 72 61 6d 65 52 3b 0d 0a | 09 57 2e 44 72 61 77 53 |rameR;..|.W.DrawS|
|00000e90| 74 72 65 74 63 68 65 64 | 54 65 78 74 75 72 65 53 |tretched|TextureS|
|00000ea0| 65 67 6d 65 6e 74 28 20 | 43 2c 20 57 2e 57 69 6e |egment( |C, W.Win|
|00000eb0| 57 69 64 74 68 20 2d 20 | 52 2e 57 2c 20 46 72 61 |Width - |R.W, Fra|
|00000ec0| 6d 65 54 4c 2e 48 2c 0d | 0a 09 09 09 09 09 09 09 |meTL.H,.|........|
|00000ed0| 09 09 52 2e 57 2c 20 20 | 0d 0a 09 09 09 09 09 09 |..R.W, |........|
|00000ee0| 09 09 09 57 2e 57 69 6e | 48 65 69 67 68 74 20 2d |...W.Win|Height -|
|00000ef0| 20 46 72 61 6d 65 54 4c | 2e 48 0d 0a 09 09 09 09 | FrameTL|.H......|
|00000f00| 09 09 09 09 09 2d 20 54 | 65 6d 70 2e 48 2c 0d 0a |.....- T|emp.H,..|
|00000f10| 09 09 09 09 09 09 09 09 | 09 52 2e 58 2c 20 52 2e |........|.R.X, R.|
|00000f20| 59 2c 20 52 2e 57 2c 20 | 52 2e 48 2c 20 54 20 29 |Y, R.W, |R.H, T )|
|00000f30| 3b 0d 0a 0d 0a 09 69 66 | 28 57 2e 62 53 74 61 74 |;.....if|(W.bStat|
|00000f40| 75 73 42 61 72 29 0d 0a | 09 09 52 20 3d 20 46 72 |usBar)..|..R = Fr|
|00000f50| 61 6d 65 53 42 4c 3b 0d | 0a 09 65 6c 73 65 0d 0a |ameSBL;.|..else..|
|00000f60| 09 09 52 20 3d 20 46 72 | 61 6d 65 42 4c 3b 0d 0a |..R = Fr|ameBL;..|
|00000f70| 09 57 2e 44 72 61 77 53 | 74 72 65 74 63 68 65 64 |.W.DrawS|tretched|
|00000f80| 54 65 78 74 75 72 65 53 | 65 67 6d 65 6e 74 28 20 |TextureS|egment( |
|00000f90| 43 2c 20 30 2c 20 57 2e | 57 69 6e 48 65 69 67 68 |C, 0, W.|WinHeigh|
|00000fa0| 74 20 2d 20 52 2e 48 2c | 20 52 2e 57 2c 20 52 2e |t - R.H,| R.W, R.|
|00000fb0| 48 2c 20 52 2e 58 2c 20 | 52 2e 59 2c 20 52 2e 57 |H, R.X, |R.Y, R.W|
|00000fc0| 2c 20 52 2e 48 2c 20 54 | 20 29 3b 0d 0a 0d 0a 09 |, R.H, T| );.....|
|00000fd0| 69 66 28 57 2e 62 53 74 | 61 74 75 73 42 61 72 29 |if(W.bSt|atusBar)|
|00000fe0| 0d 0a 09 7b 0d 0a 09 09 | 52 20 3d 20 46 72 61 6d |...{....|R = Fram|
|00000ff0| 65 53 42 3b 0d 0a 09 09 | 57 2e 44 72 61 77 53 74 |eSB;....|W.DrawSt|
|00001000| 72 65 74 63 68 65 64 54 | 65 78 74 75 72 65 53 65 |retchedT|extureSe|
|00001010| 67 6d 65 6e 74 28 20 43 | 2c 20 46 72 61 6d 65 42 |gment( C|, FrameB|
|00001020| 4c 2e 57 2c 20 57 2e 57 | 69 6e 48 65 69 67 68 74 |L.W, W.W|inHeight|
|00001030| 20 2d 20 52 2e 48 2c 20 | 0d 0a 09 09 09 09 09 09 | - R.H, |........|
|00001040| 09 09 09 09 57 2e 57 69 | 6e 57 69 64 74 68 20 2d |....W.Wi|nWidth -|
|00001050| 20 46 72 61 6d 65 53 42 | 4c 2e 57 0d 0a 09 09 09 | FrameSB|L.W.....|
|00001060| 09 09 09 09 09 09 09 2d | 20 46 72 61 6d 65 53 42 |.......-| FrameSB|
|00001070| 52 2e 57 2c 0d 0a 09 09 | 09 09 09 09 09 09 09 09 |R.W,....|........|
|00001080| 52 2e 48 2c 20 52 2e 58 | 2c 20 52 2e 59 2c 20 52 |R.H, R.X|, R.Y, R|
|00001090| 2e 57 2c 20 52 2e 48 2c | 20 54 20 29 3b 0d 0a 09 |.W, R.H,| T );...|
|000010a0| 7d 0d 0a 09 65 6c 73 65 | 0d 0a 09 7b 0d 0a 09 09 |}...else|...{....|
|000010b0| 52 20 3d 20 46 72 61 6d | 65 42 3b 0d 0a 09 09 57 |R = Fram|eB;....W|
|000010c0| 2e 44 72 61 77 53 74 72 | 65 74 63 68 65 64 54 65 |.DrawStr|etchedTe|
|000010d0| 78 74 75 72 65 53 65 67 | 6d 65 6e 74 28 20 43 2c |xtureSeg|ment( C,|
|000010e0| 20 46 72 61 6d 65 42 4c | 2e 57 2c 20 57 2e 57 69 | FrameBL|.W, W.Wi|
|000010f0| 6e 48 65 69 67 68 74 20 | 2d 20 52 2e 48 2c 20 0d |nHeight |- R.H, .|
|00001100| 0a 09 09 09 09 09 09 09 | 09 09 09 57 2e 57 69 6e |........|...W.Win|
|00001110| 57 69 64 74 68 20 2d 20 | 46 72 61 6d 65 42 4c 2e |Width - |FrameBL.|
|00001120| 57 0d 0a 09 09 09 09 09 | 09 09 09 09 09 2d 20 46 |W.......|.....- F|
|00001130| 72 61 6d 65 42 52 2e 57 | 2c 0d 0a 09 09 09 09 09 |rameBR.W|,.......|
|00001140| 09 09 09 09 09 52 2e 48 | 2c 20 52 2e 58 2c 20 52 |.....R.H|, R.X, R|
|00001150| 2e 59 2c 20 52 2e 57 2c | 20 52 2e 48 2c 20 54 20 |.Y, R.W,| R.H, T |
|00001160| 29 3b 0d 0a 09 7d 0d 0a | 0d 0a 09 69 66 28 57 2e |);...}..|...if(W.|
|00001170| 62 53 74 61 74 75 73 42 | 61 72 29 0d 0a 09 09 52 |bStatusB|ar)....R|
|00001180| 20 3d 20 46 72 61 6d 65 | 53 42 52 3b 0d 0a 09 65 | = Frame|SBR;...e|
|00001190| 6c 73 65 0d 0a 09 09 52 | 20 3d 20 46 72 61 6d 65 |lse....R| = Frame|
|000011a0| 42 52 3b 0d 0a 09 57 2e | 44 72 61 77 53 74 72 65 |BR;...W.|DrawStre|
|000011b0| 74 63 68 65 64 54 65 78 | 74 75 72 65 53 65 67 6d |tchedTex|tureSegm|
|000011c0| 65 6e 74 28 20 43 2c 20 | 57 2e 57 69 6e 57 69 64 |ent( C, |W.WinWid|
|000011d0| 74 68 20 2d 20 52 2e 57 | 2c 20 57 2e 57 69 6e 48 |th - R.W|, W.WinH|
|000011e0| 65 69 67 68 74 20 2d 20 | 52 2e 48 2c 20 52 2e 57 |eight - |R.H, R.W|
|000011f0| 2c 20 52 2e 48 2c 20 52 | 2e 58 2c 20 52 2e 59 2c |, R.H, R|.X, R.Y,|
|00001200| 20 0d 0a 09 09 09 09 09 | 09 09 09 09 52 2e 57 2c | .......|....R.W,|
|00001210| 20 52 2e 48 2c 20 54 20 | 29 3b 0d 0a 0d 0a 0d 0a | R.H, T |);......|
|00001220| 09 43 2e 46 6f 6e 74 20 | 3d 20 57 2e 52 6f 6f 74 |.C.Font |= W.Root|
|00001230| 2e 46 6f 6e 74 73 5b 57 | 2e 46 5f 4e 6f 72 6d 61 |.Fonts[W|.F_Norma|
|00001240| 6c 5d 3b 0d 0a 09 69 66 | 28 57 2e 50 61 72 65 6e |l];...if|(W.Paren|
|00001250| 74 57 69 6e 64 6f 77 2e | 41 63 74 69 76 65 57 69 |tWindow.|ActiveWi|
|00001260| 6e 64 6f 77 20 3d 3d 20 | 57 29 0d 0a 09 09 43 2e |ndow == |W)....C.|
|00001270| 44 72 61 77 43 6f 6c 6f | 72 20 3d 20 46 72 61 6d |DrawColo|r = Fram|
|00001280| 65 41 63 74 69 76 65 54 | 69 74 6c 65 43 6f 6c 6f |eActiveT|itleColo|
|00001290| 72 3b 0d 0a 09 65 6c 73 | 65 0d 0a 09 09 43 2e 44 |r;...els|e....C.D|
|000012a0| 72 61 77 43 6f 6c 6f 72 | 20 3d 20 46 72 61 6d 65 |rawColor| = Frame|
|000012b0| 49 6e 61 63 74 69 76 65 | 54 69 74 6c 65 43 6f 6c |Inactive|TitleCol|
|000012c0| 6f 72 3b 0d 0a 0d 0a 0d | 0a 09 57 2e 43 6c 69 70 |or;.....|..W.Clip|
|000012d0| 54 65 78 74 57 69 64 74 | 68 28 43 2c 20 46 72 61 |TextWidt|h(C, Fra|
|000012e0| 6d 65 54 69 74 6c 65 58 | 2c 20 46 72 61 6d 65 54 |meTitleX|, FrameT|
|000012f0| 69 74 6c 65 59 2c 20 0d | 0a 09 09 09 09 09 57 2e |itleY, .|......W.|
|00001300| 57 69 6e 64 6f 77 54 69 | 74 6c 65 2c 20 57 2e 57 |WindowTi|tle, W.W|
|00001310| 69 6e 57 69 64 74 68 20 | 2d 20 32 32 29 3b 0d 0a |inWidth |- 22);..|
|00001320| 0d 0a 09 69 66 28 57 2e | 62 53 74 61 74 75 73 42 |...if(W.|bStatusB|
|00001330| 61 72 29 20 0d 0a 09 7b | 0d 0a 09 09 43 2e 44 72 |ar) ...{|....C.Dr|
|00001340| 61 77 43 6f 6c 6f 72 2e | 72 20 3d 20 30 3b 0d 0a |awColor.|r = 0;..|
|00001350| 09 09 43 2e 44 72 61 77 | 43 6f 6c 6f 72 2e 67 20 |..C.Draw|Color.g |
|00001360| 3d 20 30 3b 0d 0a 09 09 | 43 2e 44 72 61 77 43 6f |= 0;....|C.DrawCo|
|00001370| 6c 6f 72 2e 62 20 3d 20 | 30 3b 0d 0a 0d 0a 09 09 |lor.b = |0;......|
|00001380| 57 2e 43 6c 69 70 54 65 | 78 74 57 69 64 74 68 28 |W.ClipTe|xtWidth(|
|00001390| 43 2c 20 36 2c 20 57 2e | 57 69 6e 48 65 69 67 68 |C, 6, W.|WinHeigh|
|000013a0| 74 20 2d 20 31 33 2c 20 | 57 2e 53 74 61 74 75 73 |t - 13, |W.Status|
|000013b0| 42 61 72 54 65 78 74 2c | 20 57 2e 57 69 6e 57 69 |BarText,| W.WinWi|
|000013c0| 64 74 68 20 2d 20 32 32 | 29 3b 0d 0a 0d 0a 09 09 |dth - 22|);......|
|000013d0| 43 2e 44 72 61 77 43 6f | 6c 6f 72 2e 72 20 3d 20 |C.DrawCo|lor.r = |
|000013e0| 32 35 35 3b 0d 0a 09 09 | 43 2e 44 72 61 77 43 6f |255;....|C.DrawCo|
|000013f0| 6c 6f 72 2e 67 20 3d 20 | 32 35 35 3b 0d 0a 09 09 |lor.g = |255;....|
|00001400| 43 2e 44 72 61 77 43 6f | 6c 6f 72 2e 62 20 3d 20 |C.DrawCo|lor.b = |
|00001410| 32 35 35 3b 0d 0a 09 7d | 0d 0a 7d 0d 0a 0d 0a 66 |255;...}|..}....f|
|00001420| 75 6e 63 74 69 6f 6e 20 | 46 57 5f 53 65 74 75 70 |unction |FW_Setup|
|00001430| 46 72 61 6d 65 42 75 74 | 74 6f 6e 73 28 55 57 69 |FrameBut|tons(UWi|
|00001440| 6e 64 6f 77 46 72 61 6d | 65 64 57 69 6e 64 6f 77 |ndowFram|edWindow|
|00001450| 20 57 2c 20 43 61 6e 76 | 61 73 20 43 29 0d 0a 7b | W, Canv|as C)..{|
|00001460| 0d 0a 09 6c 6f 63 61 6c | 20 54 65 78 74 75 72 65 |...local| Texture|
|00001470| 20 54 3b 0d 0a 0d 0a 09 | 54 20 3d 20 57 2e 47 65 | T;.....|T = W.Ge|
|00001480| 74 4c 6f 6f 6b 41 6e 64 | 46 65 65 6c 54 65 78 74 |tLookAnd|FeelText|
|00001490| 75 72 65 28 29 3b 0d 0a | 0d 0a 09 57 2e 43 6c 6f |ure();..|...W.Clo|
|000014a0| 73 65 42 6f 78 2e 57 69 | 6e 4c 65 66 74 20 3d 20 |seBox.Wi|nLeft = |
|000014b0| 57 2e 57 69 6e 57 69 64 | 74 68 20 2d 20 43 6c 6f |W.WinWid|th - Clo|
|000014c0| 73 65 42 6f 78 4f 66 66 | 73 65 74 58 20 2d 20 43 |seBoxOff|setX - C|
|000014d0| 6c 6f 73 65 42 6f 78 55 | 70 2e 57 3b 0d 0a 09 57 |loseBoxU|p.W;...W|
|000014e0| 2e 43 6c 6f 73 65 42 6f | 78 2e 57 69 6e 54 6f 70 |.CloseBo|x.WinTop|
|000014f0| 20 3d 20 43 6c 6f 73 65 | 42 6f 78 4f 66 66 73 65 | = Close|BoxOffse|
|00001500| 74 59 3b 0d 0a 0d 0a 09 | 57 2e 43 6c 6f 73 65 42 |tY;.....|W.CloseB|
|00001510| 6f 78 2e 53 65 74 53 69 | 7a 65 28 43 6c 6f 73 65 |ox.SetSi|ze(Close|
|00001520| 42 6f 78 55 70 2e 57 2c | 20 43 6c 6f 73 65 42 6f |BoxUp.W,| CloseBo|
|00001530| 78 55 70 2e 48 29 3b 0d | 0a 09 57 2e 43 6c 6f 73 |xUp.H);.|..W.Clos|
|00001540| 65 42 6f 78 2e 62 55 73 | 65 52 65 67 69 6f 6e 20 |eBox.bUs|eRegion |
|00001550| 3d 20 54 72 75 65 3b 0d | 0a 0d 0a 09 57 2e 43 6c |= True;.|....W.Cl|
|00001560| 6f 73 65 42 6f 78 2e 55 | 70 54 65 78 74 75 72 65 |oseBox.U|pTexture|
|00001570| 20 3d 20 54 3b 0d 0a 09 | 57 2e 43 6c 6f 73 65 42 | = T;...|W.CloseB|
|00001580| 6f 78 2e 44 6f 77 6e 54 | 65 78 74 75 72 65 20 3d |ox.DownT|exture =|
|00001590| 20 54 3b 0d 0a 09 57 2e | 43 6c 6f 73 65 42 6f 78 | T;...W.|CloseBox|
|000015a0| 2e 4f 76 65 72 54 65 78 | 74 75 72 65 20 3d 20 54 |.OverTex|ture = T|
|000015b0| 3b 0d 0a 09 57 2e 43 6c | 6f 73 65 42 6f 78 2e 44 |;...W.Cl|oseBox.D|
|000015c0| 69 73 61 62 6c 65 64 54 | 65 78 74 75 72 65 20 3d |isabledT|exture =|
|000015d0| 20 54 3b 0d 0a 0d 0a 09 | 57 2e 43 6c 6f 73 65 42 | T;.....|W.CloseB|
|000015e0| 6f 78 2e 55 70 52 65 67 | 69 6f 6e 20 3d 20 43 6c |ox.UpReg|ion = Cl|
|000015f0| 6f 73 65 42 6f 78 55 70 | 3b 0d 0a 09 57 2e 43 6c |oseBoxUp|;...W.Cl|
|00001600| 6f 73 65 42 6f 78 2e 44 | 6f 77 6e 52 65 67 69 6f |oseBox.D|ownRegio|
|00001610| 6e 20 3d 20 43 6c 6f 73 | 65 42 6f 78 44 6f 77 6e |n = Clos|eBoxDown|
|00001620| 3b 0d 0a 09 57 2e 43 6c | 6f 73 65 42 6f 78 2e 4f |;...W.Cl|oseBox.O|
|00001630| 76 65 72 52 65 67 69 6f | 6e 20 3d 20 43 6c 6f 73 |verRegio|n = Clos|
|00001640| 65 42 6f 78 55 70 3b 0d | 0a 09 57 2e 43 6c 6f 73 |eBoxUp;.|..W.Clos|
|00001650| 65 42 6f 78 2e 44 69 73 | 61 62 6c 65 64 52 65 67 |eBox.Dis|abledReg|
|00001660| 69 6f 6e 20 3d 20 43 6c | 6f 73 65 42 6f 78 55 70 |ion = Cl|oseBoxUp|
|00001670| 3b 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |;..}....|function|
|00001680| 20 52 65 67 69 6f 6e 20 | 46 57 5f 47 65 74 43 6c | Region |FW_GetCl|
|00001690| 69 65 6e 74 41 72 65 61 | 28 55 57 69 6e 64 6f 77 |ientArea|(UWindow|
|000016a0| 46 72 61 6d 65 64 57 69 | 6e 64 6f 77 20 57 29 0d |FramedWi|ndow W).|
|000016b0| 0a 7b 0d 0a 09 6c 6f 63 | 61 6c 20 52 65 67 69 6f |.{...loc|al Regio|
|000016c0| 6e 20 52 3b 0d 0a 0d 0a | 09 52 2e 58 20 3d 20 46 |n R;....|.R.X = F|
|000016d0| 72 61 6d 65 4c 2e 57 3b | 0d 0a 09 52 2e 59 09 3d |rameL.W;|...R.Y.=|
|000016e0| 20 46 72 61 6d 65 54 2e | 48 3b 0d 0a 09 52 2e 57 | FrameT.|H;...R.W|
|000016f0| 20 3d 20 57 2e 57 69 6e | 57 69 64 74 68 20 2d 20 | = W.Win|Width - |
|00001700| 28 46 72 61 6d 65 4c 2e | 57 20 2b 20 46 72 61 6d |(FrameL.|W + Fram|
|00001710| 65 52 2e 57 29 3b 0d 0a | 09 69 66 28 57 2e 62 53 |eR.W);..|.if(W.bS|
|00001720| 74 61 74 75 73 42 61 72 | 29 20 0d 0a 09 09 52 2e |tatusBar|) ....R.|
|00001730| 48 20 3d 20 57 2e 57 69 | 6e 48 65 69 67 68 74 20 |H = W.Wi|nHeight |
|00001740| 2d 20 28 46 72 61 6d 65 | 54 2e 48 20 2b 20 46 72 |- (Frame|T.H + Fr|
|00001750| 61 6d 65 53 42 2e 48 29 | 3b 0d 0a 09 65 6c 73 65 |ameSB.H)|;...else|
|00001760| 0d 0a 09 09 52 2e 48 20 | 3d 20 57 2e 57 69 6e 48 |....R.H |= W.WinH|
|00001770| 65 69 67 68 74 20 2d 20 | 28 46 72 61 6d 65 54 2e |eight - |(FrameT.|
|00001780| 48 20 2b 20 46 72 61 6d | 65 42 2e 48 29 3b 0d 0a |H + Fram|eB.H);..|
|00001790| 0d 0a 09 72 65 74 75 72 | 6e 20 52 3b 0d 0a 7d 0d |...retur|n R;..}.|
|000017a0| 0a 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 46 72 |.....fun|ction Fr|
|000017b0| 61 6d 65 48 69 74 54 65 | 73 74 20 46 57 5f 48 69 |ameHitTe|st FW_Hi|
|000017c0| 74 54 65 73 74 28 55 57 | 69 6e 64 6f 77 46 72 61 |tTest(UW|indowFra|
|000017d0| 6d 65 64 57 69 6e 64 6f | 77 20 57 2c 20 66 6c 6f |medWindo|w W, flo|
|000017e0| 61 74 20 58 2c 20 66 6c | 6f 61 74 20 59 29 0d 0a |at X, fl|oat Y)..|
|000017f0| 7b 0d 0a 09 69 66 28 28 | 58 20 3e 3d 20 33 29 20 |{...if((|X >= 3) |
|00001800| 26 26 20 28 58 20 3c 3d | 20 57 2e 57 69 6e 57 69 |&& (X <=| W.WinWi|
|00001810| 64 74 68 2d 33 29 20 26 | 26 20 28 59 20 3e 3d 20 |dth-3) &|& (Y >= |
|00001820| 33 29 20 26 26 20 28 59 | 20 3c 3d 20 31 34 29 29 |3) && (Y| <= 14))|
|00001830| 0d 0a 09 09 72 65 74 75 | 72 6e 20 48 54 5f 54 69 |....retu|rn HT_Ti|
|00001840| 74 6c 65 42 61 72 3b 0d | 0a 09 69 66 28 28 58 20 |tleBar;.|..if((X |
|00001850| 3c 20 42 52 53 49 5a 45 | 42 4f 52 44 45 52 20 26 |< BRSIZE|BORDER &|
|00001860| 26 20 59 20 3c 20 53 49 | 5a 45 42 4f 52 44 45 52 |& Y < SI|ZEBORDER|
|00001870| 29 20 7c 7c 20 28 58 20 | 3c 20 53 49 5a 45 42 4f |) || (X |< SIZEBO|
|00001880| 52 44 45 52 20 26 26 20 | 59 20 3c 20 42 52 53 49 |RDER && |Y < BRSI|
|00001890| 5a 45 42 4f 52 44 45 52 | 29 29 20 0d 0a 09 09 72 |ZEBORDER|)) ....r|
|000018a0| 65 74 75 72 6e 20 48 54 | 5f 4e 57 3b 0d 0a 09 69 |eturn HT|_NW;...i|
|000018b0| 66 28 28 58 20 3e 20 57 | 2e 57 69 6e 57 69 64 74 |f((X > W|.WinWidt|
|000018c0| 68 20 2d 20 53 49 5a 45 | 42 4f 52 44 45 52 20 26 |h - SIZE|BORDER &|
|000018d0| 26 20 59 20 3c 20 42 52 | 53 49 5a 45 42 4f 52 44 |& Y < BR|SIZEBORD|
|000018e0| 45 52 29 20 7c 7c 20 28 | 58 20 3e 20 57 2e 57 69 |ER) || (|X > W.Wi|
|000018f0| 6e 57 69 64 74 68 20 2d | 20 42 52 53 49 5a 45 42 |nWidth -| BRSIZEB|
|00001900| 4f 52 44 45 52 20 26 26 | 20 59 20 3c 20 53 49 5a |ORDER &&| Y < SIZ|
|00001910| 45 42 4f 52 44 45 52 29 | 29 0d 0a 09 09 72 65 74 |EBORDER)|)....ret|
|00001920| 75 72 6e 20 48 54 5f 4e | 45 3b 0d 0a 09 69 66 28 |urn HT_N|E;...if(|
|00001930| 28 58 20 3c 20 42 52 53 | 49 5a 45 42 4f 52 44 45 |(X < BRS|IZEBORDE|
|00001940| 52 20 26 26 20 59 20 3e | 20 57 2e 57 69 6e 48 65 |R && Y >| W.WinHe|
|00001950| 69 67 68 74 20 2d 20 53 | 49 5a 45 42 4f 52 44 45 |ight - S|IZEBORDE|
|00001960| 52 29 7c 7c 20 28 58 20 | 3c 20 53 49 5a 45 42 4f |R)|| (X |< SIZEBO|
|00001970| 52 44 45 52 20 26 26 20 | 59 20 3e 20 57 2e 57 69 |RDER && |Y > W.Wi|
|00001980| 6e 48 65 69 67 68 74 20 | 2d 20 42 52 53 49 5a 45 |nHeight |- BRSIZE|
|00001990| 42 4f 52 44 45 52 29 29 | 20 0d 0a 09 09 72 65 74 |BORDER))| ....ret|
|000019a0| 75 72 6e 20 48 54 5f 53 | 57 3b 0d 0a 09 69 66 28 |urn HT_S|W;...if(|
|000019b0| 28 58 20 3e 20 57 2e 57 | 69 6e 57 69 64 74 68 20 |(X > W.W|inWidth |
|000019c0| 2d 20 42 52 53 49 5a 45 | 42 4f 52 44 45 52 29 20 |- BRSIZE|BORDER) |
|000019d0| 26 26 20 28 59 20 3e 20 | 57 2e 57 69 6e 48 65 69 |&& (Y > |W.WinHei|
|000019e0| 67 68 74 20 2d 20 42 52 | 53 49 5a 45 42 4f 52 44 |ght - BR|SIZEBORD|
|000019f0| 45 52 29 29 0d 0a 09 09 | 72 65 74 75 72 6e 20 48 |ER))....|return H|
|00001a00| 54 5f 53 45 3b 0d 0a 09 | 69 66 28 59 20 3c 20 53 |T_SE;...|if(Y < S|
|00001a10| 49 5a 45 42 4f 52 44 45 | 52 29 0d 0a 09 09 72 65 |IZEBORDE|R)....re|
|00001a20| 74 75 72 6e 20 48 54 5f | 4e 3b 0d 0a 09 69 66 28 |turn HT_|N;...if(|
|00001a30| 59 20 3e 20 57 2e 57 69 | 6e 48 65 69 67 68 74 20 |Y > W.Wi|nHeight |
|00001a40| 2d 20 53 49 5a 45 42 4f | 52 44 45 52 29 0d 0a 09 |- SIZEBO|RDER)...|
|00001a50| 09 72 65 74 75 72 6e 20 | 48 54 5f 53 3b 0d 0a 09 |.return |HT_S;...|
|00001a60| 69 66 28 58 20 3c 20 53 | 49 5a 45 42 4f 52 44 45 |if(X < S|IZEBORDE|
|00001a70| 52 29 0d 0a 09 09 72 65 | 74 75 72 6e 20 48 54 5f |R)....re|turn HT_|
|00001a80| 57 3b 0d 0a 09 69 66 28 | 58 20 3e 20 57 2e 57 69 |W;...if(|X > W.Wi|
|00001a90| 6e 57 69 64 74 68 20 2d | 20 53 49 5a 45 42 4f 52 |nWidth -| SIZEBOR|
|00001aa0| 44 45 52 29 09 0d 0a 09 | 09 72 65 74 75 72 6e 20 |DER)....|.return |
|00001ab0| 48 54 5f 45 3b 0d 0a 0d | 0a 09 72 65 74 75 72 6e |HT_E;...|..return|
|00001ac0| 20 48 54 5f 4e 6f 6e 65 | 3b 09 0d 0a 7d 0d 0a 0d | HT_None|;...}...|
|00001ad0| 0a 2f 2a 20 43 6c 69 65 | 6e 74 20 41 72 65 61 20 |./* Clie|nt Area |
|00001ae0| 44 72 61 77 69 6e 67 20 | 46 75 6e 63 74 69 6f 6e |Drawing |Function|
|00001af0| 73 20 2a 2f 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 44 |s */..fu|nction D|
|00001b00| 72 61 77 43 6c 69 65 6e | 74 41 72 65 61 28 55 57 |rawClien|tArea(UW|
|00001b10| 69 6e 64 6f 77 43 6c 69 | 65 6e 74 57 69 6e 64 6f |indowCli|entWindo|
|00001b20| 77 20 57 2c 20 43 61 6e | 76 61 73 20 43 29 0d 0a |w W, Can|vas C)..|
|00001b30| 7b 0d 0a 09 57 2e 44 72 | 61 77 53 74 72 65 74 63 |{...W.Dr|awStretc|
|00001b40| 68 65 64 54 65 78 74 75 | 72 65 28 43 2c 20 30 2c |hedTextu|re(C, 0,|
|00001b50| 20 30 2c 20 57 2e 57 69 | 6e 57 69 64 74 68 2c 20 | 0, W.Wi|nWidth, |
|00001b60| 57 2e 57 69 6e 48 65 69 | 67 68 74 2c 20 54 65 78 |W.WinHei|ght, Tex|
|00001b70| 74 75 72 65 27 42 6c 61 | 63 6b 54 65 78 74 75 72 |ture'Bla|ckTextur|
|00001b80| 65 27 29 3b 0d 0a 7d 0d | 0a 0d 0a 0d 0a 2f 2a 20 |e');..}.|...../* |
|00001b90| 43 6f 6d 62 6f 20 44 72 | 61 77 69 6e 67 20 46 75 |Combo Dr|awing Fu|
|00001ba0| 6e 63 74 69 6f 6e 73 20 | 2a 2f 0d 0a 66 75 6e 63 |nctions |*/..func|
|00001bb0| 74 69 6f 6e 20 43 6f 6d | 62 6f 5f 53 65 74 75 70 |tion Com|bo_Setup|
|00001bc0| 53 69 7a 65 73 28 55 57 | 69 6e 64 6f 77 43 6f 6d |Sizes(UW|indowCom|
|00001bd0| 62 6f 43 6f 6e 74 72 6f | 6c 20 57 2c 20 43 61 6e |boContro|l W, Can|
|00001be0| 76 61 73 20 43 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 |vas C)..|{...loca|
|00001bf0| 6c 20 66 6c 6f 61 74 20 | 54 57 2c 20 54 48 3b 0d |l float |TW, TH;.|
|00001c00| 0a 0d 0a 09 43 2e 46 6f | 6e 74 20 3d 20 57 2e 52 |....C.Fo|nt = W.R|
|00001c10| 6f 6f 74 2e 46 6f 6e 74 | 73 5b 57 2e 46 6f 6e 74 |oot.Font|s[W.Font|
|00001c20| 5d 3b 0d 0a 09 57 2e 54 | 65 78 74 53 69 7a 65 28 |];...W.T|extSize(|
|00001c30| 43 2c 20 57 2e 54 65 78 | 74 2c 20 54 57 2c 20 54 |C, W.Tex|t, TW, T|
|00001c40| 48 29 3b 0d 0a 09 0d 0a | 09 57 2e 57 69 6e 48 65 |H);.....|.W.WinHe|
|00001c50| 69 67 68 74 20 3d 20 31 | 32 20 2b 20 4d 69 73 63 |ight = 1|2 + Misc|
|00001c60| 42 65 76 65 6c 54 5b 32 | 5d 2e 48 20 2b 20 4d 69 |BevelT[2|].H + Mi|
|00001c70| 73 63 42 65 76 65 6c 42 | 5b 32 5d 2e 48 3b 0d 0a |scBevelB|[2].H;..|
|00001c80| 09 0d 0a 09 73 77 69 74 | 63 68 28 57 2e 41 6c 69 |....swit|ch(W.Ali|
|00001c90| 67 6e 29 0d 0a 09 7b 0d | 0a 09 63 61 73 65 20 54 |gn)...{.|..case T|
|00001ca0| 41 5f 4c 65 66 74 3a 0d | 0a 09 09 57 2e 45 64 69 |A_Left:.|...W.Edi|
|00001cb0| 74 41 72 65 61 44 72 61 | 77 58 20 3d 20 57 2e 57 |tAreaDra|wX = W.W|
|00001cc0| 69 6e 57 69 64 74 68 20 | 2d 20 57 2e 45 64 69 74 |inWidth |- W.Edit|
|00001cd0| 42 6f 78 57 69 64 74 68 | 3b 0d 0a 09 09 57 2e 54 |BoxWidth|;....W.T|
|00001ce0| 65 78 74 58 20 3d 20 30 | 3b 0d 0a 09 09 62 72 65 |extX = 0|;....bre|
|00001cf0| 61 6b 3b 0d 0a 09 63 61 | 73 65 20 54 41 5f 52 69 |ak;...ca|se TA_Ri|
|00001d00| 67 68 74 3a 0d 0a 09 09 | 57 2e 45 64 69 74 41 72 |ght:....|W.EditAr|
|00001d10| 65 61 44 72 61 77 58 20 | 3d 20 30 3b 09 0d 0a 09 |eaDrawX |= 0;....|
|00001d20| 09 57 2e 54 65 78 74 58 | 20 3d 20 57 2e 57 69 6e |.W.TextX| = W.Win|
|00001d30| 57 69 64 74 68 20 2d 20 | 54 57 3b 0d 0a 09 09 62 |Width - |TW;....b|
|00001d40| 72 65 61 6b 3b 0d 0a 09 | 63 61 73 65 20 54 41 5f |reak;...|case TA_|
|00001d50| 43 65 6e 74 65 72 3a 0d | 0a 09 09 57 2e 45 64 69 |Center:.|...W.Edi|
|00001d60| 74 41 72 65 61 44 72 61 | 77 58 20 3d 20 28 57 2e |tAreaDra|wX = (W.|
|00001d70| 57 69 6e 57 69 64 74 68 | 20 2d 20 57 2e 45 64 69 |WinWidth| - W.Edi|
|00001d80| 74 42 6f 78 57 69 64 74 | 68 29 20 2f 20 32 3b 0d |tBoxWidt|h) / 2;.|
|00001d90| 0a 09 09 57 2e 54 65 78 | 74 58 20 3d 20 28 57 2e |...W.Tex|tX = (W.|
|00001da0| 57 69 6e 57 69 64 74 68 | 20 2d 20 54 57 29 20 2f |WinWidth| - TW) /|
|00001db0| 20 32 3b 0d 0a 09 09 62 | 72 65 61 6b 3b 0d 0a 09 | 2;....b|reak;...|
|00001dc0| 7d 0d 0a 0d 0a 09 57 2e | 45 64 69 74 41 72 65 61 |}.....W.|EditArea|
|00001dd0| 44 72 61 77 59 20 3d 20 | 28 57 2e 57 69 6e 48 65 |DrawY = |(W.WinHe|
|00001de0| 69 67 68 74 20 2d 20 32 | 29 20 2f 20 32 3b 0d 0a |ight - 2|) / 2;..|
|00001df0| 09 57 2e 54 65 78 74 59 | 20 3d 20 28 57 2e 57 69 |.W.TextY| = (W.Wi|
|00001e00| 6e 48 65 69 67 68 74 20 | 2d 20 54 48 29 20 2f 20 |nHeight |- TH) / |
|00001e10| 32 3b 0d 0a 0d 0a 09 57 | 2e 45 64 69 74 42 6f 78 |2;.....W|.EditBox|
|00001e20| 2e 57 69 6e 4c 65 66 74 | 20 3d 20 57 2e 45 64 69 |.WinLeft| = W.Edi|
|00001e30| 74 41 72 65 61 44 72 61 | 77 58 20 2b 20 4d 69 73 |tAreaDra|wX + Mis|
|00001e40| 63 42 65 76 65 6c 4c 5b | 32 5d 2e 57 3b 0d 0a 09 |cBevelL[|2].W;...|
|00001e50| 57 2e 45 64 69 74 42 6f | 78 2e 57 69 6e 54 6f 70 |W.EditBo|x.WinTop|
|00001e60| 20 3d 20 4d 69 73 63 42 | 65 76 65 6c 54 5b 32 5d | = MiscB|evelT[2]|
|00001e70| 2e 48 3b 0d 0a 09 57 2e | 42 75 74 74 6f 6e 2e 57 |.H;...W.|Button.W|
|00001e80| 69 6e 57 69 64 74 68 20 | 3d 20 43 6f 6d 62 6f 42 |inWidth |= ComboB|
|00001e90| 74 6e 55 70 2e 57 3b 0d | 0a 0d 0a 09 69 66 28 57 |tnUp.W;.|....if(W|
|00001ea0| 2e 62 42 75 74 74 6f 6e | 73 29 0d 0a 09 7b 0d 0a |.bButton|s)...{..|
|00001eb0| 09 09 57 2e 45 64 69 74 | 42 6f 78 2e 57 69 6e 57 |..W.Edit|Box.WinW|
|00001ec0| 69 64 74 68 20 3d 20 57 | 2e 45 64 69 74 42 6f 78 |idth = W|.EditBox|
|00001ed0| 57 69 64 74 68 20 2d 20 | 4d 69 73 63 42 65 76 65 |Width - |MiscBeve|
|00001ee0| 6c 4c 5b 32 5d 2e 57 20 | 2d 20 4d 69 73 63 42 65 |lL[2].W |- MiscBe|
|00001ef0| 76 65 6c 52 5b 32 5d 2e | 57 20 2d 20 43 6f 6d 62 |velR[2].|W - Comb|
|00001f00| 6f 42 74 6e 55 70 2e 57 | 20 2d 20 53 42 4c 65 66 |oBtnUp.W| - SBLef|
|00001f10| 74 55 70 2e 57 20 2d 20 | 53 42 52 69 67 68 74 55 |tUp.W - |SBRightU|
|00001f20| 70 2e 57 3b 0d 0a 09 09 | 57 2e 45 64 69 74 42 6f |p.W;....|W.EditBo|
|00001f30| 78 2e 57 69 6e 48 65 69 | 67 68 74 20 3d 20 57 2e |x.WinHei|ght = W.|
|00001f40| 57 69 6e 48 65 69 67 68 | 74 20 2d 20 4d 69 73 63 |WinHeigh|t - Misc|
|00001f50| 42 65 76 65 6c 54 5b 32 | 5d 2e 48 20 2d 20 4d 69 |BevelT[2|].H - Mi|
|00001f60| 73 63 42 65 76 65 6c 42 | 5b 32 5d 2e 48 3b 0d 0a |scBevelB|[2].H;..|
|00001f70| 09 09 57 2e 42 75 74 74 | 6f 6e 2e 57 69 6e 4c 65 |..W.Butt|on.WinLe|
|00001f80| 66 74 20 3d 20 57 2e 57 | 69 6e 57 69 64 74 68 20 |ft = W.W|inWidth |
|00001f90| 2d 20 43 6f 6d 62 6f 42 | 74 6e 55 70 2e 57 20 2d |- ComboB|tnUp.W -|
|00001fa0| 20 4d 69 73 63 42 65 76 | 65 6c 52 5b 32 5d 2e 57 | MiscBev|elR[2].W|
|00001fb0| 20 2d 20 53 42 4c 65 66 | 74 55 70 2e 57 20 2d 20 | - SBLef|tUp.W - |
|00001fc0| 53 42 52 69 67 68 74 55 | 70 2e 57 3b 0d 0a 09 09 |SBRightU|p.W;....|
|00001fd0| 57 2e 42 75 74 74 6f 6e | 2e 57 69 6e 54 6f 70 20 |W.Button|.WinTop |
|00001fe0| 3d 20 57 2e 45 64 69 74 | 42 6f 78 2e 57 69 6e 54 |= W.Edit|Box.WinT|
|00001ff0| 6f 70 3b 0d 0a 0d 0a 09 | 09 57 2e 4c 65 66 74 42 |op;.....|.W.LeftB|
|00002000| 75 74 74 6f 6e 2e 57 69 | 6e 4c 65 66 74 20 3d 20 |utton.Wi|nLeft = |
|00002010| 57 2e 57 69 6e 57 69 64 | 74 68 20 2d 20 4d 69 73 |W.WinWid|th - Mis|
|00002020| 63 42 65 76 65 6c 52 5b | 32 5d 2e 57 20 2d 20 53 |cBevelR[|2].W - S|
|00002030| 42 4c 65 66 74 55 70 2e | 57 20 2d 20 53 42 52 69 |BLeftUp.|W - SBRi|
|00002040| 67 68 74 55 70 2e 57 3b | 0d 0a 09 09 57 2e 4c 65 |ghtUp.W;|....W.Le|
|00002050| 66 74 42 75 74 74 6f 6e | 2e 57 69 6e 54 6f 70 20 |ftButton|.WinTop |
|00002060| 3d 20 57 2e 45 64 69 74 | 42 6f 78 2e 57 69 6e 54 |= W.Edit|Box.WinT|
|00002070| 6f 70 3b 0d 0a 09 09 57 | 2e 52 69 67 68 74 42 75 |op;....W|.RightBu|
|00002080| 74 74 6f 6e 2e 57 69 6e | 4c 65 66 74 20 3d 20 57 |tton.Win|Left = W|
|00002090| 2e 57 69 6e 57 69 64 74 | 68 20 2d 20 4d 69 73 63 |.WinWidt|h - Misc|
|000020a0| 42 65 76 65 6c 52 5b 32 | 5d 2e 57 20 2d 20 53 42 |BevelR[2|].W - SB|
|000020b0| 52 69 67 68 74 55 70 2e | 57 3b 0d 0a 09 09 57 2e |RightUp.|W;....W.|
|000020c0| 52 69 67 68 74 42 75 74 | 74 6f 6e 2e 57 69 6e 54 |RightBut|ton.WinT|
|000020d0| 6f 70 20 3d 20 57 2e 45 | 64 69 74 42 6f 78 2e 57 |op = W.E|ditBox.W|
|000020e0| 69 6e 54 6f 70 3b 0d 0a | 0d 0a 09 09 57 2e 4c 65 |inTop;..|....W.Le|
|000020f0| 66 74 42 75 74 74 6f 6e | 2e 57 69 6e 57 69 64 74 |ftButton|.WinWidt|
|00002100| 68 20 3d 20 53 42 4c 65 | 66 74 55 70 2e 57 3b 0d |h = SBLe|ftUp.W;.|
|00002110| 0a 09 09 57 2e 4c 65 66 | 74 42 75 74 74 6f 6e 2e |...W.Lef|tButton.|
|00002120| 57 69 6e 48 65 69 67 68 | 74 20 3d 20 53 42 4c 65 |WinHeigh|t = SBLe|
|00002130| 66 74 55 70 2e 48 3b 0d | 0a 09 09 57 2e 52 69 67 |ftUp.H;.|...W.Rig|
|00002140| 68 74 42 75 74 74 6f 6e | 2e 57 69 6e 57 69 64 74 |htButton|.WinWidt|
|00002150| 68 20 3d 20 53 42 52 69 | 67 68 74 55 70 2e 57 3b |h = SBRi|ghtUp.W;|
|00002160| 0d 0a 09 09 57 2e 52 69 | 67 68 74 42 75 74 74 6f |....W.Ri|ghtButto|
|00002170| 6e 2e 57 69 6e 48 65 69 | 67 68 74 20 3d 20 53 42 |n.WinHei|ght = SB|
|00002180| 52 69 67 68 74 55 70 2e | 48 3b 0d 0a 09 7d 0d 0a |RightUp.|H;...}..|
|00002190| 09 65 6c 73 65 0d 0a 09 | 7b 0d 0a 09 09 57 2e 45 |.else...|{....W.E|
|000021a0| 64 69 74 42 6f 78 2e 57 | 69 6e 57 69 64 74 68 20 |ditBox.W|inWidth |
|000021b0| 3d 20 57 2e 45 64 69 74 | 42 6f 78 57 69 64 74 68 |= W.Edit|BoxWidth|
|000021c0| 20 2d 20 4d 69 73 63 42 | 65 76 65 6c 4c 5b 32 5d | - MiscB|evelL[2]|
|000021d0| 2e 57 20 2d 20 4d 69 73 | 63 42 65 76 65 6c 52 5b |.W - Mis|cBevelR[|
|000021e0| 32 5d 2e 57 20 2d 20 43 | 6f 6d 62 6f 42 74 6e 55 |2].W - C|omboBtnU|
|000021f0| 70 2e 57 3b 0d 0a 09 09 | 57 2e 45 64 69 74 42 6f |p.W;....|W.EditBo|
|00002200| 78 2e 57 69 6e 48 65 69 | 67 68 74 20 3d 20 57 2e |x.WinHei|ght = W.|
|00002210| 57 69 6e 48 65 69 67 68 | 74 20 2d 20 4d 69 73 63 |WinHeigh|t - Misc|
|00002220| 42 65 76 65 6c 54 5b 32 | 5d 2e 48 20 2d 20 4d 69 |BevelT[2|].H - Mi|
|00002230| 73 63 42 65 76 65 6c 42 | 5b 32 5d 2e 48 3b 0d 0a |scBevelB|[2].H;..|
|00002240| 09 09 57 2e 42 75 74 74 | 6f 6e 2e 57 69 6e 4c 65 |..W.Butt|on.WinLe|
|00002250| 66 74 20 3d 20 57 2e 57 | 69 6e 57 69 64 74 68 20 |ft = W.W|inWidth |
|00002260| 2d 20 43 6f 6d 62 6f 42 | 74 6e 55 70 2e 57 20 2d |- ComboB|tnUp.W -|
|00002270| 20 4d 69 73 63 42 65 76 | 65 6c 52 5b 32 5d 2e 57 | MiscBev|elR[2].W|
|00002280| 3b 0d 0a 09 09 57 2e 42 | 75 74 74 6f 6e 2e 57 69 |;....W.B|utton.Wi|
|00002290| 6e 54 6f 70 20 3d 20 57 | 2e 45 64 69 74 42 6f 78 |nTop = W|.EditBox|
|000022a0| 2e 57 69 6e 54 6f 70 3b | 0d 0a 09 7d 0d 0a 09 57 |.WinTop;|...}...W|
|000022b0| 2e 42 75 74 74 6f 6e 2e | 57 69 6e 48 65 69 67 68 |.Button.|WinHeigh|
|000022c0| 74 20 3d 20 57 2e 45 64 | 69 74 42 6f 78 2e 57 69 |t = W.Ed|itBox.Wi|
|000022d0| 6e 48 65 69 67 68 74 3b | 0d 0a 7d 0d 0a 0d 0a 66 |nHeight;|..}....f|
|000022e0| 75 6e 63 74 69 6f 6e 20 | 43 6f 6d 62 6f 5f 44 72 |unction |Combo_Dr|
|000022f0| 61 77 28 55 57 69 6e 64 | 6f 77 43 6f 6d 62 6f 43 |aw(UWind|owComboC|
|00002300| 6f 6e 74 72 6f 6c 20 57 | 2c 20 43 61 6e 76 61 73 |ontrol W|, Canvas|
|00002310| 20 43 29 0d 0a 7b 0d 0a | 09 57 2e 44 72 61 77 4d | C)..{..|.W.DrawM|
|00002320| 69 73 63 42 65 76 65 6c | 28 43 2c 20 57 2e 45 64 |iscBevel|(C, W.Ed|
|00002330| 69 74 41 72 65 61 44 72 | 61 77 58 2c 20 30 2c 20 |itAreaDr|awX, 0, |
|00002340| 57 2e 45 64 69 74 42 6f | 78 57 69 64 74 68 2c 20 |W.EditBo|xWidth, |
|00002350| 57 2e 57 69 6e 48 65 69 | 67 68 74 2c 20 4d 69 73 |W.WinHei|ght, Mis|
|00002360| 63 2c 20 32 29 3b 0d 0a | 0d 0a 09 69 66 28 57 2e |c, 2);..|...if(W.|
|00002370| 54 65 78 74 20 21 3d 20 | 22 22 29 0d 0a 09 7b 0d |Text != |"")...{.|
|00002380| 0a 09 09 43 2e 44 72 61 | 77 43 6f 6c 6f 72 20 3d |...C.Dra|wColor =|
|00002390| 20 57 2e 54 65 78 74 43 | 6f 6c 6f 72 3b 0d 0a 09 | W.TextC|olor;...|
|000023a0| 09 57 2e 43 6c 69 70 54 | 65 78 74 28 43 2c 20 57 |.W.ClipT|ext(C, W|
|000023b0| 2e 54 65 78 74 58 2c 20 | 57 2e 54 65 78 74 59 2c |.TextX, |W.TextY,|
|000023c0| 20 57 2e 54 65 78 74 29 | 3b 0d 0a 09 09 43 2e 44 | W.Text)|;....C.D|
|000023d0| 72 61 77 43 6f 6c 6f 72 | 2e 52 20 3d 20 32 35 35 |rawColor|.R = 255|
|000023e0| 3b 0d 0a 09 09 43 2e 44 | 72 61 77 43 6f 6c 6f 72 |;....C.D|rawColor|
|000023f0| 2e 47 20 3d 20 32 35 35 | 3b 0d 0a 09 09 43 2e 44 |.G = 255|;....C.D|
|00002400| 72 61 77 43 6f 6c 6f 72 | 2e 42 20 3d 20 32 35 35 |rawColor|.B = 255|
|00002410| 3b 0d 0a 09 7d 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |;...}..}|....func|
|00002420| 74 69 6f 6e 20 43 6f 6d | 62 6f 4c 69 73 74 5f 44 |tion Com|boList_D|
|00002430| 72 61 77 42 61 63 6b 67 | 72 6f 75 6e 64 28 55 57 |rawBackg|round(UW|
|00002440| 69 6e 64 6f 77 43 6f 6d | 62 6f 4c 69 73 74 20 57 |indowCom|boList W|
|00002450| 2c 20 43 61 6e 76 61 73 | 20 43 29 0d 0a 7b 0d 0a |, Canvas| C)..{..|
|00002460| 09 57 2e 44 72 61 77 43 | 6c 69 70 70 65 64 54 65 |.W.DrawC|lippedTe|
|00002470| 78 74 75 72 65 28 43 2c | 20 30 2c 20 30 2c 20 54 |xture(C,| 0, 0, T|
|00002480| 65 78 74 75 72 65 27 55 | 57 69 6e 64 6f 77 2e 4d |exture'U|Window.M|
|00002490| 65 6e 75 54 4c 27 29 3b | 0d 0a 09 57 2e 44 72 61 |enuTL');|...W.Dra|
|000024a0| 77 53 74 72 65 74 63 68 | 65 64 54 65 78 74 75 72 |wStretch|edTextur|
|000024b0| 65 28 43 2c 20 34 2c 20 | 30 2c 20 57 2e 57 69 6e |e(C, 4, |0, W.Win|
|000024c0| 57 69 64 74 68 2d 38 2c | 20 34 2c 20 54 65 78 74 |Width-8,| 4, Text|
|000024d0| 75 72 65 27 55 57 69 6e | 64 6f 77 2e 4d 65 6e 75 |ure'UWin|dow.Menu|
|000024e0| 54 27 29 3b 0d 0a 09 57 | 2e 44 72 61 77 43 6c 69 |T');...W|.DrawCli|
|000024f0| 70 70 65 64 54 65 78 74 | 75 72 65 28 43 2c 20 57 |ppedText|ure(C, W|
|00002500| 2e 57 69 6e 57 69 64 74 | 68 2d 34 2c 20 30 2c 20 |.WinWidt|h-4, 0, |
|00002510| 54 65 78 74 75 72 65 27 | 55 57 69 6e 64 6f 77 2e |Texture'|UWindow.|
|00002520| 4d 65 6e 75 54 52 27 29 | 3b 0d 0a 0d 0a 09 57 2e |MenuTR')|;.....W.|
|00002530| 44 72 61 77 43 6c 69 70 | 70 65 64 54 65 78 74 75 |DrawClip|pedTextu|
|00002540| 72 65 28 43 2c 20 30 2c | 20 57 2e 57 69 6e 48 65 |re(C, 0,| W.WinHe|
|00002550| 69 67 68 74 2d 34 2c 20 | 54 65 78 74 75 72 65 27 |ight-4, |Texture'|
|00002560| 55 57 69 6e 64 6f 77 2e | 4d 65 6e 75 42 4c 27 29 |UWindow.|MenuBL')|
|00002570| 3b 0d 0a 09 57 2e 44 72 | 61 77 53 74 72 65 74 63 |;...W.Dr|awStretc|
|00002580| 68 65 64 54 65 78 74 75 | 72 65 28 43 2c 20 34 2c |hedTextu|re(C, 4,|
|00002590| 20 57 2e 57 69 6e 48 65 | 69 67 68 74 2d 34 2c 20 | W.WinHe|ight-4, |
|000025a0| 57 2e 57 69 6e 57 69 64 | 74 68 2d 38 2c 20 34 2c |W.WinWid|th-8, 4,|
|000025b0| 20 54 65 78 74 75 72 65 | 27 55 57 69 6e 64 6f 77 | Texture|'UWindow|
|000025c0| 2e 4d 65 6e 75 42 27 29 | 3b 0d 0a 09 57 2e 44 72 |.MenuB')|;...W.Dr|
|000025d0| 61 77 43 6c 69 70 70 65 | 64 54 65 78 74 75 72 65 |awClippe|dTexture|
|000025e0| 28 43 2c 20 57 2e 57 69 | 6e 57 69 64 74 68 2d 34 |(C, W.Wi|nWidth-4|
|000025f0| 2c 20 57 2e 57 69 6e 48 | 65 69 67 68 74 2d 34 2c |, W.WinH|eight-4,|
|00002600| 20 54 65 78 74 75 72 65 | 27 55 57 69 6e 64 6f 77 | Texture|'UWindow|
|00002610| 2e 4d 65 6e 75 42 52 27 | 29 3b 0d 0a 0d 0a 09 57 |.MenuBR'|);.....W|
|00002620| 2e 44 72 61 77 53 74 72 | 65 74 63 68 65 64 54 65 |.DrawStr|etchedTe|
|00002630| 78 74 75 72 65 28 43 2c | 20 30 2c 20 34 2c 20 34 |xture(C,| 0, 4, 4|
|00002640| 2c 20 57 2e 57 69 6e 48 | 65 69 67 68 74 2d 38 2c |, W.WinH|eight-8,|
|00002650| 20 54 65 78 74 75 72 65 | 27 55 57 69 6e 64 6f 77 | Texture|'UWindow|
|00002660| 2e 4d 65 6e 75 4c 27 29 | 3b 0d 0a 09 57 2e 44 72 |.MenuL')|;...W.Dr|
|00002670| 61 77 53 74 72 65 74 63 | 68 65 64 54 65 78 74 75 |awStretc|hedTextu|
|00002680| 72 65 28 43 2c 20 57 2e | 57 69 6e 57 69 64 74 68 |re(C, W.|WinWidth|
|00002690| 2d 34 2c 20 34 2c 20 34 | 2c 20 57 2e 57 69 6e 48 |-4, 4, 4|, W.WinH|
|000026a0| 65 69 67 68 74 2d 38 2c | 20 54 65 78 74 75 72 65 |eight-8,| Texture|
|000026b0| 27 55 57 69 6e 64 6f 77 | 2e 4d 65 6e 75 52 27 29 |'UWindow|.MenuR')|
|000026c0| 3b 0d 0a 0d 0a 09 57 2e | 44 72 61 77 53 74 72 65 |;.....W.|DrawStre|
|000026d0| 74 63 68 65 64 54 65 78 | 74 75 72 65 28 43 2c 20 |tchedTex|ture(C, |
|000026e0| 34 2c 20 34 2c 20 57 2e | 57 69 6e 57 69 64 74 68 |4, 4, W.|WinWidth|
|000026f0| 2d 38 2c 20 57 2e 57 69 | 6e 48 65 69 67 68 74 2d |-8, W.Wi|nHeight-|
|00002700| 38 2c 20 54 65 78 74 75 | 72 65 27 55 57 69 6e 64 |8, Textu|re'UWind|
|00002710| 6f 77 2e 4d 65 6e 75 41 | 72 65 61 27 29 3b 0d 0a |ow.MenuA|rea');..|
|00002720| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 43 6f |}....fun|ction Co|
|00002730| 6d 62 6f 4c 69 73 74 5f | 44 72 61 77 49 74 65 6d |mboList_|DrawItem|
|00002740| 28 55 57 69 6e 64 6f 77 | 43 6f 6d 62 6f 4c 69 73 |(UWindow|ComboLis|
|00002750| 74 20 43 6f 6d 62 6f 2c | 20 43 61 6e 76 61 73 20 |t Combo,| Canvas |
|00002760| 43 2c 20 66 6c 6f 61 74 | 20 58 2c 20 66 6c 6f 61 |C, float| X, floa|
|00002770| 74 20 59 2c 20 66 6c 6f | 61 74 20 57 2c 20 66 6c |t Y, flo|at W, fl|
|00002780| 6f 61 74 20 48 2c 20 73 | 74 72 69 6e 67 20 54 65 |oat H, s|tring Te|
|00002790| 78 74 2c 20 62 6f 6f 6c | 20 62 53 65 6c 65 63 74 |xt, bool| bSelect|
|000027a0| 65 64 29 0d 0a 7b 0d 0a | 09 43 2e 44 72 61 77 43 |ed)..{..|.C.DrawC|
|000027b0| 6f 6c 6f 72 2e 52 20 3d | 20 32 35 35 3b 0d 0a 09 |olor.R =| 255;...|
|000027c0| 43 2e 44 72 61 77 43 6f | 6c 6f 72 2e 47 20 3d 20 |C.DrawCo|lor.G = |
|000027d0| 32 35 35 3b 0d 0a 09 43 | 2e 44 72 61 77 43 6f 6c |255;...C|.DrawCol|
|000027e0| 6f 72 2e 42 20 3d 20 32 | 35 35 3b 0d 0a 0d 0a 09 |or.B = 2|55;.....|
|000027f0| 69 66 28 62 53 65 6c 65 | 63 74 65 64 29 0d 0a 09 |if(bSele|cted)...|
|00002800| 7b 0d 0a 09 09 43 6f 6d | 62 6f 2e 44 72 61 77 53 |{....Com|bo.DrawS|
|00002810| 74 72 65 74 63 68 65 64 | 54 65 78 74 75 72 65 28 |tretched|Texture(|
|00002820| 43 2c 20 58 2c 20 59 2c | 20 57 2c 20 48 2c 20 54 |C, X, Y,| W, H, T|
|00002830| 65 78 74 75 72 65 27 55 | 57 69 6e 64 6f 77 2e 4d |exture'U|Window.M|
|00002840| 65 6e 75 48 69 67 68 6c | 69 67 68 74 27 29 3b 0d |enuHighl|ight');.|
|00002850| 0a 09 09 43 2e 44 72 61 | 77 43 6f 6c 6f 72 2e 52 |...C.Dra|wColor.R|
|00002860| 20 3d 20 30 3b 0d 0a 09 | 09 43 2e 44 72 61 77 43 | = 0;...|.C.DrawC|
|00002870| 6f 6c 6f 72 2e 47 20 3d | 20 30 3b 0d 0a 09 09 43 |olor.G =| 0;....C|
|00002880| 2e 44 72 61 77 43 6f 6c | 6f 72 2e 42 20 3d 20 30 |.DrawCol|or.B = 0|
|00002890| 3b 0d 0a 09 7d 0d 0a 09 | 65 6c 73 65 0d 0a 09 7b |;...}...|else...{|
|000028a0| 0d 0a 09 09 43 2e 44 72 | 61 77 43 6f 6c 6f 72 2e |....C.Dr|awColor.|
|000028b0| 52 20 3d 20 30 3b 0d 0a | 09 09 43 2e 44 72 61 77 |R = 0;..|..C.Draw|
|000028c0| 43 6f 6c 6f 72 2e 47 20 | 3d 20 30 3b 0d 0a 09 09 |Color.G |= 0;....|
|000028d0| 43 2e 44 72 61 77 43 6f | 6c 6f 72 2e 42 20 3d 20 |C.DrawCo|lor.B = |
|000028e0| 30 3b 0d 0a 09 7d 0d 0a | 0d 0a 09 43 6f 6d 62 6f |0;...}..|...Combo|
|000028f0| 2e 43 6c 69 70 54 65 78 | 74 28 43 2c 20 58 20 2b |.ClipTex|t(C, X +|
|00002900| 20 43 6f 6d 62 6f 2e 54 | 65 78 74 42 6f 72 64 65 | Combo.T|extBorde|
|00002910| 72 20 2b 20 32 2c 20 59 | 20 2b 20 33 2c 20 54 65 |r + 2, Y| + 3, Te|
|00002920| 78 74 29 3b 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |xt);..}.|...funct|
|00002930| 69 6f 6e 20 43 68 65 63 | 6b 62 6f 78 5f 53 65 74 |ion Chec|kbox_Set|
|00002940| 75 70 53 69 7a 65 73 28 | 55 57 69 6e 64 6f 77 43 |upSizes(|UWindowC|
|00002950| 68 65 63 6b 62 6f 78 20 | 57 2c 20 43 61 6e 76 61 |heckbox |W, Canva|
|00002960| 73 20 43 29 0d 0a 7b 0d | 0a 09 6c 6f 63 61 6c 20 |s C)..{.|..local |
|00002970| 66 6c 6f 61 74 20 54 57 | 2c 20 54 48 3b 0d 0a 0d |float TW|, TH;...|
|00002980| 0a 09 57 2e 54 65 78 74 | 53 69 7a 65 28 43 2c 20 |..W.Text|Size(C, |
|00002990| 57 2e 54 65 78 74 2c 20 | 54 57 2c 20 54 48 29 3b |W.Text, |TW, TH);|
|000029a0| 0d 0a 09 57 2e 57 69 6e | 48 65 69 67 68 74 20 3d |...W.Win|Height =|
|000029b0| 20 4d 61 78 28 54 48 2b | 31 2c 20 31 36 29 3b 0d | Max(TH+|1, 16);.|
|000029c0| 0a 09 0d 0a 09 73 77 69 | 74 63 68 28 57 2e 41 6c |.....swi|tch(W.Al|
|000029d0| 69 67 6e 29 0d 0a 09 7b | 0d 0a 09 63 61 73 65 20 |ign)...{|...case |
|000029e0| 54 41 5f 4c 65 66 74 3a | 0d 0a 09 09 57 2e 49 6d |TA_Left:|....W.Im|
|000029f0| 61 67 65 58 20 3d 20 57 | 2e 57 69 6e 57 69 64 74 |ageX = W|.WinWidt|
|00002a00| 68 20 2d 20 31 36 3b 0d | 0a 09 09 57 2e 54 65 78 |h - 16;.|...W.Tex|
|00002a10| 74 58 20 3d 20 30 3b 0d | 0a 09 09 62 72 65 61 6b |tX = 0;.|...break|
|00002a20| 3b 0d 0a 09 63 61 73 65 | 20 54 41 5f 52 69 67 68 |;...case| TA_Righ|
|00002a30| 74 3a 0d 0a 09 09 57 2e | 49 6d 61 67 65 58 20 3d |t:....W.|ImageX =|
|00002a40| 20 30 3b 09 0d 0a 09 09 | 57 2e 54 65 78 74 58 20 | 0;.....|W.TextX |
|00002a50| 3d 20 57 2e 57 69 6e 57 | 69 64 74 68 20 2d 20 54 |= W.WinW|idth - T|
|00002a60| 57 3b 0d 0a 09 09 62 72 | 65 61 6b 3b 0d 0a 09 63 |W;....br|eak;...c|
|00002a70| 61 73 65 20 54 41 5f 43 | 65 6e 74 65 72 3a 0d 0a |ase TA_C|enter:..|
|00002a80| 09 09 57 2e 49 6d 61 67 | 65 58 20 3d 20 28 57 2e |..W.Imag|eX = (W.|
|00002a90| 57 69 6e 57 69 64 74 68 | 20 2d 20 31 36 29 20 2f |WinWidth| - 16) /|
|00002aa0| 20 32 3b 0d 0a 09 09 57 | 2e 54 65 78 74 58 20 3d | 2;....W|.TextX =|
|00002ab0| 20 28 57 2e 57 69 6e 57 | 69 64 74 68 20 2d 20 54 | (W.WinW|idth - T|
|00002ac0| 57 29 20 2f 20 32 3b 0d | 0a 09 09 62 72 65 61 6b |W) / 2;.|...break|
|00002ad0| 3b 0d 0a 09 7d 0d 0a 0d | 0a 09 57 2e 49 6d 61 67 |;...}...|..W.Imag|
|00002ae0| 65 59 20 3d 20 28 57 2e | 57 69 6e 48 65 69 67 68 |eY = (W.|WinHeigh|
|00002af0| 74 20 2d 20 31 36 29 20 | 2f 20 32 3b 0d 0a 09 57 |t - 16) |/ 2;...W|
|00002b00| 2e 54 65 78 74 59 20 3d | 20 28 57 2e 57 69 6e 48 |.TextY =| (W.WinH|
|00002b10| 65 69 67 68 74 20 2d 20 | 54 48 29 20 2f 20 32 3b |eight - |TH) / 2;|
|00002b20| 0d 0a 0d 0a 09 69 66 28 | 57 2e 62 43 68 65 63 6b |.....if(|W.bCheck|
|00002b30| 65 64 29 20 0d 0a 09 7b | 0d 0a 09 09 57 2e 55 70 |ed) ...{|....W.Up|
|00002b40| 54 65 78 74 75 72 65 20 | 3d 20 54 65 78 74 75 72 |Texture |= Textur|
|00002b50| 65 27 43 68 6b 43 68 65 | 63 6b 65 64 27 3b 0d 0a |e'ChkChe|cked';..|
|00002b60| 09 09 57 2e 44 6f 77 6e | 54 65 78 74 75 72 65 20 |..W.Down|Texture |
|00002b70| 3d 20 54 65 78 74 75 72 | 65 27 43 68 6b 43 68 65 |= Textur|e'ChkChe|
|00002b80| 63 6b 65 64 27 3b 0d 0a | 09 09 57 2e 4f 76 65 72 |cked';..|..W.Over|
|00002b90| 54 65 78 74 75 72 65 20 | 3d 20 54 65 78 74 75 72 |Texture |= Textur|
|00002ba0| 65 27 43 68 6b 43 68 65 | 63 6b 65 64 27 3b 0d 0a |e'ChkChe|cked';..|
|00002bb0| 09 09 57 2e 44 69 73 61 | 62 6c 65 64 54 65 78 74 |..W.Disa|bledText|
|00002bc0| 75 72 65 20 3d 20 54 65 | 78 74 75 72 65 27 43 68 |ure = Te|xture'Ch|
|00002bd0| 6b 43 68 65 63 6b 65 64 | 44 69 73 61 62 6c 65 64 |kChecked|Disabled|
|00002be0| 27 3b 0d 0a 09 7d 0d 0a | 09 65 6c 73 65 20 0d 0a |';...}..|.else ..|
|00002bf0| 09 7b 0d 0a 09 09 57 2e | 55 70 54 65 78 74 75 72 |.{....W.|UpTextur|
|00002c00| 65 20 3d 20 54 65 78 74 | 75 72 65 27 43 68 6b 55 |e = Text|ure'ChkU|
|00002c10| 6e 63 68 65 63 6b 65 64 | 27 3b 0d 0a 09 09 57 2e |nchecked|';....W.|
|00002c20| 44 6f 77 6e 54 65 78 74 | 75 72 65 20 3d 20 54 65 |DownText|ure = Te|
|00002c30| 78 74 75 72 65 27 43 68 | 6b 55 6e 63 68 65 63 6b |xture'Ch|kUncheck|
|00002c40| 65 64 27 3b 0d 0a 09 09 | 57 2e 4f 76 65 72 54 65 |ed';....|W.OverTe|
|00002c50| 78 74 75 72 65 20 3d 20 | 54 65 78 74 75 72 65 27 |xture = |Texture'|
|00002c60| 43 68 6b 55 6e 63 68 65 | 63 6b 65 64 27 3b 0d 0a |ChkUnche|cked';..|
|00002c70| 09 09 57 2e 44 69 73 61 | 62 6c 65 64 54 65 78 74 |..W.Disa|bledText|
|00002c80| 75 72 65 20 3d 20 54 65 | 78 74 75 72 65 27 43 68 |ure = Te|xture'Ch|
|00002c90| 6b 55 6e 63 68 65 63 6b | 65 64 44 69 73 61 62 6c |kUncheck|edDisabl|
|00002ca0| 65 64 27 3b 0d 0a 09 7d | 0d 0a 7d 0d 0a 0d 0a 66 |ed';...}|..}....f|
|00002cb0| 75 6e 63 74 69 6f 6e 20 | 43 6f 6d 62 6f 5f 47 65 |unction |Combo_Ge|
|00002cc0| 74 42 75 74 74 6f 6e 42 | 69 74 6d 61 70 73 28 55 |tButtonB|itmaps(U|
|00002cd0| 57 69 6e 64 6f 77 43 6f | 6d 62 6f 42 75 74 74 6f |WindowCo|mboButto|
|00002ce0| 6e 20 57 29 0d 0a 7b 0d | 0a 09 6c 6f 63 61 6c 20 |n W)..{.|..local |
|00002cf0| 54 65 78 74 75 72 65 20 | 54 3b 0d 0a 0d 0a 09 54 |Texture |T;.....T|
|00002d00| 20 3d 20 57 2e 47 65 74 | 4c 6f 6f 6b 41 6e 64 46 | = W.Get|LookAndF|
|00002d10| 65 65 6c 54 65 78 74 75 | 72 65 28 29 3b 0d 0a 09 |eelTextu|re();...|
|00002d20| 0d 0a 09 57 2e 62 55 73 | 65 52 65 67 69 6f 6e 20 |...W.bUs|eRegion |
|00002d30| 3d 20 54 72 75 65 3b 0d | 0a 0d 0a 09 57 2e 55 70 |= True;.|....W.Up|
|00002d40| 54 65 78 74 75 72 65 20 | 3d 20 54 3b 0d 0a 09 57 |Texture |= T;...W|
|00002d50| 2e 44 6f 77 6e 54 65 78 | 74 75 72 65 20 3d 20 54 |.DownTex|ture = T|
|00002d60| 3b 0d 0a 09 57 2e 4f 76 | 65 72 54 65 78 74 75 72 |;...W.Ov|erTextur|
|00002d70| 65 20 3d 20 54 3b 0d 0a | 09 57 2e 44 69 73 61 62 |e = T;..|.W.Disab|
|00002d80| 6c 65 64 54 65 78 74 75 | 72 65 20 3d 20 54 3b 0d |ledTextu|re = T;.|
|00002d90| 0a 0d 0a 09 57 2e 55 70 | 52 65 67 69 6f 6e 20 3d |....W.Up|Region =|
|00002da0| 20 43 6f 6d 62 6f 42 74 | 6e 55 70 3b 0d 0a 09 57 | ComboBt|nUp;...W|
|00002db0| 2e 44 6f 77 6e 52 65 67 | 69 6f 6e 20 3d 20 43 6f |.DownReg|ion = Co|
|00002dc0| 6d 62 6f 42 74 6e 44 6f | 77 6e 3b 0d 0a 09 57 2e |mboBtnDo|wn;...W.|
|00002dd0| 4f 76 65 72 52 65 67 69 | 6f 6e 20 3d 20 43 6f 6d |OverRegi|on = Com|
|00002de0| 62 6f 42 74 6e 55 70 3b | 0d 0a 09 57 2e 44 69 73 |boBtnUp;|...W.Dis|
|00002df0| 61 62 6c 65 64 52 65 67 | 69 6f 6e 20 3d 20 43 6f |abledReg|ion = Co|
|00002e00| 6d 62 6f 42 74 6e 44 69 | 73 61 62 6c 65 64 3b 0d |mboBtnDi|sabled;.|
|00002e10| 0a 7d 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 45 |.}....fu|nction E|
|00002e20| 64 69 74 62 6f 78 5f 53 | 65 74 75 70 53 69 7a 65 |ditbox_S|etupSize|
|00002e30| 73 28 55 57 69 6e 64 6f | 77 45 64 69 74 43 6f 6e |s(UWindo|wEditCon|
|00002e40| 74 72 6f 6c 20 57 2c 20 | 43 61 6e 76 61 73 20 43 |trol W, |Canvas C|
|00002e50| 29 0d 0a 7b 0d 0a 09 6c | 6f 63 61 6c 20 66 6c 6f |)..{...l|ocal flo|
|00002e60| 61 74 20 54 57 2c 20 54 | 48 3b 0d 0a 09 6c 6f 63 |at TW, T|H;...loc|
|00002e70| 61 6c 20 69 6e 74 20 42 | 3b 0d 0a 0d 0a 09 42 20 |al int B|;.....B |
|00002e80| 3d 20 45 64 69 74 42 6f | 78 42 65 76 65 6c 3b 0d |= EditBo|xBevel;.|
|00002e90| 0a 09 09 0d 0a 09 43 2e | 46 6f 6e 74 20 3d 20 57 |......C.|Font = W|
|00002ea0| 2e 52 6f 6f 74 2e 46 6f | 6e 74 73 5b 57 2e 46 6f |.Root.Fo|nts[W.Fo|
|00002eb0| 6e 74 5d 3b 0d 0a 09 57 | 2e 54 65 78 74 53 69 7a |nt];...W|.TextSiz|
|00002ec0| 65 28 43 2c 20 57 2e 54 | 65 78 74 2c 20 54 57 2c |e(C, W.T|ext, TW,|
|00002ed0| 20 54 48 29 3b 0d 0a 09 | 0d 0a 09 57 2e 57 69 6e | TH);...|...W.Win|
|00002ee0| 48 65 69 67 68 74 20 3d | 20 31 32 20 2b 20 4d 69 |Height =| 12 + Mi|
|00002ef0| 73 63 42 65 76 65 6c 54 | 5b 42 5d 2e 48 20 2b 20 |scBevelT|[B].H + |
|00002f00| 4d 69 73 63 42 65 76 65 | 6c 42 5b 42 5d 2e 48 3b |MiscBeve|lB[B].H;|
|00002f10| 0d 0a 09 0d 0a 09 73 77 | 69 74 63 68 28 57 2e 41 |......sw|itch(W.A|
|00002f20| 6c 69 67 6e 29 0d 0a 09 | 7b 0d 0a 09 63 61 73 65 |lign)...|{...case|
|00002f30| 20 54 41 5f 4c 65 66 74 | 3a 0d 0a 09 09 57 2e 45 | TA_Left|:....W.E|
|00002f40| 64 69 74 41 72 65 61 44 | 72 61 77 58 20 3d 20 57 |ditAreaD|rawX = W|
|00002f50| 2e 57 69 6e 57 69 64 74 | 68 20 2d 20 57 2e 45 64 |.WinWidt|h - W.Ed|
|00002f60| 69 74 42 6f 78 57 69 64 | 74 68 3b 0d 0a 09 09 57 |itBoxWid|th;....W|
|00002f70| 2e 54 65 78 74 58 20 3d | 20 30 3b 0d 0a 09 09 62 |.TextX =| 0;....b|
|00002f80| 72 65 61 6b 3b 0d 0a 09 | 63 61 73 65 20 54 41 5f |reak;...|case TA_|
|00002f90| 52 69 67 68 74 3a 0d 0a | 09 09 57 2e 45 64 69 74 |Right:..|..W.Edit|
|00002fa0| 41 72 65 61 44 72 61 77 | 58 20 3d 20 30 3b 09 0d |AreaDraw|X = 0;..|
|00002fb0| 0a 09 09 57 2e 54 65 78 | 74 58 20 3d 20 57 2e 57 |...W.Tex|tX = W.W|
|00002fc0| 69 6e 57 69 64 74 68 20 | 2d 20 54 57 3b 0d 0a 09 |inWidth |- TW;...|
|00002fd0| 09 62 72 65 61 6b 3b 0d | 0a 09 63 61 73 65 20 54 |.break;.|..case T|
|00002fe0| 41 5f 43 65 6e 74 65 72 | 3a 0d 0a 09 09 57 2e 45 |A_Center|:....W.E|
|00002ff0| 64 69 74 41 72 65 61 44 | 72 61 77 58 20 3d 20 28 |ditAreaD|rawX = (|
|00003000| 57 2e 57 69 6e 57 69 64 | 74 68 20 2d 20 57 2e 45 |W.WinWid|th - W.E|
|00003010| 64 69 74 42 6f 78 57 69 | 64 74 68 29 20 2f 20 32 |ditBoxWi|dth) / 2|
|00003020| 3b 0d 0a 09 09 57 2e 54 | 65 78 74 58 20 3d 20 28 |;....W.T|extX = (|
|00003030| 57 2e 57 69 6e 57 69 64 | 74 68 20 2d 20 54 57 29 |W.WinWid|th - TW)|
|00003040| 20 2f 20 32 3b 0d 0a 09 | 09 62 72 65 61 6b 3b 0d | / 2;...|.break;.|
|00003050| 0a 09 7d 0d 0a 0d 0a 09 | 57 2e 45 64 69 74 41 72 |..}.....|W.EditAr|
|00003060| 65 61 44 72 61 77 59 20 | 3d 20 28 57 2e 57 69 6e |eaDrawY |= (W.Win|
|00003070| 48 65 69 67 68 74 20 2d | 20 32 29 20 2f 20 32 3b |Height -| 2) / 2;|
|00003080| 0d 0a 09 57 2e 54 65 78 | 74 59 20 3d 20 28 57 2e |...W.Tex|tY = (W.|
|00003090| 57 69 6e 48 65 69 67 68 | 74 20 2d 20 54 48 29 20 |WinHeigh|t - TH) |
|000030a0| 2f 20 32 3b 0d 0a 0d 0a | 09 57 2e 45 64 69 74 42 |/ 2;....|.W.EditB|
|000030b0| 6f 78 2e 57 69 6e 4c 65 | 66 74 20 3d 20 57 2e 45 |ox.WinLe|ft = W.E|
|000030c0| 64 69 74 41 72 65 61 44 | 72 61 77 58 20 2b 20 4d |ditAreaD|rawX + M|
|000030d0| 69 73 63 42 65 76 65 6c | 4c 5b 42 5d 2e 57 3b 0d |iscBevel|L[B].W;.|
|000030e0| 0a 09 57 2e 45 64 69 74 | 42 6f 78 2e 57 69 6e 54 |..W.Edit|Box.WinT|
|000030f0| 6f 70 20 3d 20 4d 69 73 | 63 42 65 76 65 6c 54 5b |op = Mis|cBevelT[|
|00003100| 42 5d 2e 48 3b 0d 0a 09 | 57 2e 45 64 69 74 42 6f |B].H;...|W.EditBo|
|00003110| 78 2e 57 69 6e 57 69 64 | 74 68 20 3d 20 57 2e 45 |x.WinWid|th = W.E|
|00003120| 64 69 74 42 6f 78 57 69 | 64 74 68 20 2d 20 4d 69 |ditBoxWi|dth - Mi|
|00003130| 73 63 42 65 76 65 6c 4c | 5b 42 5d 2e 57 20 2d 20 |scBevelL|[B].W - |
|00003140| 4d 69 73 63 42 65 76 65 | 6c 52 5b 42 5d 2e 57 3b |MiscBeve|lR[B].W;|
|00003150| 0d 0a 09 57 2e 45 64 69 | 74 42 6f 78 2e 57 69 6e |...W.Edi|tBox.Win|
|00003160| 48 65 69 67 68 74 20 3d | 20 57 2e 57 69 6e 48 65 |Height =| W.WinHe|
|00003170| 69 67 68 74 20 2d 20 4d | 69 73 63 42 65 76 65 6c |ight - M|iscBevel|
|00003180| 54 5b 42 5d 2e 48 20 2d | 20 4d 69 73 63 42 65 76 |T[B].H -| MiscBev|
|00003190| 65 6c 42 5b 42 5d 2e 48 | 3b 0d 0a 7d 0d 0a 0d 0a |elB[B].H|;..}....|
|000031a0| 66 75 6e 63 74 69 6f 6e | 20 45 64 69 74 62 6f 78 |function| Editbox|
|000031b0| 5f 44 72 61 77 28 55 57 | 69 6e 64 6f 77 45 64 69 |_Draw(UW|indowEdi|
|000031c0| 74 43 6f 6e 74 72 6f 6c | 20 57 2c 20 43 61 6e 76 |tControl| W, Canv|
|000031d0| 61 73 20 43 29 0d 0a 7b | 0d 0a 09 57 2e 44 72 61 |as C)..{|...W.Dra|
|000031e0| 77 4d 69 73 63 42 65 76 | 65 6c 28 43 2c 20 57 2e |wMiscBev|el(C, W.|
|000031f0| 45 64 69 74 41 72 65 61 | 44 72 61 77 58 2c 20 30 |EditArea|DrawX, 0|
|00003200| 2c 20 57 2e 45 64 69 74 | 42 6f 78 57 69 64 74 68 |, W.Edit|BoxWidth|
|00003210| 2c 20 57 2e 57 69 6e 48 | 65 69 67 68 74 2c 20 4d |, W.WinH|eight, M|
|00003220| 69 73 63 2c 20 45 64 69 | 74 42 6f 78 42 65 76 65 |isc, Edi|tBoxBeve|
|00003230| 6c 29 3b 0d 0a 0d 0a 09 | 69 66 28 57 2e 54 65 78 |l);.....|if(W.Tex|
|00003240| 74 20 21 3d 20 22 22 29 | 0d 0a 09 7b 0d 0a 09 09 |t != "")|...{....|
|00003250| 43 2e 44 72 61 77 43 6f | 6c 6f 72 20 3d 20 57 2e |C.DrawCo|lor = W.|
|00003260| 54 65 78 74 43 6f 6c 6f | 72 3b 0d 0a 09 09 57 2e |TextColo|r;....W.|
|00003270| 43 6c 69 70 54 65 78 74 | 28 43 2c 20 57 2e 54 65 |ClipText|(C, W.Te|
|00003280| 78 74 58 2c 20 57 2e 54 | 65 78 74 59 2c 20 57 2e |xtX, W.T|extY, W.|
|00003290| 54 65 78 74 29 3b 0d 0a | 09 09 43 2e 44 72 61 77 |Text);..|..C.Draw|
|000032a0| 43 6f 6c 6f 72 2e 52 20 | 3d 20 32 35 35 3b 0d 0a |Color.R |= 255;..|
|000032b0| 09 09 43 2e 44 72 61 77 | 43 6f 6c 6f 72 2e 47 20 |..C.Draw|Color.G |
|000032c0| 3d 20 32 35 35 3b 0d 0a | 09 09 43 2e 44 72 61 77 |= 255;..|..C.Draw|
|000032d0| 43 6f 6c 6f 72 2e 42 20 | 3d 20 32 35 35 3b 0d 0a |Color.B |= 255;..|
|000032e0| 09 7d 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |.}..}...|.functio|
|000032f0| 6e 20 54 61 62 5f 44 72 | 61 77 54 61 62 28 55 57 |n Tab_Dr|awTab(UW|
|00003300| 69 6e 64 6f 77 54 61 62 | 43 6f 6e 74 72 6f 6c 54 |indowTab|ControlT|
|00003310| 61 62 41 72 65 61 20 54 | 61 62 2c 20 43 61 6e 76 |abArea T|ab, Canv|
|00003320| 61 73 20 43 2c 20 62 6f | 6f 6c 20 62 41 63 74 69 |as C, bo|ol bActi|
|00003330| 76 65 54 61 62 2c 20 62 | 6f 6f 6c 20 62 4c 65 66 |veTab, b|ool bLef|
|00003340| 74 6d 6f 73 74 54 61 62 | 2c 20 66 6c 6f 61 74 20 |tmostTab|, float |
|00003350| 58 2c 20 66 6c 6f 61 74 | 20 59 2c 20 66 6c 6f 61 |X, float| Y, floa|
|00003360| 74 20 57 2c 20 66 6c 6f | 61 74 20 48 2c 20 73 74 |t W, flo|at H, st|
|00003370| 72 69 6e 67 20 54 65 78 | 74 2c 20 62 6f 6f 6c 20 |ring Tex|t, bool |
|00003380| 62 53 68 6f 77 54 65 78 | 74 29 0d 0a 7b 0d 0a 09 |bShowTex|t)..{...|
|00003390| 6c 6f 63 61 6c 20 52 65 | 67 69 6f 6e 20 52 3b 0d |local Re|gion R;.|
|000033a0| 0a 09 6c 6f 63 61 6c 20 | 54 65 78 74 75 72 65 20 |..local |Texture |
|000033b0| 54 3b 0d 0a 09 6c 6f 63 | 61 6c 20 66 6c 6f 61 74 |T;...loc|al float|
|000033c0| 20 54 57 2c 20 54 48 3b | 0d 0a 0d 0a 09 43 2e 44 | TW, TH;|.....C.D|
|000033d0| 72 61 77 43 6f 6c 6f 72 | 2e 52 20 3d 20 32 35 35 |rawColor|.R = 255|
|000033e0| 3b 0d 0a 09 43 2e 44 72 | 61 77 43 6f 6c 6f 72 2e |;...C.Dr|awColor.|
|000033f0| 47 20 3d 20 32 35 35 3b | 0d 0a 09 43 2e 44 72 61 |G = 255;|...C.Dra|
|00003400| 77 43 6f 6c 6f 72 2e 42 | 20 3d 20 32 35 35 3b 0d |wColor.B| = 255;.|
|00003410| 0a 0d 0a 09 54 20 3d 20 | 54 61 62 2e 47 65 74 4c |....T = |Tab.GetL|
|00003420| 6f 6f 6b 41 6e 64 46 65 | 65 6c 54 65 78 74 75 72 |ookAndFe|elTextur|
|00003430| 65 28 29 3b 0d 0a 09 0d | 0a 09 69 66 28 62 41 63 |e();....|..if(bAc|
|00003440| 74 69 76 65 54 61 62 29 | 0d 0a 09 7b 0d 0a 09 09 |tiveTab)|...{....|
|00003450| 52 20 3d 20 54 61 62 53 | 65 6c 65 63 74 65 64 4c |R = TabS|electedL|
|00003460| 3b 0d 0a 09 09 54 61 62 | 2e 44 72 61 77 53 74 72 |;....Tab|.DrawStr|
|00003470| 65 74 63 68 65 64 54 65 | 78 74 75 72 65 53 65 67 |etchedTe|xtureSeg|
|00003480| 6d 65 6e 74 28 20 43 2c | 20 58 2c 20 59 2c 20 52 |ment( C,| X, Y, R|
|00003490| 2e 57 2c 20 52 2e 48 2c | 20 52 2e 58 2c 20 52 2e |.W, R.H,| R.X, R.|
|000034a0| 59 2c 20 52 2e 57 2c 20 | 52 2e 48 2c 20 54 20 29 |Y, R.W, |R.H, T )|
|000034b0| 3b 0d 0a 0d 0a 09 09 52 | 20 3d 20 54 61 62 53 65 |;......R| = TabSe|
|000034c0| 6c 65 63 74 65 64 4d 3b | 0d 0a 09 09 54 61 62 2e |lectedM;|....Tab.|
|000034d0| 44 72 61 77 53 74 72 65 | 74 63 68 65 64 54 65 78 |DrawStre|tchedTex|
|000034e0| 74 75 72 65 53 65 67 6d | 65 6e 74 28 20 43 2c 20 |tureSegm|ent( C, |
|000034f0| 58 2b 54 61 62 53 65 6c | 65 63 74 65 64 4c 2e 57 |X+TabSel|ectedL.W|
|00003500| 2c 20 59 2c 20 0d 0a 09 | 09 09 09 09 09 09 09 09 |, Y, ...|........|
|00003510| 09 57 20 2d 20 54 61 62 | 53 65 6c 65 63 74 65 64 |.W - Tab|Selected|
|00003520| 4c 2e 57 0d 0a 09 09 09 | 09 09 09 09 09 09 09 2d |L.W.....|.......-|
|00003530| 20 54 61 62 53 65 6c 65 | 63 74 65 64 52 2e 57 2c | TabSele|ctedR.W,|
|00003540| 0d 0a 09 09 09 09 09 09 | 09 09 09 09 52 2e 48 2c |........|....R.H,|
|00003550| 20 52 2e 58 2c 20 52 2e | 59 2c 20 52 2e 57 2c 20 | R.X, R.|Y, R.W, |
|00003560| 52 2e 48 2c 20 54 20 29 | 3b 0d 0a 0d 0a 09 09 52 |R.H, T )|;......R|
|00003570| 20 3d 20 54 61 62 53 65 | 6c 65 63 74 65 64 52 3b | = TabSe|lectedR;|
|00003580| 0d 0a 09 09 54 61 62 2e | 44 72 61 77 53 74 72 65 |....Tab.|DrawStre|
|00003590| 74 63 68 65 64 54 65 78 | 74 75 72 65 53 65 67 6d |tchedTex|tureSegm|
|000035a0| 65 6e 74 28 20 43 2c 20 | 58 20 2b 20 57 20 2d 20 |ent( C, |X + W - |
|000035b0| 52 2e 57 2c 20 59 2c 20 | 52 2e 57 2c 20 52 2e 48 |R.W, Y, |R.W, R.H|
|000035c0| 2c 20 52 2e 58 2c 20 52 | 2e 59 2c 20 52 2e 57 2c |, R.X, R|.Y, R.W,|
|000035d0| 20 52 2e 48 2c 20 54 20 | 29 3b 0d 0a 0d 0a 09 09 | R.H, T |);......|
|000035e0| 43 2e 46 6f 6e 74 20 3d | 20 54 61 62 2e 52 6f 6f |C.Font =| Tab.Roo|
|000035f0| 74 2e 46 6f 6e 74 73 5b | 54 61 62 2e 46 5f 42 6f |t.Fonts[|Tab.F_Bo|
|00003600| 6c 64 5d 3b 0d 0a 09 09 | 43 2e 44 72 61 77 43 6f |ld];....|C.DrawCo|
|00003610| 6c 6f 72 2e 52 20 3d 20 | 30 3b 0d 0a 09 09 43 2e |lor.R = |0;....C.|
|00003620| 44 72 61 77 43 6f 6c 6f | 72 2e 47 20 3d 20 30 3b |DrawColo|r.G = 0;|
|00003630| 0d 0a 09 09 43 2e 44 72 | 61 77 43 6f 6c 6f 72 2e |....C.Dr|awColor.|
|00003640| 42 20 3d 20 30 3b 0d 0a | 0d 0a 09 09 69 66 28 62 |B = 0;..|....if(b|
|00003650| 53 68 6f 77 54 65 78 74 | 29 0d 0a 09 09 7b 0d 0a |ShowText|)....{..|
|00003660| 09 09 09 54 61 62 2e 54 | 65 78 74 53 69 7a 65 28 |...Tab.T|extSize(|
|00003670| 43 2c 20 54 65 78 74 2c | 20 54 57 2c 20 54 48 29 |C, Text,| TW, TH)|
|00003680| 3b 0d 0a 09 09 09 54 61 | 62 2e 43 6c 69 70 54 65 |;.....Ta|b.ClipTe|
|00003690| 78 74 28 43 2c 20 58 20 | 2b 20 28 57 2d 54 57 29 |xt(C, X |+ (W-TW)|
|000036a0| 2f 32 2c 20 59 20 2b 20 | 33 2c 20 54 65 78 74 2c |/2, Y + |3, Text,|
|000036b0| 20 54 72 75 65 29 3b 0d | 0a 09 09 7d 0d 0a 09 7d | True);.|...}...}|
|000036c0| 0d 0a 09 65 6c 73 65 0d | 0a 09 7b 0d 0a 09 09 52 |...else.|..{....R|
|000036d0| 20 3d 20 54 61 62 55 6e | 73 65 6c 65 63 74 65 64 | = TabUn|selected|
|000036e0| 4c 3b 0d 0a 09 09 54 61 | 62 2e 44 72 61 77 53 74 |L;....Ta|b.DrawSt|
|000036f0| 72 65 74 63 68 65 64 54 | 65 78 74 75 72 65 53 65 |retchedT|extureSe|
|00003700| 67 6d 65 6e 74 28 20 43 | 2c 20 58 2c 20 59 2c 20 |gment( C|, X, Y, |
|00003710| 52 2e 57 2c 20 52 2e 48 | 2c 20 52 2e 58 2c 20 52 |R.W, R.H|, R.X, R|
|00003720| 2e 59 2c 20 52 2e 57 2c | 20 52 2e 48 2c 20 54 20 |.Y, R.W,| R.H, T |
|00003730| 29 3b 0d 0a 0d 0a 09 09 | 52 20 3d 20 54 61 62 55 |);......|R = TabU|
|00003740| 6e 73 65 6c 65 63 74 65 | 64 4d 3b 0d 0a 09 09 54 |nselecte|dM;....T|
|00003750| 61 62 2e 44 72 61 77 53 | 74 72 65 74 63 68 65 64 |ab.DrawS|tretched|
|00003760| 54 65 78 74 75 72 65 53 | 65 67 6d 65 6e 74 28 20 |TextureS|egment( |
|00003770| 43 2c 20 58 2b 54 61 62 | 55 6e 73 65 6c 65 63 74 |C, X+Tab|Unselect|
|00003780| 65 64 4c 2e 57 2c 20 59 | 2c 20 0d 0a 09 09 09 09 |edL.W, Y|, ......|
|00003790| 09 09 09 09 09 09 57 20 | 2d 20 54 61 62 55 6e 73 |......W |- TabUns|
|000037a0| 65 6c 65 63 74 65 64 4c | 2e 57 0d 0a 09 09 09 09 |electedL|.W......|
|000037b0| 09 09 09 09 09 09 2d 20 | 54 61 62 55 6e 73 65 6c |......- |TabUnsel|
|000037c0| 65 63 74 65 64 52 2e 57 | 2c 0d 0a 09 09 09 09 09 |ectedR.W|,.......|
|000037d0| 09 09 09 09 09 52 2e 48 | 2c 20 52 2e 58 2c 20 52 |.....R.H|, R.X, R|
|000037e0| 2e 59 2c 20 52 2e 57 2c | 20 52 2e 48 2c 20 54 20 |.Y, R.W,| R.H, T |
|000037f0| 29 3b 0d 0a 0d 0a 09 09 | 52 20 3d 20 54 61 62 55 |);......|R = TabU|
|00003800| 6e 73 65 6c 65 63 74 65 | 64 52 3b 0d 0a 09 09 54 |nselecte|dR;....T|
|00003810| 61 62 2e 44 72 61 77 53 | 74 72 65 74 63 68 65 64 |ab.DrawS|tretched|
|00003820| 54 65 78 74 75 72 65 53 | 65 67 6d 65 6e 74 28 20 |TextureS|egment( |
|00003830| 43 2c 20 58 20 2b 20 57 | 20 2d 20 52 2e 57 2c 20 |C, X + W| - R.W, |
|00003840| 59 2c 20 52 2e 57 2c 20 | 52 2e 48 2c 20 52 2e 58 |Y, R.W, |R.H, R.X|
|00003850| 2c 20 52 2e 59 2c 20 52 | 2e 57 2c 20 52 2e 48 2c |, R.Y, R|.W, R.H,|
|00003860| 20 54 20 29 3b 0d 0a 0d | 0a 09 09 43 2e 46 6f 6e | T );...|...C.Fon|
|00003870| 74 20 3d 20 54 61 62 2e | 52 6f 6f 74 2e 46 6f 6e |t = Tab.|Root.Fon|
|00003880| 74 73 5b 54 61 62 2e 46 | 5f 4e 6f 72 6d 61 6c 5d |ts[Tab.F|_Normal]|
|00003890| 3b 0d 0a 09 09 43 2e 44 | 72 61 77 43 6f 6c 6f 72 |;....C.D|rawColor|
|000038a0| 2e 52 20 3d 20 30 3b 0d | 0a 09 09 43 2e 44 72 61 |.R = 0;.|...C.Dra|
|000038b0| 77 43 6f 6c 6f 72 2e 47 | 20 3d 20 30 3b 0d 0a 09 |wColor.G| = 0;...|
|000038c0| 09 43 2e 44 72 61 77 43 | 6f 6c 6f 72 2e 42 20 3d |.C.DrawC|olor.B =|
|000038d0| 20 30 3b 0d 0a 0d 0a 09 | 09 69 66 28 62 53 68 6f | 0;.....|.if(bSho|
|000038e0| 77 54 65 78 74 29 0d 0a | 09 09 7b 0d 0a 09 09 09 |wText)..|..{.....|
|000038f0| 54 61 62 2e 54 65 78 74 | 53 69 7a 65 28 43 2c 20 |Tab.Text|Size(C, |
|00003900| 54 65 78 74 2c 20 54 57 | 2c 20 54 48 29 3b 0d 0a |Text, TW|, TH);..|
|00003910| 09 09 09 54 61 62 2e 43 | 6c 69 70 54 65 78 74 28 |...Tab.C|lipText(|
|00003920| 43 2c 20 58 20 2b 20 28 | 57 2d 54 57 29 2f 32 2c |C, X + (|W-TW)/2,|
|00003930| 20 59 20 2b 20 34 2c 20 | 54 65 78 74 2c 20 54 72 | Y + 4, |Text, Tr|
|00003940| 75 65 29 3b 0d 0a 09 09 | 7d 0d 0a 09 7d 0d 0a 7d |ue);....|}...}..}|
|00003950| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 53 42 5f |....func|tion SB_|
|00003960| 53 65 74 75 70 55 70 42 | 75 74 74 6f 6e 28 55 57 |SetupUpB|utton(UW|
|00003970| 69 6e 64 6f 77 53 42 55 | 70 42 75 74 74 6f 6e 20 |indowSBU|pButton |
|00003980| 57 29 0d 0a 7b 0d 0a 09 | 6c 6f 63 61 6c 20 54 65 |W)..{...|local Te|
|00003990| 78 74 75 72 65 20 54 3b | 0d 0a 0d 0a 09 54 20 3d |xture T;|.....T =|
|000039a0| 20 57 2e 47 65 74 4c 6f | 6f 6b 41 6e 64 46 65 65 | W.GetLo|okAndFee|
|000039b0| 6c 54 65 78 74 75 72 65 | 28 29 3b 0d 0a 0d 0a 09 |lTexture|();.....|
|000039c0| 57 2e 62 55 73 65 52 65 | 67 69 6f 6e 20 3d 20 54 |W.bUseRe|gion = T|
|000039d0| 72 75 65 3b 0d 0a 0d 0a | 09 57 2e 55 70 54 65 78 |rue;....|.W.UpTex|
|000039e0| 74 75 72 65 20 3d 20 54 | 3b 0d 0a 09 57 2e 44 6f |ture = T|;...W.Do|
|000039f0| 77 6e 54 65 78 74 75 72 | 65 20 3d 20 54 3b 0d 0a |wnTextur|e = T;..|
|00003a00| 09 57 2e 4f 76 65 72 54 | 65 78 74 75 72 65 20 3d |.W.OverT|exture =|
|00003a10| 20 54 3b 0d 0a 09 57 2e | 44 69 73 61 62 6c 65 64 | T;...W.|Disabled|
|00003a20| 54 65 78 74 75 72 65 20 | 3d 20 54 3b 0d 0a 0d 0a |Texture |= T;....|
|00003a30| 09 57 2e 55 70 52 65 67 | 69 6f 6e 20 3d 20 53 42 |.W.UpReg|ion = SB|
|00003a40| 55 70 55 70 3b 0d 0a 09 | 57 2e 44 6f 77 6e 52 65 |UpUp;...|W.DownRe|
|00003a50| 67 69 6f 6e 20 3d 20 53 | 42 55 70 44 6f 77 6e 3b |gion = S|BUpDown;|
|00003a60| 0d 0a 09 57 2e 4f 76 65 | 72 52 65 67 69 6f 6e 20 |...W.Ove|rRegion |
|00003a70| 3d 20 53 42 55 70 55 70 | 3b 0d 0a 09 57 2e 44 69 |= SBUpUp|;...W.Di|
|00003a80| 73 61 62 6c 65 64 52 65 | 67 69 6f 6e 20 3d 20 53 |sabledRe|gion = S|
|00003a90| 42 55 70 44 69 73 61 62 | 6c 65 64 3b 0d 0a 7d 0d |BUpDisab|led;..}.|
|00003aa0| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 53 42 5f 53 |...funct|ion SB_S|
|00003ab0| 65 74 75 70 44 6f 77 6e | 42 75 74 74 6f 6e 28 55 |etupDown|Button(U|
|00003ac0| 57 69 6e 64 6f 77 53 42 | 44 6f 77 6e 42 75 74 74 |WindowSB|DownButt|
|00003ad0| 6f 6e 20 57 29 0d 0a 7b | 0d 0a 09 6c 6f 63 61 6c |on W)..{|...local|
|00003ae0| 20 54 65 78 74 75 72 65 | 20 54 3b 0d 0a 0d 0a 09 | Texture| T;.....|
|00003af0| 54 20 3d 20 57 2e 47 65 | 74 4c 6f 6f 6b 41 6e 64 |T = W.Ge|tLookAnd|
|00003b00| 46 65 65 6c 54 65 78 74 | 75 72 65 28 29 3b 0d 0a |FeelText|ure();..|
|00003b10| 0d 0a 09 57 2e 62 55 73 | 65 52 65 67 69 6f 6e 20 |...W.bUs|eRegion |
|00003b20| 3d 20 54 72 75 65 3b 0d | 0a 0d 0a 09 57 2e 55 70 |= True;.|....W.Up|
|00003b30| 54 65 78 74 75 72 65 20 | 3d 20 54 3b 0d 0a 09 57 |Texture |= T;...W|
|00003b40| 2e 44 6f 77 6e 54 65 78 | 74 75 72 65 20 3d 20 54 |.DownTex|ture = T|
|00003b50| 3b 0d 0a 09 57 2e 4f 76 | 65 72 54 65 78 74 75 72 |;...W.Ov|erTextur|
|00003b60| 65 20 3d 20 54 3b 0d 0a | 09 57 2e 44 69 73 61 62 |e = T;..|.W.Disab|
|00003b70| 6c 65 64 54 65 78 74 75 | 72 65 20 3d 20 54 3b 0d |ledTextu|re = T;.|
|00003b80| 0a 0d 0a 09 57 2e 55 70 | 52 65 67 69 6f 6e 20 3d |....W.Up|Region =|
|00003b90| 20 53 42 44 6f 77 6e 55 | 70 3b 0d 0a 09 57 2e 44 | SBDownU|p;...W.D|
|00003ba0| 6f 77 6e 52 65 67 69 6f | 6e 20 3d 20 53 42 44 6f |ownRegio|n = SBDo|
|00003bb0| 77 6e 44 6f 77 6e 3b 0d | 0a 09 57 2e 4f 76 65 72 |wnDown;.|..W.Over|
|00003bc0| 52 65 67 69 6f 6e 20 3d | 20 53 42 44 6f 77 6e 55 |Region =| SBDownU|
|00003bd0| 70 3b 0d 0a 09 57 2e 44 | 69 73 61 62 6c 65 64 52 |p;...W.D|isabledR|
|00003be0| 65 67 69 6f 6e 20 3d 20 | 53 42 44 6f 77 6e 44 69 |egion = |SBDownDi|
|00003bf0| 73 61 62 6c 65 64 3b 0d | 0a 7d 0d 0a 0d 0a 0d 0a |sabled;.|.}......|
|00003c00| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 53 42 5f 53 65 |..functi|on SB_Se|
|00003c10| 74 75 70 4c 65 66 74 42 | 75 74 74 6f 6e 28 55 57 |tupLeftB|utton(UW|
|00003c20| 69 6e 64 6f 77 53 42 4c | 65 66 74 42 75 74 74 6f |indowSBL|eftButto|
|00003c30| 6e 20 57 29 0d 0a 7b 0d | 0a 09 6c 6f 63 61 6c 20 |n W)..{.|..local |
|00003c40| 54 65 78 74 75 72 65 20 | 54 3b 0d 0a 0d 0a 09 54 |Texture |T;.....T|
|00003c50| 20 3d 20 57 2e 47 65 74 | 4c 6f 6f 6b 41 6e 64 46 | = W.Get|LookAndF|
|00003c60| 65 65 6c 54 65 78 74 75 | 72 65 28 29 3b 0d 0a 0d |eelTextu|re();...|
|00003c70| 0a 09 57 2e 62 55 73 65 | 52 65 67 69 6f 6e 20 3d |..W.bUse|Region =|
|00003c80| 20 54 72 75 65 3b 0d 0a | 0d 0a 09 57 2e 55 70 54 | True;..|...W.UpT|
|00003c90| 65 78 74 75 72 65 20 3d | 20 54 3b 0d 0a 09 57 2e |exture =| T;...W.|
|00003ca0| 44 6f 77 6e 54 65 78 74 | 75 72 65 20 3d 20 54 3b |DownText|ure = T;|
|00003cb0| 0d 0a 09 57 2e 4f 76 65 | 72 54 65 78 74 75 72 65 |...W.Ove|rTexture|
|00003cc0| 20 3d 20 54 3b 0d 0a 09 | 57 2e 44 69 73 61 62 6c | = T;...|W.Disabl|
|00003cd0| 65 64 54 65 78 74 75 72 | 65 20 3d 20 54 3b 0d 0a |edTextur|e = T;..|
|00003ce0| 0d 0a 09 57 2e 55 70 52 | 65 67 69 6f 6e 20 3d 20 |...W.UpR|egion = |
|00003cf0| 53 42 4c 65 66 74 55 70 | 3b 0d 0a 09 57 2e 44 6f |SBLeftUp|;...W.Do|
|00003d00| 77 6e 52 65 67 69 6f 6e | 20 3d 20 53 42 4c 65 66 |wnRegion| = SBLef|
|00003d10| 74 44 6f 77 6e 3b 0d 0a | 09 57 2e 4f 76 65 72 52 |tDown;..|.W.OverR|
|00003d20| 65 67 69 6f 6e 20 3d 20 | 53 42 4c 65 66 74 55 70 |egion = |SBLeftUp|
|00003d30| 3b 0d 0a 09 57 2e 44 69 | 73 61 62 6c 65 64 52 65 |;...W.Di|sabledRe|
|00003d40| 67 69 6f 6e 20 3d 20 53 | 42 4c 65 66 74 44 69 73 |gion = S|BLeftDis|
|00003d50| 61 62 6c 65 64 3b 0d 0a | 7d 0d 0a 0d 0a 66 75 6e |abled;..|}....fun|
|00003d60| 63 74 69 6f 6e 20 53 42 | 5f 53 65 74 75 70 52 69 |ction SB|_SetupRi|
|00003d70| 67 68 74 42 75 74 74 6f | 6e 28 55 57 69 6e 64 6f |ghtButto|n(UWindo|
|00003d80| 77 53 42 52 69 67 68 74 | 42 75 74 74 6f 6e 20 57 |wSBRight|Button W|
|00003d90| 29 0d 0a 7b 0d 0a 09 6c | 6f 63 61 6c 20 54 65 78 |)..{...l|ocal Tex|
|00003da0| 74 75 72 65 20 54 3b 0d | 0a 0d 0a 09 54 20 3d 20 |ture T;.|....T = |
|00003db0| 57 2e 47 65 74 4c 6f 6f | 6b 41 6e 64 46 65 65 6c |W.GetLoo|kAndFeel|
|00003dc0| 54 65 78 74 75 72 65 28 | 29 3b 0d 0a 0d 0a 09 57 |Texture(|);.....W|
|00003dd0| 2e 62 55 73 65 52 65 67 | 69 6f 6e 20 3d 20 54 72 |.bUseReg|ion = Tr|
|00003de0| 75 65 3b 0d 0a 0d 0a 09 | 57 2e 55 70 54 65 78 74 |ue;.....|W.UpText|
|00003df0| 75 72 65 20 3d 20 54 3b | 0d 0a 09 57 2e 44 6f 77 |ure = T;|...W.Dow|
|00003e00| 6e 54 65 78 74 75 72 65 | 20 3d 20 54 3b 0d 0a 09 |nTexture| = T;...|
|00003e10| 57 2e 4f 76 65 72 54 65 | 78 74 75 72 65 20 3d 20 |W.OverTe|xture = |
|00003e20| 54 3b 0d 0a 09 57 2e 44 | 69 73 61 62 6c 65 64 54 |T;...W.D|isabledT|
|00003e30| 65 78 74 75 72 65 20 3d | 20 54 3b 0d 0a 0d 0a 09 |exture =| T;.....|
|00003e40| 57 2e 55 70 52 65 67 69 | 6f 6e 20 3d 20 53 42 52 |W.UpRegi|on = SBR|
|00003e50| 69 67 68 74 55 70 3b 0d | 0a 09 57 2e 44 6f 77 6e |ightUp;.|..W.Down|
|00003e60| 52 65 67 69 6f 6e 20 3d | 20 53 42 52 69 67 68 74 |Region =| SBRight|
|00003e70| 44 6f 77 6e 3b 0d 0a 09 | 57 2e 4f 76 65 72 52 65 |Down;...|W.OverRe|
|00003e80| 67 69 6f 6e 20 3d 20 53 | 42 52 69 67 68 74 55 70 |gion = S|BRightUp|
|00003e90| 3b 0d 0a 09 57 2e 44 69 | 73 61 62 6c 65 64 52 65 |;...W.Di|sabledRe|
|00003ea0| 67 69 6f 6e 20 3d 20 53 | 42 52 69 67 68 74 44 69 |gion = S|BRightDi|
|00003eb0| 73 61 62 6c 65 64 3b 0d | 0a 7d 0d 0a 0d 0a 66 75 |sabled;.|.}....fu|
|00003ec0| 6e 63 74 69 6f 6e 20 53 | 42 5f 56 44 72 61 77 28 |nction S|B_VDraw(|
|00003ed0| 55 57 69 6e 64 6f 77 56 | 53 63 72 6f 6c 6c 62 61 |UWindowV|Scrollba|
|00003ee0| 72 20 57 2c 20 43 61 6e | 76 61 73 20 43 29 0d 0a |r W, Can|vas C)..|
|00003ef0| 7b 0d 0a 09 6c 6f 63 61 | 6c 20 52 65 67 69 6f 6e |{...loca|l Region|
|00003f00| 20 52 3b 0d 0a 09 6c 6f | 63 61 6c 20 54 65 78 74 | R;...lo|cal Text|
|00003f10| 75 72 65 20 54 3b 0d 0a | 0d 0a 09 54 20 3d 20 57 |ure T;..|...T = W|
|00003f20| 2e 47 65 74 4c 6f 6f 6b | 41 6e 64 46 65 65 6c 54 |.GetLook|AndFeelT|
|00003f30| 65 78 74 75 72 65 28 29 | 3b 0d 0a 0d 0a 09 52 20 |exture()|;.....R |
|00003f40| 3d 20 53 42 42 61 63 6b | 67 72 6f 75 6e 64 3b 0d |= SBBack|ground;.|
|00003f50| 0a 09 57 2e 44 72 61 77 | 53 74 72 65 74 63 68 65 |..W.Draw|Stretche|
|00003f60| 64 54 65 78 74 75 72 65 | 53 65 67 6d 65 6e 74 28 |dTexture|Segment(|
|00003f70| 20 43 2c 20 30 2c 20 30 | 2c 20 57 2e 57 69 6e 57 | C, 0, 0|, W.WinW|
|00003f80| 69 64 74 68 2c 20 57 2e | 57 69 6e 48 65 69 67 68 |idth, W.|WinHeigh|
|00003f90| 74 2c 20 52 2e 58 2c 20 | 52 2e 59 2c 20 52 2e 57 |t, R.X, |R.Y, R.W|
|00003fa0| 2c 20 52 2e 48 2c 20 54 | 29 3b 0d 0a 09 0d 0a 09 |, R.H, T|);......|
|00003fb0| 69 66 28 21 57 2e 62 44 | 69 73 61 62 6c 65 64 29 |if(!W.bD|isabled)|
|00003fc0| 0d 0a 09 7b 0d 0a 09 09 | 57 2e 44 72 61 77 55 70 |...{....|W.DrawUp|
|00003fd0| 42 65 76 65 6c 28 20 43 | 2c 20 30 2c 20 57 2e 54 |Bevel( C|, 0, W.T|
|00003fe0| 68 75 6d 62 53 74 61 72 | 74 2c 20 53 69 7a 65 5f |humbStar|t, Size_|
|00003ff0| 53 63 72 6f 6c 6c 62 61 | 72 57 69 64 74 68 2c 09 |Scrollba|rWidth,.|
|00004000| 57 2e 54 68 75 6d 62 48 | 65 69 67 68 74 2c 20 54 |W.ThumbH|eight, T|
|00004010| 29 3b 0d 0a 09 7d 0d 0a | 7d 0d 0a 0d 0a 66 75 6e |);...}..|}....fun|
|00004020| 63 74 69 6f 6e 20 53 42 | 5f 48 44 72 61 77 28 55 |ction SB|_HDraw(U|
|00004030| 57 69 6e 64 6f 77 48 53 | 63 72 6f 6c 6c 62 61 72 |WindowHS|crollbar|
|00004040| 20 57 2c 20 43 61 6e 76 | 61 73 20 43 29 0d 0a 7b | W, Canv|as C)..{|
|00004050| 0d 0a 09 6c 6f 63 61 6c | 20 52 65 67 69 6f 6e 20 |...local| Region |
|00004060| 52 3b 0d 0a 09 6c 6f 63 | 61 6c 20 54 65 78 74 75 |R;...loc|al Textu|
|00004070| 72 65 20 54 3b 0d 0a 0d | 0a 09 54 20 3d 20 57 2e |re T;...|..T = W.|
|00004080| 47 65 74 4c 6f 6f 6b 41 | 6e 64 46 65 65 6c 54 65 |GetLookA|ndFeelTe|
|00004090| 78 74 75 72 65 28 29 3b | 0d 0a 0d 0a 09 52 20 3d |xture();|.....R =|
|000040a0| 20 53 42 42 61 63 6b 67 | 72 6f 75 6e 64 3b 0d 0a | SBBackg|round;..|
|000040b0| 09 57 2e 44 72 61 77 53 | 74 72 65 74 63 68 65 64 |.W.DrawS|tretched|
|000040c0| 54 65 78 74 75 72 65 53 | 65 67 6d 65 6e 74 28 20 |TextureS|egment( |
|000040d0| 43 2c 20 30 2c 20 30 2c | 20 57 2e 57 69 6e 57 69 |C, 0, 0,| W.WinWi|
|000040e0| 64 74 68 2c 20 57 2e 57 | 69 6e 48 65 69 67 68 74 |dth, W.W|inHeight|
|000040f0| 2c 20 52 2e 58 2c 20 52 | 2e 59 2c 20 52 2e 57 2c |, R.X, R|.Y, R.W,|
|00004100| 20 52 2e 48 2c 20 54 29 | 3b 0d 0a 09 0d 0a 09 69 | R.H, T)|;......i|
|00004110| 66 28 21 57 2e 62 44 69 | 73 61 62 6c 65 64 29 20 |f(!W.bDi|sabled) |
|00004120| 0d 0a 09 7b 0d 0a 09 09 | 57 2e 44 72 61 77 55 70 |...{....|W.DrawUp|
|00004130| 42 65 76 65 6c 28 20 43 | 2c 20 57 2e 54 68 75 6d |Bevel( C|, W.Thum|
|00004140| 62 53 74 61 72 74 2c 20 | 30 2c 20 57 2e 54 68 75 |bStart, |0, W.Thu|
|00004150| 6d 62 57 69 64 74 68 2c | 20 53 69 7a 65 5f 53 63 |mbWidth,| Size_Sc|
|00004160| 72 6f 6c 6c 62 61 72 57 | 69 64 74 68 2c 20 54 29 |rollbarW|idth, T)|
|00004170| 3b 0d 0a 09 7d 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |;...}..}|....func|
|00004180| 74 69 6f 6e 20 54 61 62 | 5f 53 65 74 75 70 4c 65 |tion Tab|_SetupLe|
|00004190| 66 74 42 75 74 74 6f 6e | 28 55 57 69 6e 64 6f 77 |ftButton|(UWindow|
|000041a0| 54 61 62 43 6f 6e 74 72 | 6f 6c 4c 65 66 74 42 75 |TabContr|olLeftBu|
|000041b0| 74 74 6f 6e 20 57 29 0d | 0a 7b 0d 0a 09 6c 6f 63 |tton W).|.{...loc|
|000041c0| 61 6c 20 54 65 78 74 75 | 72 65 20 54 3b 0d 0a 0d |al Textu|re T;...|
|000041d0| 0a 09 54 20 3d 20 57 2e | 47 65 74 4c 6f 6f 6b 41 |..T = W.|GetLookA|
|000041e0| 6e 64 46 65 65 6c 54 65 | 78 74 75 72 65 28 29 3b |ndFeelTe|xture();|
|000041f0| 0d 0a 0d 0a 0d 0a 09 57 | 2e 57 69 6e 57 69 64 74 |.......W|.WinWidt|
|00004200| 68 20 3d 20 53 69 7a 65 | 5f 53 63 72 6f 6c 6c 62 |h = Size|_Scrollb|
|00004210| 61 72 42 75 74 74 6f 6e | 48 65 69 67 68 74 3b 0d |arButton|Height;.|
|00004220| 0a 09 57 2e 57 69 6e 48 | 65 69 67 68 74 20 3d 20 |..W.WinH|eight = |
|00004230| 53 69 7a 65 5f 53 63 72 | 6f 6c 6c 62 61 72 57 69 |Size_Scr|ollbarWi|
|00004240| 64 74 68 3b 0d 0a 09 57 | 2e 57 69 6e 54 6f 70 20 |dth;...W|.WinTop |
|00004250| 3d 20 53 69 7a 65 5f 54 | 61 62 41 72 65 61 48 65 |= Size_T|abAreaHe|
|00004260| 69 67 68 74 20 2d 20 57 | 2e 57 69 6e 48 65 69 67 |ight - W|.WinHeig|
|00004270| 68 74 3b 0d 0a 09 57 2e | 57 69 6e 4c 65 66 74 20 |ht;...W.|WinLeft |
|00004280| 3d 20 57 2e 50 61 72 65 | 6e 74 57 69 6e 64 6f 77 |= W.Pare|ntWindow|
|00004290| 2e 57 69 6e 57 69 64 74 | 68 20 2d 20 32 2a 57 2e |.WinWidt|h - 2*W.|
|000042a0| 57 69 6e 57 69 64 74 68 | 3b 0d 0a 0d 0a 09 57 2e |WinWidth|;.....W.|
|000042b0| 62 55 73 65 52 65 67 69 | 6f 6e 20 3d 20 54 72 75 |bUseRegi|on = Tru|
|000042c0| 65 3b 0d 0a 0d 0a 09 57 | 2e 55 70 54 65 78 74 75 |e;.....W|.UpTextu|
|000042d0| 72 65 20 3d 20 54 3b 0d | 0a 09 57 2e 44 6f 77 6e |re = T;.|..W.Down|
|000042e0| 54 65 78 74 75 72 65 20 | 3d 20 54 3b 0d 0a 09 57 |Texture |= T;...W|
|000042f0| 2e 4f 76 65 72 54 65 78 | 74 75 72 65 20 3d 20 54 |.OverTex|ture = T|
|00004300| 3b 0d 0a 09 57 2e 44 69 | 73 61 62 6c 65 64 54 65 |;...W.Di|sabledTe|
|00004310| 78 74 75 72 65 20 3d 20 | 54 3b 0d 0a 0d 0a 09 57 |xture = |T;.....W|
|00004320| 2e 55 70 52 65 67 69 6f | 6e 20 3d 20 53 42 4c 65 |.UpRegio|n = SBLe|
|00004330| 66 74 55 70 3b 0d 0a 09 | 57 2e 44 6f 77 6e 52 65 |ftUp;...|W.DownRe|
|00004340| 67 69 6f 6e 20 3d 20 53 | 42 4c 65 66 74 44 6f 77 |gion = S|BLeftDow|
|00004350| 6e 3b 0d 0a 09 57 2e 4f | 76 65 72 52 65 67 69 6f |n;...W.O|verRegio|
|00004360| 6e 20 3d 20 53 42 4c 65 | 66 74 55 70 3b 0d 0a 09 |n = SBLe|ftUp;...|
|00004370| 57 2e 44 69 73 61 62 6c | 65 64 52 65 67 69 6f 6e |W.Disabl|edRegion|
|00004380| 20 3d 20 53 42 4c 65 66 | 74 44 69 73 61 62 6c 65 | = SBLef|tDisable|
|00004390| 64 3b 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |d;..}...|.functio|
|000043a0| 6e 20 54 61 62 5f 53 65 | 74 75 70 52 69 67 68 74 |n Tab_Se|tupRight|
|000043b0| 42 75 74 74 6f 6e 28 55 | 57 69 6e 64 6f 77 54 61 |Button(U|WindowTa|
|000043c0| 62 43 6f 6e 74 72 6f 6c | 52 69 67 68 74 42 75 74 |bControl|RightBut|
|000043d0| 74 6f 6e 20 57 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 |ton W)..|{...loca|
|000043e0| 6c 20 54 65 78 74 75 72 | 65 20 54 3b 0d 0a 0d 0a |l Textur|e T;....|
|000043f0| 09 54 20 3d 20 57 2e 47 | 65 74 4c 6f 6f 6b 41 6e |.T = W.G|etLookAn|
|00004400| 64 46 65 65 6c 54 65 78 | 74 75 72 65 28 29 3b 0d |dFeelTex|ture();.|
|00004410| 0a 0d 0a 09 57 2e 57 69 | 6e 57 69 64 74 68 20 3d |....W.Wi|nWidth =|
|00004420| 20 53 69 7a 65 5f 53 63 | 72 6f 6c 6c 62 61 72 42 | Size_Sc|rollbarB|
|00004430| 75 74 74 6f 6e 48 65 69 | 67 68 74 3b 0d 0a 09 57 |uttonHei|ght;...W|
|00004440| 2e 57 69 6e 48 65 69 67 | 68 74 20 3d 20 53 69 7a |.WinHeig|ht = Siz|
|00004450| 65 5f 53 63 72 6f 6c 6c | 62 61 72 57 69 64 74 68 |e_Scroll|barWidth|
|00004460| 3b 0d 0a 09 57 2e 57 69 | 6e 54 6f 70 20 3d 20 53 |;...W.Wi|nTop = S|
|00004470| 69 7a 65 5f 54 61 62 41 | 72 65 61 48 65 69 67 68 |ize_TabA|reaHeigh|
|00004480| 74 20 2d 20 57 2e 57 69 | 6e 48 65 69 67 68 74 3b |t - W.Wi|nHeight;|
|00004490| 0d 0a 09 57 2e 57 69 6e | 4c 65 66 74 20 3d 20 57 |...W.Win|Left = W|
|000044a0| 2e 50 61 72 65 6e 74 57 | 69 6e 64 6f 77 2e 57 69 |.ParentW|indow.Wi|
|000044b0| 6e 57 69 64 74 68 20 2d | 20 57 2e 57 69 6e 57 69 |nWidth -| W.WinWi|
|000044c0| 64 74 68 3b 0d 0a 0d 0a | 09 57 2e 62 55 73 65 52 |dth;....|.W.bUseR|
|000044d0| 65 67 69 6f 6e 20 3d 20 | 54 72 75 65 3b 0d 0a 0d |egion = |True;...|
|000044e0| 0a 09 57 2e 55 70 54 65 | 78 74 75 72 65 20 3d 20 |..W.UpTe|xture = |
|000044f0| 54 3b 0d 0a 09 57 2e 44 | 6f 77 6e 54 65 78 74 75 |T;...W.D|ownTextu|
|00004500| 72 65 20 3d 20 54 3b 0d | 0a 09 57 2e 4f 76 65 72 |re = T;.|..W.Over|
|00004510| 54 65 78 74 75 72 65 20 | 3d 20 54 3b 0d 0a 09 57 |Texture |= T;...W|
|00004520| 2e 44 69 73 61 62 6c 65 | 64 54 65 78 74 75 72 65 |.Disable|dTexture|
|00004530| 20 3d 20 54 3b 0d 0a 0d | 0a 09 57 2e 55 70 52 65 | = T;...|..W.UpRe|
|00004540| 67 69 6f 6e 20 3d 20 53 | 42 52 69 67 68 74 55 70 |gion = S|BRightUp|
|00004550| 3b 0d 0a 09 57 2e 44 6f | 77 6e 52 65 67 69 6f 6e |;...W.Do|wnRegion|
|00004560| 20 3d 20 53 42 52 69 67 | 68 74 44 6f 77 6e 3b 0d | = SBRig|htDown;.|
|00004570| 0a 09 57 2e 4f 76 65 72 | 52 65 67 69 6f 6e 20 3d |..W.Over|Region =|
|00004580| 20 53 42 52 69 67 68 74 | 55 70 3b 0d 0a 09 57 2e | SBRight|Up;...W.|
|00004590| 44 69 73 61 62 6c 65 64 | 52 65 67 69 6f 6e 20 3d |Disabled|Region =|
|000045a0| 20 53 42 52 69 67 68 74 | 44 69 73 61 62 6c 65 64 | SBRight|Disabled|
|000045b0| 3b 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |;..}....|function|
|000045c0| 20 54 61 62 5f 53 65 74 | 54 61 62 50 61 67 65 53 | Tab_Set|TabPageS|
|000045d0| 69 7a 65 28 55 57 69 6e | 64 6f 77 50 61 67 65 43 |ize(UWin|dowPageC|
|000045e0| 6f 6e 74 72 6f 6c 20 57 | 2c 20 55 57 69 6e 64 6f |ontrol W|, UWindo|
|000045f0| 77 50 61 67 65 57 69 6e | 64 6f 77 20 50 29 0d 0a |wPageWin|dow P)..|
|00004600| 7b 0d 0a 09 50 2e 57 69 | 6e 4c 65 66 74 20 3d 20 |{...P.Wi|nLeft = |
|00004610| 32 3b 0d 0a 09 50 2e 57 | 69 6e 54 6f 70 20 3d 20 |2;...P.W|inTop = |
|00004620| 57 2e 54 61 62 41 72 65 | 61 2e 57 69 6e 48 65 69 |W.TabAre|a.WinHei|
|00004630| 67 68 74 2d 28 54 61 62 | 53 65 6c 65 63 74 65 64 |ght-(Tab|Selected|
|00004640| 4d 2e 48 2d 54 61 62 55 | 6e 73 65 6c 65 63 74 65 |M.H-TabU|nselecte|
|00004650| 64 4d 2e 48 29 20 2b 20 | 33 3b 0d 0a 09 50 2e 53 |dM.H) + |3;...P.S|
|00004660| 65 74 53 69 7a 65 28 57 | 2e 57 69 6e 57 69 64 74 |etSize(W|.WinWidt|
|00004670| 68 20 2d 20 34 2c 20 57 | 2e 57 69 6e 48 65 69 67 |h - 4, W|.WinHeig|
|00004680| 68 74 2d 28 57 2e 54 61 | 62 41 72 65 61 2e 57 69 |ht-(W.Ta|bArea.Wi|
|00004690| 6e 48 65 69 67 68 74 2d | 28 54 61 62 53 65 6c 65 |nHeight-|(TabSele|
|000046a0| 63 74 65 64 4d 2e 48 2d | 54 61 62 55 6e 73 65 6c |ctedM.H-|TabUnsel|
|000046b0| 65 63 74 65 64 4d 2e 48 | 29 29 20 2d 20 36 29 3b |ectedM.H|)) - 6);|
|000046c0| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|000046d0| 54 61 62 5f 44 72 61 77 | 54 61 62 50 61 67 65 41 |Tab_Draw|TabPageA|
|000046e0| 72 65 61 28 55 57 69 6e | 64 6f 77 50 61 67 65 43 |rea(UWin|dowPageC|
|000046f0| 6f 6e 74 72 6f 6c 20 57 | 2c 20 43 61 6e 76 61 73 |ontrol W|, Canvas|
|00004700| 20 43 2c 20 55 57 69 6e | 64 6f 77 50 61 67 65 57 | C, UWin|dowPageW|
|00004710| 69 6e 64 6f 77 20 50 29 | 0d 0a 7b 0d 0a 09 57 2e |indow P)|..{...W.|
|00004720| 44 72 61 77 55 70 42 65 | 76 65 6c 28 20 43 2c 20 |DrawUpBe|vel( C, |
|00004730| 30 2c 20 53 69 7a 65 5f | 54 61 62 41 72 65 61 48 |0, Size_|TabAreaH|
|00004740| 65 69 67 68 74 2c 20 57 | 2e 57 69 6e 57 69 64 74 |eight, W|.WinWidt|
|00004750| 68 2c 20 57 2e 57 69 6e | 48 65 69 67 68 74 2d 53 |h, W.Win|Height-S|
|00004760| 69 7a 65 5f 54 61 62 41 | 72 65 61 48 65 69 67 68 |ize_TabA|reaHeigh|
|00004770| 74 2c 20 57 2e 47 65 74 | 4c 6f 6f 6b 41 6e 64 46 |t, W.Get|LookAndF|
|00004780| 65 65 6c 54 65 78 74 75 | 72 65 28 29 29 3b 0d 0a |eelTextu|re());..|
|00004790| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 54 61 |}....fun|ction Ta|
|000047a0| 62 5f 47 65 74 54 61 62 | 53 69 7a 65 28 55 57 69 |b_GetTab|Size(UWi|
|000047b0| 6e 64 6f 77 54 61 62 43 | 6f 6e 74 72 6f 6c 54 61 |ndowTabC|ontrolTa|
|000047c0| 62 41 72 65 61 20 54 61 | 62 2c 20 43 61 6e 76 61 |bArea Ta|b, Canva|
|000047d0| 73 20 43 2c 20 73 74 72 | 69 6e 67 20 54 65 78 74 |s C, str|ing Text|
|000047e0| 2c 20 6f 75 74 20 66 6c | 6f 61 74 20 57 2c 20 6f |, out fl|oat W, o|
|000047f0| 75 74 20 66 6c 6f 61 74 | 20 48 29 0d 0a 7b 0d 0a |ut float| H)..{..|
|00004800| 09 6c 6f 63 61 6c 20 66 | 6c 6f 61 74 20 54 57 2c |.local f|loat TW,|
|00004810| 20 54 48 3b 0d 0a 0d 0a | 09 43 2e 46 6f 6e 74 20 | TH;....|.C.Font |
|00004820| 3d 20 54 61 62 2e 52 6f | 6f 74 2e 46 6f 6e 74 73 |= Tab.Ro|ot.Fonts|
|00004830| 5b 54 61 62 2e 46 5f 4e | 6f 72 6d 61 6c 5d 3b 0d |[Tab.F_N|ormal];.|
|00004840| 0a 0d 0a 09 54 61 62 2e | 54 65 78 74 53 69 7a 65 |....Tab.|TextSize|
|00004850| 28 20 43 2c 20 54 65 78 | 74 2c 20 54 57 2c 20 54 |( C, Tex|t, TW, T|
|00004860| 48 20 29 3b 0d 0a 09 57 | 20 3d 20 54 57 20 2b 20 |H );...W| = TW + |
|00004870| 53 69 7a 65 5f 54 61 62 | 53 70 61 63 69 6e 67 3b |Size_Tab|Spacing;|
|00004880| 0d 0a 09 48 20 3d 20 54 | 48 3b 0d 0a 7d 0d 0a 0d |...H = T|H;..}...|
|00004890| 0a 66 75 6e 63 74 69 6f | 6e 20 4d 65 6e 75 5f 44 |.functio|n Menu_D|
|000048a0| 72 61 77 4d 65 6e 75 42 | 61 72 28 55 57 69 6e 64 |rawMenuB|ar(UWind|
|000048b0| 6f 77 4d 65 6e 75 42 61 | 72 20 57 2c 20 43 61 6e |owMenuBa|r W, Can|
|000048c0| 76 61 73 20 43 29 0d 0a | 7b 0d 0a 09 57 2e 44 72 |vas C)..|{...W.Dr|
|000048d0| 61 77 53 74 72 65 74 63 | 68 65 64 54 65 78 74 75 |awStretc|hedTextu|
|000048e0| 72 65 28 20 43 2c 20 31 | 36 2c 20 30 2c 20 57 2e |re( C, 1|6, 0, W.|
|000048f0| 57 69 6e 57 69 64 74 68 | 20 2d 20 33 32 2c 20 31 |WinWidth| - 32, 1|
|00004900| 36 2c 20 54 65 78 74 75 | 72 65 27 55 57 69 6e 64 |6, Textu|re'UWind|
|00004910| 6f 77 2e 4d 65 6e 75 42 | 61 72 27 29 3b 0d 0a 7d |ow.MenuB|ar');..}|
|00004920| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 4d 65 6e |....func|tion Men|
|00004930| 75 5f 44 72 61 77 4d 65 | 6e 75 42 61 72 49 74 65 |u_DrawMe|nuBarIte|
|00004940| 6d 28 55 57 69 6e 64 6f | 77 4d 65 6e 75 42 61 72 |m(UWindo|wMenuBar|
|00004950| 20 42 2c 20 55 57 69 6e | 64 6f 77 4d 65 6e 75 42 | B, UWin|dowMenuB|
|00004960| 61 72 49 74 65 6d 20 49 | 2c 20 66 6c 6f 61 74 20 |arItem I|, float |
|00004970| 58 2c 20 66 6c 6f 61 74 | 20 59 2c 20 66 6c 6f 61 |X, float| Y, floa|
|00004980| 74 20 57 2c 20 66 6c 6f | 61 74 20 48 2c 20 43 61 |t W, flo|at H, Ca|
|00004990| 6e 76 61 73 20 43 29 0d | 0a 7b 0d 0a 09 69 66 28 |nvas C).|.{...if(|
|000049a0| 42 2e 53 65 6c 65 63 74 | 65 64 20 3d 3d 20 49 29 |B.Select|ed == I)|
|000049b0| 0d 0a 09 7b 0d 0a 09 09 | 42 2e 44 72 61 77 43 6c |...{....|B.DrawCl|
|000049c0| 69 70 70 65 64 54 65 78 | 74 75 72 65 28 43 2c 20 |ippedTex|ture(C, |
|000049d0| 58 2c 20 31 2c 20 54 65 | 78 74 75 72 65 27 4d 65 |X, 1, Te|xture'Me|
|000049e0| 6e 75 48 69 67 68 6c 69 | 67 68 74 4c 27 29 3b 0d |nuHighli|ghtL');.|
|000049f0| 0a 09 09 42 2e 44 72 61 | 77 43 6c 69 70 70 65 64 |...B.Dra|wClipped|
|00004a00| 54 65 78 74 75 72 65 28 | 43 2c 20 58 2b 57 2d 31 |Texture(|C, X+W-1|
|00004a10| 2c 20 31 2c 20 54 65 78 | 74 75 72 65 27 4d 65 6e |, 1, Tex|ture'Men|
|00004a20| 75 48 69 67 68 6c 69 67 | 68 74 52 27 29 3b 0d 0a |uHighlig|htR');..|
|00004a30| 09 09 42 2e 44 72 61 77 | 53 74 72 65 74 63 68 65 |..B.Draw|Stretche|
|00004a40| 64 54 65 78 74 75 72 65 | 28 43 2c 20 58 2b 31 2c |dTexture|(C, X+1,|
|00004a50| 20 31 2c 20 57 2d 32 2c | 20 31 36 2c 20 54 65 78 | 1, W-2,| 16, Tex|
|00004a60| 74 75 72 65 27 4d 65 6e | 75 48 69 67 68 6c 69 67 |ture'Men|uHighlig|
|00004a70| 68 74 4d 27 29 3b 0d 0a | 09 7d 0d 0a 0d 0a 09 43 |htM');..|.}.....C|
|00004a80| 2e 46 6f 6e 74 20 3d 20 | 42 2e 52 6f 6f 74 2e 46 |.Font = |B.Root.F|
|00004a90| 6f 6e 74 73 5b 46 5f 4e | 6f 72 6d 61 6c 5d 3b 0d |onts[F_N|ormal];.|
|00004aa0| 0a 09 43 2e 44 72 61 77 | 43 6f 6c 6f 72 2e 52 20 |..C.Draw|Color.R |
|00004ab0| 3d 20 30 3b 0d 0a 09 43 | 2e 44 72 61 77 43 6f 6c |= 0;...C|.DrawCol|
|00004ac0| 6f 72 2e 47 20 3d 20 30 | 3b 0d 0a 09 43 2e 44 72 |or.G = 0|;...C.Dr|
|00004ad0| 61 77 43 6f 6c 6f 72 2e | 42 20 3d 20 30 3b 0d 0a |awColor.|B = 0;..|
|00004ae0| 0d 0a 09 42 2e 43 6c 69 | 70 54 65 78 74 28 43 2c |...B.Cli|pText(C,|
|00004af0| 20 58 20 2b 20 42 2e 53 | 70 61 63 69 6e 67 20 2f | X + B.S|pacing /|
|00004b00| 20 32 2c 20 32 2c 20 49 | 2e 43 61 70 74 69 6f 6e | 2, 2, I|.Caption|
|00004b10| 2c 20 54 72 75 65 29 3b | 0d 0a 7d 0d 0a 0d 0a 66 |, True);|..}....f|
|00004b20| 75 6e 63 74 69 6f 6e 20 | 4d 65 6e 75 5f 44 72 61 |unction |Menu_Dra|
|00004b30| 77 50 75 6c 6c 64 6f 77 | 6e 4d 65 6e 75 42 61 63 |wPulldow|nMenuBac|
|00004b40| 6b 67 72 6f 75 6e 64 28 | 55 57 69 6e 64 6f 77 50 |kground(|UWindowP|
|00004b50| 75 6c 6c 64 6f 77 6e 4d | 65 6e 75 20 57 2c 20 43 |ulldownM|enu W, C|
|00004b60| 61 6e 76 61 73 20 43 29 | 0d 0a 7b 0d 0a 09 57 2e |anvas C)|..{...W.|
|00004b70| 44 72 61 77 43 6c 69 70 | 70 65 64 54 65 78 74 75 |DrawClip|pedTextu|
|00004b80| 72 65 28 43 2c 20 30 2c | 20 30 2c 20 54 65 78 74 |re(C, 0,| 0, Text|
|00004b90| 75 72 65 27 55 57 69 6e | 64 6f 77 2e 4d 65 6e 75 |ure'UWin|dow.Menu|
|00004ba0| 54 4c 27 29 3b 0d 0a 09 | 57 2e 44 72 61 77 53 74 |TL');...|W.DrawSt|
|00004bb0| 72 65 74 63 68 65 64 54 | 65 78 74 75 72 65 28 43 |retchedT|exture(C|
|00004bc0| 2c 20 32 2c 20 30 2c 20 | 57 2e 57 69 6e 57 69 64 |, 2, 0, |W.WinWid|
|00004bd0| 74 68 2d 34 2c 20 32 2c | 20 54 65 78 74 75 72 65 |th-4, 2,| Texture|
|00004be0| 27 55 57 69 6e 64 6f 77 | 2e 4d 65 6e 75 54 27 29 |'UWindow|.MenuT')|
|00004bf0| 3b 0d 0a 09 57 2e 44 72 | 61 77 43 6c 69 70 70 65 |;...W.Dr|awClippe|
|00004c00| 64 54 65 78 74 75 72 65 | 28 43 2c 20 57 2e 57 69 |dTexture|(C, W.Wi|
|00004c10| 6e 57 69 64 74 68 2d 32 | 2c 20 30 2c 20 54 65 78 |nWidth-2|, 0, Tex|
|00004c20| 74 75 72 65 27 55 57 69 | 6e 64 6f 77 2e 4d 65 6e |ture'UWi|ndow.Men|
|00004c30| 75 54 52 27 29 3b 0d 0a | 0d 0a 09 57 2e 44 72 61 |uTR');..|...W.Dra|
|00004c40| 77 43 6c 69 70 70 65 64 | 54 65 78 74 75 72 65 28 |wClipped|Texture(|
|00004c50| 43 2c 20 30 2c 20 57 2e | 57 69 6e 48 65 69 67 68 |C, 0, W.|WinHeigh|
|00004c60| 74 2d 32 2c 20 54 65 78 | 74 75 72 65 27 55 57 69 |t-2, Tex|ture'UWi|
|00004c70| 6e 64 6f 77 2e 4d 65 6e | 75 42 4c 27 29 3b 0d 0a |ndow.Men|uBL');..|
|00004c80| 09 57 2e 44 72 61 77 53 | 74 72 65 74 63 68 65 64 |.W.DrawS|tretched|
|00004c90| 54 65 78 74 75 72 65 28 | 43 2c 20 32 2c 20 57 2e |Texture(|C, 2, W.|
|00004ca0| 57 69 6e 48 65 69 67 68 | 74 2d 32 2c 20 57 2e 57 |WinHeigh|t-2, W.W|
|00004cb0| 69 6e 57 69 64 74 68 2d | 34 2c 20 32 2c 20 54 65 |inWidth-|4, 2, Te|
|00004cc0| 78 74 75 72 65 27 55 57 | 69 6e 64 6f 77 2e 4d 65 |xture'UW|indow.Me|
|00004cd0| 6e 75 42 27 29 3b 0d 0a | 09 57 2e 44 72 61 77 43 |nuB');..|.W.DrawC|
|00004ce0| 6c 69 70 70 65 64 54 65 | 78 74 75 72 65 28 43 2c |lippedTe|xture(C,|
|00004cf0| 20 57 2e 57 69 6e 57 69 | 64 74 68 2d 32 2c 20 57 | W.WinWi|dth-2, W|
|00004d00| 2e 57 69 6e 48 65 69 67 | 68 74 2d 32 2c 20 54 65 |.WinHeig|ht-2, Te|
|00004d10| 78 74 75 72 65 27 55 57 | 69 6e 64 6f 77 2e 4d 65 |xture'UW|indow.Me|
|00004d20| 6e 75 42 52 27 29 3b 0d | 0a 0d 0a 09 57 2e 44 72 |nuBR');.|....W.Dr|
|00004d30| 61 77 53 74 72 65 74 63 | 68 65 64 54 65 78 74 75 |awStretc|hedTextu|
|00004d40| 72 65 28 43 2c 20 30 2c | 20 32 2c 20 32 2c 20 57 |re(C, 0,| 2, 2, W|
|00004d50| 2e 57 69 6e 48 65 69 67 | 68 74 2d 34 2c 20 54 65 |.WinHeig|ht-4, Te|
|00004d60| 78 74 75 72 65 27 55 57 | 69 6e 64 6f 77 2e 4d 65 |xture'UW|indow.Me|
|00004d70| 6e 75 4c 27 29 3b 0d 0a | 09 57 2e 44 72 61 77 53 |nuL');..|.W.DrawS|
|00004d80| 74 72 65 74 63 68 65 64 | 54 65 78 74 75 72 65 28 |tretched|Texture(|
|00004d90| 43 2c 20 57 2e 57 69 6e | 57 69 64 74 68 2d 32 2c |C, W.Win|Width-2,|
|00004da0| 20 32 2c 20 32 2c 20 57 | 2e 57 69 6e 48 65 69 67 | 2, 2, W|.WinHeig|
|00004db0| 68 74 2d 34 2c 20 54 65 | 78 74 75 72 65 27 55 57 |ht-4, Te|xture'UW|
|00004dc0| 69 6e 64 6f 77 2e 4d 65 | 6e 75 52 27 29 3b 0d 0a |indow.Me|nuR');..|
|00004dd0| 09 57 2e 44 72 61 77 53 | 74 72 65 74 63 68 65 64 |.W.DrawS|tretched|
|00004de0| 54 65 78 74 75 72 65 28 | 43 2c 20 32 2c 20 32 2c |Texture(|C, 2, 2,|
|00004df0| 20 57 2e 57 69 6e 57 69 | 64 74 68 2d 34 2c 20 57 | W.WinWi|dth-4, W|
|00004e00| 2e 57 69 6e 48 65 69 67 | 68 74 2d 34 2c 20 54 65 |.WinHeig|ht-4, Te|
|00004e10| 78 74 75 72 65 27 55 57 | 69 6e 64 6f 77 2e 4d 65 |xture'UW|indow.Me|
|00004e20| 6e 75 41 72 65 61 27 29 | 3b 0d 0a 7d 0d 0a 0d 0a |nuArea')|;..}....|
|00004e30| 66 75 6e 63 74 69 6f 6e | 20 4d 65 6e 75 5f 44 72 |function| Menu_Dr|
|00004e40| 61 77 50 75 6c 6c 64 6f | 77 6e 4d 65 6e 75 49 74 |awPulldo|wnMenuIt|
|00004e50| 65 6d 28 55 57 69 6e 64 | 6f 77 50 75 6c 6c 64 6f |em(UWind|owPulldo|
|00004e60| 77 6e 4d 65 6e 75 20 4d | 2c 20 55 57 69 6e 64 6f |wnMenu M|, UWindo|
|00004e70| 77 50 75 6c 6c 64 6f 77 | 6e 4d 65 6e 75 49 74 65 |wPulldow|nMenuIte|
|00004e80| 6d 20 49 74 65 6d 2c 20 | 43 61 6e 76 61 73 20 43 |m Item, |Canvas C|
|00004e90| 2c 20 66 6c 6f 61 74 20 | 58 2c 20 66 6c 6f 61 74 |, float |X, float|
|00004ea0| 20 59 2c 20 66 6c 6f 61 | 74 20 57 2c 20 66 6c 6f | Y, floa|t W, flo|
|00004eb0| 61 74 20 48 2c 20 62 6f | 6f 6c 20 62 53 65 6c 65 |at H, bo|ol bSele|
|00004ec0| 63 74 65 64 29 0d 0a 7b | 0d 0a 09 43 2e 44 72 61 |cted)..{|...C.Dra|
|00004ed0| 77 43 6f 6c 6f 72 2e 52 | 20 3d 20 32 35 35 3b 0d |wColor.R| = 255;.|
|00004ee0| 0a 09 43 2e 44 72 61 77 | 43 6f 6c 6f 72 2e 47 20 |..C.Draw|Color.G |
|00004ef0| 3d 20 32 35 35 3b 0d 0a | 09 43 2e 44 72 61 77 43 |= 255;..|.C.DrawC|
|00004f00| 6f 6c 6f 72 2e 42 20 3d | 20 32 35 35 3b 0d 0a 0d |olor.B =| 255;...|
|00004f10| 0a 09 49 74 65 6d 2e 49 | 74 65 6d 54 6f 70 20 3d |..Item.I|temTop =|
|00004f20| 20 59 20 2b 20 4d 2e 57 | 69 6e 54 6f 70 3b 0d 0a | Y + M.W|inTop;..|
|00004f30| 0d 0a 09 69 66 28 49 74 | 65 6d 2e 43 61 70 74 69 |...if(It|em.Capti|
|00004f40| 6f 6e 20 3d 3d 20 22 2d | 22 29 0d 0a 09 7b 0d 0a |on == "-|")...{..|
|00004f50| 09 09 43 2e 44 72 61 77 | 43 6f 6c 6f 72 2e 52 20 |..C.Draw|Color.R |
|00004f60| 3d 20 32 35 35 3b 0d 0a | 09 09 43 2e 44 72 61 77 |= 255;..|..C.Draw|
|00004f70| 43 6f 6c 6f 72 2e 47 20 | 3d 20 32 35 35 3b 0d 0a |Color.G |= 255;..|
|00004f80| 09 09 43 2e 44 72 61 77 | 43 6f 6c 6f 72 2e 42 20 |..C.Draw|Color.B |
|00004f90| 3d 20 32 35 35 3b 0d 0a | 09 09 4d 2e 44 72 61 77 |= 255;..|..M.Draw|
|00004fa0| 53 74 72 65 74 63 68 65 | 64 54 65 78 74 75 72 65 |Stretche|dTexture|
|00004fb0| 28 43 2c 20 58 2c 20 59 | 2b 35 2c 20 57 2c 20 32 |(C, X, Y|+5, W, 2|
|00004fc0| 2c 20 54 65 78 74 75 72 | 65 27 55 57 69 6e 64 6f |, Textur|e'UWindo|
|00004fd0| 77 2e 4d 65 6e 75 44 69 | 76 69 64 65 72 27 29 3b |w.MenuDi|vider');|
|00004fe0| 0d 0a 09 09 72 65 74 75 | 72 6e 3b 0d 0a 09 7d 0d |....retu|rn;...}.|
|00004ff0| 0a 0d 0a 09 43 2e 46 6f | 6e 74 20 3d 20 4d 2e 52 |....C.Fo|nt = M.R|
|00005000| 6f 6f 74 2e 46 6f 6e 74 | 73 5b 46 5f 4e 6f 72 6d |oot.Font|s[F_Norm|
|00005010| 61 6c 5d 3b 0d 0a 0d 0a | 09 69 66 28 62 53 65 6c |al];....|.if(bSel|
|00005020| 65 63 74 65 64 29 0d 0a | 09 09 4d 2e 44 72 61 77 |ected)..|..M.Draw|
|00005030| 53 74 72 65 74 63 68 65 | 64 54 65 78 74 75 72 65 |Stretche|dTexture|
|00005040| 28 43 2c 20 58 2c 20 59 | 2c 20 57 2c 20 48 2c 20 |(C, X, Y|, W, H, |
|00005050| 54 65 78 74 75 72 65 27 | 55 57 69 6e 64 6f 77 2e |Texture'|UWindow.|
|00005060| 4d 65 6e 75 48 69 67 68 | 6c 69 67 68 74 27 29 3b |MenuHigh|light');|
|00005070| 0d 0a 0d 0a 09 69 66 28 | 49 74 65 6d 2e 62 44 69 |.....if(|Item.bDi|
|00005080| 73 61 62 6c 65 64 29 20 | 0d 0a 09 7b 0d 0a 09 09 |sabled) |...{....|
|00005090| 2f 2f 20 42 6c 61 63 6b | 20 53 68 61 64 6f 77 0d |// Black| Shadow.|
|000050a0| 0a 09 09 43 2e 44 72 61 | 77 43 6f 6c 6f 72 2e 52 |...C.Dra|wColor.R|
|000050b0| 20 3d 20 39 36 3b 0d 0a | 09 09 43 2e 44 72 61 77 | = 96;..|..C.Draw|
|000050c0| 43 6f 6c 6f 72 2e 47 20 | 3d 20 39 36 3b 0d 0a 09 |Color.G |= 96;...|
|000050d0| 09 43 2e 44 72 61 77 43 | 6f 6c 6f 72 2e 42 20 3d |.C.DrawC|olor.B =|
|000050e0| 20 39 36 3b 0d 0a 09 7d | 0d 0a 09 65 6c 73 65 0d | 96;...}|...else.|
|000050f0| 0a 09 7b 0d 0a 09 09 43 | 2e 44 72 61 77 43 6f 6c |..{....C|.DrawCol|
|00005100| 6f 72 2e 52 20 3d 20 30 | 3b 0d 0a 09 09 43 2e 44 |or.R = 0|;....C.D|
|00005110| 72 61 77 43 6f 6c 6f 72 | 2e 47 20 3d 20 30 3b 0d |rawColor|.G = 0;.|
|00005120| 0a 09 09 43 2e 44 72 61 | 77 43 6f 6c 6f 72 2e 42 |...C.Dra|wColor.B|
|00005130| 20 3d 20 30 3b 0d 0a 09 | 7d 0d 0a 0d 0a 09 2f 2f | = 0;...|}.....//|
|00005140| 20 44 72 61 77 43 6f 6c | 6f 72 20 77 69 6c 6c 20 | DrawCol|or will |
|00005150| 72 65 6e 64 65 72 20 74 | 68 65 20 74 69 63 6b 20 |render t|he tick |
|00005160| 62 6c 61 63 6b 20 77 68 | 69 74 65 20 6f 72 20 67 |black wh|ite or g|
|00005170| 72 61 79 2e 0d 0a 09 69 | 66 28 49 74 65 6d 2e 62 |ray....i|f(Item.b|
|00005180| 43 68 65 63 6b 65 64 29 | 0d 0a 09 09 4d 2e 44 72 |Checked)|....M.Dr|
|00005190| 61 77 43 6c 69 70 70 65 | 64 54 65 78 74 75 72 65 |awClippe|dTexture|
|000051a0| 28 43 2c 20 58 20 2b 20 | 31 2c 20 59 20 2b 20 33 |(C, X + |1, Y + 3|
|000051b0| 2c 20 54 65 78 74 75 72 | 65 27 4d 65 6e 75 54 69 |, Textur|e'MenuTi|
|000051c0| 63 6b 27 29 3b 0d 0a 0d | 0a 09 69 66 28 49 74 65 |ck');...|..if(Ite|
|000051d0| 6d 2e 53 75 62 4d 65 6e | 75 20 21 3d 20 4e 6f 6e |m.SubMen|u != Non|
|000051e0| 65 29 0d 0a 09 09 4d 2e | 44 72 61 77 43 6c 69 70 |e)....M.|DrawClip|
|000051f0| 70 65 64 54 65 78 74 75 | 72 65 28 43 2c 20 58 20 |pedTextu|re(C, X |
|00005200| 2b 20 57 20 2d 20 39 2c | 20 59 20 2b 20 33 2c 20 |+ W - 9,| Y + 3, |
|00005210| 54 65 78 74 75 72 65 27 | 4d 65 6e 75 53 75 62 41 |Texture'|MenuSubA|
|00005220| 72 72 6f 77 27 29 3b 0d | 0a 0d 0a 09 4d 2e 43 6c |rrow');.|....M.Cl|
|00005230| 69 70 54 65 78 74 28 43 | 2c 20 58 20 2b 20 4d 2e |ipText(C|, X + M.|
|00005240| 54 65 78 74 42 6f 72 64 | 65 72 20 2b 20 32 2c 20 |TextBord|er + 2, |
|00005250| 59 20 2b 20 33 2c 20 49 | 74 65 6d 2e 43 61 70 74 |Y + 3, I|tem.Capt|
|00005260| 69 6f 6e 2c 20 54 72 75 | 65 29 3b 09 0d 0a 7d 0d |ion, Tru|e);...}.|
|00005270| 0a 0d 0a 00 | |.... | |
+--------+-------------------------+-------------------------+--------+--------+