Page 1 of 8 123 ... LastLast
Results 1 to 20 of 154

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: SBAnimatedWeather [Release]

  1. #1
    Default SBAnimatedWeather [Release]
    SBAnimatedWeather

    Since there are a lot of animated weather widgets floating around, I decided to make a simple plugin that displays an html file on top of the icons. Having clouds displayed behind your icons just didn't feel right; there's a loss of depth and focus on the weather. By putting weather in front of everything, you can get a better feel of what condition it's really like outside.



    [Download]

    Feel free to use this plugin with other widgets. It's designed to work with any existing winterboard widget as well as other springboard widgets.

    Source code:

    Code:
    #import <UIKit/UIKit.h>
    #import <UIKit/UIKit/UIWebDocumentView.h>
    #import <Foundation/Foundation.h>
    #import <SpringBoard/SBUIController.h>
    #import <objc/runtime.h>
    #import "substrate.h"
    
    @protocol SBAWproto
    
    - (id)_origUICont_init;
    
    @end
    
    static id _SBUIController_init(SBUIController<SBAWproto> *self, SEL _cmd){
    	[self _origUICont_init];
    	UIWebDocumentView *docView = [[[UIWebDocumentView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)] autorelease];
    	[docView loadRequest:[NSURLRequest requestWithURL:[NSURL fileURLWithPath:@"/var/mobile/Library/SBAnimatedWeather/Widget.html"]]];
    	[docView setUserInteractionEnabled:NO];
    	[docView setBackgroundColor:[UIColor clearColor]];
    	[docView setDrawsBackground:NO];
    	[[self window] addSubview:docView];
    	return self;
    }
    
    extern "C" void SBAWInit() {
    	NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
    	MSHookMessage(objc_getClass("SBUIController"), @selector(init), (IMP)_SBUIController_init, "_origUICont_");
    	[pool release];
    }
    Attached Thumbnails Attached Thumbnails -img_0033.png  
    Attached Images Attached Images  
    Last edited by wyndwarrior; 01-04-2011 at 04:49 PM.

  2. The Following 83 Users Say Thank You to wyndwarrior For This Useful Post:

    ALIEN1974 (01-04-2011), AnthonyGiola (02-11-2011), AWSUM (03-03-2011), Blue (01-24-2011), Boardwalkbarber (05-16-2011), byron686 (01-07-2011), chris85e (05-11-2011), Cristianol3 (03-11-2011), cukhiem (03-21-2011), DaEliminator (01-05-2011), dakkota (01-04-2011), Dansco (01-28-2011), Dark_Ninja (03-07-2011), Dazlin2 (01-04-2011), DeCoy (01-11-2011), Dexy88 (01-07-2011), Doreen (01-04-2011), dude jacobson (01-06-2011), Ecko666 (01-04-2011), edel_hert (01-07-2011), eonC4PDA (01-05-2011), EventHorizn (01-04-2011), falcon212 (05-03-2011), fdw1 (01-05-2011), FiVe5tArPlAy3r (01-05-2011), GaN-MaN (02-16-2011), Geekbro (01-07-2011), henftling (01-05-2011), Ian Nicoll (01-04-2011), ibrokeit (01-07-2011), It's Mi (01-04-2011), JDean2 (01-20-2011), jima6636 (01-04-2011), jokerg7 (01-05-2011), Joshuawilde (01-17-2011), k.nitsua (01-04-2011), Kaospassageraren (04-04-2011), kevin.e.white (03-04-2011), kimvy (01-04-2011), Kr0NiK (03-06-2011), kruzzit (02-14-2012), loopweb (01-05-2011), lostinthemes (01-05-2011), Maarten16 (01-04-2011), MadonnaFan (01-12-2011), Major Herbie (03-03-2011), MaudmyiPhone (01-08-2011), medic88 (01-04-2011), mic_888 (01-04-2011), MindGem (01-04-2011), Mr G (01-30-2011), phillyeaglesfan (03-08-2011), PinkTissue (01-18-2011), Raaj FX was banned (01-04-2011), rameses09 (01-04-2011), Ramses2 (01-04-2011), ReBourne (01-17-2011), redzz (01-08-2011), rine5 (01-07-2011), river_9x (09-26-2012), RKO1195 (01-19-2012), shitaki (01-04-2011), showstopper (01-06-2011), skiptowncat (01-07-2011), SkyGuy5 (01-07-2011), slap690 (01-04-2011), SnowLeo (01-07-2011), SphinxUMR (03-18-2011), sucram6791 (01-05-2011), testrun505 (01-05-2011), The_13th_Plague (01-06-2011), The_Durben (01-07-2011), Truckinlow (01-04-2011), ufcsean (01-06-2011), UmarAllAroundYou (02-13-2011), unoimkll (01-26-2011), vinni30 (01-14-2011), Waverley73 (01-07-2011), wim66 (01-04-2011), wizek (05-16-2011), Xenontac (01-05-2011), zausser (01-04-2011), ziggy7 (01-04-2011)

  3. #2
    Failing means yer playin! ziggy7's Avatar
    Join Date
    Mar 2010
    Location
    Scotland
    Posts
    2,804
    Thanks
    4,471
    Thanked 2,378 Times in 1,278 Posts

    Thanks Wyndwarrior...Awesome!!

    EDIT: works..perfectly...

    Last edited by ziggy7; 01-04-2011 at 12:46 PM.

  4. #3
    Many thank's

  5. #4
    Master Theme Creator ALIEN1974's Avatar
    Join Date
    Feb 2010
    Location
    var/stash/Themes
    Posts
    2,833
    Thanks
    1,715
    Thanked 5,972 Times in 1,579 Posts


    How...how...how??????
    Dam...
    I have a surprise for you soon...
    How about all the animations,but in HD (retina resolution)...
    I finally got them,will take more ram (about 5mb)...but it work.

  6. The Following 6 Users Say Thank You to ALIEN1974 For This Useful Post:

    DA_GHOST (01-04-2011), fdw1 (01-05-2011), lostinthemes (01-17-2011), Raaj FX was banned (01-04-2011), rameses09 (01-04-2011), SkyGuy5 (01-07-2011)

  7. #5
    Quote Originally Posted by ALIEN1974 View Post

    How...how...how??????
    Dam...
    I have a surprise for you soon...
    How about all the animations,but in HD (retina resolution)...:
    I finally got them,will take more ram (about 5mb)...but it work.
    HD sounds very nice.

  8. #6
    pretty f'n kool bro thanks but its not in hd??

  9. #7
    "The Chuck Bass of Theming" k.nitsua's Avatar
    Join Date
    Mar 2009
    Location
    Merced, CA
    Posts
    4,422
    Thanks
    1,761
    Thanked 19,214 Times in 2,596 Posts

    Holy crap. How did you do this? I'm gonna test it now and HD it as well if need be ^_^
    #eli7e revived me

  10. The Following 4 Users Say Thank You to k.nitsua For This Useful Post:

    ALIEN1974 (01-04-2011), lostinthemes (01-17-2011), Raaj FX was banned (01-04-2011), SkyGuy5 (01-07-2011)

  11. #8
    the snowflakes arent in front of my icons??is it because im on i4?
    Last edited by DA_GHOST; 01-04-2011 at 01:58 PM.

  12. #9
    awesome wynd.

    is this the same as the one from endroid?

  13. #10
    Excellent mate thank you very much except i live in the UK and the Yahoo weather code doesnt work why ?
    Last edited by TeMpO v; 01-04-2011 at 02:31 PM.

  14. #11
    Theme Creator Doreen's Avatar
    Join Date
    Jul 2007
    Location
    Southern California
    Posts
    2,620
    Thanks
    2,755
    Thanked 2,582 Times in 1,193 Posts

    Wynd is there anyway to get the animated weather "On Top" of LockInfo's Clocks that you know of? Is there some script to write the Z order so it forces LockInfo to stay behind while the weather rides on top?

    Or is this just impossible to accomplish w/ LockInfo? I wanted to ask you but you had so many ppl making demands of you in that other thread I did not want to be yet another "Help me!" Help me!" on your plate. hehe =)

    Thank you for allllll your hard work you and Alien are our teachers!

  15. #12
    I must be a moron. I've setup so many complex themes yet I can't get this to work lol. Disabled all other themes. Tried with default zip code and doesn't work. Anyone else having any issues or am I the idiot of the day lol.

    .
    EDIT NM

    i used ifile and missed the instructions!
    Last edited by aimetti; 01-04-2011 at 06:57 PM.

  16. #13
    LOL...WOW! The Talent in this place astounds me! NICE!

  17. #14
    What's Jailbreak?
    Join Date
    Oct 2009
    Location
    London
    Posts
    18
    Thanks
    12
    Thanked 6 Times in 6 Posts

    Awesome, works great thank you

  18. #15
    I'm the only one that wants to hump him?

  19. #16
    perma-banned for life
    Join Date
    Mar 2009
    Location
    Photoshop CS5
    Posts
    8,424
    Thanks
    10,454
    Thanked 7,050 Times in 3,590 Posts

    Me too ^ LOL

    But seriously genius !!!

  20. #17
    sweet weather widget! Never seen anything like it! This is really original

    It's still so Betty.

  21. #18
    I am surprised to see that 7 descriptions of weather in the repertory Animations, while in other events, we find much more (20 for example)

  22. #19
    Source code:

    Code:
    #import <UIKit/UIKit.h>
    #import <UIKit/UIKit/UIWebDocumentView.h>
    #import <Foundation/Foundation.h>
    #import <SpringBoard/SBUIController.h>
    #import <objc/runtime.h>
    #import "substrate.h"
    
    @protocol SBAWproto
    
    - (id)_origUICont_init;
    
    @end
    
    static id _SBUIController_init(SBUIController<SBAWproto> *self, SEL _cmd){
    	[self _origUICont_init];
    	UIWebDocumentView *docView = [[[UIWebDocumentView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)] autorelease];
    	[docView loadRequest:[NSURLRequest requestWithURL:[NSURL fileURLWithPath:@"/var/mobile/Library/SBAnimatedWeather/Widget.html"]]];
    	[docView setUserInteractionEnabled:NO];
    	[docView setBackgroundColor:[UIColor clearColor]];
    	[docView setDrawsBackground:NO];
    	[[self window] addSubview:docView];
    	return self;
    }
    
    extern "C" void SBAWInit() {
    	NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
    	MSHookMessage(objc_getClass("SBUIController"), @selector(init), (IMP)_SBUIController_init, "_origUICont_");
    	[pool release];
    }

  23. The Following 4 Users Say Thank You to wyndwarrior For This Useful Post:

    byron686 (01-07-2011), Doreen (01-04-2011), Raaj FX was banned (01-04-2011), tw1st3d (01-05-2011)

  24. #20
    very cool thanks a bunch =]

Page 1 of 8 123 ... LastLast
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •