OS4 DepotLogo by Nickman 
(anonymous IP: 18.224.65.198,0) 
 HomeRecentStatsSearchMirrorsContactInfoDisclaimerConfigAdmin
 Menu

 Features
   Crashlogs
   Bug tracker
   Locale browser
 

 Categories

   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (602)
   o Document (24)
   o Driver (97)
   o Emulation (149)
   o Game (1011)
   o Graphics (500)
   o Library (118)
   o Network (234)
   o Office (66)
   o Utility (932)
   o Video (69)

Total files: 4399

Full index file
Recent index file

 Links

  Amigans.net
  OpenAmiga
  Aminet
  UtilityBase
  IntuitionBase
  AmigaBounty


Support the site


 Readme for:  Utility » Workbench » digiclock.lha

Digiclock

Description: Clock for the Workbench titlebar
Download: digiclock.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 65kb
Version: 1.3
Date: 26 Feb 11
Author: Alex Carmona
Submitter: Alex Carmona
Email: AmigaOne/theworld net
Homepage: http://metacomco.com/
Category: utility/workbench
Replaces: utility/workbench/digiclock.lha
License: Freeware
Distribute: yes
Min OS Version: 4.0
FileID: 6257
 
Snapshots:
 
Comments: 18
Snapshots: 2
Videos: 0
Downloads: 20  (Current version)
20  (Accumulated)

[Show comments] [Show snapshots] [Show videos] [Show content] [Show crashlogs] 
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-2024 by Björn Hagström All Rights Reserved
Amiga OS and its logos are registered trademarks of Hyperion Entertainment