home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 9 / FreshFishVol9-CD2.bin / bbs / docs / mui_autodocs-2.3.lha / MUI_Autodocs / Source / mui_text.tex < prev    next >
LaTeX Document  |  1994-12-31  |  4.7 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% 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 54 65 78 74 2e 6d 75 |\section|{Text.mu|
|00000010| 69 7d 0a 0a 54 65 78 74 | 20 63 6c 61 73 73 20 61 |i}..Text| class a|
|00000020| 6c 6c 6f 77 73 20 67 65 | 6e 65 72 61 74 69 6e 67 |llows ge|nerating|
|00000030| 20 6f 62 6a 65 63 74 73 | 20 74 68 61 74 20 63 6f | objects| that co|
|00000040| 6e 74 61 69 6e 0a 73 6f | 6d 65 20 6b 69 6e 64 20 |ntain.so|me kind |
|00000050| 6f 66 20 74 65 78 74 2e | 20 59 6f 75 20 63 61 6e |of text.| You can|
|00000060| 20 63 6f 6e 74 72 6f 6c | 20 74 68 65 20 6f 75 74 | control| the out|
|00000070| 66 69 74 20 6f 66 0a 79 | 6f 75 72 20 74 65 78 74 |fit of.y|our text|
|00000080| 20 77 69 74 68 20 73 6f | 6d 65 20 73 70 65 63 69 | with so|me speci|
|00000090| 61 6c 20 63 6f 6e 74 72 | 6f 6c 20 63 68 61 72 61 |al contr|ol chara|
|000000a0| 63 74 65 72 73 2c 0a 69 | 6e 63 6c 75 64 69 6e 67 |cters,.i|ncluding|
|000000b0| 20 69 74 61 6c 69 63 73 | 2c 20 62 6f 6c 64 2c 20 | italics|, bold, |
|000000c0| 75 6e 64 65 72 6c 69 6e | 65 20 61 6e 64 20 63 6f |underlin|e and co|
|000000d0| 6c 6f 72 0a 63 6f 64 65 | 73 2e 20 46 6f 72 6d 61 |lor.code|s. Forma|
|000000e0| 74 20 63 6f 64 65 73 20 | 61 6c 69 67 6e 20 74 65 |t codes |align te|
|000000f0| 78 74 20 65 69 74 68 65 | 72 20 6c 65 66 74 2c 0a |xt eithe|r left,.|
|00000100| 63 65 6e 74 65 72 65 64 | 20 6f 72 20 72 69 67 68 |centered| or righ|
|00000110| 74 2c 20 6c 69 6e 65 66 | 65 65 64 73 20 61 6c 6c |t, linef|eeds all|
|00000120| 6f 77 20 6d 75 6c 74 69 | 6c 69 6e 65 0a 74 65 78 |ow multi|line.tex|
|00000130| 74 20 66 69 65 6c 64 73 | 2e 0a 0a 5c 73 75 62 73 |t fields|...\subs|
|00000140| 65 63 74 69 6f 6e 5b 4d | 55 49 41 5c 5f 54 65 78 |ection[M|UIA\_Tex|
|00000150| 74 5c 5f 43 6f 6e 74 65 | 6e 74 73 5d 7b 4d 55 49 |t\_Conte|nts]{MUI|
|00000160| 41 5c 5f 54 65 78 74 5c | 5f 43 6f 6e 74 65 6e 74 |A\_Text\|_Content|
|00000170| 73 20 2d 2d 20 28 56 34 | 29 20 5b 49 53 47 5d 2c |s -- (V4|) [ISG],|
|00000180| 20 53 54 52 50 54 52 7d | 0a 0a 5c 73 75 62 73 75 | STRPTR}|..\subsu|
|00000190| 62 73 65 63 74 69 6f 6e | 2a 7b 46 55 4e 43 54 49 |bsection|*{FUNCTI|
|000001a0| 4f 4e 7d 0a 53 74 72 69 | 6e 67 20 74 6f 20 62 65 |ON}.Stri|ng to be|
|000001b0| 20 64 69 73 70 6c 61 79 | 65 64 20 69 6e 20 61 20 | display|ed in a |
|000001c0| 74 65 78 74 20 6f 62 6a | 65 63 74 2e 0a 0a 49 66 |text obj|ect...If|
|000001d0| 20 74 68 65 20 73 74 72 | 69 6e 67 20 69 73 20 6c | the str|ing is l|
|000001e0| 61 72 67 65 72 20 74 68 | 61 6e 20 61 76 61 69 6c |arger th|an avail|
|000001f0| 61 62 6c 65 20 64 69 73 | 70 6c 61 79 20 73 70 61 |able dis|play spa|
|00000200| 63 65 2c 0a 69 74 20 77 | 69 6c 6c 20 62 65 20 63 |ce,.it w|ill be c|
|00000210| 6c 69 70 70 65 64 2e 20 | 53 65 74 74 69 6e 67 20 |lipped. |Setting |
|00000220| 4d 55 49 41 5c 5f 54 65 | 78 74 5c 5f 43 6f 6e 74 |MUIA\_Te|xt\_Cont|
|00000230| 65 6e 74 73 20 74 6f 20 | 4e 55 4c 4c 0a 72 65 73 |ents to |NULL.res|
|00000240| 75 6c 74 73 20 69 6e 20 | 61 6e 20 65 6d 70 74 79 |ults in |an empty|
|00000250| 20 74 65 78 74 20 6f 62 | 6a 65 63 74 2e 0a 0a 54 | text ob|ject...T|
|00000260| 68 65 20 73 74 72 69 6e | 67 20 69 73 20 63 6f 70 |he strin|g is cop|
|00000270| 69 65 64 20 69 6e 74 6f | 20 61 20 70 72 69 76 61 |ied into| a priva|
|00000280| 74 65 20 62 75 66 66 65 | 72 2c 20 79 6f 75 20 63 |te buffe|r, you c|
|00000290| 61 6e 20 64 65 73 74 72 | 6f 79 0a 74 68 65 20 6f |an destr|oy.the o|
|000002a0| 72 69 67 69 6e 61 6c 20 | 61 66 74 65 72 20 75 73 |riginal |after us|
|000002b0| 69 6e 67 20 74 68 69 73 | 20 74 61 67 2e 0a 0a 57 |ing this| tag...W|
|000002c0| 68 65 6e 65 76 65 72 20 | 4d 55 49 20 70 72 69 6e |henever |MUI prin|
|000002d0| 74 73 20 73 74 72 69 6e | 67 73 2c 20 74 68 65 79 |ts strin|gs, they|
|000002e0| 20 6d 61 79 20 63 6f 6e | 74 61 69 6e 20 73 6f 6d | may con|tain som|
|000002f0| 65 20 73 70 65 63 69 61 | 6c 0a 63 68 61 72 61 63 |e specia|l.charac|
|00000300| 74 65 72 20 73 65 71 75 | 65 6e 63 65 73 20 64 65 |ter sequ|ences de|
|00000310| 66 69 6e 69 6e 67 20 66 | 6f 72 6d 61 74 2c 20 63 |fining f|ormat, c|
|00000320| 6f 6c 6f 72 20 61 6e 64 | 20 73 74 79 6c 65 20 6f |olor and| style o|
|00000330| 66 20 74 68 65 20 74 65 | 78 74 2e 0a 0a 5c 62 65 |f the te|xt...\be|
|00000340| 67 69 6e 7b 64 65 73 63 | 72 69 70 74 69 6f 6e 7d |gin{desc|ription}|
|00000350| 0a 5c 69 74 65 6d 5b 27 | 24 5c 62 61 63 6b 73 6c |.\item['|$\backsl|
|00000360| 61 73 68 24 6e 27 5d 09 | 20 53 74 61 72 74 20 61 |ash$n'].| Start a|
|00000370| 20 6e 65 77 20 6c 69 6e | 65 2e 20 57 69 74 68 20 | new lin|e. With |
|00000380| 74 68 69 73 20 63 68 61 | 72 61 63 74 65 72 20 79 |this cha|racter y|
|00000390| 6f 75 20 63 61 6e 20 65 | 2e 67 2e 20 63 72 65 61 |ou can e|.g. crea|
|000003a0| 74 65 0a 6d 75 6c 74 69 | 20 6c 69 6e 65 20 62 75 |te.multi| line bu|
|000003b0| 74 74 6f 6e 73 2e 0a 0a | 5c 69 74 65 6d 5b 45 53 |ttons...|\item[ES|
|000003c0| 43 20 2d 5d 20 20 20 20 | 44 69 73 61 62 6c 65 20 |C -] |Disable |
|000003d0| 74 65 78 74 20 65 6e 67 | 69 6e 65 2c 20 66 6f 6c |text eng|ine, fol|
|000003e0| 6c 6f 77 69 6e 67 20 63 | 68 61 72 73 20 77 69 6c |lowing c|hars wil|
|000003f0| 6c 20 62 65 20 70 72 69 | 6e 74 65 64 0a 77 69 74 |l be pri|nted.wit|
|00000400| 68 6f 75 74 20 66 75 72 | 74 68 65 72 20 70 61 72 |hout fur|ther par|
|00000410| 73 69 6e 67 2e 0a 0a 5c | 69 74 65 6d 5b 45 53 43 |sing...\|item[ESC|
|00000420| 20 75 5d 20 20 20 20 53 | 65 74 20 74 68 65 20 73 | u] S|et the s|
|00000430| 6f 66 74 20 73 74 79 6c | 65 20 74 6f 20 75 6e 64 |oft styl|e to und|
|00000440| 65 72 6c 69 6e 65 2e 0a | 0a 5c 69 74 65 6d 5b 45 |erline..|.\item[E|
|00000450| 53 43 20 62 5d 20 20 20 | 20 53 65 74 20 74 68 65 |SC b] | Set the|
|00000460| 20 73 6f 66 74 20 73 74 | 79 6c 65 20 74 6f 20 62 | soft st|yle to b|
|00000470| 6f 6c 64 2e 0a 0a 5c 69 | 74 65 6d 5b 45 53 43 20 |old...\i|tem[ESC |
|00000480| 69 5d 20 20 20 20 53 65 | 74 20 74 68 65 20 73 6f |i] Se|t the so|
|00000490| 66 74 20 73 74 79 6c 65 | 20 74 6f 20 69 74 61 6c |ft style| to ital|
|000004a0| 69 63 2e 0a 0a 5c 69 74 | 65 6d 5b 45 53 43 20 6e |ic...\it|em[ESC n|
|000004b0| 5d 20 20 20 20 53 65 74 | 20 74 68 65 20 73 6f 66 |] Set| the sof|
|000004c0| 74 20 73 74 79 6c 65 20 | 62 61 63 6b 20 74 6f 20 |t style |back to |
|000004d0| 6e 6f 72 6d 61 6c 2e 0a | 0a 5c 69 74 65 6d 5b 45 |normal..|.\item[E|
|000004e0| 53 43 20 5c 66 6c 71 20 | 6e 5c 66 72 71 5d 20 20 |SC \flq |n\frq] |
|000004f0| 20 55 73 65 20 70 65 6e | 20 6e 75 6d 62 65 72 20 | Use pen| number |
|00000500| 6e 20 28 32 2e 2e 39 29 | 20 61 73 20 66 72 6f 6e |n (2..9)| as fron|
|00000510| 74 20 70 65 6e 2e 20 6e | 20 6d 75 73 74 20 62 65 |t pen. n| must be|
|00000520| 20 61 20 76 61 6c 69 64 | 0a 44 72 61 77 49 6e 66 | a valid|.DrawInf|
|00000530| 6f 20 70 65 6e 20 61 73 | 20 73 70 65 63 69 66 69 |o pen as| specifi|
|00000540| 65 64 20 69 6e 20 27 27 | 69 6e 74 75 69 74 69 6f |ed in ''|intuitio|
|00000550| 6e 2f 73 63 72 65 65 6e | 73 2e 68 27 27 2e 0a 0a |n/screen|s.h''...|
|00000560| 5c 69 74 65 6d 5b 45 53 | 43 20 63 5d 20 20 20 20 |\item[ES|C c] |
|00000570| 43 65 6e 74 65 72 20 63 | 75 72 72 65 6e 74 20 28 |Center c|urrent (|
|00000580| 61 6e 64 20 66 6f 6c 6c | 6f 77 69 6e 67 29 20 6c |and foll|owing) l|
|00000590| 69 6e 65 28 73 29 2e 0a | 54 68 69 73 20 73 65 71 |ine(s)..|This seq|
|000005a0| 75 65 6e 63 65 20 69 73 | 20 6f 6e 6c 79 20 76 61 |uence is| only va|
|000005b0| 6c 69 64 20 61 74 20 74 | 68 65 20 62 65 67 69 6e |lid at t|he begin|
|000005c0| 6e 69 6e 67 20 6f 66 20 | 61 0a 73 74 72 69 6e 67 |ning of |a.string|
|000005d0| 20 6f 72 20 61 66 74 65 | 72 20 61 20 6e 65 77 6c | or afte|r a newl|
|000005e0| 69 6e 65 20 63 68 61 72 | 61 63 74 65 72 2e 0a 0a |ine char|acter...|
|000005f0| 5c 69 74 65 6d 5b 45 53 | 43 20 72 5d 20 20 20 20 |\item[ES|C r] |
|00000600| 52 69 67 68 74 20 6a 75 | 73 74 69 66 79 20 63 75 |Right ju|stify cu|
|00000610| 72 72 65 6e 74 20 28 61 | 6e 64 20 66 6f 6c 6c 6f |rrent (a|nd follo|
|00000620| 77 69 6e 67 29 20 6c 69 | 6e 65 28 73 29 2e 0a 54 |wing) li|ne(s)..T|
|00000630| 68 69 73 20 73 65 71 75 | 65 6e 63 65 20 69 73 20 |his sequ|ence is |
|00000640| 6f 6e 6c 79 20 76 61 6c | 69 64 20 61 74 20 74 68 |only val|id at th|
|00000650| 65 20 62 65 67 69 6e 6e | 69 6e 67 20 6f 66 20 61 |e beginn|ing of a|
|00000660| 0a 73 74 72 69 6e 67 20 | 6f 72 20 61 66 74 65 72 |.string |or after|
|00000670| 20 61 20 6e 65 77 6c 69 | 6e 65 20 63 68 61 72 61 | a newli|ne chara|
|00000680| 63 74 65 72 2e 0a 0a 5c | 69 74 65 6d 5b 45 53 43 |cter...\|item[ESC|
|00000690| 20 6c 5d 20 20 20 20 4c | 65 66 74 20 6a 75 73 74 | l] L|eft just|
|000006a0| 69 66 79 20 63 75 72 72 | 65 6e 74 20 28 61 6e 64 |ify curr|ent (and|
|000006b0| 20 66 6f 6c 6c 6f 77 69 | 6e 67 29 20 6c 69 6e 65 | followi|ng) line|
|000006c0| 28 73 29 2e 0a 54 68 69 | 73 20 73 65 71 75 65 6e |(s)..Thi|s sequen|
|000006d0| 63 65 20 69 73 20 6f 6e | 6c 79 20 76 61 6c 69 64 |ce is on|ly valid|
|000006e0| 20 61 74 20 74 68 65 20 | 62 65 67 69 6e 6e 69 6e | at the |beginnin|
|000006f0| 67 20 6f 66 20 61 0a 73 | 74 72 69 6e 67 20 6f 72 |g of a.s|tring or|
|00000700| 20 61 66 74 65 72 20 61 | 20 6e 65 77 6c 69 6e 65 | after a| newline|
|00000710| 20 63 68 61 72 61 63 74 | 65 72 2e 0a 0a 5c 69 74 | charact|er...\it|
|00000720| 65 6d 5b 45 53 43 20 49 | 7b 5b 73 5d 7d 20 5d 20 |em[ESC I|{[s]} ] |
|00000730| 44 72 61 77 20 4d 55 49 | 20 69 6d 61 67 65 20 77 |Draw MUI| image w|
|00000740| 69 74 68 20 73 70 65 63 | 69 66 69 63 61 74 69 6f |ith spec|ificatio|
|00000750| 6e 20 5c 66 6c 71 20 73 | 5c 66 72 71 20 2e 20 53 |n \flq s|\frq . S|
|00000760| 65 65 20 61 75 74 6f 64 | 6f 63 73 0a 6f 66 20 69 |ee autod|ocs.of i|
|00000770| 6d 61 67 65 20 63 6c 61 | 73 73 20 66 6f 72 20 69 |mage cla|ss for i|
|00000780| 6d 61 67 65 20 73 70 65 | 63 20 64 65 66 69 6e 69 |mage spe|c defini|
|00000790| 74 69 6f 6e 2e 0a 5c 65 | 6e 64 7b 64 65 73 63 72 |tion..\e|nd{descr|
|000007a0| 69 70 74 69 6f 6e 7d 0a | 20 20 20 0a 5c 73 75 62 |iption}.| .\sub|
|000007b0| 73 75 62 73 65 63 74 69 | 6f 6e 2a 7b 4e 4f 54 45 |subsecti|on*{NOTE|
|000007c0| 7d 0a 54 68 65 73 65 20 | 72 75 6c 65 73 20 61 70 |}.These |rules ap|
|000007d0| 70 6c 79 20 74 6f 20 61 | 6c 6c 20 4d 55 49 20 73 |ply to a|ll MUI s|
|000007e0| 74 72 69 6e 67 73 2c 20 | 6e 6f 74 20 6f 6e 6c 79 |trings, |not only|
|000007f0| 20 74 6f 0a 61 20 74 65 | 78 74 20 6f 62 6a 65 63 | to.a te|xt objec|
|00000800| 74 73 20 63 6f 6e 74 65 | 6e 74 73 2e 20 59 6f 75 |ts conte|nts. You|
|00000810| 20 63 61 6e 20 65 2e 67 | 2e 20 66 6f 72 6d 61 74 | can e.g|. format|
|00000820| 20 74 68 65 0a 63 6f 6c | 75 6d 6e 73 20 6f 66 20 | the.col|umns of |
|00000830| 61 20 6c 69 73 74 76 69 | 65 77 20 6f 72 20 69 6e |a listvi|ew or in|
|00000840| 63 6c 75 64 65 20 69 6d | 61 67 65 73 20 69 6e 20 |clude im|ages in |
|00000850| 61 20 63 79 63 6c 65 0a | 67 61 64 67 65 74 73 20 |a cycle.|gadgets |
|00000860| 65 6e 74 72 69 65 73 2e | 0a 0a 5c 73 75 62 73 75 |entries.|..\subsu|
|00000870| 62 73 65 63 74 69 6f 6e | 2a 7b 45 58 41 4d 50 4c |bsection|*{EXAMPL|
|00000880| 45 7d 0a 5c 73 6d 61 6c | 6c 0a 5c 62 65 67 69 6e |E}.\smal|l.\begin|
|00000890| 7b 76 65 72 62 61 74 69 | 6d 7d 0a 2e 2e 2e 0a 4d |{verbati|m}.....M|
|000008a0| 55 49 41 5f 54 65 78 74 | 5f 43 6f 6e 74 65 6e 74 |UIA_Text|_Content|
|000008b0| 73 2c 20 22 5c 33 33 63 | 5c 33 33 62 4d 55 49 5c |s, "\33c|\33bMUI\|
|000008c0| 33 33 6e 5c 6e 69 73 20 | 6d 61 67 69 63 22 0a 2e |33n\nis |magic"..|
|000008d0| 2e 2e 0a 0a 77 6f 75 6c | 64 20 6c 6f 6f 6b 20 6c |....woul|d look l|
|000008e0| 69 6b 65 20 20 20 20 20 | 7c 20 20 20 20 4d 55 49 |ike || MUI|
|000008f0| 20 20 20 7c 20 20 3c 2d | 2d 20 62 6f 6c 64 0a 20 | | <-|- bold. |
|00000900| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000910| 20 20 20 7c 20 69 73 20 | 6d 61 67 69 63 20 7c 20 | | is |magic | |
|00000920| 20 3c 2d 2d 20 6e 6f 72 | 6d 61 6c 0a 0a 20 20 20 | <-- nor|mal.. |
|00000930| 20 53 45 45 5f 41 4c 53 | 4f 0a 4d 55 49 41 5f 54 | SEE_ALS|O.MUIA_T|
|00000940| 65 78 74 5f 53 65 74 4d | 69 6e 2c 20 4d 55 49 41 |ext_SetM|in, MUIA|
|00000950| 5f 54 65 78 74 5f 53 65 | 74 4d 61 78 2c 20 4d 55 |_Text_Se|tMax, MU|
|00000960| 49 41 5f 54 65 78 74 5f | 50 72 65 50 61 72 73 65 |IA_Text_|PreParse|
|00000970| 0a 0a 5c 65 6e 64 7b 76 | 65 72 62 61 74 69 6d 7d |..\end{v|erbatim}|
|00000980| 0a 5c 6e 6f 72 6d 61 6c | 73 69 7a 65 0a 5c 73 75 |.\normal|size.\su|
|00000990| 62 73 65 63 74 69 6f 6e | 5b 4d 55 49 41 5c 5f 54 |bsection|[MUIA\_T|
|000009a0| 65 78 74 5c 5f 48 69 43 | 68 61 72 5d 7b 4d 55 49 |ext\_HiC|har]{MUI|
|000009b0| 41 5c 5f 54 65 78 74 5c | 5f 48 69 43 68 61 72 20 |A\_Text\|_HiChar |
|000009c0| 2d 2d 20 28 56 34 29 20 | 5b 49 2e 2e 5d 2c 20 63 |-- (V4) |[I..], c|
|000009d0| 68 61 72 7d 0a 0a 5c 73 | 75 62 73 75 62 73 65 63 |har}..\s|ubsubsec|
|000009e0| 74 69 6f 6e 2a 7b 46 55 | 4e 43 54 49 4f 4e 7d 0a |tion*{FU|NCTION}.|
|000009f0| 49 66 20 74 68 65 20 63 | 68 61 72 61 63 74 65 72 |If the c|haracter|
|00000a00| 20 67 69 76 65 6e 20 68 | 65 72 65 20 65 78 69 73 | given h|ere exis|
|00000a10| 74 73 20 69 6e 20 74 68 | 65 20 64 69 73 70 6c 61 |ts in th|e displa|
|00000a20| 79 65 64 0a 73 74 72 69 | 6e 67 20 28 6e 6f 20 6d |yed.stri|ng (no m|
|00000a30| 61 74 74 65 72 20 69 66 | 20 75 70 70 65 72 20 6f |atter if| upper o|
|00000a40| 72 20 6c 6f 77 65 72 20 | 63 61 73 65 29 2c 20 69 |r lower |case), i|
|00000a50| 74 20 77 69 6c 6c 0a 62 | 65 20 75 6e 64 65 72 6c |t will.b|e underl|
|00000a60| 69 6e 65 64 2e 20 54 68 | 69 73 20 6d 61 6b 65 73 |ined. Th|is makes|
|00000a70| 20 69 74 20 65 61 73 79 | 20 74 6f 20 63 72 65 61 | it easy| to crea|
|00000a80| 74 65 20 6d 61 63 72 6f | 73 0a 73 75 63 68 20 61 |te macro|s.such a|
|00000a90| 73 20 4b 65 79 42 75 74 | 74 6f 6e 28 29 20 74 68 |s KeyBut|ton() th|
|00000aa0| 61 74 20 73 70 65 63 69 | 66 79 20 74 68 65 20 63 |at speci|fy the c|
|00000ab0| 6f 6e 74 72 6f 6c 20 63 | 68 61 72 0a 61 6e 64 20 |ontrol c|har.and |
|00000ac0| 74 68 65 20 75 6e 64 65 | 72 6c 69 6e 65 20 63 68 |the unde|rline ch|
|00000ad0| 61 72 20 61 74 20 74 68 | 65 20 73 61 6d 65 20 74 |ar at th|e same t|
|00000ae0| 69 6d 65 2e 0a 0a 5c 73 | 75 62 73 75 62 73 65 63 |ime...\s|ubsubsec|
|00000af0| 74 69 6f 6e 2a 7b 53 45 | 45 20 41 4c 53 4f 7d 0a |tion*{SE|E ALSO}.|
|00000b00| 4d 55 49 41 5c 5f 54 65 | 78 74 5c 5f 43 6f 6e 74 |MUIA\_Te|xt\_Cont|
|00000b10| 65 6e 74 73 2c 20 4d 55 | 49 41 5c 5f 43 6f 6e 74 |ents, MU|IA\_Cont|
|00000b20| 72 6f 6c 5c 5f 43 68 61 | 72 0a 0a 5c 73 75 62 73 |rol\_Cha|r..\subs|
|00000b30| 65 63 74 69 6f 6e 5b 4d | 55 49 41 5c 5f 54 65 78 |ection[M|UIA\_Tex|
|00000b40| 74 5c 5f 50 72 65 50 61 | 72 73 65 5d 7b 4d 55 49 |t\_PrePa|rse]{MUI|
|00000b50| 41 5c 5f 54 65 78 74 5c | 5f 50 72 65 50 61 72 73 |A\_Text\|_PrePars|
|00000b60| 65 20 2d 2d 20 28 56 34 | 29 20 5b 49 53 47 5d 2c |e -- (V4|) [ISG],|
|00000b70| 20 53 54 52 50 54 52 7d | 0a 0a 5c 73 75 62 73 75 | STRPTR}|..\subsu|
|00000b80| 62 73 65 63 74 69 6f 6e | 2a 7b 46 55 4e 43 54 49 |bsection|*{FUNCTI|
|00000b90| 4f 4e 7d 0a 53 74 72 69 | 6e 67 20 63 6f 6e 74 61 |ON}.Stri|ng conta|
|00000ba0| 69 6e 69 6e 67 20 66 6f | 72 6d 61 74 20 64 65 66 |ining fo|rmat def|
|00000bb0| 69 6e 69 74 69 6f 6e 73 | 20 74 6f 20 62 65 20 70 |initions| to be p|
|00000bc0| 61 72 73 65 64 20 62 65 | 66 6f 72 65 0a 74 68 65 |arsed be|fore.the|
|00000bd0| 20 74 65 78 74 20 66 72 | 6f 6d 20 4d 55 49 41 5c | text fr|om MUIA\|
|00000be0| 5f 54 65 78 74 5c 5f 43 | 6f 6e 74 65 6e 74 73 20 |_Text\_C|ontents |
|00000bf0| 69 73 20 70 72 69 6e 74 | 65 64 2e 0a 0a 55 73 69 |is print|ed...Usi|
|00000c00| 6e 67 20 74 68 69 73 20 | 74 61 67 2c 20 79 6f 75 |ng this |tag, you|
|00000c10| 20 63 61 6e 20 65 61 73 | 69 6c 79 20 64 65 66 69 | can eas|ily defi|
|00000c20| 6e 65 20 64 69 66 66 65 | 72 65 6e 74 20 66 6f 72 |ne diffe|rent for|
|00000c30| 6d 61 74 73 2c 0a 63 6f | 6c 6f 72 73 20 61 6e 64 |mats,.co|lors and|
|00000c40| 20 73 74 79 6c 65 73 20 | 77 69 74 68 6f 75 74 20 | styles |without |
|00000c50| 6d 6f 64 69 66 79 69 6e | 67 20 74 68 65 20 6f 72 |modifyin|g the or|
|00000c60| 69 67 69 6e 61 6c 20 73 | 74 72 69 6e 67 2e 0a 0a |iginal s|tring...|
|00000c70| 5c 73 75 62 73 75 62 73 | 65 63 74 69 6f 6e 2a 7b |\subsubs|ection*{|
|00000c80| 45 58 41 4d 50 4c 45 7d | 0a 5c 73 6d 61 6c 6c 0a |EXAMPLE}|.\small.|
|00000c90| 5c 62 65 67 69 6e 7b 76 | 65 72 62 61 74 69 6d 7d |\begin{v|erbatim}|
|00000ca0| 0a 2e 2e 2e 0a 4d 55 49 | 41 5f 54 65 78 74 5f 50 |.....MUI|A_Text_P|
|00000cb0| 72 65 50 61 72 73 65 2c | 20 22 5c 33 33 63 5c 33 |reParse,| "\33c\3|
|00000cc0| 33 69 22 2c 20 20 20 2f | 2f 20 63 65 6e 74 65 72 |3i", /|/ center|
|00000cd0| 65 64 20 61 6e 64 20 69 | 74 61 6c 69 63 73 0a 4d |ed and i|talics.M|
|00000ce0| 55 49 41 5f 54 65 78 74 | 5f 43 6f 6e 74 65 6e 74 |UIA_Text|_Content|
|00000cf0| 73 2c 20 22 66 6f 6f 62 | 61 72 22 2c 0a 2e 2e 2e |s, "foob|ar",....|
|00000d00| 0a 0a 20 20 20 20 53 45 | 45 5f 41 4c 53 4f 0a 4d |.. SE|E_ALSO.M|
|00000d10| 55 49 41 5f 54 65 78 74 | 5f 43 6f 6e 74 65 6e 74 |UIA_Text|_Content|
|00000d20| 73 0a 0a 5c 65 6e 64 7b | 76 65 72 62 61 74 69 6d |s..\end{|verbatim|
|00000d30| 7d 0a 5c 6e 6f 72 6d 61 | 6c 73 69 7a 65 0a 5c 73 |}.\norma|lsize.\s|
|00000d40| 75 62 73 65 63 74 69 6f | 6e 5b 4d 55 49 41 5c 5f |ubsectio|n[MUIA\_|
|00000d50| 54 65 78 74 5c 5f 53 65 | 74 4d 61 78 5d 7b 4d 55 |Text\_Se|tMax]{MU|
|00000d60| 49 41 5c 5f 54 65 78 74 | 5c 5f 53 65 74 4d 61 78 |IA\_Text|\_SetMax|
|00000d70| 20 2d 2d 20 28 56 34 29 | 20 5b 49 2e 2e 5d 2c 20 | -- (V4)| [I..], |
|00000d80| 42 4f 4f 4c 7d 0a 0a 5c | 73 75 62 73 75 62 73 65 |BOOL}..\|subsubse|
|00000d90| 63 74 69 6f 6e 2a 7b 46 | 55 4e 43 54 49 4f 4e 7d |ction*{F|UNCTION}|
|00000da0| 0a 42 6f 6f 6c 65 61 6e | 20 76 61 6c 75 65 20 74 |.Boolean| value t|
|00000db0| 6f 20 69 6e 64 69 63 61 | 74 65 20 77 65 74 68 65 |o indica|te wethe|
|00000dc0| 72 20 74 68 65 20 6f 62 | 6a 65 63 74 73 20 6d 61 |r the ob|jects ma|
|00000dd0| 78 69 6d 61 6c 20 77 69 | 64 74 68 0a 73 68 61 6c |ximal wi|dth.shal|
|00000de0| 6c 20 62 65 20 63 61 6c | 63 75 6c 61 74 65 64 20 |l be cal|culated |
|00000df0| 74 6f 20 66 69 74 20 74 | 68 65 20 73 74 72 69 6e |to fit t|he strin|
|00000e00| 67 20 67 69 76 65 6e 20 | 77 69 74 68 0a 4d 55 49 |g given |with.MUI|
|00000e10| 41 5c 5f 54 65 78 74 5c | 5f 43 6f 6e 74 65 6e 74 |A\_Text\|_Content|
|00000e20| 73 2e 0a 0a 57 68 65 6e | 20 73 65 74 20 74 6f 20 |s...When| set to |
|00000e30| 46 41 4c 53 45 2c 20 6d | 61 78 69 6d 75 6d 20 77 |FALSE, m|aximum w|
|00000e40| 69 64 74 68 20 69 73 20 | 6e 6f 74 20 6c 69 6d 69 |idth is |not limi|
|00000e50| 74 65 64 2e 0a 0a 46 6f | 72 20 61 20 74 65 78 74 |ted...Fo|r a text|
|00000e60| 20 6f 62 6a 65 63 74 20 | 74 68 61 74 20 6e 65 65 | object |that nee|
|00000e70| 64 73 20 74 6f 20 62 65 | 20 75 70 64 61 74 65 64 |ds to be| updated|
|00000e80| 20 28 65 2e 67 2e 20 73 | 6f 6d 65 0a 69 6e 66 6f | (e.g. s|ome.info|
|00000e90| 72 6d 61 74 69 6f 6e 20 | 61 62 6f 75 74 20 79 6f |rmation |about yo|
|00000ea0| 75 72 20 70 72 6f 67 72 | 61 6d 73 20 73 74 61 74 |ur progr|ams stat|
|00000eb0| 75 73 29 20 79 6f 75 20 | 77 6f 75 6c 64 20 70 72 |us) you |would pr|
|00000ec0| 6f 62 61 62 6c 79 0a 73 | 65 74 20 4d 55 49 41 5c |obably.s|et MUIA\|
|00000ed0| 5f 54 65 78 74 5c 5f 53 | 65 74 4d 61 78 20 74 6f |_Text\_S|etMax to|
|00000ee0| 20 46 41 4c 53 45 20 74 | 6f 20 61 6c 6c 6f 77 20 | FALSE t|o allow |
|00000ef0| 72 65 73 69 7a 69 6e 67 | 20 6f 66 20 74 68 69 73 |resizing| of this|
|00000f00| 0a 6f 62 6a 65 63 74 2e | 0a 0a 46 6f 72 20 61 20 |.object.|..For a |
|00000f10| 6c 61 62 65 6c 20 66 6f | 72 20 6f 6e 65 20 6f 66 |label fo|r one of|
|00000f20| 20 79 6f 75 72 20 67 61 | 64 67 65 74 73 2c 20 79 | your ga|dgets, y|
|00000f30| 6f 75 20 6d 69 67 68 74 | 20 77 61 6e 74 20 74 6f |ou might| want to|
|00000f40| 0a 67 69 76 65 20 74 68 | 69 73 20 74 61 67 20 61 |.give th|is tag a|
|00000f50| 20 76 61 6c 75 65 20 6f | 66 20 54 52 55 45 20 74 | value o|f TRUE t|
|00000f60| 6f 20 70 72 65 76 65 6e | 74 20 4d 55 49 20 66 72 |o preven|t MUI fr|
|00000f70| 6f 6d 0a 69 6e 73 65 72 | 74 69 6e 67 20 61 64 64 |om.inser|ting add|
|00000f80| 69 74 69 6f 6e 61 6c 20 | 6c 61 79 6f 75 74 20 73 |itional |layout s|
|00000f90| 70 61 63 65 2e 0a 0a 44 | 65 66 61 75 6c 74 73 20 |pace...D|efaults |
|00000fa0| 74 6f 20 46 41 4c 53 45 | 2e 0a 0a 5c 73 75 62 73 |to FALSE|...\subs|
|00000fb0| 75 62 73 65 63 74 69 6f | 6e 2a 7b 45 58 41 4d 50 |ubsectio|n*{EXAMP|
|00000fc0| 4c 45 7d 0a 5c 73 6d 61 | 6c 6c 0a 5c 62 65 67 69 |LE}.\sma|ll.\begi|
|00000fd0| 6e 7b 76 65 72 62 61 74 | 69 6d 7d 0a 2e 2e 2e 0a |n{verbat|im}.....|
|00000fe0| 54 58 5f 53 74 61 74 75 | 73 20 3d 20 54 65 78 74 |TX_Statu|s = Text|
|00000ff0| 4f 62 6a 65 63 74 2c 0a | 20 20 20 52 65 63 65 73 |Object,.| Reces|
|00001000| 73 65 64 46 72 61 6d 65 | 2c 0a 20 20 20 4d 55 49 |sedFrame|,. MUI|
|00001010| 41 5f 42 61 63 6b 67 72 | 6f 75 6e 64 20 20 20 2c |A_Backgr|ound ,|
|00001020| 20 4d 55 49 49 5f 42 41 | 43 4b 47 52 4f 55 4e 44 | MUII_BA|CKGROUND|
|00001030| 2c 0a 20 20 20 4d 55 49 | 41 5f 54 65 78 74 5f 50 |,. MUI|A_Text_P|
|00001040| 72 65 50 61 72 73 65 2c | 20 22 5c 33 33 63 22 2c |reParse,| "\33c",|
|00001050| 0a 20 20 20 4d 55 49 41 | 5f 54 65 78 74 5f 43 6f |. MUIA|_Text_Co|
|00001060| 6e 74 65 6e 74 73 2c 20 | 22 72 75 6e 6e 69 6e 67 |ntents, |"running|
|00001070| 2e 2e 2e 22 2c 0a 20 20 | 20 45 6e 64 2c 0a 2e 2e |...",. | End,...|
|00001080| 2e 0a 73 65 74 28 54 58 | 5f 53 74 61 74 75 73 2c |..set(TX|_Status,|
|00001090| 4d 55 49 41 5f 54 65 78 | 74 5f 43 6f 6e 74 65 6e |MUIA_Tex|t_Conten|
|000010a0| 74 73 2c 22 72 65 61 64 | 69 6e 67 2e 2e 2e 22 29 |ts,"read|ing...")|
|000010b0| 3b 0a 2e 2e 2e 0a 73 65 | 74 28 54 58 5f 53 74 61 |;.....se|t(TX_Sta|
|000010c0| 74 75 73 2c 4d 55 49 41 | 5f 54 65 78 74 5f 43 6f |tus,MUIA|_Text_Co|
|000010d0| 6e 74 65 6e 74 73 2c 22 | 77 72 69 74 69 6e 67 2e |ntents,"|writing.|
|000010e0| 2e 2e 22 29 3b 0a 2e 2e | 2e 0a 0a 20 20 20 20 53 |..");...|... S|
|000010f0| 45 45 5f 41 4c 53 4f 0a | 4d 55 49 41 5f 54 65 78 |EE_ALSO.|MUIA_Tex|
|00001100| 74 5f 53 65 74 4d 69 6e | 2c 20 4d 55 49 41 5f 54 |t_SetMin|, MUIA_T|
|00001110| 65 78 74 5f 43 6f 6e 74 | 65 6e 74 73 0a 0a 5c 65 |ext_Cont|ents..\e|
|00001120| 6e 64 7b 76 65 72 62 61 | 74 69 6d 7d 0a 5c 6e 6f |nd{verba|tim}.\no|
|00001130| 72 6d 61 6c 73 69 7a 65 | 0a 5c 73 75 62 73 65 63 |rmalsize|.\subsec|
|00001140| 74 69 6f 6e 5b 4d 55 49 | 41 5c 5f 54 65 78 74 5c |tion[MUI|A\_Text\|
|00001150| 5f 53 65 74 4d 69 6e 5d | 7b 4d 55 49 41 5c 5f 54 |_SetMin]|{MUIA\_T|
|00001160| 65 78 74 5c 5f 53 65 74 | 4d 69 6e 20 2d 2d 20 28 |ext\_Set|Min -- (|
|00001170| 56 34 29 20 5b 49 2e 2e | 5d 2c 20 42 4f 4f 4c 7d |V4) [I..|], BOOL}|
|00001180| 0a 0a 5c 73 75 62 73 75 | 62 73 65 63 74 69 6f 6e |..\subsu|bsection|
|00001190| 2a 7b 46 55 4e 43 54 49 | 4f 4e 7d 0a 42 6f 6f 6c |*{FUNCTI|ON}.Bool|
|000011a0| 65 61 6e 20 76 61 6c 75 | 65 20 74 6f 20 69 6e 64 |ean valu|e to ind|
|000011b0| 69 63 61 74 65 20 77 65 | 74 68 65 72 20 74 68 65 |icate we|ther the|
|000011c0| 20 6f 62 6a 65 63 74 73 | 20 6d 69 6e 69 6d 61 6c | objects| minimal|
|000011d0| 20 77 69 64 74 68 0a 73 | 68 61 6c 6c 20 62 65 20 | width.s|hall be |
|000011e0| 63 61 6c 63 75 6c 61 74 | 65 64 20 74 6f 20 66 69 |calculat|ed to fi|
|000011f0| 74 20 74 68 65 20 73 74 | 72 69 6e 67 20 67 69 76 |t the st|ring giv|
|00001200| 65 6e 20 77 69 74 68 0a | 4d 55 49 41 5c 5f 54 65 |en with.|MUIA\_Te|
|00001210| 78 74 5c 5f 43 6f 6e 74 | 65 6e 74 73 2e 0a 0a 57 |xt\_Cont|ents...W|
|00001220| 68 65 6e 20 73 65 74 20 | 74 6f 20 46 41 4c 53 45 |hen set |to FALSE|
|00001230| 2c 20 6d 69 6e 69 6d 75 | 6d 20 77 69 64 74 68 20 |, minimu|m width |
|00001240| 77 69 6c 6c 20 62 65 20 | 73 65 74 20 74 6f 20 30 |will be |set to 0|
|00001250| 0a 61 6e 64 20 74 68 65 | 20 64 69 73 70 6c 61 79 |.and the| display|
|00001260| 65 64 20 73 74 72 69 6e | 67 20 6d 61 79 20 62 65 |ed strin|g may be|
|00001270| 20 63 6c 69 70 70 65 64 | 2e 0a 0a 44 65 66 61 75 | clipped|...Defau|
|00001280| 6c 74 73 20 74 6f 20 54 | 52 55 45 2e 0a 0a 53 45 |lts to T|RUE...SE|
|00001290| 45 5c 5f 41 4c 53 4f 0a | 4d 55 49 41 5c 5f 54 65 |E\_ALSO.|MUIA\_Te|
|000012a0| 78 74 5c 5f 53 65 74 4d | 61 78 2c 20 4d 55 49 41 |xt\_SetM|ax, MUIA|
|000012b0| 5c 5f 54 65 78 74 5c 5f | 43 6f 6e 74 65 6e 74 73 |\_Text\_|Contents|
|000012c0| 0a 0a 0a 0a | |.... | |
+--------+-------------------------+-------------------------+--------+--------+