home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1997 February / macformat-047.iso / Shareware Plus / Developers / LogoMation 1.1.4 ƒ / Examples / Lib / Buttons.lib next >
MacBinary  |  1995-09-18  |  2.3 KB  |  [UVtx/UVtl]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: Buttons.lib

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Sibelius Music / Score (music/sibeliusMusicScore) ext Unsupported
1% dexvert IntelliFont Font (font/intelliFont) ext Unsupported
1% dexvert Amiga Hunk Library/Object (other/amigaLibrary) ext Unsupported
1% dexvert Amiga Shared Library (other/amigaSharedLibrary) ext Unsupported
1% dexvert Chess Assistant File (other/chessAssistant) ext Unsupported
1% dexvert CODESYS Library (other/codesysLibrary) ext Unsupported
1% dexvert COFF Library (other/coffLibrary) ext Unsupported
1% dexvert P-CAD binary Library (other/pCADBinaryLibrary) ext Unsupported
1% dexvert Maple Library (other/mapleLibrary) ext Unsupported
1% dexvert TopSpeed Modula-2 Library (other/topSpeedModula2Library) ext Unsupported
100% file MacBinary II, Mon Sep 11 14:47:39 1995, modified Sun Sep 17 20:51:34 1995, creator 'UVtl', type 'UVtx', 1723 bytes "Buttons.lib" , at 0x73b 371 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[UVtx]
macFileCreator[UVtl]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0b 42 75 74 74 6f 6e | 73 2e 6c 69 62 00 00 00 |..Button|s.lib...|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 55 56 74 78 55 56 74 | 6c 00 00 00 00 00 00 00 |.UVtxUVt|l.......|
|00000050| 00 00 00 00 00 06 bb 00 | 00 01 73 ac 7a 34 cb ac |........|..s.z4..|
|00000060| 82 73 16 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.s......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 4b e1 00 00 |........|....K...|
|00000080| 2f 2f 20 53 65 6e 64 20 | 62 79 20 47 65 72 64 20 |// Send |by Gerd |
|00000090| 48 6f 65 72 65 6e 20 28 | 67 65 72 64 68 40 69 6d |Hoeren (|gerdh@im|
|000000a0| 73 2e 63 6f 6d 29 2e 20 | 20 41 20 67 72 65 61 74 |s.com). | A great|
|000000b0| 0d 2f 2f 20 64 65 6d 6f | 20 6f 66 20 75 73 69 6e |.// demo| of usin|
|000000c0| 67 20 74 68 65 20 6d 6f | 75 73 65 20 6f 70 73 20 |g the mo|use ops |
|000000d0| 66 6f 72 20 69 6d 70 6c | 65 6d 65 6e 74 69 6e 67 |for impl|ementing|
|000000e0| 0d 2f 2f 20 62 75 74 74 | 6f 6e 73 20 28 45 64 2e |.// butt|ons (Ed.|
|000000f0| 29 2e 0d 0d 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |)...////|////////|
|00000100| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000110| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|00000120| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 0d |////////|///////.|
|00000130| 2f 2f 0d 2f 2f 20 52 6f | 75 74 69 6e 65 73 20 66 |//.// Ro|utines f|
|00000140| 6f 72 20 64 72 61 77 69 | 6e 67 20 61 20 62 75 74 |or drawi|ng a but|
|00000150| 74 6f 6e 20 61 6e 64 20 | 63 68 65 63 6b 69 6e 67 |ton and |checking|
|00000160| 20 69 66 20 74 68 65 20 | 6d 6f 75 73 65 0d 2f 2f | if the |mouse.//|
|00000170| 20 69 73 20 63 75 72 72 | 65 6e 74 6c 79 20 70 6f | is curr|ently po|
|00000180| 73 69 74 69 6f 6e 65 64 | 20 6f 76 65 72 20 61 20 |sitioned| over a |
|00000190| 62 75 74 74 6f 6e 2e 0d | 2f 2f 0d 2f 2f 2f 2f 2f |button..|//./////|
|000001a0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|000001b0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|000001c0| 2f 2f 2f 2f 2f 2f 2f 2f | 2f 2f 2f 2f 2f 2f 2f 2f |////////|////////|
|000001d0| 2f 2f 2f 2f 2f 2f 0d 0d | 2f 2f 0d 2f 2f 20 64 72 |//////..|//.// dr|
|000001e0| 61 77 42 75 74 74 6f 6e | 20 2d 2d 20 44 72 61 77 |awButton| -- Draw|
|000001f0| 20 61 20 62 75 74 74 6f | 6e 2e 0d 2f 2f 0d 2f 2f | a butto|n..//.//|
|00000200| 20 42 75 74 74 6f 6e 73 | 20 61 72 65 20 6e 75 6d | Buttons| are num|
|00000210| 62 65 72 65 64 20 73 74 | 61 72 74 69 6e 67 20 77 |bered st|arting w|
|00000220| 69 74 68 20 7a 65 72 6f | 20 61 74 20 74 68 65 20 |ith zero| at the |
|00000230| 0d 2f 2f 20 74 6f 70 2d | 6c 65 66 74 20 6f 66 20 |.// top-|left of |
|00000240| 74 68 65 20 64 72 61 77 | 69 6e 67 20 61 72 65 61 |the draw|ing area|
|00000250| 2e 0d 2f 2f 0d 46 75 6e | 63 74 69 6f 6e 20 64 72 |..//.Fun|ction dr|
|00000260| 61 77 42 75 74 74 6f 6e | 28 77 68 69 63 68 42 75 |awButton|(whichBu|
|00000270| 74 74 6f 6e 2c 20 6c 61 | 62 65 6c 29 0d 20 20 20 |tton, la|bel). |
|00000280| 20 49 66 20 28 21 64 65 | 66 69 6e 65 64 28 62 75 | If (!de|fined(bu|
|00000290| 74 74 6f 6e 57 69 64 74 | 68 29 29 0d 20 20 20 20 |ttonWidt|h)). |
|000002a0| 20 20 20 20 2f 2f 20 44 | 65 66 61 75 6c 74 20 69 | // D|efault i|
|000002b0| 66 20 75 73 65 72 20 68 | 61 73 20 6e 6f 74 20 73 |f user h|as not s|
|000002c0| 65 74 20 74 68 69 73 0d | 20 20 20 20 20 20 20 20 |et this.| |
|000002d0| 62 75 74 74 6f 6e 57 69 | 64 74 68 20 20 3d 20 31 |buttonWi|dth = 1|
|000002e0| 30 30 0d 20 20 20 20 49 | 66 20 28 21 64 65 66 69 |00. I|f (!defi|
|000002f0| 6e 65 64 28 62 75 74 74 | 6f 6e 48 65 69 67 68 74 |ned(butt|onHeight|
|00000300| 29 29 0d 20 20 20 20 20 | 20 20 20 2f 2f 20 44 65 |)). | // De|
|00000310| 66 61 75 6c 74 20 69 66 | 20 75 73 65 72 20 68 61 |fault if| user ha|
|00000320| 73 20 6e 6f 74 20 73 65 | 74 20 74 68 69 73 0d 20 |s not se|t this. |
|00000330| 20 20 20 20 20 20 20 62 | 75 74 74 6f 6e 48 65 69 | b|uttonHei|
|00000340| 67 68 74 20 3d 20 31 37 | 0d 0d 20 20 20 20 2f 2f |ght = 17|.. //|
|00000350| 20 44 72 61 77 20 74 68 | 65 20 62 75 74 74 6f 6e | Draw th|e button|
|00000360| 0d 20 20 20 20 55 70 0d | 20 20 20 20 47 6f 74 6f |. Up.| Goto|
|00000370| 20 2d 77 69 64 74 68 28 | 29 2f 32 2b 77 68 69 63 | -width(|)/2+whic|
|00000380| 68 42 75 74 74 6f 6e 2a | 62 75 74 74 6f 6e 57 69 |hButton*|buttonWi|
|00000390| 64 74 68 2c 20 68 65 69 | 67 68 74 28 29 2f 32 2c |dth, hei|ght()/2,|
|000003a0| 30 0d 20 20 20 20 44 6f | 77 6e 0d 20 20 20 20 57 |0. Do|wn. W|
|000003b0| 69 64 74 68 20 32 0d 20 | 20 20 20 2f 2f 20 4d 61 |idth 2. | // Ma|
|000003c0| 6b 65 20 65 61 63 68 20 | 62 75 74 74 6f 6e 20 61 |ke each |button a|
|000003d0| 20 73 6c 69 67 68 74 6c | 79 20 64 69 66 66 65 72 | slightl|y differ|
|000003e0| 65 6e 74 20 63 6f 6c 6f | 72 0d 20 20 20 20 46 69 |ent colo|r. Fi|
|000003f0| 6c 6c 20 31 2c 36 34 33 | 39 38 2c 36 35 35 33 35 |ll 1,643|98,65535|
|00000400| 2c 32 30 30 30 30 20 2b | 20 77 68 69 63 68 42 75 |,20000 +| whichBu|
|00000410| 74 74 6f 6e 2a 38 30 30 | 30 0d 20 20 20 20 20 20 |tton*800|0. |
|00000420| 20 20 52 65 70 65 61 74 | 20 32 0d 20 20 20 20 20 | Repeat| 2. |
|00000430| 20 20 20 20 20 20 20 46 | 6f 72 77 61 72 64 20 62 | F|orward b|
|00000440| 75 74 74 6f 6e 57 69 64 | 74 68 20 20 20 2f 2f 20 |uttonWid|th // |
|00000450| 54 6f 70 20 28 6e 61 72 | 72 6f 77 29 0d 20 20 20 |Top (nar|row). |
|00000460| 20 20 20 20 20 20 20 20 | 20 52 69 67 68 74 20 39 | | Right 9|
|00000470| 30 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 46 6f |0. | Fo|
|00000480| 72 77 61 72 64 20 62 75 | 74 74 6f 6e 48 65 69 67 |rward bu|ttonHeig|
|00000490| 68 74 20 20 2f 2f 20 52 | 69 67 68 74 20 28 77 69 |ht // R|ight (wi|
|000004a0| 64 65 29 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |de). | |
|000004b0| 52 69 67 68 74 20 39 30 | 0d 20 20 20 20 2f 2f 20 |Right 90|. // |
|000004c0| 50 72 69 6e 74 20 74 68 | 65 20 62 75 74 74 6f 6e |Print th|e button|
|000004d0| 20 6e 61 6d 65 0d 20 20 | 20 20 55 70 0d 20 20 20 | name. | Up. |
|000004e0| 20 52 69 67 68 74 20 34 | 35 0d 20 20 20 20 46 6f | Right 4|5. Fo|
|000004f0| 72 77 61 72 64 20 31 38 | 0d 20 20 20 20 44 6f 77 |rward 18|. Dow|
|00000500| 6e 0d 20 20 20 20 50 65 | 6e 20 66 6f 6e 74 73 74 |n. Pe|n fontst|
|00000510| 79 6c 65 3d 22 42 6f 6c | 64 22 0d 20 20 20 20 50 |yle="Bol|d". P|
|00000520| 72 69 6e 74 20 6c 61 62 | 65 6c 0d 20 20 20 20 55 |rint lab|el. U|
|00000530| 70 0d 20 20 20 20 52 65 | 74 75 72 6e 0d 0d 2f 2f |p. Re|turn..//|
|00000540| 0d 2f 2f 20 63 68 65 63 | 6b 42 75 74 74 6f 6e 20 |.// chec|kButton |
|00000550| 20 2d 2d 20 20 52 65 74 | 75 72 6e 20 54 52 55 45 | -- Ret|urn TRUE|
|00000560| 20 69 66 20 6d 6f 75 73 | 65 20 69 73 20 6f 76 65 | if mous|e is ove|
|00000570| 72 20 74 68 69 73 20 62 | 75 74 74 6f 6e 0d 2f 2f |r this b|utton.//|
|00000580| 0d 2f 2f 20 41 73 73 75 | 6d 65 73 20 74 68 65 20 |.// Assu|mes the |
|00000590| 63 61 6c 6c 65 72 20 68 | 61 73 20 63 68 65 63 6b |caller h|as check|
|000005a0| 65 64 20 69 66 20 74 68 | 65 20 6d 6f 75 73 65 20 |ed if th|e mouse |
|000005b0| 62 75 74 74 6f 6e 0d 2f | 2f 20 69 73 20 62 65 69 |button./|/ is bei|
|000005c0| 6e 67 20 68 65 6c 64 20 | 64 6f 77 6e 2e 20 20 0d |ng held |down. .|
|000005d0| 2f 2f 0d 46 75 6e 63 74 | 69 6f 6e 20 63 68 65 63 |//.Funct|ion chec|
|000005e0| 6b 42 75 74 74 6f 6e 28 | 77 68 69 63 68 42 75 74 |kButton(|whichBut|
|000005f0| 74 6f 6e 29 0d 20 20 20 | 20 49 66 20 28 6d 6f 75 |ton). | If (mou|
|00000600| 73 65 59 28 29 20 3c 20 | 68 65 69 67 68 74 28 29 |seY() < |height()|
|00000610| 2f 32 20 2d 20 62 75 74 | 74 6f 6e 48 65 69 67 68 |/2 - but|tonHeigh|
|00000620| 74 29 0d 20 20 20 20 20 | 20 20 20 2f 2f 20 57 65 |t). | // We|
|00000630| 20 61 72 65 20 62 65 6c | 6f 77 20 6f 75 72 20 62 | are bel|ow our b|
|00000640| 75 74 74 6f 6e 20 61 72 | 65 61 0d 20 20 20 20 20 |utton ar|ea. |
|00000650| 20 20 20 52 65 74 75 72 | 6e 20 30 0d 0d 20 20 20 | Retur|n 0.. |
|00000660| 20 62 75 74 74 6f 6e 4c | 65 66 74 20 3d 20 2d 77 | buttonL|eft = -w|
|00000670| 69 64 74 68 28 29 2f 32 | 20 2b 20 77 68 69 63 68 |idth()/2| + which|
|00000680| 42 75 74 74 6f 6e 2a 62 | 75 74 74 6f 6e 57 69 64 |Button*b|uttonWid|
|00000690| 74 68 0d 20 20 20 20 49 | 66 20 28 6d 6f 75 73 65 |th. I|f (mouse|
|000006a0| 58 28 29 20 3c 20 62 75 | 74 74 6f 6e 4c 65 66 74 |X() < bu|ttonLeft|
|000006b0| 20 7c 20 6d 6f 75 73 65 | 58 28 29 20 3e 20 62 75 | | mouse|X() > bu|
|000006c0| 74 74 6f 6e 4c 65 66 74 | 2b 62 75 74 74 6f 6e 57 |ttonLeft|+buttonW|
|000006d0| 69 64 74 68 29 0d 20 20 | 20 20 20 20 20 20 2f 2f |idth). | //|
|000006e0| 20 4e 6f 74 20 69 6e 73 | 69 64 65 20 74 68 69 73 | Not ins|ide this|
|000006f0| 20 62 75 74 74 6f 6e 0d | 20 20 20 20 20 20 20 20 | button.| |
|00000700| 52 65 74 75 72 6e 20 30 | 0d 20 0d 20 20 20 20 2f |Return 0|. . /|
|00000710| 2f 20 57 65 20 61 72 65 | 20 69 6e 73 69 64 65 20 |/ We are| inside |
|00000720| 27 77 68 69 63 68 42 75 | 74 74 6f 6e 27 0d 20 20 |'whichBu|tton'. |
|00000730| 20 20 52 65 74 75 72 6e | 20 31 0d 00 00 00 00 00 | Return| 1......|
|00000740| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000750| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000760| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000770| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000780| 00 00 01 00 00 00 01 1d | 00 00 00 1d 00 00 00 56 |........|.......V|
|00000790| 72 20 53 43 20 56 65 72 | 73 69 6f 6e 20 37 2e 30 |r SC Ver|sion 7.0|
|000007a0| 2e 31 2c 20 33 2f 33 30 | 2f 39 32 00 00 00 34 07 |.1, 3/30|/92...4.|
|000007b0| 0b 42 75 74 74 6f 6e 73 | 2e 6c 69 62 02 00 00 00 |.Buttons|.lib....|
|000007c0| 55 56 74 78 55 56 74 6c | 00 00 40 e0 41 e0 00 00 |UVtxUVtl|..@.A...|
|000007d0| 00 00 55 56 74 78 55 56 | 74 6c 00 00 40 e0 41 e0 |..UVtxUV|tl..@.A.|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 ac 7a 34 cb 00 00 | 06 bb 00 00 01 73 52 04 |...z4...|.....sR.|
|00000800| 03 05 28 03 fc 00 01 00 | 00 01 20 01 20 00 00 00 |..(.....|.. . ...|
|00000810| 00 0c 60 09 00 00 00 02 | 02 00 00 00 00 00 00 fc |..`.....|........|
|00000820| 00 00 00 00 00 00 01 27 | 0f 00 01 00 01 00 00 00 |.......'|........|
|00000830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000840| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000860| 00 00 78 00 03 00 00 00 | 48 00 48 00 00 00 00 02 |..x.....|H.H.....|
|00000870| fa 02 40 ff f1 ff ee 03 | 09 02 52 04 03 05 28 03 |..@.....|..R...(.|
|00000880| 00 00 00 08 00 29 00 aa | 01 cd 02 7c 00 00 00 08 |.....)..|...|....|
|00000890| 00 2c 00 b2 01 d0 02 79 | 00 00 00 01 00 00 00 01 |.,.....y|........|
|000008a0| 00 00 00 01 1d 00 00 00 | 1d 00 00 00 56 02 55 73 |........|....V.Us|
|000008b0| 78 1d 62 00 00 00 1c 00 | 52 00 01 77 53 69 5a 00 |x.b.....|R..wSiZ.|
|000008c0| 01 00 12 77 32 72 6e 00 | 00 00 2a 01 2c 00 00 00 |...w2rn.|..*.,...|
|000008d0| 00 00 00 02 5b f3 08 01 | 90 00 02 00 00 00 0c 02 |....[...|........|
|000008e0| 5b f7 e4 00 5a ff ff 00 | 00 00 18 00 00 00 00 01 |[...Z...|........|
|000008f0| 45 01 52 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |E.R.....|........|
+--------+-------------------------+-------------------------+--------+--------+