FS#1842 - Plugin: Analog Clock

Attached to Project: Rockbox
Opened by Zakk Roberts (midkay) - Tuesday, 09 December 2003, 03:47 GMT
Last edited by Zakk Roberts (midkay) - Sunday, 28 December 2003, 09:59 GMT
Task Type Patches
Category Plugins
Status Closed
Assigned To No-one
Operating System
Severity Low
Priority Normal
Reported Version Unstable (example)
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


This is a plugin of an analog clock. A bit of code was
borrowed from bagder's bounce plugin, but about 75% of
it is mine. (Thanks, bagder). A lot of work went into
this one, many many hours of it.
-Toggle info screen (F1 open / close) Shows commands
-Toggle border (F3) for frame around LCD.
-Toggle digits (ON) shows the digits 12, 3, 6, and 9
around the clock.
-Toggle Date (PLAY) shows date at bottom right and left
corner of LCD (Month/Day at left, Year at right).

One "bug": When switching off either digits, border or
date ALL options switch off. This is very minor and
actually could be considered a feature. Maybe I'll move
"RESET" to F2 and you can turn on with correct keys and
off with F2. Anyways, clock.c goes into apps/plugins
and clock.rock goes into .rockbox/rocks. Enjoy!
This task depends upon

Closed by  Zakk Roberts (midkay)
Sunday, 28 December 2003, 09:59 GMT
Reason for closing:  Out of Date
Comment by Zakk Roberts (midkay) - Tuesday, 09 December 2003, 04:00 GMT

Forgot the credits!
earHertz: for help with the if/else statements and code
LinusN: for help clearing trails (history of hands)
Diddystar5: for code formatting and layout

Thanks all!
Comment by Linus Nielsen Feltzing (linusnielsen) - Sunday, 14 December 2003, 22:59 GMT

Some code policing, and a fix for the Stkov crash.