Rockbox Development > Feature Ideas
%?cM %?cl tags (VISUAL CLOCK)
Chronon:
--- Quote from: ew on January 22, 2010, 01:10:53 PM ---OK - to display a visual clock with no changes to the current software ;D
snip
(if you don't like my attempt at humor I apologize in advance)
--- End quote ---
Or just use the clock plugin. ;)
It seems to me that if you want to render an analog clock in the WPS, then the best way would be to allow for drawing of primitive lines rather than just displaying images in the WPS.
raudonkepuraite:
OH be more creative! (and btw Rockbox can only use 280 contitions of one tag if ui simulator is right).
THIS GOES FOR ANALOGS (I dont prefer this kind of approach for analog clocks... VISUAL CLOCK doesn't mean analog clock)
Still THERE IS NO NEED TO MAKE THOUSANDS OF IMAGES for them. You make 60 images for the minutes (its really easy as you only need to make a line and then you can just rotate it whatever you want using photoshop or even paint :D) and then you make 12 more for outer ring for displaying hours... Or you don't make any at all and just use digits to display hours. There are many ways to make it look right, you can make binary clocks if you want, morse clocks, then you can even make sun clocks (I'm just making some ideas here).
AND ABOUT NORMAL (well i mean digital) clocks
--- Quote from: bakseetdrivr on January 22, 2010, 09:31:33 AM ---2nded, I've been using one of my rockboxed players as an alarm clock and tried to make a suitable theme, but having a huge font makes menu navigation nearly impossible. If this was committed, it would fix that problem :).
--- End quote ---
Here is one problem... but of course you are going to suggest multifonts... right? Well yeah its better to reserve additional 60kb for a huge font than use 5kb (in worse case) to make a custom clock? MOST themes aren't using even half image buffer (using like 30kb-50kb assuming that we have sansa fuze in mind). As far as i know that buffer (or whatever it's called) size is constant... right? So we lose nothing here if we use custom clocks.
Text based clocks are small, image based clock would be wonderful solution.
JdGordon:
have you actually tried using conditionals with the %c tags? any which just return a number should work.
edit: ok, i thought the displayer tried doing number conversions... it doesnt. inore this post
raudonkepuraite:
Well, thats the problem- no %c tags that should show time can be used as conditionals :(. Too bad, huh :(
JdGordon:
no promises that this works, totally untested...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version