home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 15 / BBS in a box XV-2.iso / Files II / Prog / B-C / CIconButton CDEF 1.0.sit / CIconButton CDEF 1.0 / Sample Code / CIconButton.CLib.h < prev    next >
MacBinary  |  1993-10-15  |  2.0 KB  |  [TEXT/KAHL]

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: CIconButton.CLib.h

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Fri Oct 15 23:17:08 1993, modified Fri Oct 15 23:17:08 1993, creator Think C, type ASCII, 1332 bytes "CIconButton.CLib.h" , at 0x5b4 402 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KAHL]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 12 43 49 63 6f 6e 42 | 75 74 74 6f 6e 2e 43 4c |..CIconB|utton.CL|
|00000010| 69 62 2e 68 00 00 00 00 | 00 00 00 00 00 00 00 00 |ib.h....|........|
|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 54 45 58 54 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 05 34 00 | 00 01 92 a8 e5 18 34 a8 |......4.|......4.|
|00000060| e5 18 34 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |..4.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 cf 0e 00 00 |........|........|
|00000080| 70 61 73 63 61 6c 20 42 | 6f 6f 6c 65 61 6e 20 43 |pascal B|oolean C|
|00000090| 49 42 5f 49 73 43 75 73 | 74 6f 6d 43 6f 6e 74 72 |IB_IsCus|tomContr|
|000000a0| 6f 6c 20 28 43 6f 6e 74 | 72 6f 6c 48 61 6e 64 6c |ol (Cont|rolHandl|
|000000b0| 65 20 63 29 3b 0d 70 61 | 73 63 61 6c 20 76 6f 69 |e c);.pa|scal voi|
|000000c0| 64 20 43 49 42 5f 53 65 | 74 43 61 6c 6c 62 61 63 |d CIB_Se|tCallbac|
|000000d0| 6b 50 72 6f 63 20 28 43 | 6f 6e 74 72 6f 6c 48 61 |kProc (C|ontrolHa|
|000000e0| 6e 64 6c 65 20 63 2c 20 | 50 72 6f 63 50 74 72 20 |ndle c, |ProcPtr |
|000000f0| 74 68 65 50 72 6f 63 29 | 3b 0d 70 61 73 63 61 6c |theProc)|;.pascal|
|00000100| 20 76 6f 69 64 20 43 49 | 42 5f 53 65 74 54 69 74 | void CI|B_SetTit|
|00000110| 6c 65 4f 72 69 65 6e 74 | 61 74 69 6f 6e 20 28 43 |leOrient|ation (C|
|00000120| 6f 6e 74 72 6f 6c 48 61 | 6e 64 6c 65 20 63 2c 20 |ontrolHa|ndle c, |
|00000130| 69 6e 74 20 6f 72 69 65 | 6e 74 61 74 69 6f 6e 29 |int orie|ntation)|
|00000140| 3b 0d 70 61 73 63 61 6c | 20 76 6f 69 64 20 43 49 |;.pascal| void CI|
|00000150| 42 5f 53 65 74 47 65 6f | 6d 65 74 72 79 43 68 61 |B_SetGeo|metryCha|
|00000160| 6e 67 65 73 20 28 43 6f | 6e 74 72 6f 6c 48 61 6e |nges (Co|ntrolHan|
|00000170| 64 6c 65 20 63 2c 20 42 | 6f 6f 6c 65 61 6e 20 67 |dle c, B|oolean g|
|00000180| 65 6f 6d 65 74 72 79 43 | 68 61 6e 67 65 73 29 3b |eometryC|hanges);|
|00000190| 0d 70 61 73 63 61 6c 20 | 76 6f 69 64 20 43 49 42 |.pascal |void CIB|
|000001a0| 5f 53 65 74 54 72 61 63 | 6b 52 65 67 69 6f 6e 20 |_SetTrac|kRegion |
|000001b0| 28 43 6f 6e 74 72 6f 6c | 48 61 6e 64 6c 65 20 63 |(Control|Handle c|
|000001c0| 2c 20 42 6f 6f 6c 65 61 | 6e 20 74 72 61 63 6b 52 |, Boolea|n trackR|
|000001d0| 65 67 69 6f 6e 29 3b 0d | 70 61 73 63 61 6c 20 76 |egion);.|pascal v|
|000001e0| 6f 69 64 20 43 49 42 5f | 53 65 74 55 73 65 57 46 |oid CIB_|SetUseWF|
|000001f0| 6f 6e 74 20 28 43 6f 6e | 74 72 6f 6c 48 61 6e 64 |ont (Con|trolHand|
|00000200| 6c 65 20 63 2c 20 42 6f | 6f 6c 65 61 6e 20 75 73 |le c, Bo|olean us|
|00000210| 65 57 46 6f 6e 74 29 3b | 0d 70 61 73 63 61 6c 20 |eWFont);|.pascal |
|00000220| 76 6f 69 64 20 43 49 42 | 5f 47 65 74 43 6f 70 79 |void CIB|_GetCopy|
|00000230| 72 69 67 68 74 20 28 43 | 6f 6e 74 72 6f 6c 48 61 |right (C|ontrolHa|
|00000240| 6e 64 6c 65 20 63 2c 20 | 53 74 72 32 35 35 20 73 |ndle c, |Str255 s|
|00000250| 29 3b 0d 70 61 73 63 61 | 6c 20 6c 6f 6e 67 20 43 |);.pasca|l long C|
|00000260| 49 42 5f 47 65 74 56 65 | 72 73 69 6f 6e 20 28 43 |IB_GetVe|rsion (C|
|00000270| 6f 6e 74 72 6f 6c 48 61 | 6e 64 6c 65 20 63 29 3b |ontrolHa|ndle c);|
|00000280| 0d 70 61 73 63 61 6c 20 | 76 6f 69 64 20 43 49 42 |.pascal |void CIB|
|00000290| 5f 53 65 74 4d 61 69 6e | 49 63 6f 6e 20 28 43 6f |_SetMain|Icon (Co|
|000002a0| 6e 74 72 6f 6c 48 61 6e | 64 6c 65 20 63 2c 20 69 |ntrolHan|dle c, i|
|000002b0| 6e 74 20 69 63 6f 6e 49 | 44 29 3b 0d 70 61 73 63 |nt iconI|D);.pasc|
|000002c0| 61 6c 20 76 6f 69 64 20 | 43 49 42 5f 53 65 74 53 |al void |CIB_SetS|
|000002d0| 68 65 6c 6c 49 63 6f 6e | 20 28 43 6f 6e 74 72 6f |hellIcon| (Contro|
|000002e0| 6c 48 61 6e 64 6c 65 20 | 63 2c 20 69 6e 74 20 69 |lHandle |c, int i|
|000002f0| 63 6f 6e 49 44 29 3b 0d | 70 61 73 63 61 6c 20 76 |conID);.|pascal v|
|00000300| 6f 69 64 20 43 49 42 5f | 53 65 74 41 6c 74 49 63 |oid CIB_|SetAltIc|
|00000310| 6f 6e 20 28 43 6f 6e 74 | 72 6f 6c 48 61 6e 64 6c |on (Cont|rolHandl|
|00000320| 65 20 63 2c 20 69 6e 74 | 20 69 63 6f 6e 49 44 29 |e c, int| iconID)|
|00000330| 3b 0d 70 61 73 63 61 6c | 20 76 6f 69 64 20 43 49 |;.pascal| void CI|
|00000340| 42 5f 53 65 74 49 63 6f | 6e 73 20 28 43 6f 6e 74 |B_SetIco|ns (Cont|
|00000350| 72 6f 6c 48 61 6e 64 6c | 65 20 63 2c 20 69 6e 74 |rolHandl|e c, int|
|00000360| 20 6d 61 69 6e 2c 20 69 | 6e 74 20 73 68 65 6c 6c | main, i|nt shell|
|00000370| 2c 20 69 6e 74 20 61 6c | 74 29 3b 0d 70 61 73 63 |, int al|t);.pasc|
|00000380| 61 6c 20 76 6f 69 64 20 | 43 49 42 5f 53 65 74 4c |al void |CIB_SetL|
|00000390| 61 62 65 6c 47 61 70 20 | 28 43 6f 6e 74 72 6f 6c |abelGap |(Control|
|000003a0| 48 61 6e 64 6c 65 20 63 | 2c 20 69 6e 74 20 67 61 |Handle c|, int ga|
|000003b0| 70 29 3b 0d 70 61 73 63 | 61 6c 20 76 6f 69 64 20 |p);.pasc|al void |
|000003c0| 43 49 42 5f 53 65 74 43 | 68 65 63 6b 6d 61 72 6b |CIB_SetC|heckmark|
|000003d0| 47 61 70 20 28 43 6f 6e | 74 72 6f 6c 48 61 6e 64 |Gap (Con|trolHand|
|000003e0| 6c 65 20 63 2c 20 69 6e | 74 20 67 61 70 29 3b 0d |le c, in|t gap);.|
|000003f0| 0d 70 61 73 63 61 6c 20 | 76 6f 69 64 20 43 49 42 |.pascal |void CIB|
|00000400| 5f 53 65 74 54 65 78 74 | 46 6f 6e 74 20 28 43 6f |_SetText|Font (Co|
|00000410| 6e 74 72 6f 6c 48 61 6e | 64 6c 65 20 63 2c 20 69 |ntrolHan|dle c, i|
|00000420| 6e 74 20 74 68 65 46 6f | 6e 74 29 3b 0d 70 61 73 |nt theFo|nt);.pas|
|00000430| 63 61 6c 20 76 6f 69 64 | 20 43 49 42 5f 53 65 74 |cal void| CIB_Set|
|00000440| 54 65 78 74 46 61 63 65 | 20 28 43 6f 6e 74 72 6f |TextFace| (Contro|
|00000450| 6c 48 61 6e 64 6c 65 20 | 63 2c 20 53 74 79 6c 65 |lHandle |c, Style|
|00000460| 20 74 68 65 46 61 63 65 | 29 3b 0d 70 61 73 63 61 | theFace|);.pasca|
|00000470| 6c 20 76 6f 69 64 20 43 | 49 42 5f 53 65 74 54 65 |l void C|IB_SetTe|
|00000480| 78 74 4d 6f 64 65 20 28 | 43 6f 6e 74 72 6f 6c 48 |xtMode (|ControlH|
|00000490| 61 6e 64 6c 65 20 63 2c | 20 69 6e 74 20 74 68 65 |andle c,| int the|
|000004a0| 4d 6f 64 65 29 3b 0d 70 | 61 73 63 61 6c 20 76 6f |Mode);.p|ascal vo|
|000004b0| 69 64 20 43 49 42 5f 53 | 65 74 54 65 78 74 53 69 |id CIB_S|etTextSi|
|000004c0| 7a 65 20 28 43 6f 6e 74 | 72 6f 6c 48 61 6e 64 6c |ze (Cont|rolHandl|
|000004d0| 65 20 63 2c 20 69 6e 74 | 20 74 68 65 53 69 7a 65 |e c, int| theSize|
|000004e0| 29 3b 0d 0d 74 79 70 65 | 64 65 66 20 73 74 72 75 |);..type|def stru|
|000004f0| 63 74 20 0d 09 7b 0d 09 | 09 09 09 69 6e 74 20 74 |ct ..{..|...int t|
|00000500| 73 46 6f 6e 74 3b 0d 09 | 09 09 09 63 68 61 72 20 |sFont;..|...char |
|00000510| 66 69 6c 6c 65 72 3b 0d | 09 09 09 09 53 74 79 6c |filler;.|....Styl|
|00000520| 65 20 74 73 46 61 63 65 | 3b 0d 09 09 09 09 69 6e |e tsFace|;.....in|
|00000530| 74 20 74 73 4d 6f 64 65 | 3b 0d 09 09 09 09 69 6e |t tsMode|;.....in|
|00000540| 74 20 74 73 53 69 7a 65 | 3b 0d 09 7d 20 54 65 78 |t tsSize|;..} Tex|
|00000550| 74 53 74 61 74 65 2c 20 | 2a 54 65 78 74 53 74 61 |tState, |*TextSta|
|00000560| 74 65 50 74 72 3b 0d 0d | 70 61 73 63 61 6c 20 76 |tePtr;..|pascal v|
|00000570| 6f 69 64 20 43 49 42 5f | 53 65 74 54 65 78 74 53 |oid CIB_|SetTextS|
|00000580| 74 61 74 65 20 28 43 6f | 6e 74 72 6f 6c 48 61 6e |tate (Co|ntrolHan|
|00000590| 64 6c 65 20 63 2c 20 54 | 65 78 74 53 74 61 74 65 |dle c, T|extState|
|000005a0| 50 74 72 20 74 68 65 54 | 65 78 74 53 74 61 74 65 |Ptr theT|extState|
|000005b0| 29 3b 0d 0d 00 00 00 00 | 00 00 00 00 00 00 00 00 |);......|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 46 |.......L|...L...F|
|00000610| a9 f0 0c 94 3f 3c 00 30 | a9 f0 0c 72 3f 3c 00 30 |....?<.0|...r?<.0|
|00000620| a9 f0 00 00 3f 3c 00 30 | a9 f0 0c ee 3f 3c 00 30 |....?<.0|....?<.0|
|00000630| 12 43 49 63 6f 6e 42 75 | 74 74 6f 6e 2e 43 4c 69 |.CIconBu|tton.CLi|
|00000640| 62 2e 68 6e 02 00 00 00 | 50 61 72 74 53 49 54 78 |b.hn....|PartSITx|
|00000650| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 a9 80 17 04 00 00 | 00 00 00 00 01 92 4e b5 |........|......N.|
|00000680| 10 00 2a 78 09 04 20 6d | 00 6c 4e 90 a9 f4 48 e7 |..*x.. m|.lN...H.|
|00000690| ff f8 3e 2f 00 3c 50 f8 | 0a 5e 59 8f 2f 3c 43 4f |..>/.<P.|.^Y./<CO|
|000006a0| 44 45 3f 07 a9 a0 20 1f | 67 30 26 40 24 53 08 92 |DE?... .|g0&@$S..|
|000006b0| 00 07 67 20 4e ba 00 98 | a0 29 59 8f 2f 3c 43 52 |..g N...|.)Y./<CR|
|000006c0| 45 4c 3f 07 a9 a0 4e ba | 00 98 20 1f 67 0c 20 40 |EL?...N.|.. .g. @|
|000006d0| 4e ba 00 58 4c df 1f ff | 4e 75 70 0f a9 c9 59 8f |N..XL...|Nup...Y.|
|000006e0| 2f 3c 5a 45 52 4f 42 67 | a9 a0 24 57 59 8f 2f 3c |/<ZEROBg|..$WY./<|
|000006f0| 44 41 54 41 42 67 a9 a0 | 20 57 20 50 22 78 09 08 |DATABg..| W P"x..|
|00000700| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000710| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000720| 00 00 00 00 00 00 00 06 | 00 04 00 7c 01 06 02 9c |........|...|....|
|00000730| 03 fe 00 7c 01 06 02 9c | 03 fe a8 91 7b 19 00 00 |...|....|....{...|
|00000740| 00 dc 00 00 00 dc 00 00 | 00 00 01 00 00 00 01 00 |........|........|
|00000750| 00 00 01 4c 00 00 00 4c | 00 00 00 46 00 72 35 4c |...L...L|...F.r5L|
|00000760| 1f 38 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.8.....2|..MPSR..|
|00000770| 00 0a 03 ed 00 00 00 00 | 00 00 00 72 33 64 13 43 |........|...r3d.C|
|00000780| 72 65 61 74 65 64 20 62 | 79 20 43 4d 61 73 74 65 |reated b|y CMaste|
|00000790| 72 aa 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |r.......|........|
|000007a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+