home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 9 / FreshFishVol9-CD2.bin / bbs / docs / mui_autodocs-2.3.lha / MUI_Autodocs / Source / mui_gauge.tex < prev    next >
LaTeX Document  |  1994-12-31  |  1.9 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 47 61 75 67 65 2e 6d |\section|{Gauge.m|
|00000010| 75 69 7d 0a 0a 41 20 67 | 61 75 67 65 20 6f 62 6a |ui}..A g|auge obj|
|00000020| 65 63 74 20 69 73 20 61 | 20 6e 69 63 65 20 6c 6f |ect is a| nice lo|
|00000030| 6f 6b 69 6e 67 20 64 69 | 73 70 6c 61 79 20 65 6c |oking di|splay el|
|00000040| 65 6d 65 6e 74 20 75 73 | 65 66 75 6c 0a 66 6f 72 |ement us|eful.for|
|00000050| 20 73 6f 6d 65 20 6b 69 | 6e 64 20 6f 66 20 70 72 | some ki|nd of pr|
|00000060| 6f 67 72 65 73 73 20 64 | 69 73 70 6c 61 79 2e 0a |ogress d|isplay..|
|00000070| 0a 5c 73 75 62 73 65 63 | 74 69 6f 6e 5b 4d 55 49 |.\subsec|tion[MUI|
|00000080| 41 5c 5f 47 61 75 67 65 | 5c 5f 43 75 72 72 65 6e |A\_Gauge|\_Curren|
|00000090| 74 5d 7b 4d 55 49 41 5c | 5f 47 61 75 67 65 5c 5f |t]{MUIA\|_Gauge\_|
|000000a0| 43 75 72 72 65 6e 74 20 | 2d 2d 20 28 56 34 29 20 |Current |-- (V4) |
|000000b0| 5b 49 53 47 5d 2c 20 4c | 4f 4e 47 7d 0a 0a 5c 73 |[ISG], L|ONG}..\s|
|000000c0| 75 62 73 75 62 73 65 63 | 74 69 6f 6e 2a 7b 46 55 |ubsubsec|tion*{FU|
|000000d0| 4e 43 54 49 4f 4e 7d 0a | 53 65 74 20 74 68 65 20 |NCTION}.|Set the |
|000000e0| 63 75 72 72 65 6e 74 20 | 6c 65 76 65 6c 20 6f 66 |current |level of|
|000000f0| 20 74 68 65 20 67 61 75 | 67 65 2e 20 54 68 65 20 | the gau|ge. The |
|00000100| 76 61 6c 75 65 20 6d 75 | 73 74 20 62 65 0a 62 65 |value mu|st be.be|
|00000110| 74 77 65 65 6e 20 30 20 | 61 6e 64 20 4d 55 49 41 |tween 0 |and MUIA|
|00000120| 5c 5f 47 61 75 67 65 5c | 5f 4d 61 78 2e 0a 0a 5c |\_Gauge\|_Max...\|
|00000130| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 53 |subsubse|ction*{S|
|00000140| 45 45 20 41 4c 53 4f 7d | 0a 4d 55 49 41 5c 5f 47 |EE ALSO}|.MUIA\_G|
|00000150| 61 75 67 65 5c 5f 4d 61 | 78 0a 0a 5c 73 75 62 73 |auge\_Ma|x..\subs|
|00000160| 65 63 74 69 6f 6e 5b 4d | 55 49 41 5c 5f 47 61 75 |ection[M|UIA\_Gau|
|00000170| 67 65 5c 5f 44 69 76 69 | 64 65 5d 7b 4d 55 49 41 |ge\_Divi|de]{MUIA|
|00000180| 5c 5f 47 61 75 67 65 5c | 5f 44 69 76 69 64 65 20 |\_Gauge\|_Divide |
|00000190| 2d 2d 20 28 56 34 29 20 | 5b 49 53 47 5d 2c 20 42 |-- (V4) |[ISG], B|
|000001a0| 4f 4f 4c 7d 0a 0a 5c 73 | 75 62 73 75 62 73 65 63 |OOL}..\s|ubsubsec|
|000001b0| 74 69 6f 6e 2a 7b 46 55 | 4e 43 54 49 4f 4e 7d 0a |tion*{FU|NCTION}.|
|000001c0| 49 66 20 74 68 69 73 20 | 61 74 74 72 69 62 75 74 |If this |attribut|
|000001d0| 65 20 69 73 20 21 3d 20 | 30 2c 20 65 76 65 72 79 |e is != |0, every|
|000001e0| 20 76 61 6c 75 65 20 73 | 65 74 20 77 69 74 68 0a | value s|et with.|
|000001f0| 4d 55 49 41 5c 5f 47 61 | 75 67 65 5c 5f 43 75 72 |MUIA\_Ga|uge\_Cur|
|00000200| 72 65 6e 74 20 77 69 6c | 6c 20 62 65 20 64 69 76 |rent wil|l be div|
|00000210| 69 64 65 64 20 62 79 20 | 74 68 69 73 20 62 65 66 |ided by |this bef|
|00000220| 6f 72 65 0a 66 75 72 74 | 68 65 72 20 70 72 6f 63 |ore.furt|her proc|
|00000230| 65 73 73 69 6e 67 2e 0a | 0a 5c 73 75 62 73 75 62 |essing..|.\subsub|
|00000240| 73 65 63 74 69 6f 6e 2a | 7b 45 58 41 4d 50 4c 45 |section*|{EXAMPLE|
|00000250| 7d 0a 5c 73 6d 61 6c 6c | 0a 5c 62 65 67 69 6e 7b |}.\small|.\begin{|
|00000260| 76 65 72 62 61 74 69 6d | 7d 0a 53 65 65 20 42 6f |verbatim|}.See Bo|
|00000270| 6f 70 73 69 44 6f 6f 72 | 20 64 65 6d 6f 20 70 72 |opsiDoor| demo pr|
|00000280| 6f 67 72 61 6d 2e 0a 0a | 5c 65 6e 64 7b 76 65 72 |ogram...|\end{ver|
|00000290| 62 61 74 69 6d 7d 0a 5c | 6e 6f 72 6d 61 6c 73 69 |batim}.\|normalsi|
|000002a0| 7a 65 0a 5c 73 75 62 73 | 75 62 73 65 63 74 69 6f |ze.\subs|ubsectio|
|000002b0| 6e 2a 7b 53 45 45 20 41 | 4c 53 4f 7d 0a 4d 55 49 |n*{SEE A|LSO}.MUI|
|000002c0| 41 5c 5f 47 61 75 67 65 | 5c 5f 43 75 72 72 65 6e |A\_Gauge|\_Curren|
|000002d0| 74 0a 0a 5c 73 75 62 73 | 65 63 74 69 6f 6e 5b 4d |t..\subs|ection[M|
|000002e0| 55 49 41 5c 5f 47 61 75 | 67 65 5c 5f 48 6f 72 69 |UIA\_Gau|ge\_Hori|
|000002f0| 7a 5d 7b 4d 55 49 41 5c | 5f 47 61 75 67 65 5c 5f |z]{MUIA\|_Gauge\_|
|00000300| 48 6f 72 69 7a 20 2d 2d | 20 28 56 34 29 20 5b 49 |Horiz --| (V4) [I|
|00000310| 2e 2e 5d 2c 20 42 4f 4f | 4c 7d 0a 0a 5c 73 75 62 |..], BOO|L}..\sub|
|00000320| 73 75 62 73 65 63 74 69 | 6f 6e 2a 7b 46 55 4e 43 |subsecti|on*{FUNC|
|00000330| 54 49 4f 4e 7d 0a 44 65 | 74 65 72 6d 69 6e 65 20 |TION}.De|termine |
|00000340| 69 66 20 79 6f 75 20 77 | 61 6e 74 20 61 20 68 6f |if you w|ant a ho|
|00000350| 72 69 7a 6f 6e 74 61 6c | 20 6f 72 20 76 65 72 74 |rizontal| or vert|
|00000360| 69 63 61 6c 20 67 61 75 | 67 65 2e 0a 44 65 66 61 |ical gau|ge..Defa|
|00000370| 75 6c 74 20 74 6f 20 46 | 41 4c 53 45 0a 0a 5c 73 |ult to F|ALSE..\s|
|00000380| 75 62 73 75 62 73 65 63 | 74 69 6f 6e 2a 7b 53 45 |ubsubsec|tion*{SE|
|00000390| 45 20 41 4c 53 4f 7d 0a | 4d 55 49 41 5c 5f 47 61 |E ALSO}.|MUIA\_Ga|
|000003a0| 75 67 65 5c 5f 43 75 72 | 72 65 6e 74 0a 0a 5c 73 |uge\_Cur|rent..\s|
|000003b0| 75 62 73 65 63 74 69 6f | 6e 5b 4d 55 49 41 5c 5f |ubsectio|n[MUIA\_|
|000003c0| 47 61 75 67 65 5c 5f 49 | 6e 66 6f 54 65 78 74 5d |Gauge\_I|nfoText]|
|000003d0| 7b 4d 55 49 41 5c 5f 47 | 61 75 67 65 5c 5f 49 6e |{MUIA\_G|auge\_In|
|000003e0| 66 6f 54 65 78 74 20 2d | 2d 20 28 56 37 29 20 5b |foText -|- (V7) [|
|000003f0| 49 53 47 5d 2c 20 63 68 | 61 72 20 24 5c 61 73 74 |ISG], ch|ar $\ast|
|00000400| 24 7d 0a 0a 5c 73 75 62 | 73 75 62 73 65 63 74 69 |$}..\sub|subsecti|
|00000410| 6f 6e 2a 7b 46 55 4e 43 | 54 49 4f 4e 7d 0a 54 68 |on*{FUNC|TION}.Th|
|00000420| 65 20 74 65 78 74 20 67 | 69 76 65 6e 20 68 65 72 |e text g|iven her|
|00000430| 65 20 69 73 20 64 69 73 | 70 6c 61 79 65 64 20 77 |e is dis|played w|
|00000440| 69 74 68 69 6e 20 61 20 | 67 61 75 67 65 20 6f 62 |ithin a |gauge ob|
|00000450| 6a 65 63 74 0a 61 6e 64 | 20 69 73 20 75 73 75 61 |ject.and| is usua|
|00000460| 6c 6c 79 20 69 6e 74 65 | 6e 64 65 64 20 74 6f 20 |lly inte|nded to |
|00000470| 73 68 6f 77 20 73 6f 6d | 65 20 6b 69 6e 64 20 6f |show som|e kind o|
|00000480| 66 20 70 65 72 63 65 6e | 74 61 67 65 0a 69 6e 66 |f percen|tage.inf|
|00000490| 6f 72 6d 61 74 69 6f 6e | 2e 0a 0a 54 68 69 73 20 |ormation|...This |
|000004a0| 74 65 78 74 73 20 70 72 | 65 70 61 72 73 65 20 69 |texts pr|eparse i|
|000004b0| 73 20 73 65 74 20 74 6f | 20 27 27 24 5c 62 61 63 |s set to| ''$\bac|
|000004c0| 6b 73 6c 61 73 68 24 33 | 33 63 24 5c 62 61 63 6b |kslash$3|3c$\back|
|000004d0| 73 6c 61 73 68 24 30 33 | 33 38 27 27 2c 20 74 68 |slash$03|38'', th|
|000004e0| 69 73 20 6d 61 6b 65 73 | 0a 69 74 20 61 70 70 65 |is makes|.it appe|
|000004f0| 61 72 20 63 65 6e 74 65 | 72 65 64 20 61 6e 64 20 |ar cente|red and |
|00000500| 68 69 67 68 6c 69 67 68 | 74 65 64 20 62 79 20 64 |highligh|ted by d|
|00000510| 65 66 61 75 6c 74 2e 0a | 0a 41 6e 79 20 5c 25 6c |efault..|.Any \%l|
|00000520| 64 20 77 69 6c 6c 20 62 | 65 20 72 65 70 6c 61 63 |d will b|e replac|
|00000530| 65 64 20 77 69 74 68 20 | 74 68 65 20 63 75 72 72 |ed with |the curr|
|00000540| 65 6e 74 20 76 61 6c 75 | 65 20 6f 66 0a 4d 55 49 |ent valu|e of.MUI|
|00000550| 41 5c 5f 47 61 75 67 65 | 5c 5f 43 75 72 72 65 6e |A\_Gauge|\_Curren|
|00000560| 74 2e 0a 0a 5c 73 75 62 | 73 75 62 73 65 63 74 69 |t...\sub|subsecti|
|00000570| 6f 6e 2a 7b 4e 4f 54 45 | 7d 0a 43 75 72 72 65 6e |on*{NOTE|}.Curren|
|00000580| 74 6c 79 2c 20 49 6e 66 | 6f 54 65 78 74 20 77 6f |tly, Inf|oText wo|
|00000590| 72 6b 73 20 6f 6e 6c 79 | 20 66 6f 72 20 68 6f 72 |rks only| for hor|
|000005a0| 69 7a 6f 6e 74 61 6c 0a | 67 61 75 67 65 73 20 61 |izontal.|gauges a|
|000005b0| 6e 64 20 67 69 76 65 73 | 20 74 68 65 6d 20 61 20 |nd gives| them a |
|000005c0| 66 69 78 65 64 20 68 65 | 69 67 68 74 2e 0a 0a 5c |fixed he|ight...\|
|000005d0| 73 75 62 73 75 62 73 65 | 63 74 69 6f 6e 2a 7b 56 |subsubse|ction*{V|
|000005e0| 45 52 53 49 4f 4e 7d 0a | 49 6d 70 6c 65 6d 65 6e |ERSION}.|Implemen|
|000005f0| 74 65 64 20 69 6e 20 76 | 65 72 73 69 6f 6e 20 37 |ted in v|ersion 7|
|00000600| 20 6f 66 20 67 61 75 67 | 65 20 63 6c 61 73 73 20 | of gaug|e class |
|00000610| 28 4d 55 49 20 31 2e 35 | 29 2e 0a 0a 5c 73 75 62 |(MUI 1.5|)...\sub|
|00000620| 73 75 62 73 65 63 74 69 | 6f 6e 2a 7b 45 58 41 4d |subsecti|on*{EXAM|
|00000630| 50 4c 45 7d 0a 5c 73 6d | 61 6c 6c 0a 5c 62 65 67 |PLE}.\sm|all.\beg|
|00000640| 69 6e 7b 76 65 72 62 61 | 74 69 6d 7d 0a 2e 2e 2e |in{verba|tim}....|
|00000650| 0a 4d 55 49 41 5f 47 61 | 75 67 65 5f 49 6e 66 6f |.MUIA_Ga|uge_Info|
|00000660| 54 65 78 74 2c 20 22 25 | 6c 64 20 25 25 22 2c 0a |Text, "%|ld %%",.|
|00000670| 2e 2e 2e 0a 0a 5c 65 6e | 64 7b 76 65 72 62 61 74 |.....\en|d{verbat|
|00000680| 69 6d 7d 0a 5c 6e 6f 72 | 6d 61 6c 73 69 7a 65 0a |im}.\nor|malsize.|
|00000690| 5c 73 75 62 73 75 62 73 | 65 63 74 69 6f 6e 2a 7b |\subsubs|ection*{|
|000006a0| 53 45 45 20 41 4c 53 4f | 7d 0a 4d 55 49 41 5c 5f |SEE ALSO|}.MUIA\_|
|000006b0| 47 61 75 67 65 5c 5f 43 | 75 72 72 65 6e 74 0a 0a |Gauge\_C|urrent..|
|000006c0| 5c 73 75 62 73 65 63 74 | 69 6f 6e 5b 4d 55 49 41 |\subsect|ion[MUIA|
|000006d0| 5c 5f 47 61 75 67 65 5c | 5f 4d 61 78 5d 7b 4d 55 |\_Gauge\|_Max]{MU|
|000006e0| 49 41 5c 5f 47 61 75 67 | 65 5c 5f 4d 61 78 20 2d |IA\_Gaug|e\_Max -|
|000006f0| 2d 20 28 56 34 29 20 5b | 49 53 47 5d 2c 20 4c 4f |- (V4) [|ISG], LO|
|00000700| 4e 47 7d 0a 0a 5c 73 75 | 62 73 75 62 73 65 63 74 |NG}..\su|bsubsect|
|00000710| 69 6f 6e 2a 7b 46 55 4e | 43 54 49 4f 4e 7d 0a 53 |ion*{FUN|CTION}.S|
|00000720| 65 74 20 74 68 65 20 6d | 61 78 69 6d 75 6d 20 76 |et the m|aximum v|
|00000730| 61 6c 75 65 20 66 6f 72 | 20 74 68 65 20 67 61 75 |alue for| the gau|
|00000740| 67 65 2e 0a 44 65 66 61 | 75 6c 74 73 20 74 6f 20 |ge..Defa|ults to |
|00000750| 31 30 30 2e 0a 0a 5c 73 | 75 62 73 75 62 73 65 63 |100...\s|ubsubsec|
|00000760| 74 69 6f 6e 2a 7b 53 45 | 45 20 41 4c 53 4f 7d 0a |tion*{SE|E ALSO}.|
|00000770| 4d 55 49 41 5c 5f 47 61 | 75 67 65 5c 5f 43 75 72 |MUIA\_Ga|uge\_Cur|
|00000780| 72 65 6e 74 0a 0a 0a | |rent... | |
+--------+-------------------------+-------------------------+--------+--------+