ModMyMotoModMyiModMyGphone





 
 

2.2 Unlock | Jailbreak OS X




  Apple Forums | ModMyi.com | iPhone, iPod, Mac, OS X, Mods, More > Design and Media For the iPhone / iPod Touch > Skinning / Themes Discussion > WinterBoard
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-23-2008, 11:50 AM
iPhone? More like MyPhone
 
Join Date: Jul 2007
Posts: 187
Thanks: 10
Thanked 24 Times in 16 Posts
Weather Widget Help...

Click the image to open in full size.

Click the image to open in full size.

I'm working on another full screen winterboard theme using the weather widget however I would like to use an icon file that has (2) diff file format exts such as .gif (for animated weather icons) and also .png (for the static weather icons)

Reason being I don't want to animate all the icons only a few, so my question is where and how in the .js file do I edit so it will first search out a .gif and if no .gif exist it will then display the .png?

Here is a snipit of the current .js file...

var iconExtWall = '.png' //'.png'|.'gif' etc.

Thank you for any help...
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following 2 Users Say Thank You to Doreen For This Useful Post:
ToasterBoyOhFour (10-01-2008), Zehlek (10-17-2008)
  #2 (permalink)  
Old 09-23-2008, 12:39 PM
Chefanim's Avatar
iPhoneaholic
 
Join Date: Jul 2008
Device + Firmware: iPhone 8gig 1st Gen Pwned 2.1 Tmobile
Operating System: Vista + OSX 10.4.11
Location: Panama City, FL
Posts: 457
Thanks: 24
Thanked 84 Times in 75 Posts

Doreen, I wish I could help you, but I dont know the answer. All I can say is that I hope someone does, because I would love to have this on my phone. I have the other one you did with the 'Bliss"-like walls from macthemes, and being that I live by the beach, this one would be more appropriate. If you arent able to get the .gifs working, would you mind at least sharing the image set of the static .pngs ?
Thanks

Edit: just an idea..... .gif can be static also. So possibly convert the .png images to .gif, and use only .gif. I dunno if that would work, or what that would do to the image quality, but it would get rid of the need to use 2 different formats.

Just an idea
__________________
So long, and thanks for all the fish

Last edited by Chefanim; 09-23-2008 at 12:41 PM.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3 (permalink)  
Old 09-23-2008, 03:04 PM
iPhone? More like MyPhone
 
Join Date: Aug 2008
Posts: 134
Thanks: 26
Thanked 9 Times in 6 Posts

Doreen,

Make all of the icons gifs. Just open them up and resave them as gif files, without added animation. then use gif as your file format.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4 (permalink)  
Old 09-23-2008, 03:34 PM
iPhone? More like MyPhone
 
Join Date: Jul 2007
Posts: 187
Thanks: 10
Thanked 24 Times in 16 Posts

Hi you guys I had already thought of that and tried it but the quality of the static images saved as .gifs goes down toliet. I need to find out how to have the app display the pngs "and" the gifs when one or the other image and format are not avail in the folder.

I'll release this theme when I get that resolved Chefanim however, if I can't get it resolved then I'll go ahead and release the static theme it still looks good when the static images change throughout the day and night but on a sunny day at the beach I want to see the rays of the sun animating...
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5 (permalink)  
Old 09-23-2008, 04:20 PM
Chefanim's Avatar
iPhoneaholic
 
Join Date: Jul 2008
Device + Firmware: iPhone 8gig 1st Gen Pwned 2.1 Tmobile
Operating System: Vista + OSX 10.4.11
Location: Panama City, FL
Posts: 457
Thanks: 24
Thanked 84 Times in 75 Posts

could you use
var iconExtWall = '.*' //'.png'|.'gif' etc.
I remember using *.* back in the old DOS days
I dont know how this stuff works?
__________________
So long, and thanks for all the fish
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #6 (permalink)  
Old 09-23-2008, 04:57 PM
iPhone? More like MyPhone
 
Join Date: Jul 2007
Posts: 187
Thanks: 10
Thanked 24 Times in 16 Posts

