home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 384.lha / MyClock / ReadMe < prev    next >
Text File  |  1990-06-02  |  3KB  |  90 lines

  1.                             MyClock
  2.                                by
  3.                           Michael Sinz
  4.  
  5.             Copyright (c) 1990 by MKSoft Development
  6.  
  7.  
  8. Yes, this is yet another clock program, but the idea behind this one
  9. is that the clock looks like an icon on the screen.  In fact, when
  10. AmigaOS 2.0 is available, I will try to make it into an AppIcon.
  11.  
  12. Another nice thing is that it is very small and the core clock routine
  13. is 100% re-entrant so that anyone needing more than one clock could
  14. bring up multiple tasks running the DoClock() routine.  Since DoClock()
  15. does not call any DOS related functions, it is safe to run as a TASK.
  16.  
  17. You may ask:  "Why did you do this?"
  18.  
  19. Well, I had been up all night working on something else and just had to
  20. blow off some steam.  For some strange reason, I had the idea of doing
  21. a clock with hands.  In a few minutes I had a version that worked like
  22. I wanted in the screen where I wanted.  A few days later, some people
  23. asked if they could have the clock.  However, it was not set up for
  24. their systems so...  Well, I added the command line stuff and then
  25. the detatch.  (With Detatch, you do not get the command line help...)
  26.  
  27. Anyway, here it is, in Lattice C 5.05.
  28.  
  29. ************************************************************************
  30.  
  31.     Reading legal mush can turn your brain into guacamole!
  32.  
  33.         So here is some of that legal mush:
  34.  
  35. Permission is hereby granted to distribute this program's source,
  36. executable, and documentation for non-commercial purposes, so long as
  37. the copyright notices are not removed from the sources, executable or
  38. documentation.  This program may not be distributed for a profit
  39. without the express written consent of the author Michael Sinz.
  40.  
  41. This program is not in the public domain.
  42.  
  43. Fred Fish is expressly granted permission to distribute this program's
  44. source and executable as part of the "Fred Fish freely redistributable
  45. Amiga software library."
  46.  
  47. Permission is expressly granted for this program and it's source to be
  48. distributed as part of the Amicus Amiga software disks, and the First
  49. Amiga User Group's Hot Mix disks.
  50.  
  51. Permission is granted to all Amiga programmers to use any or all parts
  52. of this code in other Amiga software.  Use in software other than on
  53. Amiga systems is expressly forbidden.
  54.  
  55. ************************************************************************
  56.  
  57. ------------------------------------------------------------------------
  58.  
  59.                             User's Guide
  60.  
  61. Usage: MyClock [LEFT x] [TOP y] [WIDTH x] [HEIGHT y]
  62.                [FACE c] [HANDS c] [DRAG|NODRAG]
  63.  
  64. LEFT    - Left edge of the clock window
  65. TOP    - Top edge of the clock window
  66. WIDTH    - Width of the clock window
  67. HEIGHT    - Height of the clock window
  68. FACE    - Clock Face pen number
  69. HANDS    - Clock Hands pen number
  70. DRAG    - Let the clock be draggable.
  71. NODRAG    - Do not let the clock be dragged.
  72.  
  73. Same for MyClock_Back only there is no command-line help.  However, it
  74. detatches from the CLI.
  75.  
  76. MiniClock is the clock (slightly larger than at first) that does only
  77. what I want.  No command-line or handling of different screens.  Just
  78. what I wanted.
  79.  
  80. ------------------------------------------------------------------------
  81.  
  82.                           Compiling Guide
  83.  
  84. The MakeFile given should compile and link the program with Lattice
  85. Amiga-C V5.05 or so.
  86.  
  87. Note that on the DETATCH (MyClock_Back) link, you will get two errors.
  88. They are not of my doing.  (Honest)  They do not cause any problems.
  89. (In other words, just ignore them.)
  90.