Rockbox Development > Feature Ideas

%?cM %?cl tags (VISUAL CLOCK)

<< < (4/8) > >>

ew:
How about some sort of a compromise.  Allow the time tags to also function as conditionals.  That way, images could be loaded and displayed as conditions.

Yeah....the conditions may look ugly, but that becomes a function of the WPS....


Just an idea for what it is worth.

raudonkepuraite:
THATS EXACTLY WHAT I'd LIKE!!!
%?cM<%xdaa|%xdab|...blahblahblah...>
Rockbox already uses same thing for custom seekbars, custom volumebars and indication, custom battery indication and so on...
By adding something like this we would be even able to make themes that correspond to time (like changing text color in case its evening or midday to make it more readable), imagine custom clocks in custom statusbars (many people will no longer have to poke their noses into small screens to get the time right), doesnt it make sence at all?

karashata:
(from an earlier post in this thread...) raudonkepuraite, I don't know exactly where you only get 60 images from, as there are 60 minutes in an hour, and twelve hours around the clock face, so in order to be completely accurate you'd need 12 time 60 (or 720) images (since you can reuse the same images for the time in AM and in PM)... 60 images would at best give you a degree of accuracy of every 12 minutes, which really isn't accurate enough for most people... Even if you only went to a degree of accuracy of every 5 minutes you'd still need 144 images...

(from the most recent post) Yeah, somehow I still don't see any practical ideas coming out of any of this... The status bar is in most cases not very large, so a custom clock using images wouldn't be any better than a simple text-based clock... As for the idea of themes changing colour... Most theme designers pick a colour for their text that makes it most easily readable on whatever background they decide to use, a theme that changes the text colour based on the time of day would be impractical since it would still have to leave the text readable on the background, and you'd have to rewrite all of the viewport code displaying your text for each colour you decided to use (leading to unnecessary bloat, in my opinion...)

ew:
OK - to display a visual clock with no changes to the current software ;D
- find an audio file that is EXACTLY 12 hours long
- start it up EXACTLY at noon or midnight
- use the track time %pc to display as a large font - in fact forget any additional information on the wps since the player is not useless as anything but a clock.
- for advanced themes, use the progress bar to display against a timeline (sorta like a straight sundial)

Now, for a 24 hour clock, all that is needed is an audio file that is exactly 24 hours long.

(if you don't like my attempt at humor I apologize in advance)

audio-i:

--- Quote from: karashata on January 22, 2010, 12:46:11 PM ---(from an earlier post in this thread...) raudonkepuraite, I don't know exactly where you only get 60 images from, as there are 60 minutes in an hour, and twelve hours around the clock face, so in order to be completely accurate you'd need 12 time 60 (or 720) images (since you can reuse the same images for the time in AM and in PM)...

--- End quote ---

Theoretically, using "the magical transparency colour", that could be done with 12 images for the hours, and 60 images for the minutes.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version