X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/06957bb412305361a6668e12c22481c16cc16886..3b5e8f80a471ff88cd39e8c295276beb7c3412ec:/StatusWindowController.m diff --git a/StatusWindowController.m b/StatusWindowController.m index 43fdd46..49cbf89 100755 --- a/StatusWindowController.m +++ b/StatusWindowController.m @@ -85,21 +85,21 @@ [super dealloc]; } -- (void)showSongWindowWithTitle: (NSString *)title - album: (NSString *)album - artist: (NSString *)artist - time: (NSString *)time // FLOW: Should probably be NSDate or something. - trackNumber: (int)trackNumber - trackTotal: (int)trackTotal - rating: (int)rating - source:(ITMTRemotePlayerSource)source +- (void)showSongInfoWindowWithSource:(ITMTRemotePlayerSource)source + title: (NSString *)title + album: (NSString *)album + artist: (NSString *)artist + time: (NSString *)time // FLOW: Should probably be NSDate or something. + trackNumber: (int)trackNumber + trackTotal: (int)trackTotal + rating: (int)rating { [_window setImage:[NSImage imageNamed:@"Library"]]; - [_window setText:title]; + [_window buildTextWindowWithString:title]; [_window appear:self]; } -- (void)showUpcomingSongsWithTitles:(NSArray *)titleStrings +- (void)showUpcomingSongsWindowWithTitles:(NSArray *)titleStrings { } @@ -107,23 +107,31 @@ - (void)showVolumeWindowWithLevel:(float)level { [_window setImage:[NSImage imageNamed:@"Volume"]]; - [_window setVolume:level]; + [_window buildMeterWindowWithCharacter:[NSString stringWithUTF8String:"▊"] + count:10 + active:( ceil(level * 100) / 10 )]; [_window appear:self]; } -- (void)showRatingWindowWithLevel:(int)level +- (void)showRatingWindowWithRating:(int)rating { } -- (void)showShuffleWindowWithMode:(MTStatusWindowShuffleMode)mode +- (void)showShuffleWindow:(BOOL)shuffle { } -- (void)showLoopWindowWithMode:(MTStatusWindowLoopMode)mode +- (void)showRepeatWindowWithMode:(StatusWindowRepeatMode)mode { } +- (void)showSetupQueryWindow +{ + +} + + @end \ No newline at end of file