OS4Depot.net 20130227_1013
  Home Search Mirrors Contact Info Credits

 Readme data for Root » Utility » Workbench » digiclock.lha

Description: Clock for the Workbench titlebar
Install: digiclock.lha
Size: 65kb 5
Version: 1.3
Date: 26 Feb 11
Author: Alex Carmona
Submitter: Alex Carmona
Email: AmigaOne/theworld net
Homepage: http://metacomco.com/
Category: utility/workbench
License: Freeware
Distribute: yes
Min OS Version: 4.0
DigiClock is a simple clock I wrote as a replacement for the Clock.docky which
was using too many CPU cycles for my taste.

My main goal was to make it look and behave exactly like the Clock.docky I had
on a subdock next to the screen depth gadget, which blended nicely with the
Workbench titlebar gradient.

I then added a few features so that other users can customize it according to
their own taste and GUI settings.


It features...

- Clock with standard HH:MM:SS time or localized time
- Lowest CPU load possible (approx. 0.02% on G4()800MHz)
- Can be launched on any public screen
- Automatically adjusts its height to match the screen titlebar
- Automatically positions itself next to the screen depth gadget
- Shadow under font for better contrast
- Displays the localized day and date on the titlebar
- User-defined font name and size
- User-defined vertical offset for font with odd sized digits
- User-defined window position to override the automatic placement
- User-defined text/shadow/background/gradient colors
- User-defined external command on double-click

===============================================================================

HISTORY:

v1.3 (02.25.2011)
- Now the background can be shaded using alpha-blending
- Added Transparent ToolType to have a clock without shading on the titlebar
- Now the clock hides automatically when IPrefs needs to temporarily close the
  screen, so it's not necessary to quit it to change some screen settings
- Fixed typo which could have caused a crash if the window couldn't be opened

v1.2 (01.30.2011)
- Now the default time format is HH:MM:SS while the date remains localized
- Added LocaleTimeFormat ToolType, to enable localized time format if desired
- Fixed time string output, it was drawing 8 chars even if the time was shorter

v1.1 (01.26.2011)
- Added PubScreen ToolType to open the clock on any public screen
- The window is now inactive on launch (was hiding WB title after WBStartup)
- Date string is now localized according to the user's locale settings
- Switched from libc to OS functions for time/date functions
- Optimized timer code to further reduce CPU load, now it's around 0.02% :-)
 
v1.0 (16.10.2010)
- First public release
 
===============================================================================

Thanks to:
René W. Olsen for the help implementing the Timer & MsgPort for the clock loop
Steven Solie for helping me sort out why it crashed on SAM
Mason (Martin Merz) for the new DigiClock icon (and all the other icons)

===============================================================================

Enjoy!

--
Amiga... Duh!





Copyright (c) 2004-2013 Björn Hagström. All rights reserved.
OS4 and its logos are registered trademarks of Hyperion Entertainment