home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 June / Macworld (1999-06).dmg / Shareware World / Info / For Developers / MacZoop2.0.sea / MacZoop2.0 / Required Classes / CursorUtilities.h < prev    next >
MacBinary  |  1999-01-25  |  2.5 KB  |  [TEXT/CWIE]

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: CursorUtilities.h

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Mon Jan 25 17:47:32 1999, modified Mon Jan 25 17:47:32 1999, creator 'CWIE', type ASCII, 1822 bytes "CursorUtilities.h" , at 0x79e 428 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[CWIE]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 11 43 75 72 73 6f 72 | 55 74 69 6c 69 74 69 65 |..Cursor|Utilitie|
|00000010| 73 2e 68 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |s.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 43 57 49 | 45 01 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 07 1e 00 | 00 01 ac b2 d2 a5 04 b2 |........|........|
|00000060| d2 a5 04 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 f0 e7 00 00 |........|........|
|00000080| 2f 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |/*******|********|
|00000090| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000b0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000c0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000d0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000000e0| 2a 2a 0d 2a 0d 2a 0d 2a | 09 09 43 75 72 73 6f 72 |**.*.*.*|..Cursor|
|000000f0| 55 74 69 6c 69 74 69 65 | 73 2e 68 09 09 09 2d 20 |Utilitie|s.h...- |
|00000100| 63 75 72 73 6f 72 20 73 | 74 75 66 66 2d 20 73 70 |cursor s|tuff- sp|
|00000110| 69 6e 6e 69 6e 67 20 77 | 61 74 63 68 2c 20 65 74 |inning w|atch, et|
|00000120| 63 0d 2a 0d 2a 09 09 32 | 36 2f 39 2f 39 34 09 09 |c.*.*..2|6/9/94..|
|00000130| a9 31 39 39 34 2c 20 47 | 72 61 68 61 6d 20 43 6f |.1994, G|raham Co|
|00000140| 78 0d 2a 0d 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |x.*.****|********|
|00000150| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000160| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000170| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000180| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000190| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000001a0| 2a 2a 2a 2a 2a 2f 0d 0d | 23 70 72 61 67 6d 61 20 |*****/..|#pragma |
|000001b0| 6f 6e 63 65 0d 0d 23 69 | 66 6e 64 65 66 20 5f 5f |once..#i|fndef __|
|000001c0| 43 55 52 53 4f 52 55 54 | 49 4c 49 54 49 45 53 5f |CURSORUT|ILITIES_|
|000001d0| 5f 0d 23 64 65 66 69 6e | 65 20 5f 5f 43 55 52 53 |_.#defin|e __CURS|
|000001e0| 4f 52 55 54 49 4c 49 54 | 49 45 53 5f 5f 0d 0d 23 |ORUTILIT|IES__..#|
|000001f0| 69 6e 63 6c 75 64 65 09 | 3c 52 65 74 72 61 63 65 |include.|<Retrace|
|00000200| 2e 68 3e 0d 0d 2f 2f 20 | 61 6e 69 6d 61 74 65 64 |.h>..// |animated|
|00000210| 20 63 75 72 73 6f 72 20 | 72 65 63 6f 72 64 0d 0d | cursor |record..|
|00000220| 23 69 66 20 50 52 41 47 | 4d 41 5f 41 4c 49 47 4e |#if PRAG|MA_ALIGN|
|00000230| 5f 53 55 50 50 4f 52 54 | 45 44 0d 23 70 72 61 67 |_SUPPORT|ED.#prag|
|00000240| 6d 61 20 6f 70 74 69 6f | 6e 73 20 61 6c 69 67 6e |ma optio|ns align|
|00000250| 3d 6d 61 63 36 38 6b 0d | 23 65 6e 64 69 66 0d 0d |=mac68k.|#endif..|
|00000260| 74 79 70 65 64 65 66 20 | 73 74 72 75 63 74 0d 7b |typedef |struct.{|
|00000270| 0d 09 75 6e 73 69 67 6e | 65 64 20 73 68 6f 72 74 |..unsign|ed short|
|00000280| 09 6e 75 6d 43 75 72 73 | 6f 72 73 3b 0d 09 75 6e |.numCurs|ors;..un|
|00000290| 73 69 67 6e 65 64 20 73 | 68 6f 72 74 09 69 6e 64 |signed s|hort.ind|
|000002a0| 65 78 3b 0d 09 43 75 72 | 73 48 61 6e 64 6c 65 09 |ex;..Cur|sHandle.|
|000002b0| 09 63 75 72 73 6f 72 73 | 5b 31 5d 3b 0d 7d 0d 61 |.cursors|[1];.}.a|
|000002c0| 63 75 72 2c 20 2a 61 63 | 75 72 50 74 72 2c 20 2a |cur, *ac|urPtr, *|
|000002d0| 2a 61 63 75 72 48 64 6c | 3b 0d 0d 2f 2f 20 6d 6f |*acurHdl|;..// mo|
|000002e0| 64 69 66 69 65 64 20 74 | 61 73 6b 20 72 65 63 6f |dified t|ask reco|
|000002f0| 72 64 0d 0d 74 79 70 65 | 64 65 66 20 73 74 72 75 |rd..type|def stru|
|00000300| 63 74 0d 7b 0d 09 56 42 | 4c 54 61 73 6b 09 09 74 |ct.{..VB|LTask..t|
|00000310| 68 65 54 61 73 6b 3b 0d | 09 6c 6f 6e 67 09 09 41 |heTask;.|.long..A|
|00000320| 35 3b 0d 09 61 63 75 72 | 48 64 6c 09 09 74 68 65 |5;..acur|Hdl..the|
|00000330| 43 75 72 73 6f 72 3b 0d | 7d 0d 56 42 4c 54 61 73 |Cursor;.|}.VBLTas|
|00000340| 6b 57 69 74 68 41 35 2c | 20 2a 56 42 4c 54 61 73 |kWithA5,| *VBLTas|
|00000350| 6b 57 69 74 68 41 35 50 | 74 72 3b 0d 0d 23 69 66 |kWithA5P|tr;..#if|
|00000360| 20 50 52 41 47 4d 41 5f | 41 4c 49 47 4e 5f 53 55 | PRAGMA_|ALIGN_SU|
|00000370| 50 50 4f 52 54 45 44 0d | 23 70 72 61 67 6d 61 20 |PPORTED.|#pragma |
|00000380| 6f 70 74 69 6f 6e 73 20 | 61 6c 69 67 6e 3d 72 65 |options |align=re|
|00000390| 73 65 74 0d 23 65 6e 64 | 69 66 0d 0d 2f 2f 20 70 |set.#end|if..// p|
|000003a0| 72 6f 74 6f 74 79 70 65 | 73 0d 23 69 66 64 65 66 |rototype|s.#ifdef|
|000003b0| 20 5f 5f 63 70 6c 75 73 | 70 6c 75 73 0d 65 78 74 | __cplus|plus.ext|
|000003c0| 65 72 6e 20 22 43 22 0d | 7b 0d 23 65 6e 64 69 66 |ern "C".|{.#endif|
|000003d0| 0d 09 0d 09 61 63 75 72 | 48 64 6c 09 09 49 6e 69 |....acur|Hdl..Ini|
|000003e0| 74 41 6e 69 6d 61 74 65 | 64 43 75 72 73 6f 72 28 |tAnimate|dCursor(|
|000003f0| 20 73 68 6f 72 74 20 72 | 65 73 49 44 20 29 3b 0d | short r|esID );.|
|00000400| 09 76 6f 69 64 09 09 44 | 69 73 70 6f 73 65 41 6e |.void..D|isposeAn|
|00000410| 69 6d 61 74 65 64 43 75 | 72 73 6f 72 28 20 61 63 |imatedCu|rsor( ac|
|00000420| 75 72 48 64 6c 20 63 75 | 72 73 48 20 29 3b 0d 09 |urHdl cu|rsH );..|
|00000430| 0d 09 76 6f 69 64 09 09 | 53 74 61 72 74 43 75 72 |..void..|StartCur|
|00000440| 73 6f 72 41 6e 69 6d 61 | 74 69 6f 6e 28 20 73 68 |sorAnima|tion( sh|
|00000450| 6f 72 74 20 70 65 72 69 | 6f 64 2c 20 61 63 75 72 |ort peri|od, acur|
|00000460| 48 64 6c 20 74 68 65 43 | 75 72 73 6f 72 20 29 3b |Hdl theC|ursor );|
|00000470| 0d 09 76 6f 69 64 09 09 | 53 74 6f 70 43 75 72 73 |..void..|StopCurs|
|00000480| 6f 72 41 6e 69 6d 61 74 | 69 6f 6e 28 29 3b 0d 09 |orAnimat|ion();..|
|00000490| 76 6f 69 64 09 09 50 61 | 75 73 65 43 75 72 73 6f |void..Pa|useCurso|
|000004a0| 72 41 6e 69 6d 61 74 69 | 6f 6e 28 20 73 68 6f 72 |rAnimati|on( shor|
|000004b0| 74 20 74 65 6d 70 46 69 | 78 65 64 43 75 72 73 6f |t tempFi|xedCurso|
|000004c0| 72 49 44 20 29 3b 0d 09 | 76 6f 69 64 09 09 52 65 |rID );..|void..Re|
|000004d0| 73 75 6d 65 43 75 72 73 | 6f 72 41 6e 69 6d 61 74 |sumeCurs|orAnimat|
|000004e0| 69 6f 6e 28 29 3b 0d 09 | 0d 09 76 6f 69 64 09 09 |ion();..|..void..|
|000004f0| 41 6e 69 6d 61 74 65 43 | 75 72 73 6f 72 28 20 73 |AnimateC|ursor( s|
|00000500| 68 6f 72 74 20 69 6e 63 | 72 65 6d 65 6e 74 2c 20 |hort inc|rement, |
|00000510| 61 63 75 72 48 64 6c 20 | 74 68 65 43 75 72 73 6f |acurHdl |theCurso|
|00000520| 72 29 3b 0d 09 76 6f 69 | 64 09 09 4c 6f 63 6b 43 |r);..voi|d..LockC|
|00000530| 75 72 73 6f 72 44 61 74 | 61 28 20 61 63 75 72 48 |ursorDat|a( acurH|
|00000540| 64 6c 20 74 68 65 43 75 | 72 73 6f 72 20 29 3b 0d |dl theCu|rsor );.|
|00000550| 09 76 6f 69 64 09 09 55 | 6e 6c 6f 63 6b 43 75 72 |.void..U|nlockCur|
|00000560| 73 6f 72 44 61 74 61 28 | 20 61 63 75 72 48 64 6c |sorData(| acurHdl|
|00000570| 20 74 68 65 43 75 72 73 | 6f 72 20 29 3b 0d 0d 09 | theCurs|or );...|
|00000580| 23 69 66 6e 64 65 66 09 | 5f 5f 70 6f 77 65 72 63 |#ifndef.|__powerc|
|00000590| 0d 09 09 76 6f 69 64 09 | 09 56 42 4c 43 75 72 73 |...void.|.VBLCurs|
|000005a0| 6f 72 53 70 69 6e 28 29 | 3b 0d 09 23 65 6c 73 65 |orSpin()|;..#else|
|000005b0| 0d 09 09 76 6f 69 64 09 | 09 56 42 4c 43 75 72 73 |...void.|.VBLCurs|
|000005c0| 6f 72 53 70 69 6e 28 20 | 56 42 4c 54 61 73 6b 57 |orSpin( |VBLTaskW|
|000005d0| 69 74 68 41 35 50 74 72 | 20 74 68 65 54 61 73 6b |ithA5Ptr| theTask|
|000005e0| 20 29 3b 0d 09 23 65 6e | 64 69 66 0d 0d 09 76 6f | );..#en|dif...vo|
|000005f0| 69 64 09 09 53 65 74 57 | 61 74 63 68 43 75 72 73 |id..SetW|atchCurs|
|00000600| 6f 72 28 29 3b 0d 09 76 | 6f 69 64 09 09 53 65 74 |or();..v|oid..Set|
|00000610| 42 65 61 63 68 42 61 6c | 6c 43 75 72 73 6f 72 28 |BeachBal|lCursor(|
|00000620| 29 3b 0d 09 76 6f 69 64 | 09 09 53 65 74 42 75 73 |);..void|..SetBus|
|00000630| 79 41 72 72 6f 77 43 75 | 72 73 6f 72 28 29 3b 0d |yArrowCu|rsor();.|
|00000640| 09 73 68 6f 72 74 09 09 | 47 65 74 4d 6f 64 69 66 |.short..|GetModif|
|00000650| 69 65 72 73 28 29 3b 0d | 0d 09 76 6f 69 64 09 09 |iers();.|..void..|
|00000660| 41 70 70 43 75 72 73 6f | 72 49 6e 69 74 28 29 3b |AppCurso|rInit();|
|00000670| 0d 09 76 6f 69 64 09 09 | 41 70 70 43 75 72 73 6f |..void..|AppCurso|
|00000680| 72 46 72 65 65 28 29 3b | 0d 09 0d 09 42 6f 6f 6c |rFree();|....Bool|
|00000690| 65 61 6e 09 09 43 75 72 | 73 6f 72 41 6e 69 6d 61 |ean..Cur|sorAnima|
|000006a0| 74 69 6e 67 28 29 3b 0d | 09 42 6f 6f 6c 65 61 6e |ting();.|.Boolean|
|000006b0| 09 09 43 75 72 73 6f 72 | 41 6e 69 6d 61 74 69 6f |..Cursor|Animatio|
|000006c0| 6e 56 42 4c 52 75 6e 6e | 69 6e 67 28 29 3b 0d 09 |nVBLRunn|ing();..|
|000006d0| 0d 09 76 6f 69 64 09 09 | 53 65 74 43 75 72 73 6f |..void..|SetCurso|
|000006e0| 72 53 68 61 70 65 28 20 | 73 68 6f 72 74 20 72 65 |rShape( |short re|
|000006f0| 73 49 44 20 29 3b 0d 0d | 23 69 66 64 65 66 20 5f |sID );..|#ifdef _|
|00000700| 5f 63 70 6c 75 73 70 6c | 75 73 0d 7d 0d 23 65 6e |_cpluspl|us.}.#en|
|00000710| 64 69 66 0d 0d 2f 2f 20 | 63 6f 6e 73 74 61 6e 74 |dif..// |constant|
|00000720| 73 0d 0d 23 64 65 66 69 | 6e 65 09 09 6b 57 61 74 |s..#defi|ne..kWat|
|00000730| 63 68 46 72 61 6d 65 43 | 6f 75 6e 74 09 38 0d 23 |chFrameC|ount.8.#|
|00000740| 64 65 66 69 6e 65 09 09 | 6b 57 61 74 63 68 52 65 |define..|kWatchRe|
|00000750| 73 49 44 09 09 09 31 32 | 39 0d 23 64 65 66 69 6e |sID...12|9.#defin|
|00000760| 65 09 09 6b 42 65 61 63 | 68 42 61 6c 6c 52 65 73 |e..kBeac|hBallRes|
|00000770| 49 44 09 09 31 32 38 0d | 23 64 65 66 69 6e 65 09 |ID..128.|#define.|
|00000780| 09 6b 42 75 73 79 41 72 | 72 6f 77 52 65 73 49 44 |.kBusyAr|rowResID|
|00000790| 09 09 31 33 30 0d 0d 23 | 65 6e 64 69 66 0d 00 00 |..130..#|endif...|
|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 |........|........|
|00000800| 00 00 01 00 00 00 01 5a | 00 00 00 5a 00 00 00 52 |.......Z|...Z...R|
|00000810| 6b 44 72 61 77 20 70 61 | 72 61 6d 65 74 65 72 73 |kDraw pa|rameters|
|00000820| 2e 0d 09 0d 09 69 66 20 | 28 70 61 69 6e 74 49 6e |.....if |(paintIn|
|00000830| 11 43 75 72 73 6f 72 55 | 74 69 6c 69 74 69 65 73 |.CursorU|tilities|
|00000840| 2e 68 02 00 00 00 50 61 | 72 74 53 49 54 21 00 00 |.h....Pa|rtSIT!..|
|00000850| 00 00 50 61 72 74 53 49 | 54 21 00 00 00 00 00 00 |..PartSI|T!......|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 b3 41 d6 33 00 00 | 00 00 00 00 01 ac 70 61 |...A.3..|......pa|
|00000880| 69 6e 74 49 6e 66 6f 29 | 2d 3e 74 6f 6f 6c 54 79 |intInfo)|->toolTy|
|00000890| 70 65 29 0d 09 09 7b 0d | 09 09 09 63 61 73 65 20 |pe)...{.|...case |
|000008a0| 6b 50 65 6e 63 69 6c 3a | 0d 09 09 09 09 2f 2f 20 |kPencil:|.....// |
|000008b0| 73 65 74 20 74 68 65 20 | 70 6f 72 74 27 73 20 70 |set the |port's p|
|000008c0| 65 6e 20 74 6f 20 74 68 | 65 20 70 65 6e 63 69 6c |en to th|e pencil|
|000008d0| 20 73 69 7a 65 0d 09 09 | 09 09 50 65 6e 53 69 7a | size...|..PenSiz|
|000008e0| 65 28 28 2a 70 61 69 6e | 74 49 6e 66 6f 29 2d 3e |e((*pain|tInfo)->|
|000008f0| 70 65 6e 63 69 6c 57 69 | 64 74 68 2c 28 2a 70 61 |pencilWi|dth,(*pa|
|00000900| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000920| 00 00 00 00 00 00 00 02 | 00 04 00 4d 01 27 02 5a |........|...M.'.Z|
|00000930| 03 87 00 4d 01 27 02 5a | 03 87 b2 e0 82 4b 00 00 |...M.'.Z|.....K..|
|00000940| 03 80 00 00 03 af 00 00 | 01 84 01 00 00 00 00 02 |........|........|
|00000950| 00 00 00 00 00 04 00 01 | 00 01 00 00 01 00 00 00 |........|........|
|00000960| 01 5a 00 00 00 5a 00 00 | 00 52 03 c6 01 e0 3e 10 |.Z...Z..|.R....>.|
|00000970| 00 00 00 1c 00 52 00 01 | 4d 50 53 52 00 01 00 12 |.....R..|MPSR....|
|00000980| 4d 57 42 42 00 00 00 2a | 03 ed ff ff 00 00 00 00 |MWBB...*|........|
|00000990| 00 00 00 00 03 ef ff ff | 00 00 00 4c 00 00 00 00 |........|...L....|
|000009a0| 03 f0 ff ff 00 00 00 52 | 00 00 00 00 00 00 00 00 |.......R|........|
|000009b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+