home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / libraries / mui23_autodocs.lha / MUI23_Autodocs / Source / mui_image.tex < prev    next >
LaTeX Document  |  1994-12-31  |  4.3 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document text default
99% file LaTeX document, ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% detectItEasy Format: plain text[LF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 73 65 63 74 69 6f 6e | 7b 49 6d 61 67 65 2e 6d |\section|{Image.m|
|00000010| 75 69 7d 0a 0a 49 6d 61 | 67 65 20 63 6c 61 73 73 |ui}..Ima|ge class|
|00000020| 20 69 73 20 75 73 65 64 | 20 74 6f 20 64 69 73 70 | is used| to disp|
|00000030| 6c 61 79 20 6f 6e 65 20 | 6f 66 20 4d 55 49 27 73 |lay one |of MUI's|
|00000040| 20 73 74 61 6e 64 61 72 | 64 0a 69 6d 61 67 65 73 | standar|d.images|
|00000050| 20 6f 72 20 73 6f 6d 65 | 20 73 65 6c 66 6d 61 64 | or some| selfmad|
|00000060| 65 20 69 6d 61 67 65 20 | 64 61 74 61 2e 0a 0a 5c |e image |data...\|
|00000070| 73 75 62 73 65 63 74 69 | 6f 6e 5b 4d 55 49 41 5c |subsecti|on[MUIA\|
|00000080| 5f 49 6d 61 67 65 5c 5f | 46 6f 6e 74 4d 61 74 63 |_Image\_|FontMatc|
|00000090| 68 5d 7b 4d 55 49 41 5c | 5f 49 6d 61 67 65 5c 5f |h]{MUIA\|_Image\_|
|000000a0| 46 6f 6e 74 4d 61 74 63 | 68 20 2d 2d 20 28 56 34 |FontMatc|h -- (V4|
|000000b0| 29 20 5b 49 2e 2e 5d 2c | 20 42 4f 4f 4c 7d 0a 0a |) [I..],| BOOL}..|
|000000c0| 5c 73 75 62 73 75 62 73 | 65 63 74 69 6f 6e 2a 7b |\subsubs|ection*{|
|000000d0| 46 55 4e 43 54 49 4f 4e | 7d 0a 49 66 20 54 52 55 |FUNCTION|}.If TRU|
|000000e0| 45 2c 20 77 69 64 74 68 | 20 61 6e 64 20 68 65 69 |E, width| and hei|
|000000f0| 67 68 74 20 6f 66 20 74 | 68 65 20 67 69 76 65 6e |ght of t|he given|
|00000100| 20 69 6d 61 67 65 20 77 | 69 6c 6c 20 62 65 0a 73 | image w|ill be.s|
|00000110| 63 61 6c 65 64 20 74 6f | 20 6d 61 74 63 68 20 74 |caled to| match t|
|00000120| 68 65 20 63 75 72 72 65 | 6e 74 20 66 6f 6e 74 2e |he curre|nt font.|
|00000130| 20 49 6d 61 67 65 73 20 | 61 72 65 20 61 6c 77 61 | Images |are alwa|
|00000140| 79 73 0a 64 65 66 69 6e | 65 64 20 77 69 74 68 20 |ys.defin|ed with |
|00000150| 61 20 72 65 66 65 72 65 | 6e 63 65 20 66 6f 6e 74 |a refere|nce font|
|00000160| 20 6f 66 20 74 6f 70 61 | 7a 2f 38 2c 20 62 69 67 | of topa|z/8, big|
|00000170| 67 65 72 20 66 6f 6e 74 | 73 0a 77 69 6c 6c 20 6d |ger font|s.will m|
|00000180| 61 6b 65 20 74 68 65 20 | 69 6d 61 67 65 20 67 72 |ake the |image gr|
|00000190| 6f 77 20 28 61 73 20 6c | 6f 6e 67 20 61 73 20 69 |ow (as l|ong as i|
|000001a0| 74 73 20 6d 61 78 69 6d | 75 6d 20 73 69 7a 65 0a |ts maxim|um size.|
|000001b0| 69 73 20 62 69 67 20 65 | 6e 6f 75 67 68 29 2e 0a |is big e|nough)..|
|000001c0| 0a 5c 73 75 62 73 75 62 | 73 65 63 74 69 6f 6e 2a |.\subsub|section*|
|000001d0| 7b 45 58 41 4d 50 4c 45 | 7d 0a 5c 73 6d 61 6c 6c |{EXAMPLE|}.\small|
|000001e0| 0a 5c 62 65 67 69 6e 7b | 76 65 72 62 61 74 69 6d |.\begin{|verbatim|
|000001f0| 7d 0a 54 68 65 20 61 72 | 72 6f 77 73 20 6f 66 20 |}.The ar|rows of |
|00000200| 61 20 73 63 72 6f 6c 6c | 20 62 61 72 20 61 72 65 |a scroll| bar are|
|00000210| 20 65 2e 67 2e 20 64 65 | 66 69 6e 65 64 20 77 69 | e.g. de|fined wi|
|00000220| 74 68 0a 4d 55 49 41 5f | 49 6d 61 67 65 5f 46 6f |th.MUIA_|Image_Fo|
|00000230| 6e 74 4d 61 74 63 68 2e | 0a 0a 5c 65 6e 64 7b 76 |ntMatch.|..\end{v|
|00000240| 65 72 62 61 74 69 6d 7d | 0a 5c 6e 6f 72 6d 61 6c |erbatim}|.\normal|
|00000250| 73 69 7a 65 0a 5c 73 75 | 62 73 75 62 73 65 63 74 |size.\su|bsubsect|
|00000260| 69 6f 6e 2a 7b 53 45 45 | 20 41 4c 53 4f 7d 0a 4d |ion*{SEE| ALSO}.M|
|00000270| 55 49 41 5c 5f 49 6d 61 | 67 65 5c 5f 46 6f 6e 74 |UIA\_Ima|ge\_Font|
|00000280| 4d 61 74 63 68 2c 20 4d | 55 49 41 5c 5f 49 6d 61 |Match, M|UIA\_Ima|
|00000290| 67 65 5c 5f 46 6f 6e 74 | 4d 61 74 63 68 57 69 64 |ge\_Font|MatchWid|
|000002a0| 74 68 0a 0a 5c 73 75 62 | 73 65 63 74 69 6f 6e 5b |th..\sub|section[|
|000002b0| 4d 55 49 41 5c 5f 49 6d | 61 67 65 5c 5f 46 6f 6e |MUIA\_Im|age\_Fon|
|000002c0| 74 4d 61 74 63 68 48 65 | 69 67 68 74 5d 7b 4d 55 |tMatchHe|ight]{MU|
|000002d0| 49 41 5c 5f 49 6d 61 67 | 65 5c 5f 46 6f 6e 74 4d |IA\_Imag|e\_FontM|
|000002e0| 61 74 63 68 48 65 69 67 | 68 74 20 2d 2d 20 28 56 |atchHeig|ht -- (V|
|000002f0| 34 29 20 5b 49 2e 2e 5d | 2c 20 42 4f 4f 4c 7d 0a |4) [I..]|, BOOL}.|
|00000300| 0a 5c 73 75 62 73 75 62 | 73 65 63 74 69 6f 6e 2a |.\subsub|section*|
|00000310| 7b 46 55 4e 43 54 49 4f | 4e 7d 0a 49 66 20 54 52 |{FUNCTIO|N}.If TR|
|00000320| 55 45 2c 20 74 68 65 20 | 68 65 69 67 68 74 20 6f |UE, the |height o|
|00000330| 66 20 74 68 65 20 67 69 | 76 65 6e 20 69 6d 61 67 |f the gi|ven imag|
|00000340| 65 20 77 69 6c 6c 20 62 | 65 20 73 63 61 6c 65 64 |e will b|e scaled|
|00000350| 0a 74 6f 20 6d 61 74 63 | 68 20 74 68 65 20 63 75 |.to matc|h the cu|
|00000360| 72 72 65 6e 74 20 66 6f | 6e 74 2e 20 49 6d 61 67 |rrent fo|nt. Imag|
|00000370| 65 73 20 61 72 65 20 61 | 6c 77 61 79 73 20 64 65 |es are a|lways de|
|00000380| 66 69 6e 65 64 0a 77 69 | 74 68 20 61 20 72 65 66 |fined.wi|th a ref|
|00000390| 65 72 65 6e 63 65 20 66 | 6f 6e 74 20 6f 66 20 74 |erence f|ont of t|
|000003a0| 6f 70 61 7a 2f 38 2c 20 | 62 69 67 67 65 72 20 66 |opaz/8, |bigger f|
|000003b0| 6f 6e 74 73 20 77 69 6c | 6c 0a 6d 61 6b 65 20 74 |onts wil|l.make t|
|000003c0| 68 65 20 69 6d 61 67 65 | 20 67 72 6f 77 20 28 61 |he image| grow (a|
|000003d0| 73 20 6c 6f 6e 67 20 61 | 73 20 69 74 73 20 6d 61 |s long a|s its ma|
|000003e0| 78 69 6d 75 6d 20 73 69 | 7a 65 0a 69 73 20 62 69 |ximum si|ze.is bi|
|000003f0| 67 20 65 6e 6f 75 67 68 | 29 2e 0a 0a 5c 73 75 62 |g enough|)...\sub|
|00000400| 73 75 62 73 65 63 74 69 | 6f 6e 2a 7b 53 45 45 20 |subsecti|on*{SEE |
|00000410| 41 4c 53 4f 7d 0a 4d 55 | 49 41 5c 5f 49 6d 61 67 |ALSO}.MU|IA\_Imag|
|00000420| 65 5c 5f 46 6f 6e 74 4d | 61 74 63 68 2c 20 4d 55 |e\_FontM|atch, MU|
|00000430| 49 41 5c 5f 49 6d 61 67 | 65 5c 5f 46 6f 6e 74 4d |IA\_Imag|e\_FontM|
|00000440| 61 74 63 68 57 69 64 74 | 68 0a 0a 5c 73 75 62 73 |atchWidt|h..\subs|
|00000450| 65 63 74 69 6f 6e 5b 4d | 55 49 41 5c 5f 49 6d 61 |ection[M|UIA\_Ima|
|00000460| 67 65 5c 5f 46 6f 6e 74 | 4d 61 74 63 68 57 69 64 |ge\_Font|MatchWid|
|00000470| 74 68 5d 7b 4d 55 49 41 | 5c 5f 49 6d 61 67 65 5c |th]{MUIA|\_Image\|
|00000480| 5f 46 6f 6e 74 4d 61 74 | 63 68 57 69 64 74 68 20 |_FontMat|chWidth |
|00000490| 2d 2d 20 28 56 34 29 20 | 5b 49 2e 2e 5d 2c 20 42 |-- (V4) |[I..], B|
|000004a0| 4f 4f 4c 7d 0a 0a 5c 73 | 75 62 73 75 62 73 65 63 |OOL}..\s|ubsubsec|
|000004b0| 74 69 6f 6e 2a 7b 46 55 | 4e 43 54 49 4f 4e 7d 0a |tion*{FU|NCTION}.|
|000004c0| 49 66 20 54 52 55 45 2c | 20 74 68 65 20 77 69 64 |If TRUE,| the wid|
|000004d0| 74 68 20 6f 66 20 74 68 | 65 20 67 69 76 65 6e 20 |th of th|e given |
|000004e0| 69 6d 61 67 65 20 77 69 | 6c 6c 20 62 65 20 73 63 |image wi|ll be sc|
|000004f0| 61 6c 65 64 0a 74 6f 20 | 6d 61 74 63 68 20 74 68 |aled.to |match th|
|00000500| 65 20 63 75 72 72 65 6e | 74 20 66 6f 6e 74 2e 20 |e curren|t font. |
|00000510| 49 6d 61 67 65 73 20 61 | 72 65 20 61 6c 77 61 79 |Images a|re alway|
|00000520| 73 20 64 65 66 69 6e 65 | 64 0a 77 69 74 68 20 61 |s define|d.with a|
|00000530| 20 72 65 66 65 72 65 6e | 63 65 20 66 6f 6e 74 20 | referen|ce font |
|00000540| 6f 66 20 74 6f 70 61 7a | 2f 38 2c 20 62 69 67 67 |of topaz|/8, bigg|
|00000550| 65 72 20 66 6f 6e 74 73 | 20 77 69 6c 6c 0a 6d 61 |er fonts| will.ma|
|00000560| 6b 65 20 74 68 65 20 69 | 6d 61 67 65 20 67 72 6f |ke the i|mage gro|
|00000570| 77 20 28 61 73 20 6c 6f | 6e 67 20 61 73 20 69 74 |w (as lo|ng as it|
|00000580| 73 20 6d 61 78 69 6d 75 | 6d 20 73 69 7a 65 0a 69 |s maximu|m size.i|
|00000590| 73 20 62 69 67 20 65 6e | 6f 75 67 68 29 2e 0a 0a |s big en|ough)...|
|000005a0| 5c 73 75 62 73 75 62 73 | 65 63 74 69 6f 6e 2a 7b |\subsubs|ection*{|
|000005b0| 53 45 45 20 41 4c 53 4f | 7d 0a 4d 55 49 41 5c 5f |SEE ALSO|}.MUIA\_|
|000005c0| 49 6d 61 67 65 5c 5f 46 | 6f 6e 74 4d 61 74 63 68 |Image\_F|ontMatch|
|000005d0| 2c 20 4d 55 49 41 5c 5f | 49 6d 61 67 65 5c 5f 46 |, MUIA\_|Image\_F|
|000005e0| 6f 6e 74 4d 61 74 63 68 | 48 65 69 67 68 74 0a 0a |ontMatch|Height..|
|000005f0| 5c 73 75 62 73 65 63 74 | 69 6f 6e 5b 4d 55 49 41 |\subsect|ion[MUIA|
|00000600| 5c 5f 49 6d 61 67 65 5c | 5f 46 72 65 65 48 6f 72 |\_Image\|_FreeHor|
|00000610| 69 7a 5d 7b 4d 55 49 41 | 5c 5f 49 6d 61 67 65 5c |iz]{MUIA|\_Image\|
|00000620| 5f 46 72 65 65 48 6f 72 | 69 7a 20 2d 2d 20 28 56 |_FreeHor|iz -- (V|
|00000630| 34 29 20 5b 49 2e 2e 5d | 2c 20 42 4f 4f 4c 7d 0a |4) [I..]|, BOOL}.|
|00000640| 0a 5c 73 75 62 73 75 62 | 73 65 63 74 69 6f 6e 2a |.\subsub|section*|
|00000650| 7b 46 55 4e 43 54 49 4f | 4e 7d 0a 54 65 6c 6c 20 |{FUNCTIO|N}.Tell |
|00000660| 74 68 65 20 69 6d 61 67 | 65 20 69 66 20 69 74 73 |the imag|e if its|
|00000670| 20 61 6c 6c 6f 77 65 64 | 20 74 6f 20 67 65 74 20 | allowed| to get |
|00000680| 73 63 61 6c 65 64 20 68 | 6f 72 69 7a 6f 6e 74 61 |scaled h|orizonta|
|00000690| 6c 6c 79 2e 0a 44 65 66 | 61 75 6c 74 73 20 74 6f |lly..Def|aults to|
|000006a0| 20 46 41 4c 53 45 2e 0a | 0a 5c 73 75 62 73 75 62 | FALSE..|.\subsub|
|000006b0| 73 65 63 74 69 6f 6e 2a | 7b 53 45 45 20 41 4c 53 |section*|{SEE ALS|
|000006c0| 4f 7d 0a 4d 55 49 41 5c | 5f 49 6d 61 67 65 5c 5f |O}.MUIA\|_Image\_|
|000006d0| 46 72 65 65 56 65 72 74 | 2c 20 4d 55 49 41 5c 5f |FreeVert|, MUIA\_|
|000006e0| 49 6d 61 67 65 5c 5f 46 | 6f 6e 74 4d 61 74 63 68 |Image\_F|ontMatch|
|000006f0| 0a 0a 5c 73 75 62 73 65 | 63 74 69 6f 6e 5b 4d 55 |..\subse|ction[MU|
|00000700| 49 41 5c 5f 49 6d 61 67 | 65 5c 5f 46 72 65 65 56 |IA\_Imag|e\_FreeV|
|00000710| 65 72 74 5d 7b 4d 55 49 | 41 5c 5f 49 6d 61 67 65 |ert]{MUI|A\_Image|
|00000720| 5c 5f 46 72 65 65 56 65 | 72 74 20 2d 2d 20 28 56 |\_FreeVe|rt -- (V|
|00000730| 34 29 20 5b 49 2e 2e 5d | 2c 20 42 4f 4f 4c 7d 0a |4) [I..]|, BOOL}.|
|00000740| 0a 5c 73 75 62 73 75 62 | 73 65 63 74 69 6f 6e 2a |.\subsub|section*|
|00000750| 7b 46 55 4e 43 54 49 4f | 4e 7d 0a 54 65 6c 6c 20 |{FUNCTIO|N}.Tell |
|00000760| 74 68 65 20 69 6d 61 67 | 65 20 69 66 20 69 74 73 |the imag|e if its|
|00000770| 20 61 6c 6c 6f 77 65 64 | 20 74 6f 20 67 65 74 20 | allowed| to get |
|00000780| 73 63 61 6c 65 64 20 76 | 65 72 74 69 63 61 6c 6c |scaled v|erticall|
|00000790| 79 2e 0a 44 65 66 61 75 | 6c 74 73 20 74 6f 20 46 |y..Defau|lts to F|
|000007a0| 41 4c 53 45 2e 0a 0a 5c | 73 75 62 73 75 62 73 65 |ALSE...\|subsubse|
|000007b0| 63 74 69 6f 6e 2a 7b 53 | 45 45 20 41 4c 53 4f 7d |ction*{S|EE ALSO}|
|000007c0| 0a 4d 55 49 41 5c 5f 49 | 6d 61 67 65 5c 5f 46 72 |.MUIA\_I|mage\_Fr|
|000007d0| 65 65 48 6f 72 69 7a 2c | 20 4d 55 49 41 5c 5f 49 |eeHoriz,| MUIA\_I|
|000007e0| 6d 61 67 65 5c 5f 46 6f | 6e 74 4d 61 74 63 68 0a |mage\_Fo|ntMatch.|
|000007f0| 0a 5c 73 75 62 73 65 63 | 74 69 6f 6e 5b 4d 55 49 |.\subsec|tion[MUI|
|00000800| 41 5c 5f 49 6d 61 67 65 | 5c 5f 4f 6c 64 49 6d 61 |A\_Image|\_OldIma|
|00000810| 67 65 5d 7b 4d 55 49 41 | 5c 5f 49 6d 61 67 65 5c |ge]{MUIA|\_Image\|
|00000820| 5f 4f 6c 64 49 6d 61 67 | 65 20 2d 2d 20 28 56 34 |_OldImag|e -- (V4|
|00000830| 29 20 5b 49 2e 2e 5d 2c | 20 73 74 72 75 63 74 20 |) [I..],| struct |
|00000840| 49 6d 61 67 65 20 24 5c | 61 73 74 24 7d 0a 0a 5c |Image $\|ast$}..\|
|00000850| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 46 |subsubse|ction*{F|
|00000860| 55 4e 43 54 49 4f 4e 7d | 0a 41 6c 6c 6f 77 73 20 |UNCTION}|.Allows |
|00000870| 79 6f 75 20 74 6f 20 75 | 73 65 20 61 6e 79 20 63 |you to u|se any c|
|00000880| 6f 6e 76 65 6e 74 69 6f | 6e 61 6c 20 69 6d 61 67 |onventio|nal imag|
|00000890| 65 20 73 74 72 75 63 74 | 75 72 65 0a 77 69 74 68 |e struct|ure.with|
|000008a0| 69 6e 20 61 20 4d 55 49 | 20 77 69 6e 64 6f 77 2e |in a MUI| window.|
|000008b0| 20 54 68 65 20 72 65 73 | 75 6c 74 69 6e 67 20 6f | The res|ulting o|
|000008c0| 62 6a 65 63 74 20 69 73 | 20 61 6c 77 61 79 73 0a |bject is| always.|
|000008d0| 61 73 20 62 69 67 20 61 | 73 20 74 68 65 20 69 6d |as big a|s the im|
|000008e0| 61 67 65 20 61 6e 64 20 | 6e 6f 74 20 72 65 73 69 |age and |not resi|
|000008f0| 7a 61 62 6c 65 2e 0a 0a | 5c 73 75 62 73 65 63 74 |zable...|\subsect|
|00000900| 69 6f 6e 5b 4d 55 49 41 | 5c 5f 49 6d 61 67 65 5c |ion[MUIA|\_Image\|
|00000910| 5f 53 70 65 63 5d 7b 4d | 55 49 41 5c 5f 49 6d 61 |_Spec]{M|UIA\_Ima|
|00000920| 67 65 5c 5f 53 70 65 63 | 20 2d 2d 20 28 56 34 29 |ge\_Spec| -- (V4)|
|00000930| 20 5b 49 2e 2e 5d 2c 20 | 63 68 61 72 20 24 5c 61 | [I..], |char $\a|
|00000940| 73 74 24 7d 0a 0a 5c 73 | 75 62 73 75 62 73 65 63 |st$}..\s|ubsubsec|
|00000950| 74 69 6f 6e 2a 7b 46 55 | 4e 43 54 49 4f 4e 7d 0a |tion*{FU|NCTION}.|
|00000960| 53 70 65 63 69 66 79 20 | 74 68 65 20 74 79 70 65 |Specify |the type|
|00000970| 20 6f 66 20 79 6f 75 72 | 20 69 6d 61 67 65 2e 20 | of your| image. |
|00000980| 55 73 75 61 6c 6c 79 2c | 20 79 6f 75 20 77 69 6c |Usually,| you wil|
|00000990| 6c 0a 75 73 65 20 6f 6e | 65 20 6f 66 20 74 68 65 |l.use on|e of the|
|000009a0| 20 70 72 65 64 65 66 69 | 6e 65 64 20 73 74 61 6e | predefi|ned stan|
|000009b0| 64 61 72 64 20 69 6d 61 | 67 65 73 20 68 65 72 65 |dard ima|ges here|
|000009c0| 2c 0a 28 6f 6e 65 20 6f | 66 20 74 68 65 20 4d 55 |,.(one o|f the MU|
|000009d0| 49 49 5c 5f 78 78 78 20 | 64 65 66 69 6e 69 74 69 |II\_xxx |definiti|
|000009e0| 6f 6e 73 20 66 72 6f 6d | 20 6d 75 69 2e 68 29 2c |ons from| mui.h),|
|000009f0| 0a 62 75 74 20 79 6f 75 | 20 61 6c 73 6f 20 63 61 |.but you| also ca|
|00000a00| 6e 20 73 75 70 70 6c 79 | 20 61 20 73 74 72 69 6e |n supply| a strin|
|00000a10| 67 20 63 6f 6e 74 61 69 | 6e 69 6e 67 0a 61 20 4d |g contai|ning.a M|
|00000a20| 55 49 20 69 6d 61 67 65 | 20 73 70 65 63 69 66 69 |UI image| specifi|
|00000a30| 63 61 74 69 6f 6e 2e 20 | 49 6d 61 67 65 20 73 70 |cation. |Image sp|
|00000a40| 65 63 69 66 69 63 61 74 | 69 6f 6e 73 0a 61 6c 77 |ecificat|ions.alw|
|00000a50| 61 79 73 20 73 74 61 72 | 74 73 20 77 69 74 68 20 |ays star|ts with |
|00000a60| 61 20 64 69 67 69 74 2c | 20 66 6f 6c 6c 6f 77 65 |a digit,| followe|
|00000a70| 64 20 62 79 20 61 20 27 | 3a 27 2c 0a 66 6f 6c 6c |d by a '|:',.foll|
|00000a80| 6f 77 65 64 20 62 79 20 | 73 6f 6d 65 20 70 61 72 |owed by |some par|
|00000a90| 61 6d 65 74 65 72 73 2e | 20 43 75 72 72 65 6e 74 |ameters.| Current|
|00000aa0| 6c 79 2c 20 74 68 65 0a | 66 6f 6c 6c 6f 77 69 6e |ly, the.|followin|
|00000ab0| 67 20 74 68 69 6e 67 73 | 20 61 72 65 20 64 65 66 |g things| are def|
|00000ac0| 69 6e 65 64 20 28 61 6c | 6c 20 6e 75 6d 65 72 69 |ined (al|l numeri|
|00000ad0| 63 0a 70 61 72 61 6d 65 | 74 65 72 73 20 6e 65 65 |c.parame|ters nee|
|00000ae0| 64 20 74 6f 20 62 65 20 | 61 73 63 69 69 20 76 61 |d to be |ascii va|
|00000af0| 6c 75 65 73 21 29 3a 0a | 0a 5c 62 65 67 69 6e 7b |lues!):.|.\begin{|
|00000b00| 64 65 73 63 72 69 70 74 | 69 6f 6e 7d 0a 5c 69 74 |descript|ion}.\it|
|00000b10| 65 6d 5b 27 27 30 3a 5c | 66 6c 71 20 78 5c 66 72 |em[''0:\|flq x\fr|
|00000b20| 71 20 27 27 5d 20 77 68 | 65 72 65 20 5c 66 6c 71 |q ''] wh|ere \flq|
|00000b30| 20 78 5c 66 72 71 5c 20 | 20 69 73 20 62 65 74 77 | x\frq\ | is betw|
|00000b40| 65 65 6e 20 4d 55 49 49 | 5c 5f 42 41 43 4b 47 52 |een MUII|\_BACKGR|
|00000b50| 4f 55 4e 44 20 61 6e 64 | 0a 4d 55 49 49 5c 5f 46 |OUND and|.MUII\_F|
|00000b60| 49 4c 4c 42 41 43 4b 32 | 20 69 64 65 6e 74 69 66 |ILLBACK2| identif|
|00000b70| 79 69 6e 67 20 61 20 62 | 75 69 6c 74 69 6e 20 70 |ying a b|uiltin p|
|00000b80| 61 74 74 65 72 6e 2e 0a | 0a 5c 69 74 65 6d 5b 27 |attern..|.\item['|
|00000b90| 27 31 3a 5c 66 6c 71 20 | 78 5c 66 72 71 20 27 27 |'1:\flq |x\frq ''|
|00000ba0| 5d 20 77 68 65 72 65 20 | 5c 66 6c 71 20 78 5c 66 |] where |\flq x\f|
|00000bb0| 72 71 5c 20 20 69 64 65 | 6e 74 69 66 69 65 73 20 |rq\ ide|ntifies |
|00000bc0| 61 20 62 75 69 6c 74 69 | 6e 20 73 74 61 6e 64 61 |a builti|n standa|
|00000bd0| 72 64 20 69 6d 61 67 65 | 2e 0a 44 6f 6e 27 74 20 |rd image|..Don't |
|00000be0| 75 73 65 20 74 68 69 73 | 2c 20 75 73 65 20 27 27 |use this|, use ''|
|00000bf0| 36 3a 5c 66 6c 71 20 78 | 5c 66 72 71 20 27 27 20 |6:\flq x|\frq '' |
|00000c00| 69 6e 73 74 65 61 64 2e | 0a 0a 5c 69 74 65 6d 5b |instead.|..\item[|
|00000c10| 27 27 32 3a 5c 66 6c 71 | 20 72 5c 66 72 71 20 2c |''2:\flq| r\frq ,|
|00000c20| 5c 66 6c 71 20 67 5c 66 | 72 71 20 2c 5c 66 6c 71 |\flq g\f|rq ,\flq|
|00000c30| 20 62 5c 66 72 71 20 27 | 27 5d 20 77 68 65 72 65 | b\frq '|'] where|
|00000c40| 20 5c 66 6c 71 20 72 5c | 66 72 71 20 2c 20 5c 66 | \flq r\|frq , \f|
|00000c50| 6c 71 20 67 5c 66 72 71 | 5c 20 20 61 6e 64 20 5c |lq g\frq|\ and \|
|00000c60| 66 6c 71 20 62 5c 66 72 | 71 5c 20 20 61 72 65 20 |flq b\fr|q\ are |
|00000c70| 33 32 2d 62 69 74 20 52 | 47 42 0a 63 6f 6c 6f 72 |32-bit R|GB.color|
|00000c80| 20 76 61 6c 75 65 73 20 | 73 70 65 63 69 66 69 65 | values |specifie|
|00000c90| 64 20 61 73 20 38 2d 64 | 69 67 69 74 20 68 65 78 |d as 8-d|igit hex|
|00000ca0| 0a 73 74 72 69 6e 67 20 | 28 65 2e 67 2e 20 30 30 |.string |(e.g. 00|
|00000cb0| 30 30 30 30 30 30 20 6f | 72 20 66 66 66 66 66 66 |000000 o|r ffffff|
|00000cc0| 66 66 29 2e 0a 4b 69 63 | 6b 20 32 2e 78 20 75 73 |ff)..Kic|k 2.x us|
|00000cd0| 65 72 73 20 77 69 6c 6c | 20 67 65 74 20 61 6e 20 |ers will| get an |
|00000ce0| 65 6d 70 74 79 20 69 6d | 61 67 65 2e 0a 0a 5c 69 |empty im|age...\i|
|00000cf0| 74 65 6d 5b 27 27 33 3a | 5c 66 6c 71 20 6e 5c 66 |tem[''3:|\flq n\f|
|00000d00| 72 71 20 27 27 5d 20 77 | 68 65 72 65 20 5c 66 6c |rq ''] w|here \fl|
|00000d10| 71 20 6e 5c 66 72 71 5c | 20 20 69 73 20 74 68 65 |q n\frq\| is the|
|00000d20| 20 6e 61 6d 65 20 6f 66 | 20 61 6e 20 65 78 74 65 | name of| an exte|
|00000d30| 72 6e 61 6c 20 62 6f 6f | 70 73 69 0a 69 6d 61 67 |rnal boo|psi.imag|
|00000d40| 65 20 63 6c 61 73 73 2e | 0a 0a 5c 69 74 65 6d 5b |e class.|..\item[|
|00000d50| 27 27 34 3a 5c 66 6c 71 | 20 6e 5c 66 72 71 20 27 |''4:\flq| n\frq '|
|00000d60| 27 5d 20 77 68 65 72 65 | 20 5c 66 6c 71 20 6e 5c |'] where| \flq n\|
|00000d70| 66 72 71 5c 20 20 69 73 | 20 74 68 65 20 6e 61 6d |frq\ is| the nam|
|00000d80| 65 20 6f 66 20 61 6e 20 | 65 78 74 65 72 6e 61 6c |e of an |external|
|00000d90| 20 4d 55 49 20 62 72 75 | 73 68 2e 0a 0a 5c 69 74 | MUI bru|sh...\it|
|00000da0| 65 6d 5b 27 27 35 3a 5c | 66 6c 71 20 6e 5c 66 72 |em[''5:\|flq n\fr|
|00000db0| 71 20 27 27 5d 20 77 68 | 65 72 65 20 5c 66 6c 71 |q ''] wh|ere \flq|
|00000dc0| 20 6e 5c 66 72 71 5c 20 | 20 69 73 20 74 68 65 20 | n\frq\ | is the |
|00000dd0| 6e 61 6d 65 20 6f 66 20 | 61 6e 20 65 78 74 65 72 |name of |an exter|
|00000de0| 6e 61 6c 20 70 69 63 74 | 75 72 65 0a 66 69 6c 65 |nal pict|ure.file|
|00000df0| 20 74 68 61 74 20 73 68 | 6f 75 6c 64 20 62 65 20 | that sh|ould be |
|00000e00| 6c 6f 61 64 65 64 20 77 | 69 74 68 20 64 61 74 61 |loaded w|ith data|
|00000e10| 74 79 70 65 73 2e 0a 4b | 69 63 6b 20 32 2e 78 20 |types..K|ick 2.x |
|00000e20| 75 73 65 72 73 20 77 69 | 6c 6c 20 67 65 74 20 61 |users wi|ll get a|
|00000e30| 6e 20 65 6d 70 74 79 20 | 69 6d 61 67 65 2e 0a 0a |n empty |image...|
|00000e40| 5c 69 74 65 6d 5b 27 27 | 36 3a 5c 66 6c 71 20 78 |\item[''|6:\flq x|
|00000e50| 5c 66 72 71 20 27 27 5d | 20 77 68 65 72 65 20 5c |\frq '']| where \|
|00000e60| 66 6c 71 20 78 5c 66 72 | 71 5c 20 20 69 73 20 62 |flq x\fr|q\ is b|
|00000e70| 65 74 77 65 65 6e 20 4d | 55 49 49 5c 5f 57 69 6e |etween M|UII\_Win|
|00000e80| 64 6f 77 42 61 63 6b 20 | 61 6e 64 0a 4d 55 49 49 |dowBack |and.MUII|
|00000e90| 5c 5f 43 6f 75 6e 74 2d | 31 20 69 64 65 6e 74 69 |\_Count-|1 identi|
|00000ea0| 66 79 69 6e 67 20 61 20 | 70 72 65 63 6f 6e 66 69 |fying a |preconfi|
|00000eb0| 67 75 72 65 64 0a 69 6d | 61 67 65 2f 62 61 63 6b |gured.im|age/back|
|00000ec0| 67 72 6f 75 6e 64 2e 0a | 5c 65 6e 64 7b 64 65 73 |ground..|\end{des|
|00000ed0| 63 72 69 70 74 69 6f 6e | 7d 0a 0a 5c 73 75 62 73 |cription|}..\subs|
|00000ee0| 75 62 73 65 63 74 69 6f | 6e 2a 7b 53 45 45 20 41 |ubsectio|n*{SEE A|
|00000ef0| 4c 53 4f 7d 0a 4d 55 49 | 41 5c 5f 49 6d 61 67 65 |LSO}.MUI|A\_Image|
|00000f00| 5c 5f 4f 6c 64 49 6d 61 | 67 65 0a 0a 5c 73 75 62 |\_OldIma|ge..\sub|
|00000f10| 73 65 63 74 69 6f 6e 5b | 4d 55 49 41 5c 5f 49 6d |section[|MUIA\_Im|
|00000f20| 61 67 65 5c 5f 53 74 61 | 74 65 5d 7b 4d 55 49 41 |age\_Sta|te]{MUIA|
|00000f30| 5c 5f 49 6d 61 67 65 5c | 5f 53 74 61 74 65 20 2d |\_Image\|_State -|
|00000f40| 2d 20 28 56 34 29 20 5b | 49 53 2e 5d 2c 20 4c 4f |- (V4) [|IS.], LO|
|00000f50| 4e 47 7d 0a 0a 5c 73 75 | 62 73 75 62 73 65 63 74 |NG}..\su|bsubsect|
|00000f60| 69 6f 6e 2a 7b 46 55 4e | 43 54 49 4f 4e 7d 0a 53 |ion*{FUN|CTION}.S|
|00000f70| 6f 6d 65 20 4d 55 49 20 | 69 6d 61 67 65 73 20 6f |ome MUI |images o|
|00000f80| 66 66 65 72 20 64 69 66 | 66 65 72 65 6e 74 20 73 |ffer dif|ferent s|
|00000f90| 74 61 74 65 73 2c 20 79 | 6f 75 20 63 61 6e 20 73 |tates, y|ou can s|
|00000fa0| 65 6c 65 63 74 0a 6f 6e | 65 20 6f 66 20 74 68 65 |elect.on|e of the|
|00000fb0| 20 62 79 20 73 65 74 74 | 69 6e 67 20 74 68 69 73 | by sett|ing this|
|00000fc0| 20 61 74 74 72 69 62 75 | 74 65 2e 20 53 69 6d 70 | attribu|te. Simp|
|00000fd0| 6c 79 20 75 73 65 0a 6f | 6e 65 20 6f 66 20 74 68 |ly use.o|ne of th|
|00000fe0| 65 20 49 44 53 5c 5f 4e | 4f 52 4d 41 4c 2c 20 49 |e IDS\_N|ORMAL, I|
|00000ff0| 44 53 5c 5f 53 45 4c 45 | 43 54 45 44 2c 20 2e 2e |DS\_SELE|CTED, ..|
|00001000| 2e 20 76 61 6c 75 65 73 | 0a 64 65 66 69 6e 65 64 |. values|.defined|
|00001010| 20 69 6e 20 27 27 69 6e | 74 75 69 74 69 6f 6e 2f | in ''in|tuition/|
|00001020| 69 6d 61 67 65 63 6c 61 | 73 73 2e 68 27 27 2e 0a |imagecla|ss.h''..|
|00001030| 0a 5c 73 75 62 73 75 62 | 73 65 63 74 69 6f 6e 2a |.\subsub|section*|
|00001040| 7b 4e 4f 54 45 7d 0a 4f | 62 6a 65 63 74 73 20 74 |{NOTE}.O|bjects t|
|00001050| 68 61 74 20 72 65 73 70 | 6f 6e 64 20 74 6f 20 75 |hat resp|ond to u|
|00001060| 73 65 72 20 69 6e 70 75 | 74 20 77 69 6c 6c 0a 61 |ser inpu|t will.a|
|00001070| 75 74 6f 6d 61 74 69 63 | 61 6c 6c 79 20 74 6f 67 |utomatic|ally tog|
|00001080| 67 6c 65 20 74 68 65 69 | 72 20 73 74 61 74 65 20 |gle thei|r state |
|00001090| 62 65 74 77 65 65 6e 0a | 49 44 53 5c 5f 4e 4f 52 |between.|IDS\_NOR|
|000010a0| 4d 41 4c 20 74 6f 20 49 | 44 53 5c 5f 53 45 4c 45 |MAL to I|DS\_SELE|
|000010b0| 43 54 45 44 20 64 65 70 | 65 6e 64 69 6e 67 20 6f |CTED dep|ending o|
|000010c0| 6e 0a 74 68 65 69 72 20 | 4d 55 49 41 5c 5f 53 65 |n.their |MUIA\_Se|
|000010d0| 6c 65 63 74 65 64 20 61 | 74 74 72 69 62 75 74 65 |lected a|ttribute|
|000010e0| 2e 0a 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |...\subs|ubsectio|
|000010f0| 6e 2a 7b 53 45 45 20 41 | 4c 53 4f 7d 0a 4d 55 49 |n*{SEE A|LSO}.MUI|
|00001100| 41 5c 5f 49 6d 61 67 65 | 5c 5f 53 70 65 63 0a 0a |A\_Image|\_Spec..|
|00001110| 0a 0a | |.. | |
+--------+-------------------------+-------------------------+--------+--------+