Welcome to the Rockbox Technical Forums!
(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)...
OK - to display a visual clock with no changes to the current software snip(if you don't like my attempt at humor I apologize in advance)
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 .
Theoretically, using "the magical transparency colour", that could be done with 12 images for the hours, and 60 images for the minutes.
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 ) 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) clocksQuote from: bakseetdrivr on January 22, 2010, 09:31:33 AM2nded, 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 .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.
Quote from: audio-i on January 22, 2010, 01:15:15 PMTheoretically, using "the magical transparency colour", that could be done with 12 images for the hours, and 60 images for the minutes.The transparency colour doesn't work for drawing images over other images, since the transparency draws the background in place of the transparency colour (so all you'd see would be whichever image you drew overtop of the first one)...
Quote from: karashata on January 22, 2010, 01:51:58 PMQuote from: audio-i on January 22, 2010, 01:15:15 PMTheoretically, using "the magical transparency colour", that could be done with 12 images for the hours, and 60 images for the minutes.The transparency colour doesn't work for drawing images over other images, since the transparency draws the background in place of the transparency colour (so all you'd see would be whichever image you drew overtop of the first one)...Have you tried it? In this simple example you'll see what I mean http://www.fileden.com/files/2008/2/11/1754365/test.zip (ipod video)Background + image 1 + image 2 = final image displayed + + =
Page created in 0.068 seconds with 18 queries.