![]() |
Re: Flip clock pre pre pre pre release
nothing too exciting: just moved the mood to leave space for the future am/pm switch
https://garage.maemo.org/frs/downloa....1.1.armel.deb http://files.myopera.com/ciroip/albu...ton-window.jpg |
Re: Flip clock pre pre pre pre release
Latest stuff looks pretty awesome! And stop ragging about your code, yea it's not the cleanest stuff ever, but it's pretty easy to follow along with (hardest part for me is understanding your variable names/comments because they're all in Italian, but I've got most of it figured out now!).
As far as the AM/PM thing goes, there's a few changes, and obviously you can do the extra tweaks to add the button controls to the interface and things/update the graphics however you want, but the general concept is: in ci_init.py, add an extra variable to be used as the toggle for 24 hour time or 12 hour time; I called mine "militaryTime", with 0 meaning 12hour format, and 1 meaning 24 hour. Code:
################### ROB UPDATE ############### Code:
################### ROB UPDATE ############### The final detail is that you need to update the background image so that it doesn't have any digits on it (just blank spaces, or for the night BG, just black spaces instead of the 8's). Of course you also need to add a "am/pm" graphic to the display, but I figured I'd leave that up to your awesome designer abilities ;o) I've updated my code since to put all that math in the main clock() function (that way you don't have to do it for each different clock mode), but it was easier to explain for just one mode. If you want to see the final changes just let me know, but it's really just a matter of moving the if statements and things. |
Re: Flip clock pre pre pre pre release
great jolouis, Ill take a look after dinner and probably during the weekend Ill have enough time to fix up a bit of things.
sorry for the italian variables and comments but when I beginned the thing I really didn't think anyone could ever touch it beside me: at least I hope you learned some new curses...:o Buon fine settimana a tutti. |
Re: Flip clock pre pre pre pre release
Dawn Release:
FlipAlarmClock 0.1.2 Plankton with the 12/24 jolouis mod. Seem working fine. https://garage.maemo.org/frs/downloa....1.2.armel.deb http://files.myopera.com/ciroip/albu...3/fc-0.1.2.jpg I still have to decide what really do with the AM/PM thing but the function is there. I cleanedup a bit the code (now is nearly a graphic library...ok not really) but I made a bit easier to add buttons and slides. Thanks to jolouis for the military time code that saved me a bit of time; I think Im leaving only the '24 mode' for the alarm setting anyway. Buonanotte |
Re: Flip clock pre pre pre pre release
I am really loving the updated look and functionality. Is see that it now remembers alarm times between sessions. Is there any chance of getting it to remember what mode you prefer? I'm a 24 hour clock kinda guy!
Thanks again Steve |
Re: Flip clock pre pre pre pre release
it loads fine onto my n810 but when i try to open it in extras nothing happens-any help
mucho appreco |
Re: Flip clock pre pre pre pre release
Quote:
Anyway installing 'solarwolf' (a game with the proper installation process) should fix that. If it is not the 1st version and other versions worked could be someething in the .flipclock.conf under /home/user. Deleting it should help. To have the real error anyway you should try to open the X terminal and launch the clock with Code:
flipclock thank you for spendig time on this :) @Rassilon7/steve yes, the idea will be to save the 'mode setting' and 'alarm status' in .flipclock.conf: Like usual I just rush the .deb (still need to decide where put the am/pm and make a new graphic for the mode slide). Buona Domenica |
Re: Flip clock pre pre pre pre release
downloaded solarwolf-works perfectly-impressive app
|
Re: Flip clock pre pre pre pre release
Quote:
Glad you liked anyway |
Re: Flip clock pre pre pre pre release
Quote:
http://repository.maemo.org/extras/p...sso2_armel.deb |
All times are GMT. The time now is 16:58. |
vBulletin® Version 3.8.8