[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
{
}
-- (void)showVolumeWindowWithLevel:(int)level
+- (void)showVolumeWindowWithLevel:(float)level
+{
+ [_window setImage:[NSImage imageNamed:@"Volume"]];
+ [_window buildMeterWindowWithCharacter:[NSString stringWithUTF8String:"▊"]
+ count:10
+ active:( ceil(level * 100) / 10 )];
+ [_window appear:self];
+}
+
+- (void)showRatingWindowWithRating:(int)rating
{
}
-- (void)showRatingWindowWithLevel:(int)level
+- (void)showShuffleWindow:(BOOL)shuffle
{
}
-- (void)showShuffleWindowWithMode:(MTStatusWindowShuffleMode)mode
+- (void)showRepeatWindowWithMode:(StatusWindowRepeatMode)mode
{
}
-- (void)showLoopWindowWithMode:(MTStatusWindowLoopMode)mode
+- (void)showSetupQueryWindow
{
}
+
@end
\ No newline at end of file