home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1991-04-03 | 2.6 KB | [TEXT/MPS ] |
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: userint.h
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Wed Apr 3 18:30:00 1991, modified Wed Apr 3 18:30:00 1991, creator 'MPS ', type ASCII, 2173 bytes "userint.h" , at 0x8fd 382 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 |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [MPS ] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 09 75 73 65 72 69 6e | 74 2e 68 00 00 00 00 00 |..userin|t.h.....|
|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 54 45 58 54 4d 50 53 | 20 00 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 08 7d 00 | 00 01 7e a4 20 15 f8 a4 |......}.|..~. ...|
|00000060| 20 15 f8 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 d5 3a 00 00 |........|.....:..|
|00000080| 23 69 66 6e 64 65 66 20 | 5f 55 53 45 52 49 4e 54 |#ifndef |_USERINT|
|00000090| 5f 0d 23 64 65 66 69 6e | 65 20 5f 55 53 45 52 49 |_.#defin|e _USERI|
|000000a0| 4e 54 5f 0d 0d 23 64 65 | 66 69 6e 65 20 6b 53 52 |NT_..#de|fine kSR|
|000000b0| 4d 65 73 73 20 31 0d 0d | 76 6f 69 64 20 49 6e 69 |Mess 1..|void Ini|
|000000c0| 74 53 74 75 66 66 28 76 | 6f 69 64 29 3b 0d 76 6f |tStuff(v|oid);.vo|
|000000d0| 69 64 20 53 65 74 55 70 | 4d 65 6e 75 73 28 76 6f |id SetUp|Menus(vo|
|000000e0| 69 64 29 3b 0d 76 6f 69 | 64 20 53 65 74 55 70 57 |id);.voi|d SetUpW|
|000000f0| 69 6e 64 6f 77 73 28 76 | 6f 69 64 29 3b 0d 0d 76 |indows(v|oid);..v|
|00000100| 6f 69 64 20 4d 61 69 6e | 45 76 65 6e 74 28 76 6f |oid Main|Event(vo|
|00000110| 69 64 29 3b 0d 76 6f 69 | 64 20 48 61 6e 64 6c 65 |id);.voi|d Handle|
|00000120| 4d 6f 75 73 65 44 6f 77 | 6e 73 28 45 76 65 6e 74 |MouseDow|ns(Event|
|00000130| 52 65 63 6f 72 64 20 2a | 65 76 29 3b 0d 76 6f 69 |Record *|ev);.voi|
|00000140| 64 20 48 61 6e 64 6c 65 | 4b 65 79 44 6f 77 6e 73 |d Handle|KeyDowns|
|00000150| 28 45 76 65 6e 74 52 65 | 63 6f 72 64 20 2a 65 76 |(EventRe|cord *ev|
|00000160| 29 3b 0d 76 6f 69 64 20 | 48 61 6e 64 6c 65 4c 69 |);.void |HandleLi|
|00000170| 73 74 4b 65 79 28 63 68 | 61 72 20 74 68 65 43 68 |stKey(ch|ar theCh|
|00000180| 61 72 29 3b 0d 76 6f 69 | 64 20 44 6f 43 6f 6d 6d |ar);.voi|d DoComm|
|00000190| 61 6e 64 28 6c 6f 6e 67 | 20 6d 52 65 73 75 6c 74 |and(long| mResult|
|000001a0| 29 3b 0d 76 6f 69 64 20 | 6d 61 69 6e 28 76 6f 69 |);.void |main(voi|
|000001b0| 64 29 3b 0d 76 6f 69 64 | 20 53 68 6f 77 41 62 6f |d);.void| ShowAbo|
|000001c0| 75 74 28 76 6f 69 64 29 | 3b 0d 76 6f 69 64 20 4f |ut(void)|;.void O|
|000001d0| 75 74 6c 69 6e 65 4f 4b | 28 44 69 61 6c 6f 67 50 |utlineOK|(DialogP|
|000001e0| 74 72 20 74 68 65 44 6c | 67 29 3b 0d 76 6f 69 64 |tr theDl|g);.void|
|000001f0| 20 48 61 6e 64 6c 65 43 | 6f 6e 74 65 6e 74 28 57 | HandleC|ontent(W|
|00000200| 69 6e 64 6f 77 50 74 72 | 20 74 68 65 57 69 6e 64 |indowPtr| theWind|
|00000210| 6f 77 2c 45 76 65 6e 74 | 52 65 63 6f 72 64 20 2a |ow,Event|Record *|
|00000220| 65 76 29 3b 0d 76 6f 69 | 64 20 48 61 6e 64 6c 65 |ev);.voi|d Handle|
|00000230| 41 63 74 69 76 61 74 65 | 73 28 45 76 65 6e 74 52 |Activate|s(EventR|
|00000240| 65 63 6f 72 64 20 2a 65 | 76 29 3b 0d 76 6f 69 64 |ecord *e|v);.void|
|00000250| 20 48 61 6e 64 6c 65 55 | 70 64 61 74 65 73 28 57 | HandleU|pdates(W|
|00000260| 69 6e 64 6f 77 50 74 72 | 20 77 69 6e 64 6f 77 29 |indowPtr| window)|
|00000270| 3b 0d 76 6f 69 64 20 44 | 6f 44 72 61 67 28 57 69 |;.void D|oDrag(Wi|
|00000280| 6e 64 6f 77 50 74 72 20 | 77 69 6e 64 6f 77 2c 50 |ndowPtr |window,P|
|00000290| 6f 69 6e 74 20 67 6c 6f | 62 4d 6f 75 73 65 29 3b |oint glo|bMouse);|
|000002a0| 0d 76 6f 69 64 20 44 6f | 47 72 6f 77 28 57 69 6e |.void Do|Grow(Win|
|000002b0| 64 6f 77 50 74 72 20 77 | 69 6e 64 6f 77 2c 50 6f |dowPtr w|indow,Po|
|000002c0| 69 6e 74 20 67 6c 6f 62 | 4d 6f 75 73 65 29 3b 0d |int glob|Mouse);.|
|000002d0| 76 6f 69 64 20 53 69 7a | 65 43 6f 6e 74 65 6e 74 |void Siz|eContent|
|000002e0| 73 28 73 68 6f 72 74 20 | 77 69 64 74 68 2c 73 68 |s(short |width,sh|
|000002f0| 6f 72 74 20 68 65 69 67 | 68 74 2c 57 69 6e 64 6f |ort heig|ht,Windo|
|00000300| 77 50 74 72 20 77 69 6e | 64 29 3b 0d 76 6f 69 64 |wPtr win|d);.void|
|00000310| 20 44 6f 5a 6f 6f 6d 28 | 57 69 6e 64 6f 77 50 74 | DoZoom(|WindowPt|
|00000320| 72 20 77 69 6e 64 6f 77 | 2c 73 68 6f 72 74 20 70 |r window|,short p|
|00000330| 61 72 74 29 3b 0d 76 6f | 69 64 20 48 61 6e 64 6c |art);.vo|id Handl|
|00000340| 65 53 52 45 76 74 28 6c | 6f 6e 67 20 6d 65 73 73 |eSREvt(l|ong mess|
|00000350| 61 67 65 29 3b 0d 76 6f | 69 64 20 44 6f 41 63 74 |age);.vo|id DoAct|
|00000360| 69 76 61 74 65 28 57 69 | 6e 64 6f 77 50 74 72 20 |ivate(Wi|ndowPtr |
|00000370| 74 68 65 57 69 6e 64 2c | 42 6f 6f 6c 65 61 6e 20 |theWind,|Boolean |
|00000380| 61 63 74 46 6c 61 67 2c | 42 6f 6f 6c 65 61 6e 20 |actFlag,|Boolean |
|00000390| 63 68 46 6c 61 67 29 3b | 0d 42 6f 6f 6c 65 61 6e |chFlag);|.Boolean|
|000003a0| 20 44 6f 43 6c 6f 73 65 | 57 69 6e 64 6f 77 28 57 | DoClose|Window(W|
|000003b0| 69 6e 64 6f 77 50 74 72 | 20 74 68 65 57 69 6e 64 |indowPtr| theWind|
|000003c0| 29 3b 0d 76 6f 69 64 20 | 44 72 61 77 4d 61 69 6e |);.void |DrawMain|
|000003d0| 57 69 6e 64 6f 77 28 57 | 69 6e 64 6f 77 50 74 72 |Window(W|indowPtr|
|000003e0| 20 77 69 6e 64 29 3b 0d | 57 69 6e 64 6f 77 50 74 | wind);.|WindowPt|
|000003f0| 72 20 4d 61 6b 65 4e 65 | 77 57 69 6e 64 6f 77 28 |r MakeNe|wWindow(|
|00000400| 73 68 6f 72 74 20 74 79 | 70 65 2c 42 6f 6f 6c 65 |short ty|pe,Boole|
|00000410| 61 6e 20 68 61 73 43 6c | 6f 73 65 2c 50 6f 69 6e |an hasCl|ose,Poin|
|00000420| 74 20 74 6f 70 4c 65 66 | 74 2c 63 68 61 72 20 2a |t topLef|t,char *|
|00000430| 74 69 74 6c 65 29 3b 0d | 4c 69 73 74 48 61 6e 64 |title);.|ListHand|
|00000440| 6c 65 20 4e 65 77 4c 69 | 73 74 28 57 69 6e 64 6f |le NewLi|st(Windo|
|00000450| 77 50 74 72 20 74 68 65 | 57 69 6e 64 6f 77 29 3b |wPtr the|Window);|
|00000460| 0d 52 65 63 74 20 2a 4d | 79 4f 66 66 53 65 74 28 |.Rect *M|yOffSet(|
|00000470| 52 65 63 74 20 2a 74 68 | 65 52 65 63 74 29 3b 0d |Rect *th|eRect);.|
|00000480| 54 45 48 61 6e 64 6c 65 | 20 4e 65 77 54 65 78 74 |TEHandle| NewText|
|00000490| 28 57 69 6e 64 6f 77 50 | 74 72 20 74 68 65 57 69 |(WindowP|tr theWi|
|000004a0| 6e 64 6f 77 29 3b 0d 76 | 6f 69 64 20 4d 61 6b 65 |ndow);.v|oid Make|
|000004b0| 53 63 72 6f 6c 6c 65 72 | 73 28 57 69 6e 64 6f 77 |Scroller|s(Window|
|000004c0| 50 74 72 20 74 68 65 57 | 69 6e 64 6f 77 29 3b 0d |Ptr theW|indow);.|
|000004d0| 76 6f 69 64 20 52 65 64 | 6f 43 6f 6e 74 72 6f 6c |void Red|oControl|
|000004e0| 73 28 57 69 6e 64 6f 77 | 50 74 72 20 77 69 6e 64 |s(Window|Ptr wind|
|000004f0| 6f 77 29 3b 0d 76 6f 69 | 64 20 46 69 78 54 65 78 |ow);.voi|d FixTex|
|00000500| 74 28 57 69 6e 64 6f 77 | 50 74 72 20 77 69 6e 64 |t(Window|Ptr wind|
|00000510| 6f 77 29 3b 0d 70 61 73 | 63 61 6c 20 42 6f 6f 6c |ow);.pas|cal Bool|
|00000520| 65 61 6e 20 44 6f 43 6c | 69 6b 4c 6f 6f 70 28 76 |ean DoCl|ikLoop(v|
|00000530| 6f 69 64 29 3b 0d 76 6f | 69 64 20 54 72 61 63 6b |oid);.vo|id Track|
|00000540| 43 6c 69 63 6b 28 50 6f | 69 6e 74 20 74 68 65 50 |Click(Po|int theP|
|00000550| 74 29 3b 0d 57 69 6e 64 | 6f 77 50 74 72 20 4e 65 |t);.Wind|owPtr Ne|
|00000560| 77 47 72 6f 75 70 57 69 | 6e 64 6f 77 28 63 68 61 |wGroupWi|ndow(cha|
|00000570| 72 20 2a 67 72 6f 75 70 | 4e 61 6d 65 29 3b 0d 42 |r *group|Name);.B|
|00000580| 6f 6f 6c 65 61 6e 20 44 | 6f 53 74 61 72 74 55 70 |oolean D|oStartUp|
|00000590| 28 76 6f 69 64 29 3b 0d | 42 6f 6f 6c 65 61 6e 20 |(void);.|Boolean |
|000005a0| 49 73 41 70 70 57 69 6e | 64 6f 77 28 57 69 6e 64 |IsAppWin|dow(Wind|
|000005b0| 6f 77 50 74 72 20 77 69 | 6e 64 6f 77 29 3b 0d 42 |owPtr wi|ndow);.B|
|000005c0| 6f 6f 6c 65 61 6e 20 49 | 73 44 41 57 69 6e 64 6f |oolean I|sDAWindo|
|000005d0| 77 28 57 69 6e 64 6f 77 | 50 74 72 20 77 69 6e 64 |w(Window|Ptr wind|
|000005e0| 6f 77 29 3b 0d 76 6f 69 | 64 20 46 69 78 43 75 72 |ow);.voi|d FixCur|
|000005f0| 73 6f 72 28 50 6f 69 6e | 74 20 6d 6f 75 73 65 2c |sor(Poin|t mouse,|
|00000600| 52 67 6e 48 61 6e 64 6c | 65 20 72 65 67 69 6f 6e |RgnHandl|e region|
|00000610| 29 3b 0d 76 6f 69 64 20 | 52 65 61 64 44 65 73 6b |);.void |ReadDesk|
|00000620| 53 63 72 61 70 28 76 6f | 69 64 29 3b 0d 76 6f 69 |Scrap(vo|id);.voi|
|00000630| 64 20 57 72 69 74 65 44 | 65 73 6b 53 63 72 61 70 |d WriteD|eskScrap|
|00000640| 28 76 6f 69 64 29 3b 0d | 76 6f 69 64 20 45 6e 61 |(void);.|void Ena|
|00000650| 62 6c 65 49 74 65 6d 73 | 28 73 68 6f 72 74 20 6b |bleItems|(short k|
|00000660| 69 6e 64 2c 42 6f 6f 6c | 65 61 6e 20 61 63 74 46 |ind,Bool|ean actF|
|00000670| 6c 61 67 29 3b 0d 76 6f | 69 64 20 44 69 73 61 62 |lag);.vo|id Disab|
|00000680| 6c 65 49 74 65 6d 73 28 | 73 68 6f 72 74 20 6b 69 |leItems(|short ki|
|00000690| 6e 64 2c 42 6f 6f 6c 65 | 61 6e 20 61 63 74 46 6c |nd,Boole|an actFl|
|000006a0| 61 67 29 3b 0d 42 6f 6f | 6c 65 61 6e 20 44 6f 51 |ag);.Boo|lean DoQ|
|000006b0| 75 69 74 53 74 75 66 66 | 28 76 6f 69 64 29 3b 0d |uitStuff|(void);.|
|000006c0| 42 6f 6f 6c 65 61 6e 20 | 49 73 4d 6f 76 61 62 6c |Boolean |IsMovabl|
|000006d0| 65 4d 6f 64 61 6c 28 57 | 69 6e 64 6f 77 50 74 72 |eModal(W|indowPtr|
|000006e0| 20 77 69 6e 64 29 3b 0d | 76 6f 69 64 20 43 61 6c | wind);.|void Cal|
|000006f0| 63 5a 6f 6f 6d 28 57 69 | 6e 64 6f 77 50 74 72 20 |cZoom(Wi|ndowPtr |
|00000700| 77 69 6e 64 6f 77 2c 52 | 65 63 74 20 2a 7a 6f 6f |window,R|ect *zoo|
|00000710| 6d 52 65 63 74 2c 52 65 | 63 74 20 2a 75 73 65 72 |mRect,Re|ct *user|
|00000720| 52 65 63 74 29 3b 0d 76 | 6f 69 64 20 48 69 64 65 |Rect);.v|oid Hide|
|00000730| 53 68 6f 77 47 72 6f 75 | 70 73 28 76 6f 69 64 29 |ShowGrou|ps(void)|
|00000740| 3b 0d 76 6f 69 64 20 43 | 68 61 6e 67 65 46 6f 6e |;.void C|hangeFon|
|00000750| 74 28 73 68 6f 72 74 20 | 69 74 65 6d 29 3b 0d 76 |t(short |item);.v|
|00000760| 6f 69 64 20 53 77 69 74 | 63 68 46 6f 6e 74 28 73 |oid Swit|chFont(s|
|00000770| 68 6f 72 74 20 66 6f 6e | 74 4e 75 6d 62 65 72 2c |hort fon|tNumber,|
|00000780| 73 68 6f 72 74 20 73 69 | 7a 65 29 3b 0d 76 6f 69 |short si|ze);.voi|
|00000790| 64 20 55 70 64 61 74 65 | 53 69 7a 65 4d 65 6e 75 |d Update|SizeMenu|
|000007a0| 28 73 68 6f 72 74 20 66 | 6f 6e 74 4e 75 6d 62 65 |(short f|ontNumbe|
|000007b0| 72 2c 73 68 6f 72 74 20 | 73 69 7a 65 29 3b 0d 76 |r,short |size);.v|
|000007c0| 6f 69 64 20 43 68 61 6e | 67 65 53 69 7a 65 28 73 |oid Chan|geSize(s|
|000007d0| 68 6f 72 74 20 69 74 65 | 6d 29 3b 0d 76 6f 69 64 |hort ite|m);.void|
|000007e0| 20 54 6f 67 67 6c 65 5a | 6f 6f 6d 28 57 69 6e 64 | ToggleZ|oom(Wind|
|000007f0| 6f 77 50 74 72 20 77 69 | 6e 64 29 3b 0d 76 6f 69 |owPtr wi|nd);.voi|
|00000800| 64 20 55 70 64 61 74 65 | 46 6f 6e 74 53 74 75 66 |d Update|FontStuf|
|00000810| 66 28 57 69 6e 64 6f 77 | 50 74 72 20 77 69 6e 64 |f(Window|Ptr wind|
|00000820| 6f 77 29 3b 0d 76 6f 69 | 64 20 41 64 64 57 69 6e |ow);.voi|d AddWin|
|00000830| 64 6f 77 73 4d 65 6e 75 | 28 57 69 6e 64 6f 77 50 |dowsMenu|(WindowP|
|00000840| 74 72 20 77 69 6e 64 29 | 3b 0d 76 6f 69 64 20 52 |tr wind)|;.void R|
|00000850| 65 6d 6f 76 65 57 69 6e | 64 6f 77 73 4d 65 6e 75 |emoveWin|dowsMenu|
|00000860| 28 57 69 6e 64 6f 77 50 | 74 72 20 77 69 6e 64 29 |(WindowP|tr wind)|
|00000870| 3b 0d 76 6f 69 64 20 4d | 79 53 65 74 57 69 6e 64 |;.void M|ySetWind|
|00000880| 6f 77 54 69 74 6c 65 28 | 57 69 6e 64 6f 77 50 74 |owTitle(|WindowPt|
|00000890| 72 20 77 69 6e 64 6f 77 | 2c 53 74 72 32 35 35 20 |r window|,Str255 |
|000008a0| 6e 61 6d 65 29 3b 0d 76 | 6f 69 64 20 53 65 6c 65 |name);.v|oid Sele|
|000008b0| 63 74 57 69 6e 64 6f 77 | 73 4d 65 6e 75 28 73 68 |ctWindow|sMenu(sh|
|000008c0| 6f 72 74 20 69 74 65 6d | 29 3b 0d 54 47 72 6f 75 |ort item|);.TGrou|
|000008d0| 70 20 2a 4e 74 68 47 72 | 6f 75 70 28 54 47 72 6f |p *NthGr|oup(TGro|
|000008e0| 75 70 20 2a 68 65 61 64 | 2c 73 68 6f 72 74 20 69 |up *head|,short i|
|000008f0| 6e 64 65 78 29 3b 0d 23 | 65 6e 64 69 66 00 00 00 |ndex);.#|endif...|
|00000900| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000910| 29 3b 0d 09 0d 09 67 54 | 68 65 57 69 6e 64 6f 77 |);....gT|heWindow|
|00000920| 20 3d 20 6e 69 6c 3b 0d | 09 67 4e 75 6d 43 75 72 | = nil;.|.gNumCur|
|00000930| 09 75 73 65 72 69 6e 74 | 2e 68 02 00 00 00 50 61 |.userint|.h....Pa|
|00000940| 72 74 53 49 54 78 00 00 | 00 00 00 00 00 00 00 01 |rtSITx..|........|
|00000950| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|00000960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000970| 00 00 a9 8d 49 73 00 00 | 00 00 00 00 01 7e 6f 75 |....Is..|.....~ou|
|00000980| 74 28 29 0d 7b 0d 09 44 | 69 61 6c 6f 67 50 74 72 |t().{..D|ialogPtr|
|00000990| 20 74 68 65 44 6c 67 3b | 0d 09 73 68 6f 72 74 20 | theDlg;|..short |
|000009a0| 69 74 65 6d 3b 0d 09 45 | 76 65 6e 74 52 65 63 6f |item;..E|ventReco|
|000009b0| 72 64 20 65 76 3b 0d 09 | 0d 09 74 68 65 44 6c 67 |rd ev;..|..theDlg|
|000009c0| 20 3d 20 47 65 74 4e 65 | 77 44 69 61 6c 6f 67 28 | = GetNe|wDialog(|
|000009d0| 6b 41 62 6f 75 74 49 44 | 2c 6e 69 6c 2c 28 57 69 |kAboutID|,nil,(Wi|
|000009e0| 6e 64 6f 77 50 74 72 29 | 2d 31 4c 29 3b 0d 09 4f |ndowPtr)|-1L);..O|
|000009f0| 75 74 6c 69 6e 65 4f 4b | 28 74 68 65 44 6c 67 29 |utlineOK|(theDlg)|
|00000a00| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000a10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 38 |........|.......8|
|00000a20| 00 00 00 00 00 00 00 06 | 00 04 00 3c 00 19 01 b5 |........|...<....|
|00000a30| 02 3a 00 3c 00 19 01 b5 | 02 3a a3 ed c5 31 00 00 |.:.<....|.:...1..|
|00000a40| 06 c0 00 00 06 c0 00 00 | 01 cc 01 00 00 00 01 00 |........|........|
|00000a50| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 3f 1d b0 |...L...L|...2.?..|
|00000a60| 04 0c 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.......2|..MPSR..|
|00000a70| 00 0a 03 ed ff ff 00 00 | 00 00 00 40 f9 40 00 00 |........|...@.@..|
+--------+-------------------------+-------------------------+--------+--------+