Nope I just tried that and still no go, Shoot I cannot believe no one has been able to help me out w/ that one line of code (I've been asking all over for two weeks now) *sigh*
And google has not been my friend either in regards to that, most likely cuz I'm not searching right since I know nothing of java scripting.

If someone can help me out I promise to make the stars twinkle on that beach when it turns to a clear night okay...
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #7 (permalink)  
Old 09-23-2008, 06:05 PM
iPhone? More like MyPhone
 
Join Date: Aug 2008
Posts: 134
Thanks: 26
Thanked 9 Times in 6 Posts

Doreen,

You must not be converting the pngs to gifs properly. Why else would your animated images look good but the static ones look bad? That doesnt make any sense.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #8 (permalink)  
Old 09-23-2008, 06:33 PM
iPhone? More like MyPhone
 
Join Date: Jul 2007
Posts: 187
Thanks: 10
Thanked 24 Times in 16 Posts

As far as I know there is no way to make a .gif look as good as a .png and I'm willing to sacrifice the clarity alil on the animated gifs but not on the static images therefore I want to have the static images in .png format so they look crisp however, the animated .gifs will not look as crisp no matter what I do since winterboard does not support animated png support (which is .mng) but most ppl will not notice the slight grain since the animation will distract them from even noticing.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #9 (permalink)  
Old 09-24-2008, 10:22 PM
iPhone? More like MyPhone
 
Join Date: Jul 2007
Posts: 187
Thanks: 10
Thanked 24 Times in 16 Posts

Sorry Chefanim for the delay, so it seems nobody can help me w/ that script so I'm going to release it now and you can download it from over here:

http://doreen.teknidermy.com/Weather...BeachTheme.zip

I officially released it here: MacThemes Forum / Beach Weather Widget Release
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
The Following User Says Thank You to Doreen For This Useful Post:
Chefanim (09-24-2008)
  #10 (permalink)  
Old 09-24-2008, 10:45 PM
Chefanim's Avatar
iPhoneaholic
 
Join Date: Jul 2008
Device + Firmware: iPhone 8gig 1st Gen Pwned 2.1 Tmobile
Operating System: Vista + OSX 10.4.11
Location: Panama City, FL
Posts: 457
Thanks: 24
Thanked 84 Times in 75 Posts

Looks Great Doreen, Ill set it up for myself and apply it tomorrow (I gotta go to bed). I think Ill have to get that 'Lets see' Theme from Cydia.

Only 1 suggestion that I would have would be to make the sand and water darker at night.
I did 1 to see how it looks.... what do you think?

Thanks again, great work, with or without animation
Attached Thumbnails
weather-widget-help-sunny_night.png  
__________________
So long, and thanks for all the fish

Last edited by Chefanim; 09-24-2008 at 10:48 PM.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #11 (permalink)  
Old 09-24-2008, 10:57 PM
iPhone? More like MyPhone
 
Join Date: Jul 2007
Posts: 187
Thanks: 10
Thanked 24 Times in 16 Posts

I like it! you did a great job on that, I thought about that but my laziness over powered me and some of the weather images display for both night and day such as the fog etc.

but the clear night one obviously only displays in the evening, I'll have to update that, let me know how you like it when you use it over the course of a day, I have yet to see how it looks w/ rain or lightning since I live in California.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #12 (permalink)  
Old 09-24-2008, 11:00 PM
Chefanim's Avatar
iPhoneaholic
 
Join Date: Jul 2008
Device + Firmware: iPhone 8gig 1st Gen Pwned 2.1 Tmobile
Operating System: Vista + OSX 10.4.11
Location: Panama City, FL
Posts: 457
Thanks: 24
Thanked 84 Times in 75 Posts

Glad you like. Here is the darkened beach, you can just paste it over the night images.

Now this time Im really going to bed Ill post some screenshots tomorrow. I have an Idea for a dock, I want to see how it looks.

Thanks again.

Also, I live in Florida, and our forcast calls for a beautiful week, so I dont think Ill get to see all the images soon either
Attached Thumbnails
weather-widget-help-beach-only.png  
__________________
So long, and thanks for all the fish

Last edited by Chefanim; 09-24-2008 at 11:04 PM.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #13 (permalink)  
Old 09-24-2008, 11:28 PM
iPhone? More like MyPhone
 
Join Date: Jul 2007
Posts: 187
Thanks: 10
Thanked 24 Times in 16 Posts

Atleast you guys sometimes get rain. hehe!

Feel free to post anything to this theme, I'd like to see your dock I forgot to add my Shell, Seahorse, Map and Crab for the bottom icons, I'll update it again later on tonight...

Last edited by Doreen; 09-24-2008 at 11:53 PM.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo