home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Information / Digests / Alt-Sources-Mac / digest-04-94 < prev    next >
Encoding:
Text File  |  1994-12-08  |  24.5 KB  |  665 lines  |  [TEXT/R*ch]

  1. alt.sources.mac digest #4-94                      4/1/94
  2.  
  3. Today's Contents:
  4.  
  5.   [!] administrivia
  6.  
  7.   [*] backinuse.cpt.hqx
  8.   [*] cwjumptable.cpt.hqx
  9.   [*] findiconlib.cpt.hqx
  10.   [*] fontshow1.1.2.cpt.hqx
  11.   [*] fractarcontours.cpt.hqx
  12.   [*] gammafadelib.cpt.hqx
  13.   [*] glypha3.cpt.hqx
  14.   [*] glypha3.1.cpt.hqx
  15.   [*] mycard.cpt.hqx
  16.   [*] pictbuttoncdef.cpt.hqx
  17.   [*] popupcdef1.0b3.cpt.hqx
  18.   [*] progresscdef1.0.cpt.hqx
  19.   [*] progresscdef1.1.cpt.hqx
  20.   [*] stellaobscura.cpt.hqx
  21.   [*] textdim.cpt.hqx
  22.   [*] threadlib.cpt.hqx
  23.   [*] tonedialer.cpt.hqx
  24.   [*] trenchsim.cpt.hqx
  25.   [*] updnarrowcdef.cpt.hqx
  26.   [*] updncntl.cpt.hqx
  27.   [*] updncntl2.cpt.hqx
  28.  
  29.   [#] adjwindfkey
  30.   [#] appletalktoggle
  31.   [#] findfullpath
  32.   [#] fswritete
  33.   [#] getfindericon
  34.   [#] loadcoderes
  35.   [#] loadcoderes2
  36.   [#] mycopybits
  37.   [#] paslibinsymc
  38.   [#] polymaze
  39.   [#] pswdfilter
  40.   [#] queenxlisp
  41.   [#] strptime
  42.   [#] timezonestuff
  43.   [#] tokenizer
  44.     
  45.   [!] Who's Who List
  46.   
  47.   The alt.sources.mac archive is at ftpbio.bgsu.edu
  48. (129.1.252.66) in the /ftp/pub/alt.sources.mac directory.  
  49. Files listed with an [*] before them are in the main
  50. directory.  Files listed with an [#] in front of them
  51. are in the /ftp/pub/alt.sources.mac/00snippet directory.
  52. Scripts are stored in the /ftp/pub/alt.sources.mac/scripts
  53. directory.
  54.  
  55.   Also stored at the archive site are the FAQs for the
  56. Mac newsgroups in the /ftp/pub directory.  Postings to
  57. comp.sources.mac are archived in the /ftp/pub/comp.sources.mac
  58. directory.  The alt.sources.mac digests are archived in the
  59. /ftp/pub/digests directory.
  60.  
  61.   The alt.sources.mac newsgroup is for the distribution of
  62. sources only.
  63.  
  64. ************************************************************
  65.  
  66. From: dnebing@andy.bgsu.edu (Dave Nebinger)
  67. Subject: Administrivia
  68.  
  69.   Welcome to the alt.sources.mac digest.  Currently, I am
  70. the moderator of the archive.  I thought I would post this
  71. message to show everyone what has been accumulating at the
  72. archive site.
  73.  
  74.   Your contributions are highly recommended and accepted.
  75. If you don't have access to the alt.sources.mac newsgroup,
  76. you can email your contribution to me (dnebing@andy.bgsu.edu)
  77. and I will add it to the archive, or you can upload it to
  78. the /ftp/pub/incoming directory at the archive site.
  79.  
  80.   I would also recommend to those programmers posting
  81. snippets to the comp.sys.mac.* heirarchy to also crosspost
  82. them to the alt.sources.mac group so that I can make sure
  83. that it gets added to the archive.
  84.  
  85.   If anything is missing from the archive that you feel should
  86. be in there, let me know.  I am hoping to make the archive the
  87. largest Mac/PPC source code site around...
  88.  
  89.   Thanks for your support, and if you have any questions,
  90. problems, or maladjustments, feel free to email me.  Also, let
  91. me know if you have any problems accessing the archive.  The only 
  92. way I can fix things is if I am told... ;-)
  93.  
  94.   Dave Nebinger (dnebing@andy.bgsu.edu)
  95.   
  96. ************************************************************
  97.  
  98. From: kenlong@netcom.com (Ken Long)
  99. Subject: BackInUse (C)
  100.  
  101. This is an old source I found on BMUG and updated to run on Think C.
  102.  
  103. It draws a 6 point poly, but not by the usual method, then insets the 
  104. points a certain amount and redrawing until it gets to nothing.  Then 
  105. erases and starts over.  All B/W.  It was called "InUse" hence the name.  
  106. It was intended as a screen saver (InUse meaning not in use, or idle).
  107.  
  108. Enjoy!
  109.  
  110. -Ken-
  111.  
  112. [archived as: /ftp/pub/alt.sources.mac/backinuse.cpt.hqx]
  113. ============================================================
  114.  
  115. From: arentz@batcave.knoware.nl (Stefan Arentz)
  116. Subject: CWJumpTable.txt
  117.  
  118. CWJumpTable - Written by Stefan Arentz, 17/03/94
  119.  
  120. This Macsbug extension dumps the Jump table of an application that was
  121. build with CodeWarrior C/C++ or Pascal (for 68K of course). It seems that
  122. CodeWarrior doesn't use the standard jump table as described in Inside Mac,
  123. so I wrote this dcmd. Codewarrior is still under development, so things
  124. could change...
  125.  
  126. Happy MacHacking,
  127.  
  128.  -- Stefan Arentz, arentz@knoware.nl
  129.  
  130. [archived as: /ftp/pub/alt.sources.mac/cwjumptable.cpt.hqx]
  131. ============================================================
  132.  
  133. From: walkerj@math.scarolina.edu (Jim Walker)
  134. Subject: FindIcon 3/26/94 library (C)
  135.  
  136. These routines find an icon family for an arbitrary object in the
  137. Mac file system.  It is intended to be the same icon displayed by
  138. the Finder, but there are a bunch of exceptions and I can't swear
  139. I found them all. (Still not done: icons from old-style Desktop
  140. files.) THINK C source code.  Assumes recent Apple headers, possibly more
  141. recent than those supplied by Symantec.
  142.  
  143. Freeware by James W. Walker.
  144.  
  145. [archived as: /ftp/pub/alt.sources.mac/findiconlib.cpt.hqx]
  146. ============================================================
  147.  
  148. From: kenlong@netcom.com (Ken Long)
  149. Subject: FontShow1.1.2
  150.  
  151. This is a font display/printing project.  I found the .c and .h files on 
  152. the net, but no .rsrc.  but I found a built app. somewhere and got it 
  153. running.
  154.  
  155. Not extensively tested by me - just checked a few normal aspects of it 
  156. and it seemed fine on my LC.
  157. A 1989 project by Rainer Fuch.
  158.  
  159. -Ken-
  160.  
  161. [archived as: /ftp/pub/alt.sources.mac/fontshow1.1.2.cpt.hqx]
  162. ============================================================
  163.  
  164. From: kenlong@netcom.com (Ken Long)
  165. Subject: Fractar Contours (C)
  166.  
  167. This is an old B/W fractal program.  Very primative and simple.  I got it 
  168. running on My LC in Think C, but that's as far as I took it.
  169.  
  170. Enjoy!
  171.  
  172. -Ken-
  173.  
  174. [archived as: /ftp/pub/alt.sources.mac/fractarcontours.cpt.hqx]
  175. ============================================================
  176.  
  177. From: Matt Slot <fprefect@engin.umich.edu>
  178. Subject: Gamma Fading Library (THINK C)
  179.  
  180. This library is intended as a general tool for manipulating the Gamma Tables
  181.     of Graphics Devices, to ramp them up or down in order to achieve smooth
  182.     screen fades. The source is included for programmers who want to convert
  183.     the library to A4-based, but it is not commented for public consumption.
  184. The library defines 2 globals to save state data, but the entire Table 
  185.     manipulation is performed with unlocked handles to be easy on your heap.
  186.     The typical memory chunk is about 600 bytes for a 13" Monitor in 8-bit 
  187.     depth, or about 1700 bytes for one in 24-bit color. Usage will vary.
  188. Of course, the Classic Mac cannot use Gamma Fades, only Mac II or later machines
  189.     with attached monitors. (I don't know about the Color Classic tho'!). Also,
  190.     GDevice manipulation needs to follow InitGraf() & InitWindows() calls.
  191. Please use the listed functions to see if you can use this code before you set
  192.     it up. As usual, this stuff is not warranteed, guaranteed, or anything--
  193.     use it at your own risk. It is not Apple-recommended for anything, but it
  194.     worked for me, so there!
  195.  
  196. Matt Slot, fprefect@engin.umich.edu
  197.  
  198. [archived as: /ftp/pub/alt.sources.mac/gammafadelib.cpt.hqx]
  199. ============================================================
  200.  
  201. From: kenlong@netcom.com (Ken Long)
  202. Subject: Glypha.3.pas
  203.  
  204. This is John Calhoun's B/W Glypha Pascal source.  C programmers should 
  205. get this one because there's an excellent illustrated info sheet in the 
  206. file on copying bits and masks.
  207.  
  208. I downloaded this a year ago, but haven't seen it on the net - so here it is!
  209.  
  210. -Ken-
  211.  
  212. [archived as: /ftp/pub/alt.sources.mac/glypha3.cpt.hqx]
  213. ============================================================
  214.  
  215. From: kenlong@netcom.com (Ken Long)
  216. Subject: GlyphII.1.1.pas
  217.  
  218. This is the color version of John Calhoun's Glypha (Pascal source).  It's 
  219. a 640x480 monitor or bigger program.
  220.  
  221. -Ken-
  222.  
  223. [archived as: /ftp/pub/alt.sources.mac/glypha3.1.cpt.hqx]
  224. ============================================================
  225.  
  226.  [Moderator's note: the color patches posted to alt.sources.mac have been
  227.   included in this archive (I really hate sites where you have to look all
  228.   over the place for patches!)]
  229.   
  230. From: kenlong@netcom.com (Ken Long)
  231. Subject: MyCard (C)
  232.  
  233. More simple than a pimple!  All this does is put up an about box, from 
  234. scratch except for the 'ICN#' it uses, that resembles a business card.  
  235. When you click, it exits.
  236.  
  237. It uses a dotted zoomRect - similar to the Finder's - which appears to 
  238. come out of the Apple Menu, heads for center of the screen, keeps on 
  239. zoomin' to size, then the "card" materializes (if that's possible in 
  240. CyberSpace) within it.  Kinda cool - so I decided to pass it along.
  241.  
  242. Got it from some old C source project I've been updating. More on that later.
  243.  
  244. The actual built app. is very small.  You could make them "Your Card" and 
  245. use them for "business cards" to introduce yourself via e-mail.
  246.  
  247. Maybe someone will modify it to show color icons.  I could do it if I 
  248. wanted to fiddle with it some more, but the program it came from is a 
  249. higher priority.  It would be easy and quick to do, at any rate.
  250.  
  251. Send "your card" with your e-mail address as the filename?
  252.  
  253. Enjoy!
  254.  
  255. -Ken-
  256.  
  257. [archived as: /ftp/pub/alt.sources.mac/mycard.cpt.hqx]
  258. ============================================================
  259.  
  260. From: kenlong@netcom.com (Ken Long)
  261. Subject: PICT-ButtonCDEF (C)
  262.  
  263. Nothing unusual or spectacular about this CDEF.  Just another picture 
  264. button control.  But if you dump the ones with the labels, the "real" 
  265. picture one can be used as the basis for any number of picture button 
  266. needs.  I've used it for tool palettes and tool bars.  You just need to 
  267. change the sizes and the pictures and the 'CNTL' res.
  268.  
  269. Vet. programmers already know this, though.
  270.  
  271. -Ken-
  272.  
  273. [archived as: /ftp/pub/alt.sources.mac/pictbuttoncdef.cpt.hqx]
  274. ============================================================
  275.  
  276. From: ari@world.std.com (Ari I Halberstadt)
  277. Subject: PopupCDEF-10b3-c.hqx (part 1 of 2)
  278.  
  279. This is version 1.0b3 of Popup CDEF. It fixes some bugs and has
  280. slightly better support for menus created by the application. This
  281. document is also new with version 1.0b3, and a new application is
  282. provided to demonstrate the different types of popup menus that can be
  283. created with this CDEF. Finally, a few extra features were added, such
  284. as support for the popupFixedWidth variation code.
  285.  
  286. This CDEF implements a popup menu control. The CDEF handles display of
  287. the menu's title, the current selection, the one pixel drop shadow,
  288. and the down arrow at the end of the menu. It also handles tracking of
  289. the mouse and checking and unchecking of the current item. It is
  290. compatible with systems 6.0.5 and 7.0.
  291.  
  292. The CDEF is modeled after the popup CDEF provided by Apple in System
  293. 7.0 and described in IM-VI, p3-16 to 3-19. If you are already familiar
  294. with that CDEF then using this CDEF will be very simple. Additional
  295. support is provided for type-in popup menus and for menus created
  296. dynamically by the application.
  297.  
  298. PopupCDEF is free, and includes complete source code in C and THINK C
  299. 5.0.4 project files.
  300.  
  301. [archived as: /ftp/pub/alt.sources.mac/popupcdef1.0b3.cpt.hqx]
  302. ============================================================
  303.  
  304. From: egurney@vcd.hp.com (Eddy J. Gurney)
  305. Subject: Progress Bar CDEF (CDEF, C source, test app)
  306.  
  307. Attached is a compressed archive which contains the following:
  308.  
  309.  . Progress Bar CDEF
  310.  . THINK C 6 source to Progress Bar CDEF
  311.  . THINK C 6 project file to make Progress Bar CDEF
  312.  . a sample application demonstrating the CDEF
  313.  . THINK C 6 source to the demo app
  314.  . Resources necessary to use the demo app
  315.  . THINK C 6 project file to make the demo app
  316.  
  317. It allows your app to provide a Progress Bar by simply adding a "CNTL"
  318. item to any diaog, and then calling SetCtlValue() from your program. It
  319. even has a bonus feature: If the CNTL's RefCon is '0' (it is by default),
  320. then the standard Finder "Progress Bar" colors are used. If the CNTL's
  321. RefCon is non-zero, then the custom colors in the CNTL's corresponding
  322. 'cctb' resource are used to draw the frame, "done" portion, and "to do"
  323. portion. (This is described in a little more detail in the source file.)
  324.  
  325. It even works correctly with a Color QuickDraw Mac in 1-bit mode. (See
  326. the comments in the source for more details. :-)
  327.  
  328. This is my first "released" CDEF. Therefore it is guaranteed to be
  329. 100% bug-free. BIG 8-) (It has been tested as rigorously as possible;
  330. however, I haven't tried it on a machine without Color QuickDraw.)
  331.  
  332. E-mail comments, suggestions, requests to: egurney@vcd.hp.com
  333.  
  334. [archived as: /ftp/pub/alt.sources.mac/progresscdef1.0.cpt.hqx]
  335. ============================================================
  336.  
  337. From: egurney@vcd.hp.com (Eddy J. Gurney)
  338. Subject: Update: Progress CDEFs (CDEF, TC6 source, test app)
  339.  
  340. This is an update to my "Progress Bar CDEF" I posted a couple days
  341. ago.  The demo application (included) shows a horizontal progress
  342. bar, a verical progress bar that looks like a thermometer, and a
  343. progress arc, so you can "dare to be different". :-)
  344.  
  345. Attached is a compressed archive which contains the following:
  346.  
  347.  . Progress Bar CDEF v1.2, THINK C 6 source, TC6 project file
  348.  . Progress Arc CDEF v1.0, THINK C 6 source, TC6 project file
  349.  . Demo application, THINK C 6 source, resource file, TC6 project file
  350.  
  351. These CDEFs allow your app to provide a progress indicator by simply
  352. adding a "CNTL" item to any dialog, and then calling SetCtlValue()
  353. from your program.  It has a bonus feature: if the CNTL's variation
  354. code is "1", then the custom colors in the CNTL's corresponding 'cctb'
  355. resource are used to draw the frame/"done"/"to do" areas.  If the
  356. variation code is "0", the standard "Finder progress bar" colors are
  357. used.  (This is described in the source file in a little more detail.)
  358.  
  359. The color progress bars should work just fine on Color QuickDraw Macs
  360. in 1-bit mode.  (See the comments in the source for more details. :-)
  361.  
  362. Change log:
  363.  
  364. 1.1: First public release
  365. 1.2 changes:
  366.      . Call StripAddress() instead of &'ing off the lower 3 bytes
  367.           in calcCRgns (thanks Dave Polaschek).
  368.      . Now determine whether or not to use custom colors via the
  369.           variation code (thanks Steve LoBasso)
  370.      . Added capability to do vertical progress bars for 
  371.           "thermometers". If the progress bar rectangle is taller than
  372.           it is wide, then the progress bar will fill "up" instead of
  373.           "across".
  374.      . Fixed a bug that prevented proper drawing when a control had
  375.           a non-zero minimum.
  376.  
  377. E-mail comments, suggestions, requests to: egurney@vcd.hp.com
  378.  
  379. [archived as: /ftp/pub/alt.sources.mac/progresscdef1.1.cpt.hqx]
  380. ============================================================
  381.  
  382. From: kenlong@netcom.com (Ken Long)
  383. Subject: Stella Obscura.pas
  384.  
  385. The final John Calhoun source installment: Stella Obscura.  The 
  386. stereoscopic (3-D) space arcade game.
  387.  
  388. -Ken-
  389.  
  390. [archived as: /ftp/pub/alt.sources.mac/stellaobscura.cpt.hqx]
  391. ============================================================
  392.  
  393. From: jwwalker@aol.com (JWWalker)
  394. Subject: Text Item Dimming Source Code (C) v. 1.1
  395.  
  396. C source code for dimming text items (editText or statText) in dialogs.  When
  397. dimmed, editText items become uneditable.  True gray is used when possible. 
  398. Dimmed items update correctly, and no extra dialog items are needed.
  399.  
  400. By James W. Walker.
  401.  
  402. V. 1.1 fixes a few bugs and is modified for use with the universal headers.
  403.  
  404. [archived as: /ftp/pub/alt.sources.mac/textdim.cpt.hqx]
  405. ============================================================
  406.  
  407. From: ari@world.std.com (Ari I Halberstadt)
  408. Subject: ThreadLib-10d4-c.hqx (part 1 of 3)
  409.  
  410. Many changes have been made from Thread Library 1.0d2 (the last fully
  411. public release). This version fixes several bugs and improves the
  412. internal operation of the Thread Library. See the "Version History"
  413. file for a complete version history.
  414.  
  415. Thread Library implements nonpreemptive multiple thread execution
  416. within a single application. It does not require any extensions,
  417. should work with all Macintosh models (from the Plus on up), and works
  418. with systems 6.0 (tested on 6.0.5) under Finder or MultiFinder, and
  419. system 7.0. Thread Library compiles into a small library of around 2K,
  420. so it won't add much overhead to your application. A simple test
  421. application and THINK C project demonstrate how threads are used.
  422. Another simple test application compares the speed of Thread Library
  423. with the speed of Apple's Thread Manager. (Thread Library is 2-3 times
  424. faster!) Best of all, the source code, entirely in C, is free.
  425.  
  426. Every thread has its own stack, and there are no restrictions on the
  427. objects that can be allocated on a thread's stack. All other global
  428. application data are shared by the threads. Context switches are very
  429. efficient since they involve only a few operations to save the current
  430. thread's state, followed by a longjmp to the new thread, and a few
  431. instructions to restore the thread's state.
  432.  
  433. Thread Library was written using THINK C 5.0.4. Some minor changes may
  434. be needed to port it to other compilers. All suggestions and enhancements
  435. are welcome.
  436.  
  437. [archived as: /ftp/pub/alt.sources.mac/threadlib.cpt.hqx]
  438. ============================================================
  439.  
  440. From: Wayne K. Walrath (walrath@moose.cs.indiana.edu)
  441. Subject: Tone Dialer Source
  442.  
  443.         Dialer
  444.         (C) 1994 Wayne K. Walrath
  445.  
  446.  
  447.         Sample Source code for generating touch
  448.         tones through the Mac's speaker.
  449.  
  450.  
  451.  
  452. I threw this program together to test some code I translated from Pascal
  453. to C, and decided to clean it up and send it to the archives since there
  454. is always someone looking for tone dialing code. This was a three hour
  455. hack, so don't expect too much from it; least of all elegant code.
  456.  
  457. The original Pascal source comes from DTS Tech Note TB 570 Sound Manger
  458. Q&As. The author of the original Pascal source asked to be remembered
  459. for all the headaches he suffered putting the snippet together, but
  460. since his name doesn't appear anywhere in the TN, I'm unable to thank
  461. him by name. Cheers to the unknown DTS'er!
  462.  
  463. I wrapped the tone dialing code inside the Zooming Windows source from
  464. "Macintosh Programming Secrets" by Keith Rollin and Scott Knaster. The
  465. source from MPS are available in all the usual Mac archives (like Sumex
  466. and Umich). Definately a great book!
  467.  
  468. You may use portions of this code anyway you like, but you may not
  469. charge money for the code as is. If you do something interesting with
  470. it, I would enjoy hearing about it.
  471.  
  472. I welcome all comments and bug reports, though I'm not making
  473. any promises of support for the Dialer. It was only intended to be a
  474. learning tool. The author (that's me) accepts no liability for any
  475. damage or loss of data caused by the use of this program.
  476.  
  477. I can be reached at the following addresses:
  478.         walrath@moose.cs.indiana.edu
  479.         AppleLink:    wkw.rfe
  480.         Compuserve: 73243,3303
  481.  
  482. 1 Mar 1994
  483. Wayne Walrath
  484.  
  485. [archived as: /ftp/pub/alt.sources.mac/tonedialer.cpt.hqx]
  486. ============================================================
  487.  
  488. From: kenlong@netcom.com (Ken Long)
  489. Subject: Trench Sim (C)
  490.  
  491. An old MegaMax C source (1985) I got off the net and made to run on Think C.
  492.  
  493. I built the app. and tried to run it but got a type 4 error.  MacsBug 
  494. said where it was, so I changed the divisor to 10000.  May not be proper 
  495. but it worked.  I'm still learning.
  496.  
  497. All this does is draw 6 perspective lines, giving the idea of the 
  498. "trench" on the Death Star, in Star Wars, then it changes their angles 
  499. wint mouse movement, so the viewpoint moves within the "trench."  Of 
  500. course, the original was done on a 512, so with a bigger monitor in may 
  501. not operate as intended.  But HEY!  It's C source!
  502.  
  503. Enjoy!
  504.  
  505. kenlong@netcom.com
  506.  
  507. [archived as: /ftp/pub/alt.sources.mac/trenchsim.cpt.hqx]
  508. ============================================================
  509.  
  510. From: hay@cs.colorado.edu (David J. Hay)
  511. Subject: UpDownArrow (C)
  512.  
  513. This is a project I put together in an effort to improve Eddy Gurney's
  514. code by making the arrow more modular. It uses a set of four PICT
  515. resources to draw the arrow, so the arrow can look however you like.
  516. It was written in THINK C 5.0.4, but I suspect it shouldn't take many
  517. modifications to run under other environments.
  518.  
  519. The Arrow Control may be used freely, without any restrictions. I do
  520. ask that you let me know of any improvements you make to the code or
  521. (gasp! :) bugs you might find by e-mailing me at <hay@cs.colorado.edu>
  522.  
  523. --David--
  524.  
  525. [archived as: /ftp/pub/alt.sources.mac/updnarrowcdef.cpt.hqx]
  526. ============================================================
  527.  
  528. From: egurney@vcd.hp.com (Eddy J. Gurney)
  529. Subject: UpDownArrowTester Source
  530.  
  531. Here's an old program of mine (just now converted it to a Think C 6.0.1
  532. project) that I wrote when I was first learning to program the Mac.
  533. It attempts to implement the "up/down arrow bumpers" commonly seen in
  534. the ColorPicker dialog. It's written completely as part of the event
  535. handler, so it's not a nice little compact CDEF or anything. It uses
  536. three PICT resources to represent the "off", "up" and "down" states, and
  537. features variable speed increment/decrement (ie., the longer you hold it
  538. down, the faster it goes, just like the ColorPicker, which as I said,
  539. I was using as a model.)
  540.  
  541. I'm not claiming this is the right way to do it (probably far from
  542. it!) but at least it's a start.  If anyone makes improvements, etc.
  543. let me know.  (I don't care about any bugs in the "Tester" portion
  544. of the code, just the part that handles the up/down arrows, which
  545. is all I really cared about testing!)
  546.  
  547. If someone has a better implementation, I'd love to see it.
  548.  
  549. Regards,
  550. Eddy
  551.  
  552. [archived as: /ftp/pub/alt.sources.mac/updncntl.cpt.hqx]
  553. ============================================================
  554.  
  555. From: kenlong@netcom.com (Ken Long)
  556. Subject: UpDownArrows II
  557.  
  558. This is just Eddy Gurney's "Color Picker type" arrow project with a 
  559. couple modified version I did, with color buttons.  I added two color 
  560. button 'PICT' sets - one is a colorized version of the B/W ones, and one 
  561. is the Mac window scroll arrows.
  562.  
  563. I figured as long as there's a 'dctb' res., may as well have color on the 
  564. buttons - what the hey!
  565.  
  566. -Ken-
  567.  
  568. [archived as: /ftp/pub/alt.sources.mac/updncntl2.cpt.hqx]
  569.  
  570. ************************************************************
  571.  
  572. adjwindfkey     FKEY source which adjusts a window
  573.   Matt Mora (mxmora@unix.sri.com)
  574.   FKEY source in C for adjusting a window.
  575.   
  576. appletalktoggle Assembler source to toggle AppleTalk
  577.   Charles B. Cranston (zben@ni.umd.edu)
  578.   Assembler source (well commented) for turning AppleTalk
  579.   on and off.
  580.   
  581. findfullpath    Finding a pathname from a directory id
  582.   Michael A. Walker (walkerm@acf2.nyu.edu)
  583.   C function to determine the pathname from a directory id.
  584.   
  585. fswritete       Using FSWrite with a TERec
  586.   Chuck Hoffman (chuck@gte.com)
  587.   Using text from a TERec structure with FSWrite.
  588.   
  589. getfindericon   Finding the Finder's icon
  590.   E.J. Draper (utmdacc@odin.mda.uth.tmc.edu)
  591.   C snippet using PBDTGetIcon to get the Finder's icon.
  592.   
  593. loadcoderes     Loading and calling a code resource
  594.   Kevin R. Boyce (boyce@lheavx.gsfc.nasa.gov)
  595.   C snippet for loading and calling a code resource.
  596.   
  597. loadcoderes2    Loading and calling a code resource
  598.   Mark Hanrek (markhanrek@aol.com)
  599.   Another example for loading and calling a code resource.
  600.   
  601. mycopybits      Code and explanation for copybits
  602.   Eric Johnson (ejohnson@netcom.com)
  603.   Assembler code plus a long explanation for a faster
  604.   CopyBits.
  605.   
  606. paslibinsymc    Instructions for including Pascal libs
  607.   Ingemar Ragnemalm (ingemar@lysator.liu.se)
  608.   Instructions for including Think Pascal libraries in
  609.   Symantec C/C++ projects.
  610.   
  611. polymaze        Code for a maze routine
  612.   Ken Long (kenlong@netcom.com)
  613.   Replacement routine for the PolyMaze program that uses
  614.   predefined colors.
  615.   
  616. pswdfilter      Password dialog filter routine
  617.   Peter N Lewis (peter@ncrpda.curtin.edu.au)
  618.   Pascal filter routine for password dialog boxes.
  619.   
  620. queenxlisp      Algorithm for placing queens
  621.   Jean-Yves Terrien (terrien@cenatls.cena.dgac.fr)
  622.   Lisp routine for placing n queens on a chess board.
  623.   
  624. strptime        Generic strptime routine
  625.   Kevin Ruddy (smiles@powerdog.com)
  626.   'strptime' code from un*x boxes.
  627.   
  628. timezonestuff   Info for accessing time zone info
  629.   Pete Resnick (resnick@cogsci.uiuc.edu)
  630.   Info & code for accessing the Mac's time zone setting
  631.   
  632. tokenizer       Using hidden ScriptMgr tokenizer
  633.   Matthew Xavier Mora (mxmora@unix.sri.com)
  634.   Code displaying the use of the Script Manager's hidden
  635.   tokenizing function.
  636.   
  637. ************************************************************
  638.  
  639. Who's Who in Digest #4...
  640.  
  641. The contributors to this digest are:
  642.  
  643. Stefan Arentz (arentz@batcave.knoware.nl)
  644. Kevin R. Boyce (boyce@lheavx.gsfc.nasa.gov)
  645. Charles B. Cranston (zben@ni.umd.edu)
  646. E.J. Draper (utmdacc@odin.mda.uth.tmc.edu)
  647. Eddy J. Gurney (egurney@vcd.hp.com)
  648. Ari I Halberstadt (ari@world.std.com)
  649. Mark Hanrek (markhanrek@aol.com)
  650. David J. Hay (hay@cs.colorado.edu)
  651. Chuck Hoffman (chuck@gte.com)
  652. Eric Johnson (ejohnson@netcom.com)
  653. Peter N Lewis (peter@ncrpda.curtin.edu.au)
  654. Ken Long (kenlong@netcom.com)
  655. Matthew Xavier Mora (mxmora@unix.sri.com)
  656. Ingemar Ragnemalm (ingemar@lysator.liu.se)
  657. Pete Resnick (resnick@cogsci.uiuc.edu)
  658. Kevin Ruddy (smiles@powerdog.com)
  659. Matt Slot (fprefect@engin.umich.edu)
  660. Jean-Yves Terrien (terrien@cenatls.cena.dgac.fr)
  661. JW Walker (jwwalker@aol.com)
  662. Jim Walker (walkerj@math.scarolina.edu)
  663. Michael A. Walker (walkerm@acf2.nyu.edu)
  664. Wayne K. Walrath (walrath@moose.cs.indiana.edu)
  665.