home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 9 / FreshFishVol9-CD2.bin / bbs / docs / mui_autodocs-2.3.lha / MUI_Autodocs / Source / mui_boopsi.tex < prev    next >
LaTeX Document  |  1994-12-31  |  11.6 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 42 6f 6f 70 73 69 2e |\section|{Boopsi.|
|00000010| 6d 75 69 7d 0a 0a 4d 55 | 49 27 73 20 62 6f 6f 70 |mui}..MU|I's boop|
|00000020| 73 69 20 63 6c 61 73 73 | 20 70 72 6f 76 69 64 65 |si class| provide|
|00000030| 73 20 61 6e 20 69 6e 74 | 65 72 66 61 63 65 20 74 |s an int|erface t|
|00000040| 6f 20 73 74 61 6e 64 61 | 72 64 2c 0a 73 79 73 74 |o standa|rd,.syst|
|00000050| 65 6d 20 73 74 79 6c 65 | 20 62 6f 6f 70 73 69 20 |em style| boopsi |
|00000060| 67 61 64 67 65 74 73 2e | 20 53 69 6e 63 65 20 62 |gadgets.| Since b|
|00000070| 6f 6f 70 73 69 73 20 67 | 61 64 67 65 74 63 6c 61 |oopsis g|adgetcla|
|00000080| 73 73 0a 6d 69 73 73 65 | 73 20 73 6f 6d 65 20 69 |ss.misse|s some i|
|00000090| 6d 70 6f 72 74 61 6e 74 | 20 66 65 61 74 75 72 65 |mportant| feature|
|000000a0| 73 20 6e 65 65 64 65 64 | 20 66 6f 72 20 61 6e 20 |s needed| for an |
|000000b0| 61 75 74 6f 6d 61 74 69 | 63 0a 6c 61 79 6f 75 74 |automati|c.layout|
|000000c0| 20 73 79 73 74 65 6d 20 | 6c 69 6b 65 20 4d 55 49 | system |like MUI|
|000000d0| 2c 20 74 68 65 72 65 20 | 61 72 65 20 73 65 76 65 |, there |are seve|
|000000e0| 72 61 6c 20 70 72 6f 62 | 6c 65 6d 73 20 77 69 74 |ral prob|lems wit|
|000000f0| 68 0a 73 75 63 68 20 61 | 6e 20 69 6e 74 65 72 66 |h.such a|n interf|
|00000100| 61 63 65 2e 20 4d 55 49 | 20 74 72 69 65 73 20 74 |ace. MUI| tries t|
|00000110| 6f 20 73 6f 6c 76 65 20 | 74 68 65 73 65 20 70 72 |o solve |these pr|
|00000120| 6f 62 6c 65 6d 73 0a 77 | 69 74 68 20 73 6f 6d 65 |oblems.w|ith some|
|00000130| 20 61 64 64 69 74 69 6f | 6e 61 6c 20 61 74 74 72 | additio|nal attr|
|00000140| 69 62 75 74 65 73 2e 0a | 0a 43 6f 6d 69 6e 67 20 |ibutes..|.Coming |
|00000150| 77 69 74 68 20 72 65 6c | 65 61 73 65 20 33 2e 78 |with rel|ease 3.x|
|00000160| 20 6f 66 20 74 68 65 20 | 61 6d 69 67 61 20 6f 70 | of the |amiga op|
|00000170| 65 72 61 74 69 6e 67 20 | 73 79 73 74 65 6d 20 61 |erating |system a|
|00000180| 72 65 0a 73 6f 6d 65 20 | 76 65 72 79 20 6e 69 63 |re.some |very nic|
|00000190| 65 20 62 6f 6f 70 73 69 | 20 67 61 64 67 65 74 73 |e boopsi| gadgets|
|000001a0| 20 73 75 63 68 20 61 73 | 20 27 27 63 6f 6c 6f 72 | such as| ''color|
|000001b0| 77 68 65 65 6c 2e 67 61 | 64 67 65 74 27 27 0a 6f |wheel.ga|dget''.o|
|000001c0| 72 20 27 27 67 72 61 64 | 69 65 6e 74 73 6c 69 64 |r ''grad|ientslid|
|000001d0| 65 72 2e 67 61 64 67 65 | 74 27 27 2e 20 57 69 74 |er.gadge|t''. Wit|
|000001e0| 68 20 4d 55 49 27 73 20 | 62 6f 6f 70 73 69 20 63 |h MUI's |boopsi c|
|000001f0| 6c 61 73 73 2c 20 79 6f | 75 0a 63 61 6e 20 75 73 |lass, yo|u.can us|
|00000200| 65 20 74 68 65 73 65 20 | 67 61 64 67 65 74 73 20 |e these |gadgets |
|00000210| 6a 75 73 74 20 61 73 20 | 69 66 20 74 68 65 79 20 |just as |if they |
|00000220| 77 65 72 65 20 4d 55 49 | 20 6f 62 6a 65 63 74 73 |were MUI| objects|
|00000230| 2e 0a 0a 59 6f 75 20 63 | 61 6e 20 74 61 6c 6b 20 |...You c|an talk |
|00000240| 74 6f 20 61 20 4d 55 49 | 69 7a 65 64 20 62 6f 6f |to a MUI|ized boo|
|00000250| 70 73 69 20 6f 62 6a 65 | 63 74 20 61 73 20 69 66 |psi obje|ct as if|
|00000260| 20 69 74 20 77 61 73 20 | 74 68 65 0a 62 6f 6f 70 | it was |the.boop|
|00000270| 73 69 20 6f 62 6a 65 63 | 74 20 69 74 73 65 6c 66 |si objec|t itself|
|00000280| 2e 20 4d 55 49 20 77 69 | 6c 6c 20 70 61 73 73 20 |. MUI wi|ll pass |
|00000290| 74 68 72 6f 75 67 68 20 | 61 6c 6c 20 61 74 74 72 |through |all attr|
|000002a0| 69 62 75 74 65 73 0a 61 | 6e 64 20 74 72 79 20 74 |ibutes.a|nd try t|
|000002b0| 6f 20 62 65 20 63 6f 6d | 70 6c 65 74 65 6c 79 20 |o be com|pletely |
|000002c0| 74 72 61 6e 73 70 61 72 | 65 6e 74 2e 20 41 64 64 |transpar|ent. Add|
|000002d0| 69 74 69 6f 6e 61 6c 6c | 79 2c 20 69 66 0a 61 20 |itionall|y, if.a |
|000002e0| 62 6f 6f 70 73 69 20 6f | 62 6a 65 63 74 20 67 65 |boopsi o|bject ge|
|000002f0| 6e 65 72 61 74 65 73 20 | 6e 6f 74 69 66 69 63 61 |nerates |notifica|
|00000300| 74 69 6f 6e 20 65 76 65 | 6e 74 73 20 76 69 61 0a |tion eve|nts via.|
|00000310| 49 44 43 4d 50 5c 5f 55 | 50 44 41 54 45 2c 20 4d |IDCMP\_U|PDATE, M|
|00000320| 55 49 20 74 75 72 6e 73 | 20 74 68 65 6d 20 69 6e |UI turns| them in|
|00000330| 74 6f 20 4d 55 49 20 6e | 6f 74 69 66 69 63 61 74 |to MUI n|otificat|
|00000340| 69 6f 6e 20 65 76 65 6e | 74 73 2e 0a 54 68 75 73 |ion even|ts..Thus|
|00000350| 2c 20 79 6f 75 20 63 61 | 6e 20 65 2e 67 2e 20 72 |, you ca|n e.g. r|
|00000360| 65 61 63 74 20 6f 6e 20 | 74 68 65 20 63 68 61 6e |eact on |the chan|
|00000370| 67 65 20 6f 66 20 57 48 | 45 45 4c 5c 5f 53 61 74 |ge of WH|EEL\_Sat|
|00000380| 75 72 61 74 69 6f 6e 0a | 69 6e 20 61 20 4d 55 49 |uration.|in a MUI|
|00000390| 20 63 6f 6c 6f 72 77 68 | 65 65 6c 20 62 6f 6f 70 | colorwh|eel boop|
|000003a0| 73 69 20 67 61 64 67 65 | 74 20 61 73 20 6f 6e 20 |si gadge|t as on |
|000003b0| 61 6e 79 20 6f 74 68 65 | 72 20 4d 55 49 0a 61 74 |any othe|r MUI.at|
|000003c0| 74 72 69 62 75 74 65 2e | 0a 0a 41 6e 20 65 78 61 |tribute.|..An exa|
|000003d0| 6d 70 6c 65 20 70 72 6f | 67 72 61 6d 20 27 27 42 |mple pro|gram ''B|
|000003e0| 6f 6f 70 73 69 44 6f 6f | 72 2e 63 27 27 20 69 73 |oopsiDoo|r.c'' is|
|000003f0| 20 70 72 6f 76 69 64 65 | 64 20 74 6f 20 73 68 6f | provide|d to sho|
|00000400| 77 0a 68 6f 77 20 74 68 | 69 73 20 6d 61 67 69 63 |w.how th|is magic|
|00000410| 20 77 6f 72 6b 73 2e 0a | 0a 5c 73 75 62 73 75 62 | works..|.\subsub|
|00000420| 73 65 63 74 69 6f 6e 2a | 7b 4e 4f 54 45 7d 0a 4f |section*|{NOTE}.O|
|00000430| 53 20 33 2e 30 2f 33 2e | 31 20 63 6f 6c 6f 72 77 |S 3.0/3.|1 colorw|
|00000440| 68 65 65 6c 2e 67 61 64 | 67 65 74 20 63 61 6e 20 |heel.gad|get can |
|00000450| 61 63 63 69 64 65 6e 74 | 6c 79 20 72 65 6e 64 65 |accident|ly rende|
|00000460| 72 20 69 74 73 65 6c 66 | 0a 6f 6e 65 20 70 69 78 |r itself|.one pix|
|00000470| 65 6c 20 74 6f 6f 20 62 | 69 67 2c 20 6f 76 65 72 |el too b|ig, over|
|00000480| 77 72 69 74 69 6e 67 20 | 6f 74 68 65 72 20 70 61 |writing |other pa|
|00000490| 72 74 73 20 6f 66 20 74 | 68 65 20 77 69 6e 64 6f |rts of t|he windo|
|000004a0| 77 2e 0a 41 73 20 61 20 | 77 6f 72 6b 61 72 6f 75 |w..As a |workarou|
|000004b0| 6e 64 2c 20 4d 55 49 20 | 77 69 6c 6c 20 73 75 62 |nd, MUI |will sub|
|000004c0| 74 72 61 63 74 20 6f 6e | 65 20 66 72 6f 6d 20 74 |tract on|e from t|
|000004d0| 68 65 20 77 69 64 74 68 | 2f 68 65 69 67 68 74 0a |he width|/height.|
|000004e0| 62 65 66 6f 72 65 20 70 | 61 73 73 69 6e 67 20 69 |before p|assing i|
|000004f0| 74 20 6f 6e 20 74 6f 20 | 61 20 63 6f 6c 6f 72 77 |t on to |a colorw|
|00000500| 68 65 65 6c 20 62 6f 6f | 70 73 69 20 6f 62 6a 65 |heel boo|psi obje|
|00000510| 63 74 2e 0a 0a 5c 73 75 | 62 73 65 63 74 69 6f 6e |ct...\su|bsection|
|00000520| 5b 4d 55 49 41 5c 5f 42 | 6f 6f 70 73 69 5c 5f 43 |[MUIA\_B|oopsi\_C|
|00000530| 6c 61 73 73 5d 7b 4d 55 | 49 41 5c 5f 42 6f 6f 70 |lass]{MU|IA\_Boop|
|00000540| 73 69 5c 5f 43 6c 61 73 | 73 20 2d 2d 20 28 56 34 |si\_Clas|s -- (V4|
|00000550| 29 20 5b 49 53 47 5d 2c | 20 73 74 72 75 63 74 20 |) [ISG],| struct |
|00000560| 49 43 6c 61 73 73 20 24 | 5c 61 73 74 24 7d 0a 0a |IClass $|\ast$}..|
|00000570| 5c 73 75 62 73 75 62 73 | 65 63 74 69 6f 6e 2a 7b |\subsubs|ection*{|
|00000580| 46 55 4e 43 54 49 4f 4e | 7d 0a 50 6f 69 6e 74 65 |FUNCTION|}.Pointe|
|00000590| 72 20 74 6f 20 74 68 65 | 20 28 70 72 69 76 61 74 |r to the| (privat|
|000005a0| 65 29 20 63 6c 61 73 73 | 20 79 6f 75 20 77 61 6e |e) class| you wan|
|000005b0| 74 20 74 6f 20 63 72 65 | 61 74 65 20 61 20 62 6f |t to cre|ate a bo|
|000005c0| 6f 70 73 69 0a 6f 62 6a | 65 63 74 20 66 72 6f 6d |opsi.obj|ect from|
|000005d0| 2e 20 4f 6e 6c 79 20 75 | 73 65 66 75 6c 20 69 66 |. Only u|seful if|
|000005e0| 20 79 6f 75 20 70 72 65 | 76 69 6f 75 73 6c 79 20 | you pre|viously |
|000005f0| 67 65 6e 65 72 61 74 65 | 64 20 79 6f 75 72 0a 6f |generate|d your.o|
|00000600| 77 6e 20 62 6f 6f 70 73 | 69 20 63 6c 61 73 73 20 |wn boops|i class |
|00000610| 77 69 74 68 20 4d 61 6b | 65 43 6c 61 73 73 28 29 |with Mak|eClass()|
|00000620| 2e 0a 0a 4f 66 20 63 6f | 75 72 73 65 20 79 6f 75 |...Of co|urse you|
|00000630| 20 6d 61 79 20 6e 6f 74 | 20 66 72 65 65 20 74 68 | may not| free th|
|00000640| 65 20 63 6c 61 73 73 20 | 75 6e 74 69 6c 20 79 6f |e class |until yo|
|00000650| 75 27 72 65 20 64 6f 6e | 65 0a 77 69 74 68 20 79 |u're don|e.with y|
|00000660| 6f 75 72 20 6f 62 6a 65 | 63 74 2e 0a 0a 5c 73 75 |our obje|ct...\su|
|00000670| 62 73 75 62 73 65 63 74 | 69 6f 6e 2a 7b 53 45 45 |bsubsect|ion*{SEE|
|00000680| 20 41 4c 53 4f 7d 0a 4d | 55 49 41 5c 5f 42 6f 6f | ALSO}.M|UIA\_Boo|
|00000690| 70 73 69 5c 5f 43 6c 61 | 73 73 49 44 0a 0a 5c 73 |psi\_Cla|ssID..\s|
|000006a0| 75 62 73 65 63 74 69 6f | 6e 5b 4d 55 49 41 5c 5f |ubsectio|n[MUIA\_|
|000006b0| 42 6f 6f 70 73 69 5c 5f | 43 6c 61 73 73 49 44 5d |Boopsi\_|ClassID]|
|000006c0| 7b 4d 55 49 41 5c 5f 42 | 6f 6f 70 73 69 5c 5f 43 |{MUIA\_B|oopsi\_C|
|000006d0| 6c 61 73 73 49 44 20 2d | 2d 20 28 56 34 29 20 5b |lassID -|- (V4) [|
|000006e0| 49 53 47 5d 2c 20 63 68 | 61 72 20 24 5c 61 73 74 |ISG], ch|ar $\ast|
|000006f0| 24 7d 0a 0a 5c 73 75 62 | 73 75 62 73 65 63 74 69 |$}..\sub|subsecti|
|00000700| 6f 6e 2a 7b 46 55 4e 43 | 54 49 4f 4e 7d 0a 4d 55 |on*{FUNC|TION}.MU|
|00000710| 49 41 5c 5f 42 6f 6f 70 | 73 69 5c 5f 43 6c 61 73 |IA\_Boop|si\_Clas|
|00000720| 73 49 44 20 73 70 65 63 | 69 66 69 65 73 20 74 68 |sID spec|ifies th|
|00000730| 65 20 6e 61 6d 65 20 66 | 6f 72 20 74 68 65 20 70 |e name f|or the p|
|00000740| 75 62 6c 69 63 0a 42 6f | 6f 70 73 69 20 63 6c 61 |ublic.Bo|opsi cla|
|00000750| 73 73 20 79 6f 75 20 77 | 61 6e 74 20 74 6f 20 63 |ss you w|ant to c|
|00000760| 72 65 61 74 65 20 61 6e | 20 6f 62 6a 65 63 74 20 |reate an| object |
|00000770| 6f 66 2e 20 49 74 20 77 | 69 6c 6c 0a 6f 6e 6c 79 |of. It w|ill.only|
|00000780| 20 62 65 20 75 73 65 64 | 20 77 68 65 6e 20 4d 55 | be used| when MU|
|00000790| 49 41 5c 5f 42 6f 6f 70 | 73 69 5c 5f 43 6c 61 73 |IA\_Boop|si\_Clas|
|000007a0| 73 20 69 73 20 4e 55 4c | 4c 2e 0a 0a 54 68 65 20 |s is NUL|L...The |
|000007b0| 70 75 62 6c 69 63 20 63 | 6c 61 73 73 20 6d 75 73 |public c|lass mus|
|000007c0| 74 20 62 65 20 69 6e 20 | 6d 65 6d 6f 72 79 20 62 |t be in |memory b|
|000007d0| 65 66 6f 72 65 20 79 6f | 75 20 63 61 6e 20 63 72 |efore yo|u can cr|
|000007e0| 65 61 74 65 0a 61 6e 20 | 69 6e 73 74 61 6e 63 65 |eate.an |instance|
|000007f0| 20 6f 66 20 69 74 2c 20 | 79 6f 75 20 77 69 6c 6c | of it, |you will|
|00000800| 20 68 61 76 65 20 74 6f | 20 6f 70 65 6e 20 74 68 | have to| open th|
|00000810| 65 20 72 65 71 75 69 72 | 65 64 20 63 6c 61 73 73 |e requir|ed class|
|00000820| 0a 6c 69 62 72 61 72 79 | 20 62 79 20 68 61 6e 64 |.library| by hand|
|00000830| 2e 0a 0a 4e 6f 74 65 20 | 74 68 65 20 73 74 72 69 |...Note |the stri|
|00000840| 6e 67 20 67 69 76 65 6e | 20 74 6f 20 4d 55 49 41 |ng given| to MUIA|
|00000850| 5c 5f 42 6f 6f 70 73 69 | 5c 5f 43 6c 61 73 73 49 |\_Boopsi|\_ClassI|
|00000860| 44 20 6d 75 73 74 20 72 | 65 6d 61 69 6e 0a 76 61 |D must r|emain.va|
|00000870| 6c 69 64 20 75 6e 74 69 | 6c 20 79 6f 75 27 72 65 |lid unti|l you're|
|00000880| 20 64 6f 6e 65 20 77 69 | 74 68 20 74 68 65 20 6f | done wi|th the o|
|00000890| 62 6a 65 63 74 2e 0a 0a | 5c 73 75 62 73 75 62 73 |bject...|\subsubs|
|000008a0| 65 63 74 69 6f 6e 2a 7b | 45 58 41 4d 50 4c 45 7d |ection*{|EXAMPLE}|
|000008b0| 0a 5c 73 6d 61 6c 6c 0a | 5c 62 65 67 69 6e 7b 76 |.\small.|\begin{v|
|000008c0| 65 72 62 61 74 69 6d 7d | 0a 0a 2f 2a 20 43 6f 6d |erbatim}|../* Com|
|000008d0| 70 6c 65 74 65 20 65 78 | 61 6d 70 6c 65 20 63 6f |plete ex|ample co|
|000008e0| 64 65 20 63 61 6e 20 62 | 65 20 66 6f 75 6e 64 20 |de can b|e found |
|000008f0| 69 6e 20 42 6f 6f 70 73 | 69 44 6f 6f 72 2e 63 20 |in Boops|iDoor.c |
|00000900| 2a 2f 0a 0a 63 77 62 61 | 73 65 20 3d 20 4f 70 65 |*/..cwba|se = Ope|
|00000910| 6e 4c 69 62 72 61 72 79 | 28 22 67 61 64 67 65 74 |nLibrary|("gadget|
|00000920| 73 2f 63 6f 6c 6f 72 77 | 68 65 65 6c 2e 67 61 64 |s/colorw|heel.gad|
|00000930| 67 65 74 22 2c 30 29 3b | 0a 0a 57 68 65 65 6c 20 |get",0);|..Wheel |
|00000940| 3d 20 42 6f 6f 70 73 69 | 4f 62 6a 65 63 74 2c 20 |= Boopsi|Object, |
|00000950| 20 2f 2a 20 4d 55 49 20 | 61 6e 64 20 42 6f 6f 70 | /* MUI |and Boop|
|00000960| 73 69 20 74 61 67 73 20 | 6d 69 78 65 64 20 2a 2f |si tags |mixed */|
|00000970| 0a 20 20 20 4e 65 58 54 | 46 72 61 6d 65 2c 0a 20 |. NeXT|Frame,. |
|00000980| 20 20 4d 55 49 41 5f 42 | 6f 6f 70 73 69 5f 43 6c | MUIA_B|oopsi_Cl|
|00000990| 61 73 73 49 44 20 20 2c | 20 22 63 6f 6c 6f 72 77 |assID ,| "colorw|
|000009a0| 68 65 65 6c 2e 67 61 64 | 67 65 74 22 2c 0a 20 20 |heel.gad|get",. |
|000009b0| 20 4d 55 49 41 5f 42 6f | 6f 70 73 69 5f 4d 69 6e | MUIA_Bo|opsi_Min|
|000009c0| 57 69 64 74 68 20 2c 20 | 33 30 2c 20 2f 2a 20 62 |Width , |30, /* b|
|000009d0| 6f 6f 70 73 69 20 6f 62 | 6a 65 63 74 73 20 64 6f |oopsi ob|jects do|
|000009e0| 6e 27 74 20 6b 6e 6f 77 | 20 2a 2f 0a 20 20 20 4d |n't know| */. M|
|000009f0| 55 49 41 5f 42 6f 6f 70 | 73 69 5f 4d 69 6e 48 65 |UIA_Boop|si_MinHe|
|00000a00| 69 67 68 74 2c 20 33 30 | 2c 20 2f 2a 20 74 68 65 |ight, 30|, /* the|
|00000a10| 69 72 20 73 69 7a 65 73 | 2c 20 73 6f 20 77 65 20 |ir sizes|, so we |
|00000a20| 68 65 6c 70 20 20 20 2a | 2f 0a 20 20 20 4d 55 49 |help *|/. MUI|
|00000a30| 41 5f 42 6f 6f 70 73 69 | 5f 52 65 6d 65 6d 62 65 |A_Boopsi|_Remembe|
|00000a40| 72 20 2c 20 57 48 45 45 | 4c 5f 53 61 74 75 72 61 |r , WHEE|L_Satura|
|00000a50| 74 69 6f 6e 2c 20 2f 2a | 20 6b 65 65 70 20 69 6d |tion, /*| keep im|
|00000a60| 70 6f 72 74 61 6e 74 20 | 76 61 6c 75 65 73 20 2a |portant |values *|
|00000a70| 2f 0a 20 20 20 4d 55 49 | 41 5f 42 6f 6f 70 73 69 |/. MUI|A_Boopsi|
|00000a80| 5f 52 65 6d 65 6d 62 65 | 72 20 2c 20 57 48 45 45 |_Remembe|r , WHEE|
|00000a90| 4c 5f 48 75 65 2c 20 20 | 20 20 20 20 20 20 2f 2a |L_Hue, | /*|
|00000aa0| 20 64 75 72 69 6e 67 20 | 77 69 6e 64 6f 77 20 72 | during |window r|
|00000ab0| 65 73 69 7a 65 20 20 2a | 2f 0a 20 20 20 4d 55 49 |esize *|/. MUI|
|00000ac0| 41 5f 42 6f 6f 70 73 69 | 5f 54 61 67 53 63 72 65 |A_Boopsi|_TagScre|
|00000ad0| 65 6e 2c 20 57 48 45 45 | 4c 5f 53 63 72 65 65 6e |en, WHEE|L_Screen|
|00000ae0| 2c 20 2f 2a 20 74 68 69 | 73 20 6d 61 67 69 63 20 |, /* thi|s magic |
|00000af0| 66 69 6c 6c 73 20 69 6e | 20 2a 2f 0a 20 20 20 57 |fills in| */. W|
|00000b00| 48 45 45 4c 5f 53 63 72 | 65 65 6e 20 20 20 20 20 |HEEL_Scr|een |
|00000b10| 20 20 20 20 2c 20 4e 55 | 4c 4c 2c 20 20 20 20 20 | , NU|LL, |
|00000b20| 20 20 20 20 2f 2a 20 74 | 68 65 20 73 63 72 65 65 | /* t|he scree|
|00000b30| 6e 20 70 6f 69 6e 74 65 | 72 20 20 2a 2f 0a 20 20 |n pointe|r */. |
|00000b40| 20 47 41 5f 4c 65 66 74 | 20 20 20 20 20 2c 20 30 | GA_Left| , 0|
|00000b50| 2c 0a 20 20 20 47 41 5f | 54 6f 70 20 20 20 20 20 |,. GA_|Top |
|00000b60| 20 2c 20 30 2c 20 2f 2a | 20 4d 55 49 20 77 69 6c | , 0, /*| MUI wil|
|00000b70| 6c 20 61 75 74 6f 6d 61 | 74 69 63 61 6c 6c 79 20 |l automa|tically |
|00000b80| 20 20 20 20 2a 2f 0a 20 | 20 20 47 41 5f 57 69 64 | */. | GA_Wid|
|00000b90| 74 68 20 20 20 20 2c 20 | 30 2c 20 2f 2a 20 66 69 |th , |0, /* fi|
|00000ba0| 6c 6c 20 69 6e 20 74 68 | 65 20 63 6f 72 72 65 63 |ll in th|e correc|
|00000bb0| 74 20 76 61 6c 75 65 73 | 20 2a 2f 0a 20 20 20 47 |t values| */. G|
|00000bc0| 41 5f 48 65 69 67 68 74 | 20 20 20 2c 20 30 2c 0a |A_Height| , 0,.|
|00000bd0| 20 20 20 49 43 41 5f 54 | 41 52 47 45 54 20 20 2c | ICA_T|ARGET ,|
|00000be0| 20 49 43 54 41 52 47 45 | 54 5f 49 44 43 4d 50 2c | ICTARGE|T_IDCMP,|
|00000bf0| 20 2f 2a 20 6e 65 65 64 | 65 64 20 66 6f 72 20 6e | /* need|ed for n|
|00000c00| 6f 74 69 66 69 63 61 74 | 69 6f 6e 20 2a 2f 0a 20 |otificat|ion */. |
|00000c10| 20 20 45 6e 64 3b 0a 0a | 2e 2e 2e 0a 0a 4d 55 49 | End;..|.....MUI|
|00000c20| 5f 44 69 73 70 6f 73 65 | 4f 62 6a 65 63 74 28 77 |_Dispose|Object(w|
|00000c30| 68 65 65 6c 29 3b 0a 43 | 6c 6f 73 65 4c 69 62 72 |heel);.C|loseLibr|
|00000c40| 61 72 79 28 63 77 62 61 | 73 65 29 3b 0a 0a 5c 65 |ary(cwba|se);..\e|
|00000c50| 6e 64 7b 76 65 72 62 61 | 74 69 6d 7d 0a 5c 6e 6f |nd{verba|tim}.\no|
|00000c60| 72 6d 61 6c 73 69 7a 65 | 0a 5c 73 75 62 73 75 62 |rmalsize|.\subsub|
|00000c70| 73 65 63 74 69 6f 6e 2a | 7b 53 45 45 20 41 4c 53 |section*|{SEE ALS|
|00000c80| 4f 7d 0a 4d 55 49 41 5c | 5f 42 6f 6f 70 73 69 5c |O}.MUIA\|_Boopsi\|
|00000c90| 5f 43 6c 61 73 73 0a 0a | 5c 73 75 62 73 65 63 74 |_Class..|\subsect|
|00000ca0| 69 6f 6e 5b 4d 55 49 41 | 5c 5f 42 6f 6f 70 73 69 |ion[MUIA|\_Boopsi|
|00000cb0| 5c 5f 4d 61 78 48 65 69 | 67 68 74 5d 7b 4d 55 49 |\_MaxHei|ght]{MUI|
|00000cc0| 41 5c 5f 42 6f 6f 70 73 | 69 5c 5f 4d 61 78 48 65 |A\_Boops|i\_MaxHe|
|00000cd0| 69 67 68 74 20 2d 2d 20 | 28 56 34 29 20 5b 49 53 |ight -- |(V4) [IS|
|00000ce0| 47 5d 2c 20 55 4c 4f 4e | 47 7d 0a 0a 5c 73 75 62 |G], ULON|G}..\sub|
|00000cf0| 73 75 62 73 65 63 74 69 | 6f 6e 2a 7b 46 55 4e 43 |subsecti|on*{FUNC|
|00000d00| 54 49 4f 4e 7d 0a 46 6f | 72 20 4d 55 49 27 73 20 |TION}.Fo|r MUI's |
|00000d10| 61 75 74 6f 6d 61 74 69 | 63 20 6c 61 79 6f 75 74 |automati|c layout|
|00000d20| 20 73 79 73 74 65 6d 2c | 20 69 74 27 73 20 72 65 | system,| it's re|
|00000d30| 71 75 69 72 65 64 20 74 | 68 61 74 0a 6f 62 6a 65 |quired t|hat.obje|
|00000d40| 63 74 73 20 6b 6e 6f 77 | 20 74 68 65 69 72 20 6d |cts know| their m|
|00000d50| 69 6e 69 6d 75 6d 20 61 | 6e 64 20 6d 61 78 69 6d |inimum a|nd maxim|
|00000d60| 75 6d 73 20 73 69 7a 65 | 73 2e 20 53 69 6e 63 65 |ums size|s. Since|
|00000d70| 20 62 6f 6f 70 73 69 0a | 67 61 64 67 65 74 73 20 | boopsi.|gadgets |
|00000d80| 64 6f 6e 27 74 20 73 75 | 70 70 6f 72 74 20 74 68 |don't su|pport th|
|00000d90| 69 73 20 66 65 61 74 75 | 72 65 2c 20 79 6f 75 20 |is featu|re, you |
|00000da0| 77 69 6c 6c 20 68 61 76 | 65 20 74 6f 20 68 65 6c |will hav|e to hel|
|00000db0| 70 0a 4d 55 49 20 61 6e | 64 20 61 64 6a 75 73 74 |p.MUI an|d adjust|
|00000dc0| 20 74 68 65 73 65 20 76 | 61 6c 75 65 73 20 62 79 | these v|alues by|
|00000dd0| 20 68 61 6e 64 2e 0a 0a | 5c 73 75 62 73 75 62 73 | hand...|\subsubs|
|00000de0| 65 63 74 69 6f 6e 2a 7b | 44 65 66 61 75 6c 74 73 |ection*{|Defaults|
|00000df0| 7d 0a 0a 5c 62 65 67 69 | 6e 7b 63 65 6e 74 65 72 |}..\begi|n{center|
|00000e00| 7d 20 5c 62 65 67 69 6e | 7b 74 61 62 75 6c 61 72 |} \begin|{tabular|
|00000e10| 7d 7b 6c 63 6c 7d 0a 4d | 55 49 41 5c 5f 4d 69 6e |}{lcl}.M|UIA\_Min|
|00000e20| 57 69 64 74 68 20 20 26 | 2d 26 20 31 20 70 69 78 |Width &|-& 1 pix|
|00000e30| 65 6c 5c 5c 0a 4d 55 49 | 41 5c 5f 4d 69 6e 48 65 |el\\.MUI|A\_MinHe|
|00000e40| 69 67 68 74 20 26 2d 26 | 20 31 20 70 69 78 65 6c |ight &-&| 1 pixel|
|00000e50| 5c 5c 0a 4d 55 49 41 5c | 5f 4d 61 78 57 69 64 74 |\\.MUIA\|_MaxWidt|
|00000e60| 68 20 20 26 2d 26 20 75 | 6e 6c 69 6d 69 74 65 64 |h &-& u|nlimited|
|00000e70| 5c 5c 0a 4d 55 49 41 5c | 5f 4d 61 78 48 65 69 67 |\\.MUIA\|_MaxHeig|
|00000e80| 68 74 20 26 2d 26 20 75 | 6e 6c 69 6d 69 74 65 64 |ht &-& u|nlimited|
|00000e90| 5c 5c 0a 5c 65 6e 64 7b | 74 61 62 75 6c 61 72 7d |\\.\end{|tabular}|
|00000ea0| 20 5c 65 6e 64 7b 63 65 | 6e 74 65 72 7d 0a 0a 5c | \end{ce|nter}..\|
|00000eb0| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 45 |subsubse|ction*{E|
|00000ec0| 58 41 4d 50 4c 45 7d 0a | 5c 73 6d 61 6c 6c 0a 5c |XAMPLE}.|\small.\|
|00000ed0| 62 65 67 69 6e 7b 76 65 | 72 62 61 74 69 6d 7d 0a |begin{ve|rbatim}.|
|00000ee0| 73 65 65 20 4d 55 49 41 | 5f 42 6f 6f 70 73 69 5f |see MUIA|_Boopsi_|
|00000ef0| 43 6c 61 73 73 49 44 0a | 0a 5c 65 6e 64 7b 76 65 |ClassID.|.\end{ve|
|00000f00| 72 62 61 74 69 6d 7d 0a | 5c 6e 6f 72 6d 61 6c 73 |rbatim}.|\normals|
|00000f10| 69 7a 65 0a 5c 73 75 62 | 73 75 62 73 65 63 74 69 |ize.\sub|subsecti|
|00000f20| 6f 6e 2a 7b 53 45 45 20 | 41 4c 53 4f 7d 0a 4d 55 |on*{SEE |ALSO}.MU|
|00000f30| 49 41 5c 5f 42 6f 6f 70 | 73 69 5c 5f 43 6c 61 73 |IA\_Boop|si\_Clas|
|00000f40| 73 49 44 0a 0a 5c 73 75 | 62 73 65 63 74 69 6f 6e |sID..\su|bsection|
|00000f50| 5b 4d 55 49 41 5c 5f 42 | 6f 6f 70 73 69 5c 5f 4d |[MUIA\_B|oopsi\_M|
|00000f60| 61 78 57 69 64 74 68 5d | 7b 4d 55 49 41 5c 5f 42 |axWidth]|{MUIA\_B|
|00000f70| 6f 6f 70 73 69 5c 5f 4d | 61 78 57 69 64 74 68 20 |oopsi\_M|axWidth |
|00000f80| 2d 2d 20 28 56 34 29 20 | 5b 49 53 47 5d 2c 20 55 |-- (V4) |[ISG], U|
|00000f90| 4c 4f 4e 47 7d 0a 0a 5c | 73 75 62 73 75 62 73 65 |LONG}..\|subsubse|
|00000fa0| 63 74 69 6f 6e 2a 7b 46 | 55 4e 43 54 49 4f 4e 7d |ction*{F|UNCTION}|
|00000fb0| 0a 46 6f 72 20 4d 55 49 | 27 73 20 61 75 74 6f 6d |.For MUI|'s autom|
|00000fc0| 61 74 69 63 20 6c 61 79 | 6f 75 74 20 73 79 73 74 |atic lay|out syst|
|00000fd0| 65 6d 2c 20 69 74 27 73 | 20 72 65 71 75 69 72 65 |em, it's| require|
|00000fe0| 64 20 74 68 61 74 0a 6f | 62 6a 65 63 74 73 20 6b |d that.o|bjects k|
|00000ff0| 6e 6f 77 20 74 68 65 69 | 72 20 6d 69 6e 69 6d 75 |now thei|r minimu|
|00001000| 6d 20 61 6e 64 20 6d 61 | 78 69 6d 75 6d 73 20 73 |m and ma|ximums s|
|00001010| 69 7a 65 73 2e 20 53 69 | 6e 63 65 20 62 6f 6f 70 |izes. Si|nce boop|
|00001020| 73 69 0a 67 61 64 67 65 | 74 73 20 64 6f 6e 27 74 |si.gadge|ts don't|
|00001030| 20 73 75 70 70 6f 72 74 | 20 74 68 69 73 20 66 65 | support| this fe|
|00001040| 61 74 75 72 65 2c 20 79 | 6f 75 20 77 69 6c 6c 20 |ature, y|ou will |
|00001050| 68 61 76 65 20 74 6f 20 | 68 65 6c 70 0a 4d 55 49 |have to |help.MUI|
|00001060| 20 61 6e 64 20 61 64 6a | 75 73 74 20 74 68 65 73 | and adj|ust thes|
|00001070| 65 20 76 61 6c 75 65 73 | 20 62 79 20 68 61 6e 64 |e values| by hand|
|00001080| 2e 0a 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |...\subs|ubsectio|
|00001090| 6e 2a 7b 44 65 66 61 75 | 6c 74 73 7d 0a 0a 5c 62 |n*{Defau|lts}..\b|
|000010a0| 65 67 69 6e 7b 63 65 6e | 74 65 72 7d 20 5c 62 65 |egin{cen|ter} \be|
|000010b0| 67 69 6e 7b 74 61 62 75 | 6c 61 72 7d 7b 6c 63 6c |gin{tabu|lar}{lcl|
|000010c0| 7d 0a 4d 55 49 41 5c 5f | 4d 69 6e 57 69 64 74 68 |}.MUIA\_|MinWidth|
|000010d0| 20 20 26 2d 26 20 31 20 | 70 69 78 65 6c 5c 5c 0a | &-& 1 |pixel\\.|
|000010e0| 4d 55 49 41 5c 5f 4d 69 | 6e 48 65 69 67 68 74 20 |MUIA\_Mi|nHeight |
|000010f0| 26 2d 26 20 31 20 70 69 | 78 65 6c 5c 5c 0a 4d 55 |&-& 1 pi|xel\\.MU|
|00001100| 49 41 5c 5f 4d 61 78 57 | 69 64 74 68 20 20 26 2d |IA\_MaxW|idth &-|
|00001110| 26 20 75 6e 6c 69 6d 69 | 74 65 64 5c 5c 0a 4d 55 |& unlimi|ted\\.MU|
|00001120| 49 41 5c 5f 4d 61 78 48 | 65 69 67 68 74 20 26 2d |IA\_MaxH|eight &-|
|00001130| 26 20 75 6e 6c 69 6d 69 | 74 65 64 5c 5c 0a 5c 65 |& unlimi|ted\\.\e|
|00001140| 6e 64 7b 74 61 62 75 6c | 61 72 7d 20 5c 65 6e 64 |nd{tabul|ar} \end|
|00001150| 7b 63 65 6e 74 65 72 7d | 0a 0a 5c 73 75 62 73 75 |{center}|..\subsu|
|00001160| 62 73 65 63 74 69 6f 6e | 2a 7b 45 58 41 4d 50 4c |bsection|*{EXAMPL|
|00001170| 45 7d 0a 5c 73 6d 61 6c | 6c 0a 5c 62 65 67 69 6e |E}.\smal|l.\begin|
|00001180| 7b 76 65 72 62 61 74 69 | 6d 7d 0a 73 65 65 20 4d |{verbati|m}.see M|
|00001190| 55 49 41 5f 42 6f 6f 70 | 73 69 5f 43 6c 61 73 73 |UIA_Boop|si_Class|
|000011a0| 49 44 0a 0a 5c 65 6e 64 | 7b 76 65 72 62 61 74 69 |ID..\end|{verbati|
|000011b0| 6d 7d 0a 5c 6e 6f 72 6d | 61 6c 73 69 7a 65 0a 5c |m}.\norm|alsize.\|
|000011c0| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 53 |subsubse|ction*{S|
|000011d0| 45 45 20 41 4c 53 4f 7d | 0a 4d 55 49 41 5c 5f 42 |EE ALSO}|.MUIA\_B|
|000011e0| 6f 6f 70 73 69 5c 5f 43 | 6c 61 73 73 49 44 0a 0a |oopsi\_C|lassID..|
|000011f0| 5c 73 75 62 73 65 63 74 | 69 6f 6e 5b 4d 55 49 41 |\subsect|ion[MUIA|
|00001200| 5c 5f 42 6f 6f 70 73 69 | 5c 5f 4d 69 6e 48 65 69 |\_Boopsi|\_MinHei|
|00001210| 67 68 74 5d 7b 4d 55 49 | 41 5c 5f 42 6f 6f 70 73 |ght]{MUI|A\_Boops|
|00001220| 69 5c 5f 4d 69 6e 48 65 | 69 67 68 74 20 2d 2d 20 |i\_MinHe|ight -- |
|00001230| 28 56 34 29 20 5b 49 53 | 47 5d 2c 20 55 4c 4f 4e |(V4) [IS|G], ULON|
|00001240| 47 7d 0a 0a 5c 73 75 62 | 73 75 62 73 65 63 74 69 |G}..\sub|subsecti|
|00001250| 6f 6e 2a 7b 46 55 4e 43 | 54 49 4f 4e 7d 0a 46 6f |on*{FUNC|TION}.Fo|
|00001260| 72 20 4d 55 49 27 73 20 | 61 75 74 6f 6d 61 74 69 |r MUI's |automati|
|00001270| 63 20 6c 61 79 6f 75 74 | 20 73 79 73 74 65 6d 2c |c layout| system,|
|00001280| 20 69 74 27 73 20 72 65 | 71 75 69 72 65 64 20 74 | it's re|quired t|
|00001290| 68 61 74 0a 6f 62 6a 65 | 63 74 73 20 6b 6e 6f 77 |hat.obje|cts know|
|000012a0| 20 74 68 65 69 72 20 6d | 69 6e 69 6d 75 6d 20 61 | their m|inimum a|
|000012b0| 6e 64 20 6d 61 78 69 6d | 75 6d 73 20 73 69 7a 65 |nd maxim|ums size|
|000012c0| 73 2e 20 53 69 6e 63 65 | 20 62 6f 6f 70 73 69 0a |s. Since| boopsi.|
|000012d0| 67 61 64 67 65 74 73 20 | 64 6f 6e 27 74 20 73 75 |gadgets |don't su|
|000012e0| 70 70 6f 72 74 20 74 68 | 69 73 20 66 65 61 74 75 |pport th|is featu|
|000012f0| 72 65 2c 20 79 6f 75 20 | 77 69 6c 6c 20 68 61 76 |re, you |will hav|
|00001300| 65 20 74 6f 20 68 65 6c | 70 0a 4d 55 49 20 61 6e |e to hel|p.MUI an|
|00001310| 64 20 61 64 6a 75 73 74 | 20 74 68 65 73 65 20 76 |d adjust| these v|
|00001320| 61 6c 75 65 73 20 62 79 | 20 68 61 6e 64 2e 0a 0a |alues by| hand...|
|00001330| 5c 73 75 62 73 75 62 73 | 65 63 74 69 6f 6e 2a 7b |\subsubs|ection*{|
|00001340| 44 65 66 61 75 6c 74 73 | 7d 0a 0a 5c 62 65 67 69 |Defaults|}..\begi|
|00001350| 6e 7b 63 65 6e 74 65 72 | 7d 20 5c 62 65 67 69 6e |n{center|} \begin|
|00001360| 7b 74 61 62 75 6c 61 72 | 7d 7b 6c 63 6c 7d 0a 4d |{tabular|}{lcl}.M|
|00001370| 55 49 41 5c 5f 4d 69 6e | 57 69 64 74 68 20 20 26 |UIA\_Min|Width &|
|00001380| 2d 26 20 31 20 70 69 78 | 65 6c 5c 5c 0a 4d 55 49 |-& 1 pix|el\\.MUI|
|00001390| 41 5c 5f 4d 69 6e 48 65 | 69 67 68 74 20 26 2d 26 |A\_MinHe|ight &-&|
|000013a0| 20 31 20 70 69 78 65 6c | 5c 5c 0a 4d 55 49 41 5c | 1 pixel|\\.MUIA\|
|000013b0| 5f 4d 61 78 57 69 64 74 | 68 20 20 26 2d 26 20 75 |_MaxWidt|h &-& u|
|000013c0| 6e 6c 69 6d 69 74 65 64 | 5c 5c 0a 4d 55 49 41 5c |nlimited|\\.MUIA\|
|000013d0| 5f 4d 61 78 48 65 69 67 | 68 74 20 26 2d 26 20 75 |_MaxHeig|ht &-& u|
|000013e0| 6e 6c 69 6d 69 74 65 64 | 5c 5c 0a 5c 65 6e 64 7b |nlimited|\\.\end{|
|000013f0| 74 61 62 75 6c 61 72 7d | 20 5c 65 6e 64 7b 63 65 |tabular}| \end{ce|
|00001400| 6e 74 65 72 7d 0a 0a 5c | 73 75 62 73 75 62 73 65 |nter}..\|subsubse|
|00001410| 63 74 69 6f 6e 2a 7b 45 | 58 41 4d 50 4c 45 7d 0a |ction*{E|XAMPLE}.|
|00001420| 5c 73 6d 61 6c 6c 0a 5c | 62 65 67 69 6e 7b 76 65 |\small.\|begin{ve|
|00001430| 72 62 61 74 69 6d 7d 0a | 73 65 65 20 4d 55 49 41 |rbatim}.|see MUIA|
|00001440| 5f 42 6f 6f 70 73 69 5f | 43 6c 61 73 73 49 44 0a |_Boopsi_|ClassID.|
|00001450| 0a 5c 65 6e 64 7b 76 65 | 72 62 61 74 69 6d 7d 0a |.\end{ve|rbatim}.|
|00001460| 5c 6e 6f 72 6d 61 6c 73 | 69 7a 65 0a 5c 73 75 62 |\normals|ize.\sub|
|00001470| 73 75 62 73 65 63 74 69 | 6f 6e 2a 7b 53 45 45 20 |subsecti|on*{SEE |
|00001480| 41 4c 53 4f 7d 0a 4d 55 | 49 41 5c 5f 42 6f 6f 70 |ALSO}.MU|IA\_Boop|
|00001490| 73 69 5c 5f 43 6c 61 73 | 73 49 44 0a 0a 5c 73 75 |si\_Clas|sID..\su|
|000014a0| 62 73 65 63 74 69 6f 6e | 5b 4d 55 49 41 5c 5f 42 |bsection|[MUIA\_B|
|000014b0| 6f 6f 70 73 69 5c 5f 4d | 69 6e 57 69 64 74 68 5d |oopsi\_M|inWidth]|
|000014c0| 7b 4d 55 49 41 5c 5f 42 | 6f 6f 70 73 69 5c 5f 4d |{MUIA\_B|oopsi\_M|
|000014d0| 69 6e 57 69 64 74 68 20 | 2d 2d 20 28 56 34 29 20 |inWidth |-- (V4) |
|000014e0| 5b 49 53 47 5d 2c 20 55 | 4c 4f 4e 47 7d 0a 0a 5c |[ISG], U|LONG}..\|
|000014f0| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 46 |subsubse|ction*{F|
|00001500| 55 4e 43 54 49 4f 4e 7d | 0a 46 6f 72 20 4d 55 49 |UNCTION}|.For MUI|
|00001510| 27 73 20 61 75 74 6f 6d | 61 74 69 63 20 6c 61 79 |'s autom|atic lay|
|00001520| 6f 75 74 20 73 79 73 74 | 65 6d 2c 20 69 74 27 73 |out syst|em, it's|
|00001530| 20 72 65 71 75 69 72 65 | 64 20 74 68 61 74 0a 6f | require|d that.o|
|00001540| 62 6a 65 63 74 73 20 6b | 6e 6f 77 20 74 68 65 69 |bjects k|now thei|
|00001550| 72 20 6d 69 6e 69 6d 75 | 6d 20 61 6e 64 20 6d 61 |r minimu|m and ma|
|00001560| 78 69 6d 75 6d 73 20 73 | 69 7a 65 73 2e 20 53 69 |ximums s|izes. Si|
|00001570| 6e 63 65 20 62 6f 6f 70 | 73 69 0a 67 61 64 67 65 |nce boop|si.gadge|
|00001580| 74 73 20 64 6f 6e 27 74 | 20 73 75 70 70 6f 72 74 |ts don't| support|
|00001590| 20 74 68 69 73 20 66 65 | 61 74 75 72 65 2c 20 79 | this fe|ature, y|
|000015a0| 6f 75 20 77 69 6c 6c 20 | 68 61 76 65 20 74 6f 20 |ou will |have to |
|000015b0| 68 65 6c 70 0a 4d 55 49 | 20 61 6e 64 20 61 64 6a |help.MUI| and adj|
|000015c0| 75 73 74 20 74 68 65 73 | 65 20 76 61 6c 75 65 73 |ust thes|e values|
|000015d0| 20 62 79 20 68 61 6e 64 | 2e 0a 0a 5c 73 75 62 73 | by hand|...\subs|
|000015e0| 75 62 73 65 63 74 69 6f | 6e 2a 7b 44 65 66 61 75 |ubsectio|n*{Defau|
|000015f0| 6c 74 73 7d 0a 0a 5c 62 | 65 67 69 6e 7b 63 65 6e |lts}..\b|egin{cen|
|00001600| 74 65 72 7d 20 5c 62 65 | 67 69 6e 7b 74 61 62 75 |ter} \be|gin{tabu|
|00001610| 6c 61 72 7d 7b 6c 63 6c | 7d 0a 4d 55 49 41 5c 5f |lar}{lcl|}.MUIA\_|
|00001620| 4d 69 6e 57 69 64 74 68 | 20 20 26 2d 26 20 31 20 |MinWidth| &-& 1 |
|00001630| 70 69 78 65 6c 5c 5c 0a | 4d 55 49 41 5c 5f 4d 69 |pixel\\.|MUIA\_Mi|
|00001640| 6e 48 65 69 67 68 74 20 | 26 2d 26 20 31 20 70 69 |nHeight |&-& 1 pi|
|00001650| 78 65 6c 5c 5c 0a 4d 55 | 49 41 5c 5f 4d 61 78 57 |xel\\.MU|IA\_MaxW|
|00001660| 69 64 74 68 20 20 26 2d | 26 20 75 6e 6c 69 6d 69 |idth &-|& unlimi|
|00001670| 74 65 64 5c 5c 0a 4d 55 | 49 41 5c 5f 4d 61 78 48 |ted\\.MU|IA\_MaxH|
|00001680| 65 69 67 68 74 20 26 2d | 26 20 75 6e 6c 69 6d 69 |eight &-|& unlimi|
|00001690| 74 65 64 5c 5c 0a 5c 65 | 6e 64 7b 74 61 62 75 6c |ted\\.\e|nd{tabul|
|000016a0| 61 72 7d 20 5c 65 6e 64 | 7b 63 65 6e 74 65 72 7d |ar} \end|{center}|
|000016b0| 0a 0a 5c 73 75 62 73 75 | 62 73 65 63 74 69 6f 6e |..\subsu|bsection|
|000016c0| 2a 7b 45 58 41 4d 50 4c | 45 7d 0a 5c 73 6d 61 6c |*{EXAMPL|E}.\smal|
|000016d0| 6c 0a 5c 62 65 67 69 6e | 7b 76 65 72 62 61 74 69 |l.\begin|{verbati|
|000016e0| 6d 7d 0a 73 65 65 20 4d | 55 49 41 5f 42 6f 6f 70 |m}.see M|UIA_Boop|
|000016f0| 73 69 5f 43 6c 61 73 73 | 49 44 0a 0a 5c 65 6e 64 |si_Class|ID..\end|
|00001700| 7b 76 65 72 62 61 74 69 | 6d 7d 0a 5c 6e 6f 72 6d |{verbati|m}.\norm|
|00001710| 61 6c 73 69 7a 65 0a 5c | 73 75 62 73 75 62 73 65 |alsize.\|subsubse|
|00001720| 63 74 69 6f 6e 2a 7b 53 | 45 45 20 41 4c 53 4f 7d |ction*{S|EE ALSO}|
|00001730| 0a 4d 55 49 41 5c 5f 42 | 6f 6f 70 73 69 5c 5f 43 |.MUIA\_B|oopsi\_C|
|00001740| 6c 61 73 73 49 44 0a 0a | 5c 73 75 62 73 65 63 74 |lassID..|\subsect|
|00001750| 69 6f 6e 5b 4d 55 49 41 | 5c 5f 42 6f 6f 70 73 69 |ion[MUIA|\_Boopsi|
|00001760| 5c 5f 4f 62 6a 65 63 74 | 5d 7b 4d 55 49 41 5c 5f |\_Object|]{MUIA\_|
|00001770| 42 6f 6f 70 73 69 5c 5f | 4f 62 6a 65 63 74 20 2d |Boopsi\_|Object -|
|00001780| 2d 20 28 56 34 29 20 5b | 2e 2e 47 5d 2c 20 4f 62 |- (V4) [|..G], Ob|
|00001790| 6a 65 63 74 20 24 5c 61 | 73 74 24 7d 0a 0a 5c 73 |ject $\a|st$}..\s|
|000017a0| 75 62 73 75 62 73 65 63 | 74 69 6f 6e 2a 7b 46 55 |ubsubsec|tion*{FU|
|000017b0| 4e 43 54 49 4f 4e 7d 0a | 4e 6f 20 69 6e 70 75 74 |NCTION}.|No input|
|000017c0| 2c 20 6a 75 73 74 20 61 | 6e 20 6f 75 74 70 75 74 |, just a|n output|
|000017d0| 20 73 69 6e 63 65 20 74 | 68 69 73 20 61 74 74 72 | since t|his attr|
|000017e0| 69 62 75 74 65 20 69 73 | 0a 6f 6e 6c 79 20 67 65 |ibute is|.only ge|
|000017f0| 74 61 62 6c 65 2e 20 57 | 68 61 74 20 4d 55 49 20 |table. W|hat MUI |
|00001800| 72 65 74 75 72 6e 73 20 | 77 68 65 6e 20 67 65 6e |returns |when gen|
|00001810| 65 72 61 74 69 6e 67 20 | 61 0a 42 6f 6f 70 73 69 |erating |a.Boopsi|
|00001820| 4f 62 6a 65 63 74 20 69 | 73 20 61 20 73 74 61 6e |Object i|s a stan|
|00001830| 64 61 72 64 20 4d 55 49 | 20 6f 62 6a 65 63 74 2c |dard MUI| object,|
|00001840| 20 6e 6f 74 20 61 20 70 | 6f 69 6e 74 65 72 0a 74 | not a p|ointer.t|
|00001850| 6f 20 74 68 65 20 42 6f | 6f 70 73 69 20 67 61 64 |o the Bo|opsi gad|
|00001860| 67 65 74 20 69 74 73 65 | 6c 66 2e 20 49 6e 20 63 |get itse|lf. In c|
|00001870| 61 73 65 20 79 6f 75 20 | 72 65 61 6c 6c 79 20 6e |ase you |really n|
|00001880| 65 65 64 0a 74 68 69 73 | 20 42 6f 6f 70 73 69 20 |eed.this| Boopsi |
|00001890| 67 61 64 67 65 74 20 70 | 6f 69 6e 74 65 72 2c 20 |gadget p|ointer, |
|000018a0| 79 6f 75 20 63 61 6e 20 | 6f 62 74 61 69 6e 20 69 |you can |obtain i|
|000018b0| 74 20 62 79 20 67 65 74 | 74 69 6e 67 0a 4d 55 49 |t by get|ting.MUI|
|000018c0| 41 5c 5f 42 6f 6f 70 73 | 69 5c 5f 4f 62 6a 65 63 |A\_Boops|i\_Objec|
|000018d0| 74 20 66 72 6f 6d 20 74 | 68 65 20 4d 55 49 20 6f |t from t|he MUI o|
|000018e0| 62 6a 65 63 74 2e 0a 0a | 53 69 6e 63 65 20 4d 55 |bject...|Since MU|
|000018f0| 49 20 70 61 73 73 65 73 | 20 61 6c 6f 6e 67 20 65 |I passes| along e|
|00001900| 76 65 72 79 20 75 6e 6b | 6e 6f 77 6e 20 61 74 74 |very unk|nown att|
|00001910| 72 69 62 75 74 65 20 74 | 6f 20 74 68 65 0a 62 6f |ribute t|o the.bo|
|00001920| 6f 70 73 69 20 67 61 64 | 67 65 74 2c 20 74 68 65 |opsi gad|get, the|
|00001930| 72 65 20 73 68 6f 75 6c | 64 20 62 65 20 6e 6f 20 |re shoul|d be no |
|00001940| 6e 65 65 64 20 66 6f 72 | 20 74 68 69 73 20 74 61 |need for| this ta|
|00001950| 67 20 61 6e 79 77 61 79 | 2e 0a 0a 4e 6f 74 65 20 |g anyway|...Note |
|00001960| 74 68 61 74 20 74 68 65 | 20 62 6f 6f 70 73 69 20 |that the| boopsi |
|00001970| 6f 62 6a 65 63 74 20 70 | 6f 69 6e 74 65 72 20 69 |object p|ointer i|
|00001980| 73 20 6f 6e 6c 79 20 76 | 61 6c 69 64 20 77 68 65 |s only v|alid whe|
|00001990| 6e 20 74 68 65 0a 77 69 | 6e 64 6f 77 20 69 73 20 |n the.wi|ndow is |
|000019a0| 6f 70 65 6e 21 0a 0a 5c | 73 75 62 73 75 62 73 65 |open!..\|subsubse|
|000019b0| 63 74 69 6f 6e 2a 7b 53 | 45 45 20 41 4c 53 4f 7d |ction*{S|EE ALSO}|
|000019c0| 0a 4d 55 49 41 5c 5f 42 | 6f 6f 70 73 69 5c 5f 43 |.MUIA\_B|oopsi\_C|
|000019d0| 6c 61 73 73 2c 20 4d 55 | 49 41 5c 5f 42 6f 6f 70 |lass, MU|IA\_Boop|
|000019e0| 73 69 5c 5f 43 6c 61 73 | 73 49 44 0a 0a 5c 73 75 |si\_Clas|sID..\su|
|000019f0| 62 73 65 63 74 69 6f 6e | 5b 4d 55 49 41 5c 5f 42 |bsection|[MUIA\_B|
|00001a00| 6f 6f 70 73 69 5c 5f 52 | 65 6d 65 6d 62 65 72 5d |oopsi\_R|emember]|
|00001a10| 7b 4d 55 49 41 5c 5f 42 | 6f 6f 70 73 69 5c 5f 52 |{MUIA\_B|oopsi\_R|
|00001a20| 65 6d 65 6d 62 65 72 20 | 2d 2d 20 28 56 34 29 20 |emember |-- (V4) |
|00001a30| 5b 49 2e 2e 5d 2c 20 55 | 4c 4f 4e 47 7d 0a 0a 5c |[I..], U|LONG}..\|
|00001a40| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 46 |subsubse|ction*{F|
|00001a50| 55 4e 43 54 49 4f 4e 7d | 0a 4d 6f 73 74 20 62 6f |UNCTION}|.Most bo|
|00001a60| 6f 70 73 69 20 6f 62 6a | 65 63 74 73 20 61 72 65 |opsi obj|ects are|
|00001a70| 20 6b 69 6e 64 20 6f 66 | 20 73 69 6c 6c 79 2c 20 | kind of| silly, |
|00001a80| 74 68 65 79 20 64 6f 6e | 27 74 20 73 75 70 70 6f |they don|'t suppo|
|00001a90| 72 74 0a 61 75 74 6f 6d | 61 74 69 63 20 72 65 73 |rt.autom|atic res|
|00001aa0| 69 7a 69 6e 67 20 6f 72 | 20 6a 75 6d 70 69 6e 67 |izing or| jumping|
|00001ab0| 20 66 72 6f 6d 20 73 63 | 72 65 65 6e 20 74 6f 20 | from sc|reen to |
|00001ac0| 73 63 72 65 65 6e 2e 0a | 54 68 65 72 65 66 6f 72 |screen..|Therefor|
|00001ad0| 2c 20 4d 55 49 20 73 6f | 6d 65 74 69 6d 65 73 20 |, MUI so|metimes |
|00001ae0| 6e 65 65 64 73 20 74 6f | 20 64 69 73 70 6f 73 65 |needs to| dispose|
|00001af0| 20 61 6e 64 20 72 65 67 | 65 6e 65 72 61 74 65 0a | and reg|enerate.|
|00001b00| 61 20 62 6f 6f 70 73 69 | 20 6f 62 6a 65 63 74 2e |a boopsi| object.|
|00001b10| 20 54 68 69 73 20 77 69 | 6c 6c 20 72 65 73 75 6c | This wi|ll resul|
|00001b20| 74 20 69 6e 20 6c 6f 6f | 73 69 6e 67 20 74 68 65 |t in loo|sing the|
|00001b30| 20 63 75 72 72 65 6e 74 | 0a 73 74 61 74 65 20 6f | current|.state o|
|00001b40| 66 20 74 68 65 20 6f 62 | 6a 65 63 74 2c 20 65 2e |f the ob|ject, e.|
|00001b50| 67 2e 20 73 61 74 75 72 | 61 74 69 6f 6e 20 61 6e |g. satur|ation an|
|00001b60| 64 20 68 75 65 20 76 61 | 6c 75 65 73 0a 69 6e 20 |d hue va|lues.in |
|00001b70| 61 20 63 6f 6c 6f 72 77 | 68 65 65 6c 2e 0a 0a 54 |a colorw|heel...T|
|00001b80| 6f 20 73 6f 6c 76 65 20 | 74 68 69 73 20 70 72 6f |o solve |this pro|
|00001b90| 62 6c 65 6d 2c 20 79 6f | 75 20 63 61 6e 20 74 65 |blem, yo|u can te|
|00001ba0| 6c 6c 20 4d 55 49 20 77 | 68 61 74 20 61 74 74 72 |ll MUI w|hat attr|
|00001bb0| 69 62 75 74 65 73 0a 6d | 75 73 74 20 62 65 20 72 |ibutes.m|ust be r|
|00001bc0| 65 6d 65 6d 62 65 72 65 | 64 20 64 75 72 69 6e 67 |emembere|d during|
|00001bd0| 20 64 69 73 70 6f 73 65 | 2f 72 65 67 65 6e 65 72 | dispose|/regener|
|00001be0| 61 74 69 6f 6e 2e 20 46 | 6f 72 20 61 0a 63 6f 6c |ation. F|or a.col|
|00001bf0| 6f 72 77 68 65 65 6c 2c | 20 74 68 69 73 20 77 6f |orwheel,| this wo|
|00001c00| 75 6c 64 20 65 2e 67 2e | 20 62 65 20 57 48 45 45 |uld e.g.| be WHEE|
|00001c10| 4c 5c 5f 53 61 74 75 72 | 61 74 69 6f 6e 20 61 6e |L\_Satur|ation an|
|00001c20| 64 20 57 48 45 45 4c 5c | 5f 48 75 65 2e 0a 0a 42 |d WHEEL\|_Hue...B|
|00001c30| 65 66 6f 72 65 20 64 69 | 73 70 6f 73 69 6e 67 20 |efore di|sposing |
|00001c40| 74 68 65 20 62 6f 6f 70 | 73 69 20 6f 62 6a 65 63 |the boop|si objec|
|00001c50| 74 2c 20 74 68 65 20 72 | 65 6d 65 6d 62 65 72 20 |t, the r|emember |
|00001c60| 74 61 67 73 20 61 72 65 | 0a 72 65 61 64 20 61 6e |tags are|.read an|
|00001c70| 64 20 73 74 6f 72 65 64 | 20 69 6e 20 61 20 70 72 |d stored| in a pr|
|00001c80| 69 76 61 74 65 20 62 75 | 66 66 65 72 2e 20 41 66 |ivate bu|ffer. Af|
|00001c90| 74 65 72 20 72 65 67 65 | 6e 65 72 61 74 69 6f 6e |ter rege|neration|
|00001ca0| 2c 0a 74 68 65 20 63 6f | 6e 74 65 6e 74 73 20 6f |,.the co|ntents o|
|00001cb0| 66 20 74 68 69 73 20 62 | 75 66 66 65 72 20 61 72 |f this b|uffer ar|
|00001cc0| 65 20 70 61 73 73 65 64 | 20 62 61 63 6b 20 74 6f |e passed| back to|
|00001cd0| 20 74 68 65 20 62 6f 6f | 70 73 69 0a 61 67 61 69 | the boo|psi.agai|
|00001ce0| 6e 2e 0a 0a 4e 6f 74 65 | 20 74 68 61 74 20 79 6f |n...Note| that yo|
|00001cf0| 75 20 63 61 6e 20 64 65 | 66 69 6e 65 20 75 70 20 |u can de|fine up |
|00001d00| 74 6f 20 66 69 76 65 20 | 4d 55 49 41 5c 5f 52 65 |to five |MUIA\_Re|
|00001d10| 6d 65 6d 62 65 72 20 74 | 61 67 73 2e 0a 0a 5c 73 |member t|ags...\s|
|00001d20| 75 62 73 75 62 73 65 63 | 74 69 6f 6e 2a 7b 42 55 |ubsubsec|tion*{BU|
|00001d30| 47 53 7d 0a 54 68 65 20 | 72 65 6d 65 6d 62 65 72 |GS}.The |remember|
|00001d40| 20 70 72 6f 63 65 64 75 | 72 65 20 77 69 6c 6c 20 | procedu|re will |
|00001d50| 6e 6f 74 20 77 6f 72 6b | 20 77 68 65 6e 20 74 68 |not work| when th|
|00001d60| 65 20 61 74 74 72 69 62 | 75 74 65 73 0a 79 6f 75 |e attrib|utes.you|
|00001d70| 20 77 61 6e 74 20 74 6f | 20 72 65 6d 65 6d 62 65 | want to| remembe|
|00001d80| 72 20 61 72 65 20 6a 75 | 73 74 20 70 6f 69 6e 74 |r are ju|st point|
|00001d90| 65 72 73 20 74 6f 20 64 | 61 74 61 20 73 74 6f 72 |ers to d|ata stor|
|00001da0| 65 64 0a 73 6f 6d 65 77 | 68 65 72 65 20 69 6e 20 |ed.somew|here in |
|00001db0| 74 68 65 20 62 6f 6f 70 | 73 69 20 6f 62 6a 65 63 |the boop|si objec|
|00001dc0| 74 2e 0a 0a 5c 73 75 62 | 73 75 62 73 65 63 74 69 |t...\sub|subsecti|
|00001dd0| 6f 6e 2a 7b 45 58 41 4d | 50 4c 45 7d 0a 5c 73 6d |on*{EXAM|PLE}.\sm|
|00001de0| 61 6c 6c 0a 5c 62 65 67 | 69 6e 7b 76 65 72 62 61 |all.\beg|in{verba|
|00001df0| 74 69 6d 7d 0a 73 65 65 | 20 4d 55 49 41 5f 42 6f |tim}.see| MUIA_Bo|
|00001e00| 6f 70 73 69 5f 43 6c 61 | 73 73 49 44 0a 0a 5c 65 |opsi_Cla|ssID..\e|
|00001e10| 6e 64 7b 76 65 72 62 61 | 74 69 6d 7d 0a 5c 6e 6f |nd{verba|tim}.\no|
|00001e20| 72 6d 61 6c 73 69 7a 65 | 0a 5c 73 75 62 73 75 62 |rmalsize|.\subsub|
|00001e30| 73 65 63 74 69 6f 6e 2a | 7b 53 45 45 20 41 4c 53 |section*|{SEE ALS|
|00001e40| 4f 7d 0a 4d 55 49 41 5c | 5f 42 6f 6f 70 73 69 5c |O}.MUIA\|_Boopsi\|
|00001e50| 5f 43 6c 61 73 73 49 44 | 0a 0a 5c 73 75 62 73 65 |_ClassID|..\subse|
|00001e60| 63 74 69 6f 6e 5b 4d 55 | 49 41 5c 5f 42 6f 6f 70 |ction[MU|IA\_Boop|
|00001e70| 73 69 5c 5f 53 6d 61 72 | 74 5d 7b 4d 55 49 41 5c |si\_Smar|t]{MUIA\|
|00001e80| 5f 42 6f 6f 70 73 69 5c | 5f 53 6d 61 72 74 20 2d |_Boopsi\|_Smart -|
|00001e90| 2d 20 28 56 39 20 29 20 | 5b 49 2e 2e 5d 2c 20 42 |- (V9 ) |[I..], B|
|00001ea0| 4f 4f 4c 7d 0a 0a 5c 73 | 75 62 73 75 62 73 65 63 |OOL}..\s|ubsubsec|
|00001eb0| 74 69 6f 6e 2a 7b 46 55 | 4e 43 54 49 4f 4e 7d 0a |tion*{FU|NCTION}.|
|00001ec0| 53 70 65 63 69 66 79 20 | 54 52 55 45 20 66 6f 72 |Specify |TRUE for|
|00001ed0| 20 73 6d 61 72 74 20 42 | 4f 4f 50 53 49 20 67 61 | smart B|OOPSI ga|
|00001ee0| 64 67 65 74 73 20 74 68 | 61 74 20 61 6c 6c 6f 77 |dgets th|at allow|
|00001ef0| 20 72 65 73 69 7a 69 6e | 67 2c 0a 65 2e 67 2e 20 | resizin|g,.e.g. |
|00001f00| 74 68 65 20 74 65 78 74 | 66 69 65 6c 64 2e 63 6c |the text|field.cl|
|00001f10| 61 73 73 2e 20 49 6e 20 | 74 68 69 73 20 63 61 73 |ass. In |this cas|
|00001f20| 65 2c 20 4d 55 49 20 77 | 69 6c 6c 20 6e 6f 74 0a |e, MUI w|ill not.|
|00001f30| 64 69 73 70 6f 73 65 20 | 61 6e 64 20 72 65 63 72 |dispose |and recr|
|00001f40| 65 61 74 65 20 74 68 65 | 20 6f 62 6a 65 63 74 2e |eate the| object.|
|00001f50| 0a 0a 5c 73 75 62 73 65 | 63 74 69 6f 6e 5b 4d 55 |..\subse|ction[MU|
|00001f60| 49 41 5c 5f 42 6f 6f 70 | 73 69 5c 5f 54 61 67 44 |IA\_Boop|si\_TagD|
|00001f70| 72 61 77 49 6e 66 6f 5d | 7b 4d 55 49 41 5c 5f 42 |rawInfo]|{MUIA\_B|
|00001f80| 6f 6f 70 73 69 5c 5f 54 | 61 67 44 72 61 77 49 6e |oopsi\_T|agDrawIn|
|00001f90| 66 6f 20 2d 2d 20 28 56 | 34 29 20 5b 49 53 47 5d |fo -- (V|4) [ISG]|
|00001fa0| 2c 20 55 4c 4f 4e 47 7d | 0a 0a 5c 73 75 62 73 75 |, ULONG}|..\subsu|
|00001fb0| 62 73 65 63 74 69 6f 6e | 2a 7b 46 55 4e 43 54 49 |bsection|*{FUNCTI|
|00001fc0| 4f 4e 7d 0a 55 6e 66 6f | 72 74 75 6e 61 74 65 6c |ON}.Unfo|rtunatel|
|00001fd0| 79 2c 20 6d 6f 73 74 20 | 62 6f 6f 70 73 69 20 67 |y, most |boopsi g|
|00001fe0| 61 64 67 65 74 73 20 6e | 65 65 64 20 69 6e 66 6f |adgets n|eed info|
|00001ff0| 72 6d 61 74 69 6f 6e 20 | 6f 6e 0a 74 68 65 20 64 |rmation |on.the d|
|00002000| 69 73 70 6c 61 79 20 65 | 6e 76 69 72 6f 6e 6d 65 |isplay e|nvironme|
|00002010| 6e 74 20 74 68 65 79 20 | 77 69 6c 6c 20 72 65 73 |nt they |will res|
|00002020| 69 64 65 20 69 6e 20 61 | 74 20 6f 62 6a 65 63 74 |ide in a|t object|
|00002030| 0a 63 72 65 61 74 69 6f | 6e 20 74 69 6d 65 2e 20 |.creatio|n time. |
|00002040| 44 75 65 20 74 6f 20 4d | 55 49 27 73 20 63 6f 6e |Due to M|UI's con|
|00002050| 63 65 70 74 2c 20 74 68 | 69 73 20 69 6e 66 6f 72 |cept, th|is infor|
|00002060| 6d 61 74 69 6f 6e 0a 69 | 73 20 6e 6f 74 20 61 76 |mation.i|s not av|
|00002070| 61 69 6c 61 62 6c 65 20 | 74 68 61 74 20 65 61 72 |ailable |that ear|
|00002080| 6c 79 2e 0a 0a 54 6f 20 | 73 6f 6c 76 65 20 74 68 |ly...To |solve th|
|00002090| 69 73 20 70 72 6f 62 6c | 65 6d 2c 20 4d 55 49 20 |is probl|em, MUI |
|000020a0| 64 6f 65 73 6e 27 74 20 | 67 65 6e 65 72 61 74 65 |doesn't |generate|
|000020b0| 20 74 68 65 20 62 6f 6f | 70 73 69 0a 6f 62 6a 65 | the boo|psi.obje|
|000020c0| 63 74 20 69 6e 73 74 61 | 6e 74 6c 79 2c 20 63 72 |ct insta|ntly, cr|
|000020d0| 65 61 74 69 6f 6e 20 69 | 73 20 64 65 6c 61 79 65 |eation i|s delaye|
|000020e0| 64 20 75 6e 74 69 6c 20 | 74 68 65 20 77 69 6e 64 |d until |the wind|
|000020f0| 6f 77 0a 63 6f 6e 74 61 | 69 6e 69 6e 67 20 74 68 |ow.conta|ining th|
|00002100| 65 20 67 61 64 67 65 74 | 20 69 73 20 6f 70 65 6e |e gadget| is open|
|00002110| 65 64 2e 0a 0a 41 74 20 | 74 68 69 73 20 74 69 6d |ed...At |this tim|
|00002120| 65 2c 20 4d 55 49 20 66 | 69 6c 6c 73 20 73 6f 6d |e, MUI f|ills som|
|00002130| 65 20 76 61 6c 75 65 73 | 20 61 62 6f 75 74 20 64 |e values| about d|
|00002140| 69 73 70 6c 61 79 0a 65 | 6e 76 69 72 6f 6e 6d 65 |isplay.e|nvironme|
|00002150| 6e 74 20 69 6e 74 6f 20 | 74 68 65 20 62 6f 6f 70 |nt into |the boop|
|00002160| 73 69 20 6f 62 6a 65 63 | 74 73 20 63 72 65 61 74 |si objec|ts creat|
|00002170| 69 6f 6e 20 74 61 67 20 | 6c 69 73 74 2e 0a 59 6f |ion tag |list..Yo|
|00002180| 75 20 68 61 76 65 20 74 | 6f 20 74 65 6c 6c 20 4d |u have t|o tell M|
|00002190| 55 49 2c 20 77 68 61 74 | 20 74 61 67 73 20 61 72 |UI, what| tags ar|
|000021a0| 65 20 61 63 74 75 61 6c | 6c 79 20 6e 65 65 64 65 |e actual|ly neede|
|000021b0| 64 2e 0a 0a 57 69 74 68 | 20 4d 55 49 41 5c 5f 42 |d...With| MUIA\_B|
|000021c0| 6f 6f 70 73 69 5c 5f 54 | 61 67 44 72 61 77 49 6e |oopsi\_T|agDrawIn|
|000021d0| 66 6f 20 79 6f 75 20 63 | 61 6e 20 74 65 6c 6c 20 |fo you c|an tell |
|000021e0| 4d 55 49 20 77 68 65 72 | 65 0a 74 6f 20 66 69 6c |MUI wher|e.to fil|
|000021f0| 6c 20 69 6e 20 61 20 6e | 65 65 64 65 64 20 44 72 |l in a n|eeded Dr|
|00002200| 61 77 49 6e 66 6f 20 73 | 74 72 75 63 74 75 72 65 |awInfo s|tructure|
|00002210| 2e 0a 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |...\subs|ubsectio|
|00002220| 6e 2a 7b 45 58 41 4d 50 | 4c 45 7d 0a 0a 49 66 20 |n*{EXAMP|LE}..If |
|00002230| 79 6f 75 72 20 62 6f 6f | 70 73 69 20 67 61 64 67 |your boo|psi gadg|
|00002240| 65 74 20 6e 65 65 64 73 | 20 61 20 70 6f 69 6e 74 |et needs| a point|
|00002250| 65 72 20 74 6f 20 61 20 | 44 72 61 77 49 6e 66 6f |er to a |DrawInfo|
|00002260| 0a 73 74 72 75 63 74 75 | 72 65 20 73 75 70 70 6c |.structu|re suppl|
|00002270| 69 65 64 20 77 69 74 68 | 20 74 68 65 20 4d 59 42 |ied with| the MYB|
|00002280| 4f 4f 50 53 49 5c 5f 44 | 72 61 77 49 6e 66 6f 20 |OOPSI\_D|rawInfo |
|00002290| 74 61 67 2c 0a 79 6f 75 | 20 77 6f 75 6c 64 20 68 |tag,.you| would h|
|000022a0| 61 76 65 20 74 6f 20 73 | 70 65 63 69 66 79 0a 0a |ave to s|pecify..|
|000022b0| 5c 73 6d 61 6c 6c 0a 5c | 62 65 67 69 6e 7b 76 65 |\small.\|begin{ve|
|000022c0| 72 62 61 74 69 6d 7d 0a | 42 6f 6f 70 73 69 4f 62 |rbatim}.|BoopsiOb|
|000022d0| 6a 65 63 74 2c 0a 20 20 | 20 52 65 63 65 73 73 65 |ject,. | Recesse|
|000022e0| 64 46 72 61 6d 65 2c 0a | 20 20 20 2e 2e 2e 0a 20 |dFrame,.| .... |
|000022f0| 20 20 4d 55 49 41 5f 42 | 6f 6f 70 73 69 5f 54 61 | MUIA_B|oopsi_Ta|
|00002300| 67 44 72 61 77 49 6e 66 | 6f 2c 20 4d 59 42 4f 4f |gDrawInf|o, MYBOO|
|00002310| 50 53 49 5f 44 72 61 77 | 49 6e 66 6f 2c 0a 20 20 |PSI_Draw|Info,. |
|00002320| 20 2e 2e 2e 0a 20 20 20 | 4d 59 42 4f 4f 50 53 49 | .... |MYBOOPSI|
|00002330| 5f 44 72 61 77 49 6e 66 | 6f 2c 20 30 2c 20 2f 2a |_DrawInf|o, 0, /*|
|00002340| 20 77 69 6c 6c 20 62 65 | 20 66 69 6c 6c 65 64 20 | will be| filled |
|00002350| 6c 61 74 65 72 20 62 79 | 20 4d 55 49 20 2a 2f 0a |later by| MUI */.|
|00002360| 20 20 20 2e 2e 2e 0a 20 | 20 20 47 41 5f 4c 65 66 | .... | GA_Lef|
|00002370| 74 20 20 2c 20 30 2c 20 | 2f 2a 20 6e 65 65 64 73 |t , 0, |/* needs|
|00002380| 20 74 6f 20 62 65 20 74 | 68 65 72 65 2c 20 77 69 | to be t|here, wi|
|00002390| 6c 6c 20 2a 2f 0a 20 20 | 20 47 41 5f 54 6f 70 20 |ll */. | GA_Top |
|000023a0| 20 20 2c 20 30 2c 20 2f | 2a 20 62 65 20 66 69 6c | , 0, /|* be fil|
|000023b0| 6c 65 64 20 6c 61 74 65 | 72 20 62 79 20 4d 55 49 |led late|r by MUI|
|000023c0| 20 20 2a 2f 0a 20 20 20 | 47 41 5f 57 69 64 74 68 | */. |GA_Width|
|000023d0| 20 2c 20 30 2c 0a 20 20 | 20 47 41 5f 48 65 69 67 | , 0,. | GA_Heig|
|000023e0| 68 74 2c 20 30 2c 0a 0a | 20 20 20 45 6e 64 3b 0a |ht, 0,..| End;.|
|000023f0| 0a 5c 65 6e 64 7b 76 65 | 72 62 61 74 69 6d 7d 0a |.\end{ve|rbatim}.|
|00002400| 5c 6e 6f 72 6d 61 6c 73 | 69 7a 65 0a 5c 73 75 62 |\normals|ize.\sub|
|00002410| 73 75 62 73 65 63 74 69 | 6f 6e 2a 7b 53 45 45 20 |subsecti|on*{SEE |
|00002420| 41 4c 53 4f 7d 0a 4d 55 | 49 41 5c 5f 42 6f 6f 70 |ALSO}.MU|IA\_Boop|
|00002430| 73 69 5c 5f 43 6c 61 73 | 73 49 44 2c 20 4d 55 49 |si\_Clas|sID, MUI|
|00002440| 41 5c 5f 42 6f 6f 70 73 | 69 5c 5f 54 61 67 53 63 |A\_Boops|i\_TagSc|
|00002450| 72 65 65 6e 2c 20 4d 55 | 49 41 5c 5f 42 6f 6f 70 |reen, MU|IA\_Boop|
|00002460| 73 69 5c 5f 54 61 67 57 | 69 6e 64 6f 77 0a 0a 5c |si\_TagW|indow..\|
|00002470| 73 75 62 73 65 63 74 69 | 6f 6e 5b 4d 55 49 41 5c |subsecti|on[MUIA\|
|00002480| 5f 42 6f 6f 70 73 69 5c | 5f 54 61 67 53 63 72 65 |_Boopsi\|_TagScre|
|00002490| 65 6e 5d 7b 4d 55 49 41 | 5c 5f 42 6f 6f 70 73 69 |en]{MUIA|\_Boopsi|
|000024a0| 5c 5f 54 61 67 53 63 72 | 65 65 6e 20 2d 2d 20 28 |\_TagScr|een -- (|
|000024b0| 56 34 29 20 5b 49 53 47 | 5d 2c 20 55 4c 4f 4e 47 |V4) [ISG|], ULONG|
|000024c0| 7d 0a 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |}..\subs|ubsectio|
|000024d0| 6e 2a 7b 46 55 4e 43 54 | 49 4f 4e 7d 0a 55 6e 66 |n*{FUNCT|ION}.Unf|
|000024e0| 6f 72 74 75 6e 61 74 65 | 6c 79 2c 20 6d 6f 73 74 |ortunate|ly, most|
|000024f0| 20 62 6f 6f 70 73 69 20 | 67 61 64 67 65 74 73 20 | boopsi |gadgets |
|00002500| 6e 65 65 64 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |need inf|ormation|
|00002510| 20 6f 6e 0a 74 68 65 20 | 64 69 73 70 6c 61 79 20 | on.the |display |
|00002520| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 20 74 68 65 79 |environm|ent they|
|00002530| 20 77 69 6c 6c 20 72 65 | 73 69 64 65 20 69 6e 20 | will re|side in |
|00002540| 61 74 20 6f 62 6a 65 63 | 74 0a 63 72 65 61 74 69 |at objec|t.creati|
|00002550| 6f 6e 20 74 69 6d 65 2e | 20 44 75 65 20 74 6f 20 |on time.| Due to |
|00002560| 4d 55 49 27 73 20 63 6f | 6e 63 65 70 74 2c 20 74 |MUI's co|ncept, t|
|00002570| 68 69 73 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 0a |his info|rmation.|
|00002580| 69 73 20 6e 6f 74 20 61 | 76 61 69 6c 61 62 6c 65 |is not a|vailable|
|00002590| 20 74 68 61 74 20 65 61 | 72 6c 79 2e 0a 0a 54 6f | that ea|rly...To|
|000025a0| 20 73 6f 6c 76 65 20 74 | 68 69 73 20 70 72 6f 62 | solve t|his prob|
|000025b0| 6c 65 6d 2c 20 4d 55 49 | 20 64 6f 65 73 6e 27 74 |lem, MUI| doesn't|
|000025c0| 20 67 65 6e 65 72 61 74 | 65 20 74 68 65 20 62 6f | generat|e the bo|
|000025d0| 6f 70 73 69 0a 6f 62 6a | 65 63 74 20 69 6e 73 74 |opsi.obj|ect inst|
|000025e0| 61 6e 74 6c 79 2c 20 63 | 72 65 61 74 69 6f 6e 20 |antly, c|reation |
|000025f0| 69 73 20 64 65 6c 61 79 | 65 64 20 75 6e 74 69 6c |is delay|ed until|
|00002600| 20 74 68 65 20 77 69 6e | 64 6f 77 0a 63 6f 6e 74 | the win|dow.cont|
|00002610| 61 69 6e 69 6e 67 20 74 | 68 65 20 67 61 64 67 65 |aining t|he gadge|
|00002620| 74 20 69 73 20 6f 70 65 | 6e 65 64 2e 0a 0a 41 74 |t is ope|ned...At|
|00002630| 20 74 68 69 73 20 74 69 | 6d 65 2c 20 4d 55 49 20 | this ti|me, MUI |
|00002640| 66 69 6c 6c 73 20 73 6f | 6d 65 20 76 61 6c 75 65 |fills so|me value|
|00002650| 73 20 61 62 6f 75 74 20 | 64 69 73 70 6c 61 79 0a |s about |display.|
|00002660| 65 6e 76 69 72 6f 6e 6d | 65 6e 74 20 69 6e 74 6f |environm|ent into|
|00002670| 20 74 68 65 20 62 6f 6f | 70 73 69 20 6f 62 6a 65 | the boo|psi obje|
|00002680| 63 74 73 20 63 72 65 61 | 74 69 6f 6e 20 74 61 67 |cts crea|tion tag|
|00002690| 20 6c 69 73 74 2e 0a 59 | 6f 75 20 68 61 76 65 20 | list..Y|ou have |
|000026a0| 74 6f 20 74 65 6c 6c 20 | 4d 55 49 2c 20 77 68 61 |to tell |MUI, wha|
|000026b0| 74 20 74 61 67 73 20 61 | 72 65 20 61 63 74 75 61 |t tags a|re actua|
|000026c0| 6c 6c 79 20 6e 65 65 64 | 65 64 2e 0a 0a 57 69 74 |lly need|ed...Wit|
|000026d0| 68 20 4d 55 49 41 5c 5f | 42 6f 6f 70 73 69 5c 5f |h MUIA\_|Boopsi\_|
|000026e0| 54 61 67 53 63 72 65 65 | 6e 20 79 6f 75 20 63 61 |TagScree|n you ca|
|000026f0| 6e 20 74 65 6c 6c 20 4d | 55 49 20 77 68 65 72 65 |n tell M|UI where|
|00002700| 0a 74 6f 20 66 69 6c 6c | 20 69 6e 20 61 20 6e 65 |.to fill| in a ne|
|00002710| 65 64 65 64 20 53 63 72 | 65 65 6e 20 73 74 72 75 |eded Scr|een stru|
|00002720| 63 74 75 72 65 2e 0a 0a | 5c 73 75 62 73 75 62 73 |cture...|\subsubs|
|00002730| 65 63 74 69 6f 6e 2a 7b | 45 58 41 4d 50 4c 45 7d |ection*{|EXAMPLE}|
|00002740| 0a 49 66 20 79 6f 75 72 | 20 62 6f 6f 70 73 69 20 |.If your| boopsi |
|00002750| 67 61 64 67 65 74 20 6e | 65 65 64 73 20 61 20 70 |gadget n|eeds a p|
|00002760| 6f 69 6e 74 65 72 20 74 | 6f 20 61 20 53 63 72 65 |ointer t|o a Scre|
|00002770| 65 6e 0a 73 74 72 75 63 | 74 75 72 65 20 73 75 70 |en.struc|ture sup|
|00002780| 70 6c 69 65 64 20 77 69 | 74 68 20 74 68 65 20 4d |plied wi|th the M|
|00002790| 59 42 4f 4f 50 53 49 5c | 5f 53 63 72 65 65 6e 20 |YBOOPSI\|_Screen |
|000027a0| 74 61 67 2c 0a 79 6f 75 | 20 77 6f 75 6c 64 20 68 |tag,.you| would h|
|000027b0| 61 76 65 20 74 6f 20 73 | 70 65 63 69 66 79 0a 0a |ave to s|pecify..|
|000027c0| 5c 73 6d 61 6c 6c 0a 5c | 62 65 67 69 6e 7b 76 65 |\small.\|begin{ve|
|000027d0| 72 62 61 74 69 6d 7d 0a | 42 6f 6f 70 73 69 4f 62 |rbatim}.|BoopsiOb|
|000027e0| 6a 65 63 74 2c 0a 20 20 | 20 52 65 63 65 73 73 65 |ject,. | Recesse|
|000027f0| 64 46 72 61 6d 65 2c 0a | 20 20 20 2e 2e 2e 0a 20 |dFrame,.| .... |
|00002800| 20 20 4d 55 49 41 5f 42 | 6f 6f 70 73 69 5f 54 61 | MUIA_B|oopsi_Ta|
|00002810| 67 53 63 72 65 65 6e 2c | 20 4d 59 42 4f 4f 50 53 |gScreen,| MYBOOPS|
|00002820| 49 5f 53 63 72 65 65 6e | 2c 0a 20 20 20 2e 2e 2e |I_Screen|,. ...|
|00002830| 0a 20 20 20 4d 59 42 4f | 4f 50 53 49 5f 53 63 72 |. MYBO|OPSI_Scr|
|00002840| 65 65 6e 2c 20 30 2c 20 | 2f 2a 20 77 69 6c 6c 20 |een, 0, |/* will |
|00002850| 62 65 20 66 69 6c 6c 65 | 64 20 6c 61 74 65 72 20 |be fille|d later |
|00002860| 62 79 20 4d 55 49 20 2a | 2f 0a 20 20 20 2e 2e 2e |by MUI *|/. ...|
|00002870| 0a 20 20 20 47 41 5f 4c | 65 66 74 20 20 2c 20 30 |. GA_L|eft , 0|
|00002880| 2c 20 2f 2a 20 6e 65 65 | 64 73 20 74 6f 20 62 65 |, /* nee|ds to be|
|00002890| 20 74 68 65 72 65 2c 20 | 77 69 6c 6c 20 2a 2f 0a | there, |will */.|
|000028a0| 20 20 20 47 41 5f 54 6f | 70 20 20 20 2c 20 30 2c | GA_To|p , 0,|
|000028b0| 20 2f 2a 20 62 65 20 66 | 69 6c 6c 65 64 20 6c 61 | /* be f|illed la|
|000028c0| 74 65 72 20 62 79 20 4d | 55 49 20 20 2a 2f 0a 20 |ter by M|UI */. |
|000028d0| 20 20 47 41 5f 57 69 64 | 74 68 20 2c 20 30 2c 0a | GA_Wid|th , 0,.|
|000028e0| 20 20 20 47 41 5f 48 65 | 69 67 68 74 2c 20 30 2c | GA_He|ight, 0,|
|000028f0| 0a 0a 20 20 20 45 6e 64 | 3b 0a 0a 5c 65 6e 64 7b |.. End|;..\end{|
|00002900| 76 65 72 62 61 74 69 6d | 7d 0a 5c 6e 6f 72 6d 61 |verbatim|}.\norma|
|00002910| 6c 73 69 7a 65 0a 5c 73 | 75 62 73 75 62 73 65 63 |lsize.\s|ubsubsec|
|00002920| 74 69 6f 6e 2a 7b 53 45 | 45 20 41 4c 53 4f 7d 0a |tion*{SE|E ALSO}.|
|00002930| 4d 55 49 41 5c 5f 42 6f | 6f 70 73 69 5c 5f 43 6c |MUIA\_Bo|opsi\_Cl|
|00002940| 61 73 73 49 44 2c 20 4d | 55 49 41 5c 5f 42 6f 6f |assID, M|UIA\_Boo|
|00002950| 70 73 69 5c 5f 54 61 67 | 44 72 61 77 49 6e 66 6f |psi\_Tag|DrawInfo|
|00002960| 2c 0a 4d 55 49 41 5c 5f | 42 6f 6f 70 73 69 5c 5f |,.MUIA\_|Boopsi\_|
|00002970| 54 61 67 57 69 6e 64 6f | 77 0a 0a 5c 73 75 62 73 |TagWindo|w..\subs|
|00002980| 65 63 74 69 6f 6e 5b 4d | 55 49 41 5c 5f 42 6f 6f |ection[M|UIA\_Boo|
|00002990| 70 73 69 5c 5f 54 61 67 | 57 69 6e 64 6f 77 5d 7b |psi\_Tag|Window]{|
|000029a0| 4d 55 49 41 5c 5f 42 6f | 6f 70 73 69 5c 5f 54 61 |MUIA\_Bo|opsi\_Ta|
|000029b0| 67 57 69 6e 64 6f 77 20 | 2d 2d 20 28 56 34 29 20 |gWindow |-- (V4) |
|000029c0| 5b 49 53 47 5d 2c 20 55 | 4c 4f 4e 47 7d 0a 0a 5c |[ISG], U|LONG}..\|
|000029d0| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 46 |subsubse|ction*{F|
|000029e0| 55 4e 43 54 49 4f 4e 7d | 0a 55 6e 66 6f 72 74 75 |UNCTION}|.Unfortu|
|000029f0| 6e 61 74 65 6c 79 2c 20 | 6d 6f 73 74 20 62 6f 6f |nately, |most boo|
|00002a00| 70 73 69 20 67 61 64 67 | 65 74 73 20 6e 65 65 64 |psi gadg|ets need|
|00002a10| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 6f 6e 0a | informa|tion on.|
|00002a20| 74 68 65 20 64 69 73 70 | 6c 61 79 20 65 6e 76 69 |the disp|lay envi|
|00002a30| 72 6f 6e 6d 65 6e 74 20 | 74 68 65 79 20 77 69 6c |ronment |they wil|
|00002a40| 6c 20 72 65 73 69 64 65 | 20 69 6e 20 61 74 20 6f |l reside| in at o|
|00002a50| 62 6a 65 63 74 0a 63 72 | 65 61 74 69 6f 6e 20 74 |bject.cr|eation t|
|00002a60| 69 6d 65 2e 20 44 75 65 | 20 74 6f 20 4d 55 49 27 |ime. Due| to MUI'|
|00002a70| 73 20 63 6f 6e 63 65 70 | 74 2c 20 74 68 69 73 20 |s concep|t, this |
|00002a80| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 0a 69 73 20 6e |informat|ion.is n|
|00002a90| 6f 74 20 61 76 61 69 6c | 61 62 6c 65 20 74 68 61 |ot avail|able tha|
|00002aa0| 74 20 65 61 72 6c 79 2e | 0a 0a 54 6f 20 73 6f 6c |t early.|..To sol|
|00002ab0| 76 65 20 74 68 69 73 20 | 70 72 6f 62 6c 65 6d 2c |ve this |problem,|
|00002ac0| 20 4d 55 49 20 64 6f 65 | 73 6e 27 74 20 67 65 6e | MUI doe|sn't gen|
|00002ad0| 65 72 61 74 65 20 74 68 | 65 20 62 6f 6f 70 73 69 |erate th|e boopsi|
|00002ae0| 0a 6f 62 6a 65 63 74 20 | 69 6e 73 74 61 6e 74 6c |.object |instantl|
|00002af0| 79 2c 20 63 72 65 61 74 | 69 6f 6e 20 69 73 20 64 |y, creat|ion is d|
|00002b00| 65 6c 61 79 65 64 20 75 | 6e 74 69 6c 20 74 68 65 |elayed u|ntil the|
|00002b10| 20 77 69 6e 64 6f 77 0a | 63 6f 6e 74 61 69 6e 69 | window.|containi|
|00002b20| 6e 67 20 74 68 65 20 67 | 61 64 67 65 74 20 69 73 |ng the g|adget is|
|00002b30| 20 6f 70 65 6e 65 64 2e | 0a 0a 41 74 20 74 68 69 | opened.|..At thi|
|00002b40| 73 20 74 69 6d 65 2c 20 | 4d 55 49 20 66 69 6c 6c |s time, |MUI fill|
|00002b50| 73 20 73 6f 6d 65 20 76 | 61 6c 75 65 73 20 61 62 |s some v|alues ab|
|00002b60| 6f 75 74 20 64 69 73 70 | 6c 61 79 0a 65 6e 76 69 |out disp|lay.envi|
|00002b70| 72 6f 6e 6d 65 6e 74 20 | 69 6e 74 6f 20 74 68 65 |ronment |into the|
|00002b80| 20 62 6f 6f 70 73 69 20 | 6f 62 6a 65 63 74 73 20 | boopsi |objects |
|00002b90| 63 72 65 61 74 69 6f 6e | 20 74 61 67 20 6c 69 73 |creation| tag lis|
|00002ba0| 74 2e 0a 59 6f 75 20 68 | 61 76 65 20 74 6f 20 74 |t..You h|ave to t|
|00002bb0| 65 6c 6c 20 4d 55 49 2c | 20 77 68 61 74 20 74 61 |ell MUI,| what ta|
|00002bc0| 67 73 20 61 72 65 20 61 | 63 74 75 61 6c 6c 79 20 |gs are a|ctually |
|00002bd0| 6e 65 65 64 65 64 2e 0a | 0a 57 69 74 68 20 4d 55 |needed..|.With MU|
|00002be0| 49 41 5c 5f 42 6f 6f 70 | 73 69 5c 5f 54 61 67 57 |IA\_Boop|si\_TagW|
|00002bf0| 69 6e 64 6f 77 20 79 6f | 75 20 63 61 6e 20 74 65 |indow yo|u can te|
|00002c00| 6c 6c 20 4d 55 49 20 77 | 68 65 72 65 0a 74 6f 20 |ll MUI w|here.to |
|00002c10| 66 69 6c 6c 20 69 6e 20 | 61 20 6e 65 65 64 65 64 |fill in |a needed|
|00002c20| 20 57 69 6e 64 6f 77 20 | 73 74 72 75 63 74 75 72 | Window |structur|
|00002c30| 65 2e 0a 0a 5c 73 75 62 | 73 75 62 73 65 63 74 69 |e...\sub|subsecti|
|00002c40| 6f 6e 2a 7b 45 58 41 4d | 50 4c 45 7d 0a 49 66 20 |on*{EXAM|PLE}.If |
|00002c50| 79 6f 75 72 20 62 6f 6f | 70 73 69 20 67 61 64 67 |your boo|psi gadg|
|00002c60| 65 74 20 6e 65 65 64 73 | 20 61 20 70 6f 69 6e 74 |et needs| a point|
|00002c70| 65 72 20 74 6f 20 61 20 | 57 69 6e 64 6f 77 0a 73 |er to a |Window.s|
|00002c80| 74 72 75 63 74 75 72 65 | 20 73 75 70 70 6c 69 65 |tructure| supplie|
|00002c90| 64 20 77 69 74 68 20 74 | 68 65 20 4d 59 42 4f 4f |d with t|he MYBOO|
|00002ca0| 50 53 49 5c 5f 57 69 6e | 64 6f 77 20 74 61 67 2c |PSI\_Win|dow tag,|
|00002cb0| 0a 79 6f 75 20 77 6f 75 | 6c 64 20 68 61 76 65 20 |.you wou|ld have |
|00002cc0| 74 6f 20 73 70 65 63 69 | 66 79 0a 0a 5c 73 6d 61 |to speci|fy..\sma|
|00002cd0| 6c 6c 0a 5c 62 65 67 69 | 6e 7b 76 65 72 62 61 74 |ll.\begi|n{verbat|
|00002ce0| 69 6d 7d 0a 42 6f 6f 70 | 73 69 4f 62 6a 65 63 74 |im}.Boop|siObject|
|00002cf0| 2c 0a 20 20 20 52 65 63 | 65 73 73 65 64 46 72 61 |,. Rec|essedFra|
|00002d00| 6d 65 2c 0a 20 20 20 2e | 2e 2e 0a 20 20 20 4d 55 |me,. .|... MU|
|00002d10| 49 41 5f 42 6f 6f 70 73 | 69 5f 54 61 67 57 69 6e |IA_Boops|i_TagWin|
|00002d20| 64 6f 77 2c 20 4d 59 42 | 4f 4f 50 53 49 5f 57 69 |dow, MYB|OOPSI_Wi|
|00002d30| 6e 64 6f 77 2c 0a 20 20 | 20 2e 2e 2e 0a 20 20 20 |ndow,. | .... |
|00002d40| 4d 59 42 4f 4f 50 53 49 | 5f 57 69 6e 64 6f 77 2c |MYBOOPSI|_Window,|
|00002d50| 20 30 2c 20 2f 2a 20 77 | 69 6c 6c 20 62 65 20 66 | 0, /* w|ill be f|
|00002d60| 69 6c 6c 65 64 20 6c 61 | 74 65 72 20 62 79 20 4d |illed la|ter by M|
|00002d70| 55 49 20 2a 2f 0a 20 20 | 20 2e 2e 2e 0a 20 20 20 |UI */. | .... |
|00002d80| 47 41 5f 4c 65 66 74 20 | 20 2c 20 30 2c 20 2f 2a |GA_Left | , 0, /*|
|00002d90| 20 6e 65 65 64 73 20 74 | 6f 20 62 65 20 74 68 65 | needs t|o be the|
|00002da0| 72 65 2c 20 77 69 6c 6c | 20 2a 2f 0a 20 20 20 47 |re, will| */. G|
|00002db0| 41 5f 54 6f 70 20 20 20 | 2c 20 30 2c 20 2f 2a 20 |A_Top |, 0, /* |
|00002dc0| 62 65 20 66 69 6c 6c 65 | 64 20 6c 61 74 65 72 20 |be fille|d later |
|00002dd0| 62 79 20 4d 55 49 20 20 | 2a 2f 0a 20 20 20 47 41 |by MUI |*/. GA|
|00002de0| 5f 57 69 64 74 68 20 2c | 20 30 2c 0a 20 20 20 47 |_Width ,| 0,. G|
|00002df0| 41 5f 48 65 69 67 68 74 | 2c 20 30 2c 0a 0a 20 20 |A_Height|, 0,.. |
|00002e00| 20 45 6e 64 3b 0a 0a 5c | 65 6e 64 7b 76 65 72 62 | End;..\|end{verb|
|00002e10| 61 74 69 6d 7d 0a 5c 6e | 6f 72 6d 61 6c 73 69 7a |atim}.\n|ormalsiz|
|00002e20| 65 0a 5c 73 75 62 73 75 | 62 73 65 63 74 69 6f 6e |e.\subsu|bsection|
|00002e30| 2a 7b 53 45 45 20 41 4c | 53 4f 7d 0a 4d 55 49 41 |*{SEE AL|SO}.MUIA|
|00002e40| 5c 5f 42 6f 6f 70 73 69 | 5c 5f 43 6c 61 73 73 49 |\_Boopsi|\_ClassI|
|00002e50| 44 2c 20 4d 55 49 41 5c | 5f 42 6f 6f 70 73 69 5c |D, MUIA\|_Boopsi\|
|00002e60| 5f 54 61 67 44 72 61 77 | 49 6e 66 6f 2c 0a 4d 55 |_TagDraw|Info,.MU|
|00002e70| 49 41 5c 5f 42 6f 6f 70 | 73 69 5c 5f 54 61 67 57 |IA\_Boop|si\_TagW|
|00002e80| 69 6e 64 6f 77 0a 0a 0a | |indow...| |
+--------+-------------------------+-------------------------+--------+--------+