home *** CD-ROM | disk | FTP | other *** search
- =============================================================================
- = Floating Desktop Clock =================================== © Toby Bryans =
- =============================================================================
-
- = Information ===============================================================
-
- Welcome. This little program is a desktop clock. In my opinion, it is one of
- the best, but then again, I would be a little bit biased! The reason I like
- it is because it looks nice, it always stays on the top (like the one on
- Windows 3.1), it is moveable, and with one click, you can bring up the
- current full date. This has always been one of my gripes with other clocks
- that I have seen, they don't show the date as well, which causes me to go to
- the command line to get to it, which hassles me rather a lot. Another reason
- that I like it is that I wrote it...
-
- To all RISC-OS 2 users: Sorry I haven't provided RISC-OS 2 templates, but it
- is against my morals to include backwards compatibility. UPGRADE!. It really
- is worth it.
-
- To all RISC-OS 3+ users: If you want to put this in your !Boot sequence (that
- should be all of you) you will have to Filer_Boot this first, and then
- Filer_Run it, as the program detection routine needs to be started. The
- program WILL NOT WORK without this. Eventually I will sort out the desktop
- saving routines.
-
-
- = Instructions ==============================================================
-
- Double click on the !Floating icon, This will cause a digital clock to appear
- in the top right corner of the desktop. If you put a window over it, you will
- find that it comes up over it again every second. Also, if you click with
- Select the date will appear beside it for about 5 seconds. If you click menu
- over the icon, you will be presented with the following :
- _________________
- | Clock |
- |———————————————|
- | Info ⇨| - This brings up the info window if you move to the left.
- | Choices... | - This brings up the options window
- |---------------|
- | Quit | - This terminates the program
- ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
-
-
- = The options window ========================================================
-
- - Bring to top... -----------------------------------------------------------
-
- Now, in the options window there are a set of options. The first one controls
- the rate at which the clock is brought to the top of the window pile. These
- are every minute, every second, and never (i.e. option turned off)
-
- - When clicked on by Select... ----------------------------------------------
-
- The next option controls how the clock reacts when clicked on with select. If
- “Move” is selected, the clock can be moved around. If “Bring up date for”
- is selected, then the full date is brought up for the time period displayed
- in the icon next door to it. You can change the time period by using the
- arrow icons to the left and right of the icon.
-
- - When clicked on by Adjust... ----------------------------------------------
-
- The next option controls how the clock reacts when clicked on with adjust. If
- “Bring up date for” is selected, then the full date is brought up for the
- time period displayed in the icon next door to it. You can change the time
- period by using the arrow icons to the left and right of the icon. If “Open
- options window” is selected, the options window will be opened.
-
- - Clock display... ----------------------------------------------------------
-
- The next options control the clock display itself. If seconds are chosen,
- then the clock displays seconds, if minutes are chosen, then the clock does
- not display seconds.
-
- - Clock position... ---------------------------------------------------------
-
- The next option controls the position of the clock window. Click on “Top
- right corner” if you want it in the top right corner of your screen (my
- favourite). Click on “Left, above icon bar” if you want it on the left hand
- side of your screen, above the icon bar. Click on “Position”, and then fill
- in the x and y positions that you want. Eventually I will get round to
- changing this code.
-
- If you want to drag the clock, you will have to turn off ‘Bring to top’, drag
- the clock window, then bring up the Options window again (even if it is
- already open), and then click on the Position icon. I am aware of the fact
- that this is a bit of a roundabout way of doing this, but I can’t be bothered
- to change it at the moment. If you want it changed, please tell me, and I
- will put it higher on my list of things to do.
-
- I don’t use this facility much, it is just there for completeness, and it
- doesn't react to mode changes, like the other two options do.
-
- Notes : The way I work out “Top right” uses a call from the WimpExt module.
- Unfortunately, this does not seem to work all the time, so if it
- doesn’t work, use the “Position” option to place it.
-
- - Date position... ----------------------------------------------------------
-
- This allows you to edit the position of the date window, and is again here
- only for completeness. If you want to change the position of the date window,
- the Clock position has to be set to ‘Position’. Again, you can change the
- position by editing the numbers in the icons, or by dragging the date window
- around. There are the same problems with the latter as there are with
- dragging the clock around.
-
- - Window border colour... ---------------------------------------------------
-
- This changes the border colour of the window. “Black” makes it black, “Clear”
- makes the border disappear (again, my favourite).
-
- - OK icon -------------------------------------------------------------------
-
- If you click on “OK”, the options will be set for this session.
-
- - Cancel --------------------------------------------------------------------
-
- If you click on “Cancel”, the options will be reset to the values that you
- last saved.
-
- - Save ----------------------------------------------------------------------
-
- If you click on “Save”, the options will be saved, along with the window
- positions (of the clock and date window).
-
- - Reset ---------------------------------------------------------------------
-
- If you click on “Reset”, the options will be reset to the “factory set
- values”.
-
- - Notes ---------------------------------------------------------------------
-
- If you use adjust on the above four buttons, the window will stay open after
- the changes have been made - this is Style Guide compliant.
-
- If you receive the program with a corrupted or no configuration file, the
- program MakeFile in the application directory will create it for you.
-
-
- = The full date window ======================================================
-
- That is all for the options window. Now the full date window. While this is
- on screen, it can be moved around to the position you like best.
-
-
- = Copyright Bit =============================================================
-
- You may not change this application, or use *ANY* part of it in other
- products without my approval. (Excepting the Wimp Extension Module - write to
- Doggysoft for more information). You may spread it freely with all the files
- present and unaltered (with the exception of the Configurat file). This program
- is supplied “as is”. In no circumstances shall the author, or any provider or
- distributor of this program, be liable for any damage, loss of profits, or any
- indirect or consequential loss arising out of the use of this program.
-
-
- = Thanks ====================================================================
-
- Thanks go to :
-
- Jon Ribbens and Doggysoft for the Wimp Extension module.
-
- Robert Rankin, Iain Banks, William Gibson, Irvine Welsh, Michael
- Marshall-Smith for their excellent fiction.
-
- Dominic Symes for the superlative !Zap editor.
-
-
- = History and Things To Do ==================================================
-
- -----------------------------------------------------------------------------
- Version | Comments
- ----------|------------------------------------------------------------------
- 1.00 | A Clock. No date. No options. Update is very complex. Really does
- | need tidying up a tad.
- ----------|------------------------------------------------------------------
- 1.01 | Completely rewrote WIMP code with the aid of Wimp Extension. Fun
- | with clock update - added date and options to change time that it
- | comes up to the top of the window stack, time that date is open.
- ----------|------------------------------------------------------------------
- 2.00 | Some time later... Arrgh, can’t understand clock redraw code.
- | Lets start again. Add difference in Adjust code.
- ----------|------------------------------------------------------------------
- 2.01 | Hey cool, I think that I can save the window positions, and
- | change the clock border colours to clear, making it look well
- | nice on a window background.
- ----------|------------------------------------------------------------------
- 2.02 | I know, lets rewrite my options code. It REALLY needs it. Also,
- | redesigned templates a bit including my new TB software 1995 logo
- | which is rather snazzy, even if I say so myself...
- ----------|------------------------------------------------------------------
- 2.03 | Finished...(I wish...)
- ----------|------------------------------------------------------------------
- 2.04 | I find more erm, bugs. But all easy to correct, and should work
- | proper now.
- ----------|------------------------------------------------------------------
- 2.05 | It works on a RISC-PC! (And look damn nice too with the textured
- | backdrop). Changed the templates a little to make it look ever so
- | slightly better.
- ----------|------------------------------------------------------------------
- 2.06 | Got a virtual desktop program, and discovered that the clock
- 14.02.96 | stays on the original screen. The code has now been changed, (and
- (just) | has become more structured...) to now update the position of the
- | clock and date window on the next of each of their updates.
- |
- | Found out that if the options were fiddled with too much, an error
- | was produced. So increased memory requirements to 36k :-(. I will
- | try to reduce memory usage in the next release.
- |
- | It is now 1996 - have redesigned logo to TB Software 1996.
- ----------|------------------------------------------------------------------
- 2.07 | Found a lot of redundancy in code, rearranged it a bit, and it is
- 15.02.96 | now much more structured than it was before.
- |
- | Added ‘Date position...’ in choices window, and implemented code
- | to use it.
- |
- | There was a problem with the Virtual Desktop positioning code,
- | which caused the date window not to be positioned properly. This
- | is now fixed.
- -----------------------------------------------------------------------------
-
- Right. I want to add : An Alarm facility.
- A Stop Watch / Timer
- A free memory viewer
-
- Also make it compliant with the “Desktop Saving” routine.
-
- If you want any other features added, then write to me, and I will see what I
- can do!
-
- I am finally about to learn C. So the next release should be in C. Maybe.
-
- = Contact Details ===========================================================
-
- WWW : http://www.soton.ac.uk/~tob195/
- e-mail : tob195@ecs.soton.ac.uk
-
- Toby Bryans.
-
- = Final Word ================================================================
-
- Turnip.
-
- = End of file ================================================================