home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1991-08-05 | 4.1 KB | [ TEXT/KAHL]
open in: MacOS 8.1
extracted
|
Win98
extracted
|
DOS
extracted
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary ).
Confidence Program Detection Match Type Support
66%
dexvert
Compact Compressed (Unix) (archive/compact)
ext
Supported
10%
dexvert
MacBinary (archive/macBinary)
fallback
Supported
1%
dexvert
Text File (text/txt)
fallback
Supported
100%
file
MacBinary II, inited, Sun Aug 4 23:34:24 1991, modified Sun Aug 4 23:34:24 1991, creator Think C, type ASCII, 3636 bytes "DefaultItem.c" , at 0xeb4 348 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 [ KAHL]
hex view +--------+-------------------------+-------------------------+--------+--------+ |00000000| 00 0d 44 65 66 61 75 6c | 74 49 74 65 6d 2e 63 00 |..Defaul|tItem.c.| |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 4b 41 48 | 4c 01 00 00 00 00 00 00 |.TEXTKAH|L.......| |00000050| 00 00 00 00 00 0e 34 00 | 00 01 5c a4 c2 77 c0 a4 |......4.|..\..w..| |00000060| c2 77 c0 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.w......|........| |00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 c6 e1 00 00 |........|........| |00000080| 2f 2a 0d 09 44 65 66 61 | 75 6c 74 49 74 65 6d 20 |/*..Defa|ultItem | |00000090| 69 73 20 61 20 64 69 61 | 6c 6f 67 20 75 73 65 72 |is a dia|log user| |000000a0| 20 69 74 65 6d 20 70 72 | 6f 63 65 64 75 72 65 20 | item pr|ocedure | |000000b0| 77 72 69 74 74 65 6e 20 | 75 73 69 6e 67 20 54 48 |written |using TH| |000000c0| 49 4e 4b 20 43 2e 20 20 | 54 68 69 73 20 69 73 20 |INK C. |This is | |000000d0| 61 20 73 69 6d 70 6c 65 | 0d 09 65 78 61 6d 70 6c |a simple|..exampl| |000000e0| 65 20 6f 66 20 68 6f 77 | 20 74 6f 20 64 72 61 77 |e of how| to draw| |000000f0| 20 61 20 64 65 66 61 75 | 6c 74 20 62 75 74 74 6f | a defau|lt butto| |00000100| 6e 20 6f 75 74 6c 69 6e | 65 20 77 69 74 68 20 61 |n outlin|e with a| |00000110| 20 75 73 65 72 20 69 74 | 65 6d 2e 20 20 46 6f 72 | user it|em. For| |00000120| 20 62 65 73 74 20 72 65 | 73 75 6c 74 73 2c 0d 09 | best re|sults,..| |00000130| 74 68 65 20 75 73 65 72 | 20 69 74 65 6d 20 73 68 |the user| item sh| |00000140| 6f 75 6c 64 20 62 65 20 | 64 69 73 61 62 6c 65 64 |ould be |disabled| |00000150| 20 61 6e 64 20 69 74 27 | 73 20 64 69 73 70 6c 61 | and it'|s displa| |00000160| 79 20 72 65 63 74 61 6e | 67 6c 65 20 73 68 6f 75 |y rectan|gle shou| |00000170| 6c 64 20 73 75 72 72 6f | 75 6e 64 20 74 68 65 0d |ld surro|und the.| |00000180| 09 64 65 66 61 75 6c 74 | 20 62 75 74 74 6f 6e 2e |.default| button.| |00000190| 20 20 54 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 | The fo|llowing | |000001a0| 63 6f 64 65 20 73 68 6f | 77 73 20 68 6f 77 20 74 |code sho|ws how t| |000001b0| 68 65 20 75 73 65 72 20 | 69 74 65 6d 20 77 6f 75 |he user |item wou| |000001c0| 6c 64 20 74 79 70 69 63 | 61 6c 6c 79 20 62 65 0d |ld typic|ally be.| |000001d0| 09 69 6e 69 74 69 61 6c | 69 7a 65 64 2e 0d 09 0d |.initial|ized....| |000001e0| 09 74 68 65 44 69 61 6c | 6f 67 20 3d 20 47 65 74 |.theDial|og = Get| |000001f0| 4e 65 77 44 69 61 6c 6f | 67 28 44 4c 4f 47 5f 49 |NewDialo|g(DLOG_I| |00000200| 44 2c 20 4e 49 4c 2c 20 | 2d 31 29 3b 0d 09 2e 2e |D, NIL, |-1);....| |00000210| 2e 0d 09 47 65 74 44 49 | 74 65 6d 28 74 68 65 44 |...GetDI|tem(theD| |00000220| 69 61 6c 6f 67 2c 20 55 | 53 45 52 5f 49 54 45 4d |ialog, U|SER_ITEM| |00000230| 5f 4e 55 4d 2c 20 26 69 | 74 65 6d 54 79 70 65 2c |_NUM, &i|temType,| |00000240| 20 26 69 74 65 6d 48 61 | 6e 64 6c 65 2c 20 26 69 | &itemHa|ndle, &i| |00000250| 74 65 6d 42 6f 78 29 3b | 0d 09 53 65 74 44 49 74 |temBox);|..SetDIt| |00000260| 65 6d 28 74 68 65 44 69 | 61 6c 6f 67 2c 20 55 53 |em(theDi|alog, US| |00000270| 45 52 5f 49 54 45 4d 5f | 4e 55 4d 2c 20 69 74 65 |ER_ITEM_|NUM, ite| |00000280| 6d 54 79 70 65 2c 20 28 | 48 61 6e 64 6c 65 29 20 |mType, (|Handle) | |00000290| 44 65 66 61 75 6c 74 49 | 74 65 6d 2c 20 26 69 74 |DefaultI|tem, &it| |000002a0| 65 6d 42 6f 78 29 3b 0d | 09 2e 2e 2e 0d 09 53 68 |emBox);.|......Sh| |000002b0| 6f 77 57 69 6e 64 6f 77 | 28 74 68 65 44 69 61 6c |owWindow|(theDial| |000002c0| 6f 67 29 3b 0d 09 0d 09 | a9 20 31 39 39 31 20 4c |og);....|. 1991 L| |000002d0| 69 6d 20 55 6e 6c 69 6d | 69 74 65 64 20 2d 20 41 |im Unlim|ited - A| |000002e0| 6c 6c 20 52 69 67 68 74 | 73 20 52 65 73 65 72 76 |ll Right|s Reserv| |000002f0| 65 64 0d 09 0d 09 62 79 | 20 4c 6c 6f 79 64 20 4c |ed....by| Lloyd L| |00000300| 69 6d 2c 20 34 20 41 75 | 67 20 31 39 39 31 0d 2a |im, 4 Au|g 1991.*| |00000310| 2f 0d 0d 0d 0d 2f 2a 0d | 09 68 65 61 64 65 72 20 |/..../*.|.header | |00000320| 66 69 6c 65 73 0d 2a 2f | 0d 0d 23 69 6e 63 6c 75 |files.*/|..#inclu| |00000330| 64 65 20 3c 50 61 6c 65 | 74 74 65 73 2e 68 3e 0d |de <Pale|ttes.h>.| |00000340| 0d 0d 0d 2f 2a 0d 09 63 | 6f 6e 73 74 61 6e 74 73 |.../*..c|onstants| |00000350| 20 61 6e 64 20 6d 61 63 | 72 6f 73 0d 2a 2f 0d 0d | and mac|ros.*/..| |00000360| 23 64 65 66 69 6e 65 20 | 4e 49 4c 09 09 28 28 76 |#define |NIL..((v| |00000370| 6f 69 64 20 2a 29 20 30 | 29 0d 0d 23 64 65 66 69 |oid *) 0|)..#defi| |00000380| 6e 65 20 49 4e 41 43 54 | 49 56 45 09 32 35 35 0d |ne INACT|IVE.255.| |00000390| 0d 23 64 65 66 69 6e 65 | 20 47 52 41 59 49 53 48 |.#define| GRAYISH| |000003a0| 5f 53 59 53 54 45 4d 5f | 56 45 52 53 49 4f 4e 09 |_SYSTEM_|VERSION.| |000003b0| 30 78 30 37 30 30 0d 0d | 23 64 65 66 69 6e 65 20 |0x0700..|#define | |000003c0| 4f 55 54 4c 49 4e 45 5f | 54 48 49 43 4b 4e 45 53 |OUTLINE_|THICKNES| |000003d0| 53 09 33 0d 23 64 65 66 | 69 6e 65 20 4f 55 54 4c |S.3.#def|ine OUTL| |000003e0| 49 4e 45 5f 49 4e 53 45 | 54 09 09 28 4f 55 54 4c |INE_INSE|T..(OUTL| |000003f0| 49 4e 45 5f 54 48 49 43 | 4b 4e 45 53 53 20 2b 20 |INE_THIC|KNESS + | |00000400| 31 29 0d 23 64 65 66 69 | 6e 65 20 4f 55 54 4c 49 |1).#defi|ne OUTLI| |00000410| 4e 45 5f 4f 55 54 53 45 | 54 09 09 28 2d 4f 55 54 |NE_OUTSE|T..(-OUT| |00000420| 4c 49 4e 45 5f 49 4e 53 | 45 54 29 0d 23 64 65 66 |LINE_INS|ET).#def| |00000430| 69 6e 65 20 43 55 52 56 | 45 5f 41 44 4a 55 53 54 |ine CURV|E_ADJUST| |00000440| 4d 45 4e 54 09 32 0d 0d | 0d 0d 2f 2a 0d 09 74 79 |MENT.2..|../*..ty| |00000450| 70 65 64 65 66 73 0d 2a | 2f 0d 0d 74 79 70 65 64 |pedefs.*|/..typed| |00000460| 65 66 20 73 74 72 75 63 | 74 20 7b 0d 09 50 65 6e |ef struc|t {..Pen| |00000470| 53 74 61 74 65 09 09 70 | 65 6e 53 74 61 74 65 3b |State..p|enState;| |00000480| 0d 09 52 47 42 43 6f 6c | 6f 72 09 09 66 72 61 6d |..RGBCol|or..fram| |00000490| 65 43 6f 6c 6f 72 3b 0d | 09 52 47 42 43 6f 6c 6f |eColor;.|.RGBColo| |000004a0| 72 09 09 62 61 63 6b 43 | 6f 6c 6f 72 3b 0d 09 52 |r..backC|olor;..R| |000004b0| 65 63 74 09 09 09 62 6f | 75 6e 64 73 3b 0d 09 42 |ect...bo|unds;..B| |000004c0| 6f 6f 6c 65 61 6e 09 09 | 69 6e 61 63 74 69 76 65 |oolean..|inactive| |000004d0| 3b 0d 7d 20 44 72 61 77 | 69 6e 67 44 61 74 61 2c |;.} Draw|ingData,| |000004e0| 20 2a 44 72 61 77 69 6e | 67 44 61 74 61 50 74 72 | *Drawin|gDataPtr| |000004f0| 3b 0d 0d 0d 0d 2f 2a 0d | 09 72 6f 75 74 69 6e 65 |;..../*.|.routine| |00000500| 73 0d 2a 2f 0d 0d 70 61 | 73 63 61 6c 20 76 6f 69 |s.*/..pa|scal voi| |00000510| 64 09 09 09 09 44 65 66 | 61 75 6c 74 49 74 65 6d |d....Def|aultItem| |00000520| 09 09 09 09 28 44 69 61 | 6c 6f 67 50 74 72 2c 20 |....(Dia|logPtr, | |00000530| 73 68 6f 72 74 29 3b 0d | 0d 0d 0d 2f 2a 0d 09 73 |short);.|.../*..s| |00000540| 74 61 74 69 63 20 72 6f | 75 74 69 6e 65 73 0d 2a |tatic ro|utines.*| |00000550| 2f 0d 0d 73 74 61 74 69 | 63 20 70 61 73 63 61 6c |/..stati|c pascal| |00000560| 20 76 6f 69 64 09 44 65 | 66 61 75 6c 74 44 72 61 | void.De|faultDra| |00000570| 77 69 6e 67 50 72 6f 63 | 09 28 73 68 6f 72 74 2c |wingProc|.(short,| |00000580| 20 73 68 6f 72 74 2c 20 | 47 44 48 61 6e 64 6c 65 | short, |GDHandle| |00000590| 2c 20 44 72 61 77 69 6e | 67 44 61 74 61 50 74 72 |, Drawin|gDataPtr| |000005a0| 29 3b 0d 0d 0d 0d 2f 2a | 0d 09 44 65 66 61 75 6c |);..../*|..Defaul| |000005b0| 74 49 74 65 6d 20 64 72 | 61 77 73 20 61 6e 20 6f |tItem dr|aws an o| |000005c0| 75 74 6c 69 6e 65 20 66 | 6f 72 20 74 68 65 20 64 |utline f|or the d| |000005d0| 65 66 61 75 6c 74 20 62 | 75 74 74 6f 6e 2e 20 20 |efault b|utton. | |000005e0| 54 68 65 20 6f 75 74 6c | 69 6e 65 20 69 73 20 64 |The outl|ine is d| |000005f0| 72 61 77 6e 20 63 6f 72 | 72 65 63 74 6c 79 0d 09 |rawn cor|rectly..| |00000600| 66 6f 72 20 62 75 74 74 | 6f 6e 73 20 6f 66 20 61 |for butt|ons of a| |00000610| 6e 79 20 73 69 7a 65 2c | 20 63 6f 6c 6f 72 2c 20 |ny size,| color, | |00000620| 61 6e 64 20 73 74 61 74 | 65 2e 0d 2a 2f 0d 0d 70 |and stat|e..*/..p| |00000630| 61 73 63 61 6c 20 76 6f | 69 64 20 44 65 66 61 75 |ascal vo|id Defau| |00000640| 6c 74 49 74 65 6d 28 74 | 68 65 44 69 61 6c 6f 67 |ltItem(t|heDialog| |00000650| 2c 20 69 74 65 6d 4e 75 | 6d 29 0d 0d 44 69 61 6c |, itemNu|m)..Dial| |00000660| 6f 67 50 74 72 09 74 68 | 65 44 69 61 6c 6f 67 3b |ogPtr.th|eDialog;| |00000670| 0d 73 68 6f 72 74 09 09 | 09 69 74 65 6d 4e 75 6d |.short..|.itemNum| |00000680| 3b 0d 0d 7b 0d 09 73 68 | 6f 72 74 09 09 09 09 69 |;..{..sh|ort....i| |00000690| 74 65 6d 54 79 70 65 3b | 0d 09 43 6f 6e 74 72 6f |temType;|..Contro| |000006a0| 6c 48 61 6e 64 6c 65 09 | 74 68 65 43 6f 6e 74 72 |lHandle.|theContr| |000006b0| 6f 6c 3b 0d 09 44 72 61 | 77 69 6e 67 44 61 74 61 |ol;..Dra|wingData| |000006c0| 09 09 64 72 61 77 69 6e | 67 44 61 74 61 3b 0d 09 |..drawin|gData;..| |000006d0| 53 79 73 45 6e 76 52 65 | 63 09 09 73 79 73 45 6e |SysEnvRe|c..sysEn| |000006e0| 76 69 72 6f 6e 73 3b 0d | 09 52 47 42 43 6f 6c 6f |virons;.|.RGBColo| |000006f0| 72 09 09 09 66 6f 72 65 | 43 6f 6c 6f 72 3b 0d 09 |r...fore|Color;..| |00000700| 41 75 78 43 74 6c 48 61 | 6e 64 6c 65 09 61 75 78 |AuxCtlHa|ndle.aux| |00000710| 43 74 6c 48 64 6c 3b 0d | 09 0d 09 47 65 74 44 49 |CtlHdl;.|...GetDI| |00000720| 74 65 6d 28 74 68 65 44 | 69 61 6c 6f 67 2c 20 28 |tem(theD|ialog, (| |00000730| 28 44 69 61 6c 6f 67 50 | 65 65 6b 29 20 74 68 65 |(DialogP|eek) the| |00000740| 44 69 61 6c 6f 67 29 2d | 3e 61 44 65 66 49 74 65 |Dialog)-|>aDefIte| |00000750| 6d 2c 20 26 69 74 65 6d | 54 79 70 65 2c 0d 09 09 |m, &item|Type,...| |00000760| 09 09 28 48 61 6e 64 6c | 65 20 2a 29 20 26 74 68 |..(Handl|e *) &th| |00000770| 65 43 6f 6e 74 72 6f 6c | 2c 20 26 64 72 61 77 69 |eControl|, &drawi| |00000780| 6e 67 44 61 74 61 2e 62 | 6f 75 6e 64 73 29 3b 0d |ngData.b|ounds);.| |00000790| 09 0d 09 69 66 20 28 69 | 74 65 6d 54 79 70 65 20 |...if (i|temType | |000007a0| 3d 3d 20 28 63 74 72 6c | 49 74 65 6d 20 7c 20 62 |== (ctrl|Item | b| |000007b0| 74 6e 43 74 72 6c 29 20 | 26 26 20 28 2a 74 68 65 |tnCtrl) |&& (*the| |000007c0| 43 6f 6e 74 72 6f 6c 29 | 2d 3e 63 6f 6e 74 72 6c |Control)|->contrl| |000007d0| 56 69 73 29 20 7b 0d 09 | 09 47 65 74 50 65 6e 53 |Vis) {..|.GetPenS| |000007e0| 74 61 74 65 28 26 64 72 | 61 77 69 6e 67 44 61 74 |tate(&dr|awingDat| |000007f0| 61 2e 70 65 6e 53 74 61 | 74 65 29 3b 0d 09 09 49 |a.penSta|te);...I| |00000800| 6e 73 65 74 52 65 63 74 | 28 26 64 72 61 77 69 6e |nsetRect|(&drawin| |00000810| 67 44 61 74 61 2e 62 6f | 75 6e 64 73 2c 20 4f 55 |gData.bo|unds, OU| |00000820| 54 4c 49 4e 45 5f 4f 55 | 54 53 45 54 2c 20 4f 55 |TLINE_OU|TSET, OU| |00000830| 54 4c 49 4e 45 5f 4f 55 | 54 53 45 54 29 3b 0d 09 |TLINE_OU|TSET);..| |00000840| 09 64 72 61 77 69 6e 67 | 44 61 74 61 2e 69 6e 61 |.drawing|Data.ina| |00000850| 63 74 69 76 65 20 3d 20 | 28 28 2a 74 68 65 43 6f |ctive = |((*theCo| |00000860| 6e 74 72 6f 6c 29 2d 3e | 63 6f 6e 74 72 6c 48 69 |ntrol)->|contrlHi| |00000870| 6c 69 74 65 20 3d 3d 20 | 49 4e 41 43 54 49 56 45 |lite == |INACTIVE| |00000880| 29 3b 0d 09 09 0d 09 09 | 28 76 6f 69 64 29 20 53 |);......|(void) S| |00000890| 79 73 45 6e 76 69 72 6f | 6e 73 28 63 75 72 53 79 |ysEnviro|ns(curSy| |000008a0| 73 45 6e 76 56 65 72 73 | 2c 20 26 73 79 73 45 6e |sEnvVers|, &sysEn| |000008b0| 76 69 72 6f 6e 73 29 3b | 0d 09 09 69 66 20 28 73 |virons);|...if (s| |000008c0| 79 73 45 6e 76 69 72 6f | 6e 73 2e 68 61 73 43 6f |ysEnviro|ns.hasCo| |000008d0| 6c 6f 72 51 44 29 20 7b | 0d 09 09 09 47 65 74 46 |lorQD) {|....GetF| |000008e0| 6f 72 65 43 6f 6c 6f 72 | 28 26 66 6f 72 65 43 6f |oreColor|(&foreCo| |000008f0| 6c 6f 72 29 3b 0d 09 09 | 09 28 76 6f 69 64 29 20 |lor);...|.(void) | |00000900| 47 65 74 41 75 78 43 74 | 6c 28 74 68 65 43 6f 6e |GetAuxCt|l(theCon| |00000910| 74 72 6f 6c 2c 20 26 61 | 75 78 43 74 6c 48 64 6c |trol, &a|uxCtlHdl| |00000920| 29 3b 0d 09 09 09 64 72 | 61 77 69 6e 67 44 61 74 |);....dr|awingDat| |00000930| 61 2e 66 72 61 6d 65 43 | 6f 6c 6f 72 20 3d 20 28 |a.frameC|olor = (| |00000940| 2a 28 2a 61 75 78 43 74 | 6c 48 64 6c 29 2d 3e 61 |*(*auxCt|lHdl)->a| |00000950| 63 43 54 61 62 6c 65 29 | 2d 3e 63 74 54 61 62 6c |cCTable)|->ctTabl| |00000960| 65 5b 63 46 72 61 6d 65 | 43 6f 6c 6f 72 5d 2e 72 |e[cFrame|Color].r| |00000970| 67 62 3b 0d 09 09 7d 0d | 09 09 0d 09 09 69 66 20 |gb;...}.|.....if | |00000980| 28 73 79 73 45 6e 76 69 | 72 6f 6e 73 2e 68 61 73 |(sysEnvi|rons.has| |00000990| 43 6f 6c 6f 72 51 44 20 | 26 26 0d 09 09 09 20 73 |ColorQD |&&.... s| |000009a0| 79 73 45 6e 76 69 72 6f | 6e 73 2e 73 79 73 74 65 |ysEnviro|ns.syste| |000009b0| 6d 56 65 72 73 69 6f 6e | 20 3e 3d 20 47 52 41 59 |mVersion| >= GRAY| |000009c0| 49 53 48 5f 53 59 53 54 | 45 4d 5f 56 45 52 53 49 |ISH_SYST|EM_VERSI| |000009d0| 4f 4e 20 26 26 0d 09 09 | 09 20 28 28 44 69 61 6c |ON &&...|. ((Dial| |000009e0| 6f 67 50 65 65 6b 29 20 | 74 68 65 44 69 61 6c 6f |ogPeek) |theDialo| |000009f0| 67 29 2d 3e 77 69 6e 64 | 6f 77 2e 70 6f 72 74 2e |g)->wind|ow.port.| |00000a00| 70 6f 72 74 42 69 74 73 | 2e 72 6f 77 42 79 74 65 |portBits|.rowByte| |00000a10| 73 20 26 20 30 78 43 30 | 30 30 29 20 7b 0d 09 09 |s & 0xC0|00) {...| |00000a20| 09 47 65 74 42 61 63 6b | 43 6f 6c 6f 72 28 26 64 |.GetBack|Color(&d| |00000a30| 72 61 77 69 6e 67 44 61 | 74 61 2e 62 61 63 6b 43 |rawingDa|ta.backC| |00000a40| 6f 6c 6f 72 29 3b 0d 09 | 09 09 44 65 76 69 63 65 |olor);..|..Device| |00000a50| 4c 6f 6f 70 28 28 28 44 | 69 61 6c 6f 67 50 65 65 |Loop(((D|ialogPee| |00000a60| 6b 29 20 74 68 65 44 69 | 61 6c 6f 67 29 2d 3e 77 |k) theDi|alog)->w| |00000a70| 69 6e 64 6f 77 2e 70 6f | 72 74 2e 76 69 73 52 67 |indow.po|rt.visRg| |00000a80| 6e 2c 0d 09 09 09 09 09 | 09 20 20 28 44 65 76 69 |n,......|. (Devi| |00000a90| 63 65 4c 6f 6f 70 44 72 | 61 77 69 6e 67 50 72 6f |ceLoopDr|awingPro| |00000aa0| 63 50 74 72 29 20 44 65 | 66 61 75 6c 74 44 72 61 |cPtr) De|faultDra| |00000ab0| 77 69 6e 67 50 72 6f 63 | 2c 0d 09 09 09 09 09 09 |wingProc|,.......| |00000ac0| 20 20 28 6c 6f 6e 67 29 | 20 26 64 72 61 77 69 6e | (long)| &drawin| |00000ad0| 67 44 61 74 61 2c 20 30 | 29 3b 0d 09 09 7d 20 65 |gData, 0|);...} e| |00000ae0| 6c 73 65 20 7b 0d 09 09 | 09 44 65 66 61 75 6c 74 |lse {...|.Default| |00000af0| 44 72 61 77 69 6e 67 50 | 72 6f 63 28 73 79 73 45 |DrawingP|roc(sysE| |00000b00| 6e 76 69 72 6f 6e 73 2e | 68 61 73 43 6f 6c 6f 72 |nvirons.|hasColor| |00000b10| 51 44 2c 20 30 2c 20 4e | 49 4c 2c 20 26 64 72 61 |QD, 0, N|IL, &dra| |00000b20| 77 69 6e 67 44 61 74 61 | 29 3b 0d 09 09 7d 0d 09 |wingData|);...}..| |00000b30| 09 0d 09 09 69 66 20 28 | 73 79 73 45 6e 76 69 72 |....if (|sysEnvir| |00000b40| 6f 6e 73 2e 68 61 73 43 | 6f 6c 6f 72 51 44 29 20 |ons.hasC|olorQD) | |00000b50| 7b 0d 09 09 09 52 47 42 | 46 6f 72 65 43 6f 6c 6f |{....RGB|ForeColo| |00000b60| 72 28 26 66 6f 72 65 43 | 6f 6c 6f 72 29 3b 0d 09 |r(&foreC|olor);..| |00000b70| 09 7d 0d 09 7d 0d 7d 0d | 0d 0d 0d 2f 2a 0d 09 44 |.}..}.}.|.../*..D| |00000b80| 65 66 61 75 6c 74 44 72 | 61 77 69 6e 67 50 72 6f |efaultDr|awingPro| |00000b90| 63 20 69 73 20 61 20 64 | 72 61 77 69 6e 67 20 70 |c is a d|rawing p| |00000ba0| 72 6f 63 65 64 75 72 65 | 20 74 68 61 74 20 64 72 |rocedure| that dr| |00000bb0| 61 77 73 20 61 20 64 65 | 66 61 75 6c 74 20 62 75 |aws a de|fault bu| |00000bc0| 74 74 6f 6e 20 6f 75 74 | 6c 69 6e 65 2e 0d 2a 2f |tton out|line..*/| |00000bd0| 0d 0d 73 74 61 74 69 63 | 20 70 61 73 63 61 6c 20 |..static| pascal | |00000be0| 76 6f 69 64 20 44 65 66 | 61 75 6c 74 44 72 61 77 |void Def|aultDraw| |00000bf0| 69 6e 67 50 72 6f 63 28 | 64 65 70 74 68 2c 20 64 |ingProc(|depth, d| |00000c00| 65 76 69 63 65 46 6c 61 | 67 73 2c 20 74 61 72 67 |eviceFla|gs, targ| |00000c10| 65 74 44 65 76 69 63 65 | 2c 20 64 72 61 77 69 6e |etDevice|, drawin| |00000c20| 67 44 61 74 61 29 0d 0d | 73 68 6f 72 74 09 09 09 |gData)..|short...| |00000c30| 09 09 64 65 70 74 68 2c | 20 64 65 76 69 63 65 46 |..depth,| deviceF| |00000c40| 6c 61 67 73 3b 0d 47 44 | 48 61 6e 64 6c 65 09 09 |lags;.GD|Handle..| |00000c50| 09 09 74 61 72 67 65 74 | 44 65 76 69 63 65 3b 0d |..target|Device;.| |00000c60| 44 72 61 77 69 6e 67 44 | 61 74 61 50 74 72 09 09 |DrawingD|ataPtr..| |00000c70| 64 72 61 77 69 6e 67 44 | 61 74 61 3b 0d 0d 7b 0d |drawingD|ata;..{.| |00000c80| 09 52 47 42 43 6f 6c 6f | 72 09 09 6f 75 74 6c 69 |.RGBColo|r..outli| |00000c90| 6e 65 43 6f 6c 6f 72 3b | 0d 09 73 68 6f 72 74 09 |neColor;|..short.| |00000ca0| 09 09 63 75 72 76 61 74 | 75 72 65 3b 0d 09 0d 09 |..curvat|ure;....| |00000cb0| 50 65 6e 4e 6f 72 6d 61 | 6c 28 29 3b 0d 09 50 65 |PenNorma|l();..Pe| |00000cc0| 6e 53 69 7a 65 28 4f 55 | 54 4c 49 4e 45 5f 54 48 |nSize(OU|TLINE_TH| |00000cd0| 49 43 4b 4e 45 53 53 2c | 20 4f 55 54 4c 49 4e 45 |ICKNESS,| OUTLINE| |00000ce0| 5f 54 48 49 43 4b 4e 45 | 53 53 29 3b 0d 09 69 66 |_THICKNE|SS);..if| |00000cf0| 20 28 64 65 70 74 68 29 | 20 7b 0d 09 09 6f 75 74 | (depth)| {...out| |00000d00| 6c 69 6e 65 43 6f 6c 6f | 72 20 3d 20 64 72 61 77 |lineColo|r = draw| |00000d10| 69 6e 67 44 61 74 61 2d | 3e 66 72 61 6d 65 43 6f |ingData-|>frameCo| |00000d20| 6c 6f 72 3b 0d 09 7d 0d | 09 69 66 20 28 64 72 61 |lor;..}.|.if (dra| |00000d30| 77 69 6e 67 44 61 74 61 | 2d 3e 69 6e 61 63 74 69 |wingData|->inacti| |00000d40| 76 65 29 20 7b 0d 09 09 | 69 66 20 28 21 74 61 72 |ve) {...|if (!tar| |00000d50| 67 65 74 44 65 76 69 63 | 65 20 7c 7c 0d 09 09 09 |getDevic|e ||....| |00000d60| 20 21 47 65 74 47 72 61 | 79 28 74 61 72 67 65 74 | !GetGra|y(target| |00000d70| 44 65 76 69 63 65 2c 20 | 26 64 72 61 77 69 6e 67 |Device, |&drawing| |00000d80| 44 61 74 61 2d 3e 62 61 | 63 6b 43 6f 6c 6f 72 2c |Data->ba|ckColor,| |00000d90| 20 26 6f 75 74 6c 69 6e | 65 43 6f 6c 6f 72 29 29 | &outlin|eColor))| |00000da0| 20 7b 0d 09 09 09 50 65 | 6e 50 61 74 28 67 72 61 | {....Pe|nPat(gra| |00000db0| 79 29 3b 0d 09 09 7d 0d | 09 7d 0d 09 69 66 20 28 |y);...}.|.}..if (| |00000dc0| 64 65 70 74 68 29 20 7b | 0d 09 09 52 47 42 46 6f |depth) {|...RGBFo| |00000dd0| 72 65 43 6f 6c 6f 72 28 | 26 6f 75 74 6c 69 6e 65 |reColor(|&outline| |00000de0| 43 6f 6c 6f 72 29 3b 0d | 09 7d 0d 09 63 75 72 76 |Color);.|.}..curv| |00000df0| 61 74 75 72 65 20 3d 20 | 28 28 64 72 61 77 69 6e |ature = |((drawin| |00000e00| 67 44 61 74 61 2d 3e 62 | 6f 75 6e 64 73 2e 62 6f |gData->b|ounds.bo| |00000e10| 74 74 6f 6d 20 2d 20 64 | 72 61 77 69 6e 67 44 61 |ttom - d|rawingDa| |00000e20| 74 61 2d 3e 62 6f 75 6e | 64 73 2e 74 6f 70 29 20 |ta->boun|ds.top) | |00000e30| 3e 3e 20 31 29 20 2b 0d | 09 09 09 09 09 43 55 52 |>> 1) +.|.....CUR| |00000e40| 56 45 5f 41 44 4a 55 53 | 54 4d 45 4e 54 3b 0d 09 |VE_ADJUS|TMENT;..| |00000e50| 46 72 61 6d 65 52 6f 75 | 6e 64 52 65 63 74 28 26 |FrameRou|ndRect(&| |00000e60| 64 72 61 77 69 6e 67 44 | 61 74 61 2d 3e 62 6f 75 |drawingD|ata->bou| |00000e70| 6e 64 73 2c 20 63 75 72 | 76 61 74 75 72 65 2c 20 |nds, cur|vature, | |00000e80| 63 75 72 76 61 74 75 72 | 65 29 3b 0d 09 53 65 74 |curvatur|e);..Set| |00000e90| 50 65 6e 53 74 61 74 65 | 28 26 64 72 61 77 69 6e |PenState|(&drawin| |00000ea0| 67 44 61 74 61 2d 3e 70 | 65 6e 53 74 61 74 65 29 |gData->p|enState)| |00000eb0| 3b 0d 7d 0d 00 00 00 00 | 00 00 00 00 00 00 00 00 |;.}.....|........| |00000ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00000f00| 00 00 01 00 00 00 01 16 | 00 00 00 16 00 00 00 46 |........|.......F| |00000f10| cc 95 66 e2 74 d7 c8 59 | c6 58 91 cd 3f 48 db cd |..f.t..Y|.X..?H..| |00000f20| 00 c7 9c 0c bf 4c c0 02 | c8 00 08 ac 4e 51 00 c5 |.....L..|....NQ..| |00000f30| 0d 44 65 66 61 75 6c 74 | 49 74 65 6d 2e 63 02 00 |.Default|Item.c..| |00000f40| 00 00 54 45 58 54 4b 41 | 48 4c 01 00 00 0c 01 c0 |..TEXTKA|HL......| |00000f50| 00 00 54 45 58 54 4b 41 | 48 4c 01 00 00 0c 01 c0 |..TEXTKA|HL......| |00000f60| 00 00 5e 74 00 00 00 00 | 00 00 00 00 00 00 00 00 |..^t....|........| |00000f70| 00 00 a3 e0 62 c1 00 00 | 0e 34 00 00 01 5c 03 f8 |....b...|.4...\..| |00000f80| fa 88 3b 59 6f 75 20 68 | 61 76 65 20 6d 61 64 65 |..;You h|ave made| |00000f90| 20 63 68 61 6e 67 65 73 | 20 74 68 61 74 20 77 6f | changes| that wo| |00000fa0| 6e d5 74 20 74 61 6b 65 | 20 65 66 66 65 63 74 20 |n.t take| effect | |00000fb0| 75 6e 74 69 6c 20 52 65 | 73 74 61 72 74 2e 00 00 |until Re|start...| |00000fc0| 00 00 a4 00 09 00 00 00 | 00 00 8a 01 00 00 9c 01 |........|........| |00000fd0| 50 04 04 4f 70 65 6e 00 | 00 00 00 04 80 00 3b 04 |P..Open.|......;.| |00000fe0| d0 00 4d 04 00 00 00 00 | 00 00 a3 01 00 00 b5 01 |..M.....|........| |00000ff0| 50 04 06 43 61 6e 63 65 | 6c 00 00 00 00 00 27 00 |P..Cance|l.....'.| |00001000| 00 00 00 04 00 06 00 03 | 00 00 00 0a 00 09 06 4d |........|.......M| |00001010| 6f 6e 61 63 6f 08 00 00 | 01 00 00 00 01 16 00 00 |onaco...|........| |00001020| 00 16 00 00 00 46 00 3d | 3b 18 06 fc 00 00 00 1c |.....F.=|;.......| |00001030| 00 46 00 01 45 54 41 42 | 00 00 00 12 45 46 4e 54 |.F..ETAB|....EFNT| |00001040| 00 00 00 1e 03 ec ff ff | 00 00 00 00 00 3d 3b c8 |........|.....=;.| |00001050| 03 eb ff ff 00 00 00 08 | 00 3d 3b d8 00 00 00 00 |........|.=;.....| |00001060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| |00001070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........| +--------+-------------------------+-------------------------+--------+--------+