X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/247185755806e3a693fef80a25094ad9e446f104..34a2a6ce5cce484c5b8dcd413efa1181130fbab0:/StatusWindowController.m diff --git a/StatusWindowController.m b/StatusWindowController.m index 437487b..7663d39 100755 --- a/StatusWindowController.m +++ b/StatusWindowController.m @@ -199,6 +199,25 @@ static StatusWindowController *sharedController; [text release]; } +- (void)showAlbumArtWindowWithImage:(NSImage *)image +{ + if (image) { + _currentType = StatusWindowAlbumArtType; + [_window setImage:[NSImage imageNamed:@"Library"]]; + [_window buildImageWindowWithImage:image]; + [_window appear:self]; + } +} + +- (void)showAlbumArtWindowWithErrorText:(NSString *)string +{ + if (string && [string length] > 0) { + _currentType = StatusWindowAlbumArtType; + [_window buildTextWindowWithString:string]; + [_window appear:self]; + } +} + - (void)showUpcomingSongsWindowWithTitles:(NSArray *)titleStrings { // NSString *bull = [NSString stringWithUTF8String:"‣ "];