home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX document text
| default
| |
99%
| file
| C source, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/281 LaTeX (Subdocument)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 73 65 63 74 69 6f 6e | 7b 50 61 6c 65 74 74 65 |\section|{Palette|
|00000010| 2e 6d 75 69 7d 0a 0a 50 | 61 6c 65 74 74 65 20 63 |.mui}..P|alette c|
|00000020| 6c 61 73 73 20 67 65 6e | 65 72 61 74 65 73 20 61 |lass gen|erates a|
|00000030| 20 28 62 69 67 29 20 67 | 72 6f 75 70 20 6f 66 20 | (big) g|roup of |
|00000040| 6f 62 6a 65 63 74 73 2c | 20 61 6c 6c 74 6f 67 65 |objects,| alltoge|
|00000050| 74 68 65 72 0a 6d 61 6b | 69 6e 67 20 75 70 20 61 |ther.mak|ing up a|
|00000060| 20 70 6f 77 65 72 66 75 | 6c 20 70 61 6c 65 74 74 | powerfu|l palett|
|00000070| 65 20 72 65 71 75 65 73 | 74 65 72 2e 20 44 75 65 |e reques|ter. Due|
|00000080| 20 74 6f 20 74 68 65 20 | 6e 65 77 20 63 6f 6c 6f | to the |new colo|
|00000090| 72 0a 73 65 6c 65 63 74 | 69 6f 6e 20 73 63 68 65 |r.select|ion sche|
|000000a0| 6d 65 73 20 6f 66 20 4b | 69 63 6b 73 74 61 72 74 |mes of K|ickstart|
|000000b0| 20 33 2e 78 2c 20 79 6f | 75 20 77 6f 6e 27 74 20 | 3.x, yo|u won't |
|000000c0| 67 65 74 20 61 20 27 27 | 74 72 61 64 69 74 69 6f |get a ''|traditio|
|000000d0| 6e 61 6c 27 27 0a 70 61 | 6c 65 74 74 65 20 72 65 |nal''.pa|lette re|
|000000e0| 71 75 65 73 74 65 72 20 | 77 69 74 68 20 32 5c 5e |quester |with 2\^|
|000000f0| 6e 20 66 69 65 6c 64 73 | 20 74 6f 20 66 69 6c 6c |n fields| to fill|
|00000100| 20 69 6e 2e 20 54 68 65 | 73 65 20 74 68 69 6e 67 | in. The|se thing|
|00000110| 73 0a 72 65 61 6c 6c 79 | 20 73 74 6f 70 20 6d 61 |s.really| stop ma|
|00000120| 6b 69 6e 67 20 73 65 6e | 73 65 20 6f 6e 20 6e 69 |king sen|se on ni|
|00000130| 63 65 20 32 35 36 20 6f | 72 20 74 72 75 65 20 63 |ce 256 o|r true c|
|00000140| 6f 6c 6f 72 20 73 63 72 | 65 65 6e 73 2e 0a 0a 49 |olor scr|eens...I|
|00000150| 6e 73 74 65 61 64 2c 20 | 4d 55 49 27 73 20 70 61 |nstead, |MUI's pa|
|00000160| 6c 65 74 74 65 20 63 6c | 61 73 73 20 61 6c 6c 6f |lette cl|ass allo|
|00000170| 77 73 20 64 65 66 69 6e | 69 6e 67 20 61 20 6c 69 |ws defin|ing a li|
|00000180| 73 74 20 6f 66 20 63 6f | 6c 6f 72 73 0a 74 68 61 |st of co|lors.tha|
|00000190| 74 20 74 68 65 20 75 73 | 65 72 20 73 68 6f 75 6c |t the us|er shoul|
|000001a0| 64 20 62 65 20 61 62 6c | 65 20 74 6f 20 61 64 6a |d be abl|e to adj|
|000001b0| 75 73 74 2e 20 57 69 74 | 68 69 6e 20 61 20 70 75 |ust. Wit|hin a pu|
|000001c0| 62 6c 69 63 20 73 63 72 | 65 65 6e 0a 6d 61 6e 61 |blic scr|een.mana|
|000001d0| 67 65 72 2c 20 74 68 69 | 73 20 77 6f 75 6c 64 20 |ger, thi|s would |
|000001e0| 65 2e 67 2e 20 62 65 20 | 74 68 65 20 44 72 61 77 |e.g. be |the Draw|
|000001f0| 49 6e 66 6f 20 70 65 6e | 73 20 66 6f 72 20 61 20 |Info pen|s for a |
|00000200| 73 70 65 63 69 66 69 63 | 0a 73 63 72 65 65 6e 2c |specific|.screen,|
|00000210| 20 77 69 74 68 69 6e 20 | 61 20 74 65 72 6d 69 6e | within |a termin|
|00000220| 61 6c 20 70 72 6f 67 72 | 61 6d 20 6d 61 79 62 65 |al progr|am maybe|
|00000230| 20 74 68 65 20 65 69 67 | 68 74 20 41 4e 53 49 20 | the eig|ht ANSI |
|00000240| 63 6f 6c 6f 72 73 2e 0a | 0a 50 61 6c 65 74 74 65 |colors..|.Palette|
|00000250| 20 63 6c 61 73 73 20 75 | 73 65 73 20 61 20 6c 69 | class u|ses a li|
|00000260| 73 74 76 69 65 77 20 74 | 6f 20 6c 65 74 20 74 68 |stview t|o let th|
|00000270| 65 20 75 73 65 72 20 63 | 68 6f 6f 73 65 20 74 68 |e user c|hoose th|
|00000280| 65 0a 64 65 73 69 72 65 | 64 20 63 6f 6c 6f 72 2c |e.desire|d color,|
|00000290| 20 61 20 63 6f 6c 6f 72 | 61 64 6a 75 73 74 20 6f | a color|adjust o|
|000002a0| 62 6a 65 63 74 20 74 6f | 20 61 64 6a 75 73 74 20 |bject to| adjust |
|000002b0| 74 68 69 73 20 63 6f 6c | 6f 72 0a 61 6e 64 20 61 |this col|or.and a|
|000002c0| 20 63 6f 6c 6f 72 66 69 | 65 6c 64 20 6f 62 6a 65 | colorfi|eld obje|
|000002d0| 63 74 20 74 68 61 74 20 | 61 6c 77 61 79 73 20 73 |ct that |always s|
|000002e0| 68 6f 77 73 20 74 68 65 | 20 63 75 72 72 65 6e 74 |hows the| current|
|000002f0| 20 63 6f 6c 6f 72 2e 0a | 0a 54 68 65 20 75 73 65 | color..|.The use|
|00000300| 72 20 77 69 6c 6c 20 61 | 6c 73 6f 20 62 65 20 61 |r will a|lso be a|
|00000310| 62 6c 65 20 74 6f 20 63 | 6f 6e 63 61 74 65 6e 61 |ble to c|oncatena|
|00000320| 74 65 20 73 65 76 65 72 | 61 6c 20 63 6f 6c 6f 72 |te sever|al color|
|00000330| 73 0a 69 6e 20 74 68 65 | 20 6c 69 73 74 2c 20 64 |s.in the| list, d|
|00000340| 65 66 69 6e 69 6e 67 20 | 61 20 73 69 6e 67 6c 65 |efining |a single|
|00000350| 20 63 6f 6c 6f 72 20 66 | 6f 72 20 73 65 76 65 72 | color f|or sever|
|00000360| 61 6c 20 65 6e 74 72 69 | 65 73 2e 0a 0a 5c 73 75 |al entri|es...\su|
|00000370| 62 73 65 63 74 69 6f 6e | 5b 4d 55 49 41 5c 5f 50 |bsection|[MUIA\_P|
|00000380| 61 6c 65 74 74 65 5c 5f | 45 6e 74 72 69 65 73 5d |alette\_|Entries]|
|00000390| 7b 4d 55 49 41 5c 5f 50 | 61 6c 65 74 74 65 5c 5f |{MUIA\_P|alette\_|
|000003a0| 45 6e 74 72 69 65 73 20 | 2d 2d 20 28 56 36 29 20 |Entries |-- (V6) |
|000003b0| 5b 49 2e 47 5d 2c 20 73 | 74 72 75 63 74 20 4d 55 |[I.G], s|truct MU|
|000003c0| 49 5c 5f 50 61 6c 65 74 | 74 65 5c 5f 45 6e 74 72 |I\_Palet|te\_Entr|
|000003d0| 79 20 24 5c 61 73 74 24 | 7d 0a 0a 5c 73 75 62 73 |y $\ast$|}..\subs|
|000003e0| 75 62 73 65 63 74 69 6f | 6e 2a 7b 46 55 4e 43 54 |ubsectio|n*{FUNCT|
|000003f0| 49 4f 4e 7d 0a 53 70 65 | 63 69 66 79 20 74 68 65 |ION}.Spe|cify the|
|00000400| 20 63 6f 6c 6f 72 73 20 | 74 68 61 74 20 74 68 65 | colors |that the|
|00000410| 20 75 73 65 72 20 73 68 | 6f 75 6c 64 20 62 65 20 | user sh|ould be |
|00000420| 61 62 6c 65 20 74 6f 20 | 61 64 6a 75 73 74 0a 77 |able to |adjust.w|
|00000430| 69 74 68 20 74 68 69 73 | 20 70 61 6c 65 74 74 65 |ith this| palette|
|00000440| 20 6f 62 6a 65 63 74 2e | 0a 0a 59 6f 75 20 73 75 | object.|..You su|
|00000450| 70 70 6c 79 20 61 6e 20 | 61 72 72 61 79 20 6f 66 |pply an |array of|
|00000460| 20 4d 55 49 5c 5f 50 61 | 6c 65 74 74 65 5c 5f 53 | MUI\_Pa|lette\_S|
|00000470| 74 72 75 63 74 75 72 65 | 73 20 68 65 72 65 2c 20 |tructure|s here, |
|00000480| 65 61 63 68 0a 65 6e 74 | 72 79 20 64 65 66 69 6e |each.ent|ry defin|
|00000490| 69 6e 67 20 6f 6e 65 20 | 63 6f 6c 6f 72 3a 0a 0a |ing one |color:..|
|000004a0| 5c 62 65 67 69 6e 7b 76 | 65 72 62 61 74 69 6d 7d |\begin{v|erbatim}|
|000004b0| 0a 73 74 72 75 63 74 20 | 4d 55 49 5f 50 61 6c 65 |.struct |MUI_Pale|
|000004c0| 74 74 65 5f 45 6e 74 72 | 79 0a 7b 0a 20 20 20 4c |tte_Entr|y.{. L|
|000004d0| 4f 4e 47 20 20 6d 70 65 | 5f 49 44 3b 0a 20 20 20 |ONG mpe|_ID;. |
|000004e0| 55 4c 4f 4e 47 20 6d 70 | 65 5f 52 65 64 3b 0a 20 |ULONG mp|e_Red;. |
|000004f0| 20 20 55 4c 4f 4e 47 20 | 6d 70 65 5f 47 72 65 65 | ULONG |mpe_Gree|
|00000500| 6e 3b 0a 20 20 20 55 4c | 4f 4e 47 20 6d 70 65 5f |n;. UL|ONG mpe_|
|00000510| 42 6c 75 65 3b 0a 20 20 | 20 4c 4f 4e 47 20 20 6d |Blue;. | LONG m|
|00000520| 70 65 5f 47 72 6f 75 70 | 3b 0a 7d 3b 0a 5c 65 6e |pe_Group|;.};.\en|
|00000530| 64 7b 76 65 72 62 61 74 | 69 6d 7d 0a 0a 5c 62 65 |d{verbat|im}..\be|
|00000540| 67 69 6e 7b 64 65 73 63 | 72 69 70 74 69 6f 6e 7d |gin{desc|ription}|
|00000550| 0a 5c 69 74 65 6d 5b 6d | 70 65 5c 5f 49 44 5d 20 |.\item[m|pe\_ID] |
|00000560| 20 54 68 69 73 20 65 6e | 74 72 79 20 69 73 20 6e | This en|try is n|
|00000570| 6f 74 20 75 73 65 64 20 | 62 79 20 70 61 6c 65 74 |ot used |by palet|
|00000580| 74 65 20 63 6c 61 73 73 | 2c 20 79 6f 75 20 63 61 |te class|, you ca|
|00000590| 6e 0a 70 75 74 20 69 6e | 20 77 68 61 74 65 76 65 |n.put in| whateve|
|000005a0| 72 20 79 6f 75 20 77 61 | 6e 74 2c 20 65 78 63 65 |r you wa|nt, exce|
|000005b0| 70 74 20 74 68 65 20 76 | 61 6c 75 65 0a 4d 55 49 |pt the v|alue.MUI|
|000005c0| 56 5c 5f 50 61 6c 65 74 | 74 65 5c 5f 45 6e 74 72 |V\_Palet|te\_Entr|
|000005d0| 79 5c 5f 45 6e 64 20 28 | 3d 3d 2d 31 29 2c 0a 77 |y\_End (|==-1),.w|
|000005e0| 68 69 63 68 20 74 65 72 | 6d 69 6e 61 74 65 73 20 |hich ter|minates |
|000005f0| 74 68 65 20 61 72 72 61 | 79 2e 0a 0a 5c 69 74 65 |the arra|y...\ite|
|00000600| 6d 5b 6d 70 65 5c 5f 52 | 65 64 5d 20 20 33 32 2d |m[mpe\_R|ed] 32-|
|00000610| 62 69 74 20 72 65 64 20 | 63 6f 6d 70 6f 6e 65 6e |bit red |componen|
|00000620| 74 20 6f 66 20 74 68 65 | 20 63 75 72 72 65 6e 74 |t of the| current|
|00000630| 20 63 6f 6c 6f 72 2e 20 | 54 68 69 73 0a 66 69 65 | color. |This.fie|
|00000640| 6c 64 20 77 69 6c 6c 20 | 62 65 20 63 68 61 6e 67 |ld will |be chang|
|00000650| 65 64 20 62 79 20 70 61 | 6c 65 74 74 65 20 63 6c |ed by pa|lette cl|
|00000660| 61 73 73 20 77 68 65 6e | 65 76 65 72 0a 74 68 65 |ass when|ever.the|
|00000670| 20 75 73 65 72 20 65 64 | 69 74 73 20 74 68 65 20 | user ed|its the |
|00000680| 63 6f 6c 6f 72 2e 0a 0a | 5c 69 74 65 6d 5b 6d 70 |color...|\item[mp|
|00000690| 65 5c 5f 47 72 65 65 6e | 5d 20 20 33 32 2d 62 69 |e\_Green|] 32-bi|
|000006a0| 74 20 67 72 65 65 6e 20 | 63 6f 6d 70 6f 6e 65 6e |t green |componen|
|000006b0| 74 20 6f 66 20 74 68 65 | 20 63 75 72 72 65 6e 74 |t of the| current|
|000006c0| 20 63 6f 6c 6f 72 2e 20 | 54 68 69 73 0a 66 69 65 | color. |This.fie|
|000006d0| 6c 64 20 77 69 6c 6c 20 | 62 65 20 63 68 61 6e 67 |ld will |be chang|
|000006e0| 65 64 20 62 79 20 70 61 | 6c 65 74 74 65 20 63 6c |ed by pa|lette cl|
|000006f0| 61 73 73 20 77 68 65 6e | 65 76 65 72 0a 74 68 65 |ass when|ever.the|
|00000700| 20 75 73 65 72 20 65 64 | 69 74 73 20 74 68 65 20 | user ed|its the |
|00000710| 63 6f 6c 6f 72 2e 0a 0a | 5c 69 74 65 6d 5b 6d 70 |color...|\item[mp|
|00000720| 65 5c 5f 42 6c 75 65 5d | 20 20 33 32 2d 62 69 74 |e\_Blue]| 32-bit|
|00000730| 20 62 6c 75 65 20 63 6f | 6d 70 6f 6e 65 6e 74 20 | blue co|mponent |
|00000740| 6f 66 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 63 |of the c|urrent c|
|00000750| 6f 6c 6f 72 2e 20 54 68 | 69 73 0a 66 69 65 6c 64 |olor. Th|is.field|
|00000760| 20 77 69 6c 6c 20 62 65 | 20 63 68 61 6e 67 65 64 | will be| changed|
|00000770| 20 62 79 20 70 61 6c 65 | 74 74 65 20 63 6c 61 73 | by pale|tte clas|
|00000780| 73 20 77 68 65 6e 65 76 | 65 72 0a 74 68 65 20 75 |s whenev|er.the u|
|00000790| 73 65 72 20 65 64 69 74 | 73 20 74 68 65 20 63 6f |ser edit|s the co|
|000007a0| 6c 6f 72 2e 0a 0a 5c 69 | 74 65 6d 5b 6d 70 65 5c |lor...\i|tem[mpe\|
|000007b0| 5f 47 72 6f 75 70 5d 20 | 20 45 6e 74 72 69 65 73 |_Group] | Entries|
|000007c0| 20 77 69 74 68 20 74 68 | 65 20 73 61 6d 65 20 6d | with th|e same m|
|000007d0| 70 65 5c 5f 47 72 6f 75 | 70 20 76 61 6c 75 65 20 |pe\_Grou|p value |
|000007e0| 61 72 65 0a 63 6f 6e 63 | 61 74 65 6e 61 74 65 64 |are.conc|atenated|
|000007f0| 2e 20 57 68 65 6e 65 76 | 65 72 20 61 20 6e 65 77 |. Whenev|er a new|
|00000800| 20 63 6f 6c 6f 72 20 69 | 6e 20 74 68 65 0a 6c 69 | color i|n the.li|
|00000810| 73 74 76 69 65 77 20 69 | 73 20 73 65 6c 65 63 74 |stview i|s select|
|00000820| 65 64 2c 20 61 6c 6c 20 | 6f 74 68 65 72 20 63 6f |ed, all |other co|
|00000830| 6c 6f 72 73 20 77 69 74 | 68 0a 74 68 65 20 73 61 |lors wit|h.the sa|
|00000840| 6d 65 20 6d 70 65 5c 5f | 47 72 6f 75 70 20 67 65 |me mpe\_|Group ge|
|00000850| 74 20 73 65 6c 65 63 74 | 65 64 20 61 73 20 77 65 |t select|ed as we|
|00000860| 6c 6c 20 61 6e 64 0a 67 | 65 74 20 61 64 6a 75 73 |ll and.g|et adjus|
|00000870| 74 65 64 20 61 6c 6c 20 | 61 74 20 6f 6e 63 65 2e |ted all |at once.|
|00000880| 0a 45 6e 74 72 79 20 63 | 6f 6e 63 61 74 65 6e 61 |.Entry c|oncatena|
|00000890| 74 69 6f 6e 20 63 61 6e | 20 62 65 20 63 68 61 6e |tion can| be chan|
|000008a0| 67 65 64 20 62 79 20 74 | 68 65 20 75 73 65 72 2c |ged by t|he user,|
|000008b0| 0a 61 73 20 6c 6f 6e 67 | 20 61 73 20 79 6f 75 20 |.as long| as you |
|000008c0| 64 6f 6e 27 74 20 64 69 | 73 61 62 6c 65 20 74 68 |don't di|sable th|
|000008d0| 69 73 20 66 65 61 74 75 | 72 65 20 77 69 74 68 0a |is featu|re with.|
|000008e0| 74 68 65 20 4d 55 49 41 | 5c 5f 50 61 6c 65 74 74 |the MUIA|\_Palett|
|000008f0| 65 5c 5f 47 72 6f 75 70 | 61 62 6c 65 20 61 74 74 |e\_Group|able att|
|00000900| 72 69 62 75 74 65 2e 0a | 5c 65 6e 64 7b 64 65 73 |ribute..|\end{des|
|00000910| 63 72 69 70 74 69 6f 6e | 7d 0a 0a 5c 73 75 62 73 |cription|}..\subs|
|00000920| 75 62 73 65 63 74 69 6f | 6e 2a 7b 45 58 41 4d 50 |ubsectio|n*{EXAMP|
|00000930| 4c 45 7d 0a 5c 73 6d 61 | 6c 6c 0a 5c 62 65 67 69 |LE}.\sma|ll.\begi|
|00000940| 6e 7b 76 65 72 62 61 74 | 69 6d 7d 0a 0a 73 74 61 |n{verbat|im}..sta|
|00000950| 74 69 63 20 73 74 72 75 | 63 74 20 4d 55 49 5f 50 |tic stru|ct MUI_P|
|00000960| 61 6c 65 74 74 65 5f 45 | 6e 74 72 79 20 53 79 73 |alette_E|ntry Sys|
|00000970| 74 65 6d 44 65 66 61 75 | 6c 74 50 61 6c 65 74 74 |temDefau|ltPalett|
|00000980| 65 5b 5d 20 3d 0a 7b 0a | 20 20 20 7b 20 54 45 58 |e[] =.{.| { TEX|
|00000990| 54 50 45 4e 20 20 20 20 | 20 20 20 20 20 2c 30 78 |TPEN | ,0x|
|000009a0| 30 30 30 30 30 30 30 30 | 2c 30 78 30 30 30 30 30 |00000000|,0x00000|
|000009b0| 30 30 30 2c 30 78 30 30 | 30 30 30 30 30 30 2c 30 |000,0x00|000000,0|
|000009c0| 20 7d 2c 0a 20 20 20 7b | 20 53 48 49 4e 45 50 45 | },. {| SHINEPE|
|000009d0| 4e 20 20 20 20 20 20 20 | 20 2c 30 78 66 66 66 66 |N | ,0xffff|
|000009e0| 66 66 66 66 2c 30 78 66 | 66 66 66 66 66 66 66 2c |ffff,0xf|fffffff,|
|000009f0| 30 78 66 66 66 66 66 66 | 66 66 2c 31 20 7d 2c 0a |0xffffff|ff,1 },.|
|00000a00| 20 20 20 7b 20 53 48 41 | 44 4f 57 50 45 4e 20 20 | { SHA|DOWPEN |
|00000a10| 20 20 20 20 20 2c 30 78 | 30 30 30 30 30 30 30 30 | ,0x|00000000|
|00000a20| 2c 30 78 30 30 30 30 30 | 30 30 30 2c 30 78 30 30 |,0x00000|000,0x00|
|00000a30| 30 30 30 30 30 30 2c 30 | 20 7d 2c 0a 20 20 20 7b |000000,0| },. {|
|00000a40| 20 46 49 4c 4c 50 45 4e | 20 20 20 20 20 20 20 20 | FILLPEN| |
|00000a50| 20 2c 30 78 36 36 36 36 | 36 36 36 36 2c 30 78 38 | ,0x6666|6666,0x8|
|00000a60| 38 38 38 38 38 38 38 2c | 30 78 62 62 62 62 62 62 |8888888,|0xbbbbbb|
|00000a70| 62 62 2c 32 20 7d 2c 0a | 20 20 20 7b 20 46 49 4c |bb,2 },.| { FIL|
|00000a80| 4c 54 45 58 54 50 45 4e | 20 20 20 20 20 2c 30 78 |LTEXTPEN| ,0x|
|00000a90| 66 66 66 66 66 66 66 66 | 2c 30 78 66 66 66 66 66 |ffffffff|,0xfffff|
|00000aa0| 66 66 66 2c 30 78 66 66 | 66 66 66 66 66 66 2c 31 |fff,0xff|ffffff,1|
|00000ab0| 20 7d 2c 0a 20 20 20 7b | 20 42 41 43 4b 47 52 4f | },. {| BACKGRO|
|00000ac0| 55 4e 44 50 45 4e 20 20 | 20 2c 30 78 61 61 61 61 |UNDPEN | ,0xaaaa|
|00000ad0| 61 61 61 61 2c 30 78 61 | 61 61 61 61 61 61 61 2c |aaaa,0xa|aaaaaaa,|
|00000ae0| 30 78 61 61 61 61 61 61 | 61 61 2c 33 20 7d 2c 0a |0xaaaaaa|aa,3 },.|
|00000af0| 20 20 20 7b 20 48 49 47 | 48 4c 49 47 48 54 54 45 | { HIG|HLIGHTTE|
|00000b00| 58 54 50 45 4e 2c 30 78 | 66 66 66 66 66 66 66 66 |XTPEN,0x|ffffffff|
|00000b10| 2c 30 78 66 66 66 66 66 | 66 66 66 2c 30 78 66 66 |,0xfffff|fff,0xff|
|00000b20| 66 66 66 66 66 66 2c 31 | 20 7d 2c 0a 20 20 20 7b |ffffff,1| },. {|
|00000b30| 20 42 41 52 44 45 54 41 | 49 4c 50 45 4e 20 20 20 | BARDETA|ILPEN |
|00000b40| 20 2c 30 78 30 30 30 30 | 30 30 30 30 2c 30 78 30 | ,0x0000|0000,0x0|
|00000b50| 30 30 30 30 30 30 30 2c | 30 78 30 30 30 30 30 30 |0000000,|0x000000|
|00000b60| 30 30 2c 30 20 7d 2c 0a | 20 20 20 7b 20 42 41 52 |00,0 },.| { BAR|
|00000b70| 42 4c 4f 43 4b 50 45 4e | 20 20 20 20 20 2c 30 78 |BLOCKPEN| ,0x|
|00000b80| 66 66 66 66 66 66 66 66 | 2c 30 78 66 66 66 66 66 |ffffffff|,0xfffff|
|00000b90| 66 66 66 2c 30 78 66 66 | 66 66 66 66 66 66 2c 31 |fff,0xff|ffffff,1|
|00000ba0| 20 7d 2c 0a 20 20 20 7b | 20 42 41 52 54 52 49 4d | },. {| BARTRIM|
|00000bb0| 50 45 4e 20 20 20 20 20 | 20 2c 30 78 30 30 30 30 |PEN | ,0x0000|
|00000bc0| 30 30 30 30 2c 30 78 30 | 30 30 30 30 30 30 30 2c |0000,0x0|0000000,|
|00000bd0| 30 78 30 30 30 30 30 30 | 30 30 2c 30 20 7d 2c 0a |0x000000|00,0 },.|
|00000be0| 20 20 20 7b 20 4d 55 49 | 56 5f 50 61 6c 65 74 74 | { MUI|V_Palett|
|00000bf0| 65 5f 45 6e 74 72 79 5f | 45 6e 64 2c 30 2c 30 2c |e_Entry_|End,0,0,|
|00000c00| 30 2c 30 20 7d 2c 0a 7d | 3b 0a 0a 5c 65 6e 64 7b |0,0 },.}|;..\end{|
|00000c10| 76 65 72 62 61 74 69 6d | 7d 0a 5c 6e 6f 72 6d 61 |verbatim|}.\norma|
|00000c20| 6c 73 69 7a 65 0a 5c 73 | 75 62 73 75 62 73 65 63 |lsize.\s|ubsubsec|
|00000c30| 74 69 6f 6e 2a 7b 53 45 | 45 20 41 4c 53 4f 7d 0a |tion*{SE|E ALSO}.|
|00000c40| 4d 55 49 41 5c 5f 50 61 | 6c 65 74 74 65 5c 5f 4e |MUIA\_Pa|lette\_N|
|00000c50| 61 6d 65 73 0a 0a 5c 73 | 75 62 73 65 63 74 69 6f |ames..\s|ubsectio|
|00000c60| 6e 5b 4d 55 49 41 5c 5f | 50 61 6c 65 74 74 65 5c |n[MUIA\_|Palette\|
|00000c70| 5f 47 72 6f 75 70 61 62 | 6c 65 5d 7b 4d 55 49 41 |_Groupab|le]{MUIA|
|00000c80| 5c 5f 50 61 6c 65 74 74 | 65 5c 5f 47 72 6f 75 70 |\_Palett|e\_Group|
|00000c90| 61 62 6c 65 20 2d 2d 20 | 28 56 36 29 20 5b 49 53 |able -- |(V6) [IS|
|00000ca0| 47 5d 2c 20 42 4f 4f 4c | 7d 0a 0a 5c 73 75 62 73 |G], BOOL|}..\subs|
|00000cb0| 75 62 73 65 63 74 69 6f | 6e 2a 7b 46 55 4e 43 54 |ubsectio|n*{FUNCT|
|00000cc0| 49 4f 4e 7d 0a 45 6e 61 | 62 6c 65 73 2f 64 69 73 |ION}.Ena|bles/dis|
|00000cd0| 61 62 6c 65 73 20 70 61 | 6c 65 74 74 65 20 63 6f |ables pa|lette co|
|00000ce0| 6c 6f 72 20 67 72 6f 75 | 70 69 6e 67 2e 0a 44 65 |lor grou|ping..De|
|00000cf0| 66 61 75 6c 74 73 20 74 | 6f 20 54 52 55 45 2e 0a |faults t|o TRUE..|
|00000d00| 0a 5c 73 75 62 73 75 62 | 73 65 63 74 69 6f 6e 2a |.\subsub|section*|
|00000d10| 7b 53 45 45 20 41 4c 53 | 4f 7d 0a 4d 55 49 41 5c |{SEE ALS|O}.MUIA\|
|00000d20| 5f 50 61 6c 65 74 74 65 | 5c 5f 45 6e 74 72 69 65 |_Palette|\_Entrie|
|00000d30| 73 0a 0a 5c 73 75 62 73 | 65 63 74 69 6f 6e 5b 4d |s..\subs|ection[M|
|00000d40| 55 49 41 5c 5f 50 61 6c | 65 74 74 65 5c 5f 4e 61 |UIA\_Pal|ette\_Na|
|00000d50| 6d 65 73 5d 7b 4d 55 49 | 41 5c 5f 50 61 6c 65 74 |mes]{MUI|A\_Palet|
|00000d60| 74 65 5c 5f 4e 61 6d 65 | 73 20 2d 2d 20 28 56 36 |te\_Name|s -- (V6|
|00000d70| 29 20 5b 49 53 47 5d 2c | 20 63 68 61 72 20 24 5c |) [ISG],| char $\|
|00000d80| 61 73 74 24 24 5c 61 73 | 74 24 7d 0a 0a 5c 73 75 |ast$$\as|t$}..\su|
|00000d90| 62 73 75 62 73 65 63 74 | 69 6f 6e 2a 7b 46 55 4e |bsubsect|ion*{FUN|
|00000da0| 43 54 49 4f 4e 7d 0a 53 | 70 65 63 69 66 79 20 74 |CTION}.S|pecify t|
|00000db0| 68 65 20 6e 61 6d 65 73 | 20 6f 66 20 61 20 70 61 |he names| of a pa|
|00000dc0| 6c 65 74 74 65 20 6f 62 | 6a 65 63 74 73 20 63 6f |lette ob|jects co|
|00000dd0| 6c 6f 72 20 65 6e 74 72 | 69 65 73 2e 0a 57 69 74 |lor entr|ies..Wit|
|00000de0| 68 6f 75 74 20 6e 61 6d | 65 73 2c 20 74 68 65 20 |hout nam|es, the |
|00000df0| 63 6f 6c 6f 72 20 6c 69 | 73 74 76 69 65 77 20 6a |color li|stview j|
|00000e00| 75 73 74 20 64 69 73 70 | 6c 61 79 73 0a 27 27 43 |ust disp|lays.''C|
|00000e10| 6f 6c 6f 72 20 5c 66 6c | 71 20 6e 5c 66 72 71 20 |olor \fl|q n\frq |
|00000e20| 27 27 20 66 6f 72 20 65 | 61 63 68 20 65 6e 74 72 |'' for e|ach entr|
|00000e30| 79 2e 20 49 66 20 79 6f | 75 20 73 75 70 70 6c 79 |y. If yo|u supply|
|00000e40| 20 61 6e 20 61 72 72 61 | 79 0a 6f 66 20 6e 61 6d | an arra|y.of nam|
|00000e50| 65 73 20 68 65 72 65 2c | 20 74 68 65 79 20 61 72 |es here,| they ar|
|00000e60| 65 20 64 69 73 70 6c 61 | 79 65 64 20 69 6e 73 74 |e displa|yed inst|
|00000e70| 65 61 64 2e 20 54 68 65 | 0a 6e 61 6d 65 73 20 61 |ead. The|.names a|
|00000e80| 72 72 61 79 20 6d 75 73 | 74 20 68 61 76 65 20 61 |rray mus|t have a|
|00000e90| 73 20 6d 61 6e 79 20 65 | 6e 74 72 69 65 73 20 61 |s many e|ntries a|
|00000ea0| 73 20 74 68 65 0a 61 72 | 72 61 79 20 6f 66 20 4d |s the.ar|ray of M|
|00000eb0| 55 49 41 5c 5f 50 61 6c | 65 74 74 65 5c 5f 45 6e |UIA\_Pal|ette\_En|
|00000ec0| 74 72 79 20 73 74 72 75 | 63 74 75 72 65 73 20 28 |try stru|ctures (|
|00000ed0| 77 69 74 68 6f 75 74 0a | 69 74 73 20 74 65 72 6d |without.|its term|
|00000ee0| 69 6e 61 74 6f 72 29 2e | 0a 0a 5c 73 75 62 73 75 |inator).|..\subsu|
|00000ef0| 62 73 65 63 74 69 6f 6e | 2a 7b 45 58 41 4d 50 4c |bsection|*{EXAMPL|
|00000f00| 45 7d 0a 5c 73 6d 61 6c | 6c 0a 5c 62 65 67 69 6e |E}.\smal|l.\begin|
|00000f10| 7b 76 65 72 62 61 74 69 | 6d 7d 0a 0a 73 74 61 74 |{verbati|m}..stat|
|00000f20| 69 63 20 73 74 72 75 63 | 74 20 4d 55 49 5f 50 61 |ic struc|t MUI_Pa|
|00000f30| 6c 65 74 74 65 5f 45 6e | 74 72 79 20 43 6f 6c 6f |lette_En|try Colo|
|00000f40| 72 45 6e 74 72 69 65 73 | 5b 5d 20 3d 0a 7b 0a 20 |rEntries|[] =.{. |
|00000f50| 20 20 7b 20 54 45 58 54 | 50 45 4e 20 20 20 20 20 | { TEXT|PEN |
|00000f60| 20 20 20 20 2c 30 78 30 | 30 30 30 30 30 30 30 2c | ,0x0|0000000,|
|00000f70| 30 78 30 30 30 30 30 30 | 30 30 2c 30 78 30 30 30 |0x000000|00,0x000|
|00000f80| 30 30 30 30 30 2c 32 20 | 7d 2c 0a 20 20 20 7b 20 |00000,2 |},. { |
|00000f90| 53 48 49 4e 45 50 45 4e | 20 20 20 20 20 20 20 20 |SHINEPEN| |
|00000fa0| 2c 30 78 66 66 66 66 66 | 66 66 66 2c 30 78 66 66 |,0xfffff|fff,0xff|
|00000fb0| 66 66 66 66 66 66 2c 30 | 78 66 66 66 66 66 66 66 |ffffff,0|xfffffff|
|00000fc0| 66 2c 34 20 7d 2c 0a 20 | 20 20 7b 20 53 48 41 44 |f,4 },. | { SHAD|
|00000fd0| 4f 57 50 45 4e 20 20 20 | 20 20 20 20 2c 30 78 30 |OWPEN | ,0x0|
|00000fe0| 30 30 30 30 30 30 30 2c | 30 78 30 30 30 30 30 30 |0000000,|0x000000|
|00000ff0| 30 30 2c 30 78 30 30 30 | 30 30 30 30 30 2c 35 20 |00,0x000|00000,5 |
|00001000| 7d 2c 0a 20 20 20 7b 20 | 46 49 4c 4c 50 45 4e 20 |},. { |FILLPEN |
|00001010| 20 20 20 20 20 20 20 20 | 2c 30 78 36 36 36 36 36 | |,0x66666|
|00001020| 36 36 36 2c 30 78 38 38 | 38 38 38 38 38 38 2c 30 |666,0x88|888888,0|
|00001030| 78 62 62 62 62 62 62 62 | 62 2c 33 20 7d 2c 0a 20 |xbbbbbbb|b,3 },. |
|00001040| 20 20 7b 20 46 49 4c 4c | 54 45 58 54 50 45 4e 20 | { FILL|TEXTPEN |
|00001050| 20 20 20 20 2c 30 78 66 | 66 66 66 66 66 66 66 2c | ,0xf|fffffff,|
|00001060| 30 78 66 66 66 66 66 66 | 66 66 2c 30 78 66 66 66 |0xffffff|ff,0xfff|
|00001070| 66 66 66 66 66 2c 36 20 | 7d 2c 0a 20 20 20 7b 20 |fffff,6 |},. { |
|00001080| 42 41 43 4b 47 52 4f 55 | 4e 44 50 45 4e 20 20 20 |BACKGROU|NDPEN |
|00001090| 2c 30 78 30 30 30 30 30 | 30 30 30 2c 30 78 30 30 |,0x00000|000,0x00|
|000010a0| 30 30 30 30 30 30 2c 30 | 78 30 30 30 30 30 30 30 |000000,0|x0000000|
|000010b0| 30 2c 37 20 7d 2c 0a 20 | 20 20 7b 20 48 49 47 48 |0,7 },. | { HIGH|
|000010c0| 4c 49 47 48 54 54 45 58 | 54 50 45 4e 2c 30 78 66 |LIGHTTEX|TPEN,0xf|
|000010d0| 66 66 66 66 66 66 66 2c | 30 78 66 66 66 66 66 66 |fffffff,|0xffffff|
|000010e0| 66 66 2c 30 78 66 66 66 | 66 66 66 66 66 2c 38 20 |ff,0xfff|fffff,8 |
|000010f0| 7d 2c 0a 20 20 20 7b 20 | 42 41 52 44 45 54 41 49 |},. { |BARDETAI|
|00001100| 4c 50 45 4e 20 20 20 20 | 2c 30 78 30 30 30 30 30 |LPEN |,0x00000|
|00001110| 30 30 30 2c 30 78 30 30 | 30 30 30 30 30 30 2c 30 |000,0x00|000000,0|
|00001120| 78 30 30 30 30 30 30 30 | 30 2c 39 20 7d 2c 0a 20 |x0000000|0,9 },. |
|00001130| 20 20 7b 20 42 41 52 42 | 4c 4f 43 4b 50 45 4e 20 | { BARB|LOCKPEN |
|00001140| 20 20 20 20 2c 30 78 66 | 66 66 66 66 66 66 66 2c | ,0xf|fffffff,|
|00001150| 30 78 66 66 66 66 66 66 | 66 66 2c 30 78 66 66 66 |0xffffff|ff,0xfff|
|00001160| 66 66 66 66 66 2c 31 20 | 7d 2c 0a 20 20 20 7b 20 |fffff,1 |},. { |
|00001170| 42 41 52 54 52 49 4d 50 | 45 4e 20 20 20 20 20 20 |BARTRIMP|EN |
|00001180| 2c 30 78 30 30 30 30 30 | 30 30 30 2c 30 78 30 30 |,0x00000|000,0x00|
|00001190| 30 30 30 30 30 30 2c 30 | 78 30 30 30 30 30 30 30 |000000,0|x0000000|
|000011a0| 30 2c 30 20 7d 2c 0a 20 | 20 20 7b 20 4d 55 49 56 |0,0 },. | { MUIV|
|000011b0| 5f 50 61 6c 65 74 74 65 | 5f 45 6e 74 72 79 5f 45 |_Palette|_Entry_E|
|000011c0| 6e 64 2c 30 2c 30 2c 30 | 2c 30 20 7d 2c 0a 7d 3b |nd,0,0,0|,0 },.};|
|000011d0| 0a 0a 73 74 61 74 69 63 | 20 63 6f 6e 73 74 20 63 |..static| const c|
|000011e0| 68 61 72 20 2a 43 6f 6c | 6f 72 4e 61 6d 65 73 5b |har *Col|orNames[|
|000011f0| 5d 20 3d 0a 7b 0a 20 20 | 20 22 54 65 78 74 22 20 |] =.{. | "Text" |
|00001200| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2c | | ,|
|00001210| 0a 20 20 20 22 42 72 69 | 67 68 74 20 45 64 67 65 |. "Bri|ght Edge|
|00001220| 73 22 20 20 20 20 20 20 | 20 20 2c 0a 20 20 20 22 |s" | ,. "|
|00001230| 44 61 72 6b 20 45 64 67 | 65 73 22 20 20 20 20 20 |Dark Edg|es" |
|00001240| 20 20 20 20 20 2c 0a 20 | 20 20 22 41 63 74 69 76 | ,. | "Activ|
|00001250| 65 20 57 69 6e 64 6f 77 | 20 42 61 72 73 22 20 20 |e Window| Bars" |
|00001260| 2c 0a 20 20 20 22 41 63 | 74 69 76 65 20 57 69 6e |,. "Ac|tive Win|
|00001270| 64 6f 77 20 54 69 74 6c | 65 73 22 2c 0a 20 20 20 |dow Titl|es",. |
|00001280| 22 42 61 63 6b 67 72 6f | 75 6e 64 22 20 20 20 20 |"Backgro|und" |
|00001290| 20 20 20 20 20 20 2c 0a | 20 20 20 22 49 6d 70 6f | ,.| "Impo|
|000012a0| 72 74 61 6e 74 20 54 65 | 78 74 22 20 20 20 20 20 |rtant Te|xt" |
|000012b0| 20 2c 0a 20 20 20 22 4d | 65 6e 75 20 54 65 78 74 | ,. "M|enu Text|
|000012c0| 22 20 20 20 20 20 20 20 | 20 20 20 20 2c 0a 20 20 |" | ,. |
|000012d0| 20 22 4d 65 6e 75 20 42 | 61 63 6b 67 72 6f 75 6e | "Menu B|ackgroun|
|000012e0| 64 22 20 20 20 20 20 2c | 0a 20 20 20 22 4d 65 6e |d" ,|. "Men|
|000012f0| 75 20 4c 69 6e 65 22 0a | 7d 3b 0a 0a 70 6f 20 3d |u Line".|};..po =|
|00001300| 20 50 61 6c 65 74 74 65 | 4f 62 6a 65 63 74 2c 0a | Palette|Object,.|
|00001310| 20 20 20 4d 55 49 41 5f | 50 61 6c 65 74 74 65 5f | MUIA_|Palette_|
|00001320| 45 6e 74 72 69 65 73 2c | 20 43 6f 6c 6f 72 45 6e |Entries,| ColorEn|
|00001330| 74 72 69 65 73 2c 0a 20 | 20 20 4d 55 49 41 5f 50 |tries,. | MUIA_P|
|00001340| 61 6c 65 74 74 65 5f 4e | 61 6d 65 73 20 20 2c 20 |alette_N|ames , |
|00001350| 43 6f 6c 6f 72 4e 61 6d | 65 73 2c 0a 20 20 20 45 |ColorNam|es,. E|
|00001360| 6e 64 3b 0a 0a 5c 65 6e | 64 7b 76 65 72 62 61 74 |nd;..\en|d{verbat|
|00001370| 69 6d 7d 0a 5c 6e 6f 72 | 6d 61 6c 73 69 7a 65 0a |im}.\nor|malsize.|
|00001380| 5c 73 75 62 73 75 62 73 | 65 63 74 69 6f 6e 2a 7b |\subsubs|ection*{|
|00001390| 53 45 45 20 41 4c 53 4f | 7d 0a 4d 55 49 41 5c 5f |SEE ALSO|}.MUIA\_|
|000013a0| 50 61 6c 65 74 74 65 5c | 5f 45 6e 74 72 69 65 73 |Palette\|_Entries|
|000013b0| 0a 0a 0a 0a | |.... | |
+--------+-------------------------+-------------------------+--------+--------+