home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / developm / source / sampleda.pit / SampleDA.pit / Sample.info < prev    next >
Encoding:
Text File  |  1985-11-18  |  3.9 KB  |  85 lines

  1.  
  2.                 Sample Desk Accessory by Roy A. Leban
  3.  
  4. Sample is a complete sample Desk Accessory written in Manx Aztec C.
  5. It is a simple DA which implements all the parts of a Desk Accessory.
  6. Basically, it does nothing, but it does it very well.  It makes use
  7. of a special re-entrant DA.h header file.  Basically, it is the
  8. equivalent of MacApp for Desk Accessories.  Among other things, 
  9. It includes support for all events, Horizontal and Vertical Scroll
  10. Bars and the Grow Box.  More controls can be added fairly easily.
  11. The entire DA fits in approximately 5K.  I spent a fair amount
  12. of time refining just what it should look like and I am distributing
  13. it free to share this knowledge with others.  However, it is not
  14. Public Domain.  I hold the copyright and I expect people to abide
  15. by it.  I am allowing anyone to use this DA free of charge provided
  16. they follow a few simple rules:
  17.  
  18. 1)  If you modify the Sample DA and distribute it, you must
  19.     include comments to indicate which changes are yours.
  20. 2)  You may not sell the Sample source under any conditions
  21.     without my permission.
  22. 3)  You may modify this program and incorporate it into any
  23.     DA you want, which you may sell if you wish.  If you do so,
  24.     you must include a  credit notice which says:
  25.         "Portions of this program Copyright 1985 by Roy A. Leban"
  26.     You must include this notice whether or not you sell the DA.
  27. 4)  If you distribute the source to your DA in any fashion, you
  28.     must include the entire copyright notices and associated
  29.     comments.  You may, of course, include any copyright of your
  30.     own, with any appropriate notices.
  31. 5)  You may not publish this DA in any magazine, electronic, printed
  32.     or otherwise, without my permission.  You may, however, post this
  33.     on any public or private bulletin boards or conferencing systems.
  34.     If you do so, you must include the entire package as described
  35.     below.
  36.  
  37. If you simply look at my code to see how I do things and then do
  38. it your own way, you don't have to follow the rules above, even
  39. if your code is similar to mine (but I expect you to be honest!).
  40. If you use my ideas without using my code, giving credit where
  41. credit is due is still appreciated.  In my case, thanks go to
  42. Ludis Langens for his suggestions.  The code in QuitWindow is
  43. modified from an Info-Mac message by Mike Schuster.  Thanks to
  44. Jeff Miller for finding the "last" bug.
  45.  
  46. This package consists of 7 files totalling approximately 54K.
  47. Please don't distribute some of them without the others.  If
  48. you can, it's preferable to distribute them in a PackIt file.
  49. If you make modifications and wish to pass them along, it would
  50. be nice if you passed along the originals too.  The files are:
  51.  
  52.   Sample.info   This file
  53.   Sample        Font/DA Mover file for Sample DA
  54.   Sample.make   Makefile for Sample DA (type: make -f sample.make)
  55.   Sample.c      C Source to Sample DA
  56.   Sample.r      RGen/RMaker file
  57.   DA.h          Special DA Header file
  58.   Sample2       Font/DA Mover file which illustrates a few special features
  59.  
  60. The Sample2 DA is provided so that you can see how Scroll Bar
  61. and Grow Box modification works without having to write the
  62. code yourself.
  63.  
  64. If you have a printed copy of this program and would like a copy
  65. on disk, I'll mail you one if you send me $10 or $5 and a disk.
  66. This cost is to simply make it worth the bother for me to send
  67. it to you.  I'd prefer it if you got a copy from a Mac bulletin
  68. board or conferencing system.  As I said, the program is free.
  69. If you like it and would like to contribute some money, please
  70. donate it to your favorite charity.  Better yet, distribute some
  71. of your own software in the same manner.
  72.  
  73. If you have questions or comments, you can call or write me at:
  74.  
  75.         Roy A. Leban
  76.         314 Packard, #3
  77.         Ann Arbor, Michigan  48104
  78.         (313)761-5869
  79.         Netmail: roy%farg@umich[.csnet]
  80.  
  81. I'll try to help if I can, but I won't write your DA's for you.
  82. Have fun.
  83.  
  84.   -Roy.                                November, 1985
  85.