X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/20af5f03f5ceee5561784d17bd1456ae56fee6e3..e62f72407268a63e92892454648467a55f9e57a4:/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:"‣ "];