View Single Post
Posts: 631 | Thanked: 837 times | Joined on May 2007 @ Milton, Ontario, Canada
#547
It's funny how this idea of "modding" just came up, considering that it's been possible using the same technique since the first major release of the app...

There's also a slew of other things you can play around with if you're feeling adventurous and want to "tweak" things further to suit your needs. For example, if you're not happy with the available "night" colours, you can always change them or add your own: just go to ci_init.py (/usr/lib/python2.5/site-packages/flipclock/ci_init.py), and around line 227 there's an arrray called moods:

Code:
moods = [{"name":"Off","image":pygame.image.load(path + "m_0.png"), "color":(0,0,0), "nightColor":(0,0,250)},
		 {"name":"Yellow","image":pygame.image.load(path + "m_yello.png"), "color":(250,125,0), "nightColor":(250,200, 0)},
		 {"name":"Blue","image":pygame.image.load(path + "m_blue.png"), "color":(0,0,250), "nightColor":(0,0,250)},
		 {"name":"Red","image":pygame.image.load(path + "m_red.png"), "color":(250,0,0), "nightColor":(240,0,0)},
		 {"name":"Purple","image":pygame.image.load(path + "m_purpl.png"), "color":(250,0,125), "nightColor":(220,0,160)},
		 {"name":"Green","image":pygame.image.load(path + "m_green.png"), "color":(0, 250,0), "nightColor":(0,220,0)}]
the "nightColor" property is an rgb set that determines the colour of the clock display in "night mode".

If you (or anyone outthere) plan more drastic pimps/mods I can upload somewhere the 'source' original vector Xara files (.xar)
Maybe throw them up on the SVN/garage page as part of a "Developer" section? Any C code that you've done for the other version of the clock could also go in there... just an idea?
 

The Following User Says Thank You to jolouis For This Useful Post: