git.ithinksw.org
/
MenuTunes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Poked around a bit, added Show Player to MenuController
[MenuTunes.git]
/
MainController.m
diff --git
a/MainController.m
b/MainController.m
index
0d34014
..
ea44696
100755
(executable)
--- a/
MainController.m
+++ b/
MainController.m
@@
-458,6
+458,7
@@
static MainController *sharedController;
[currentRemote setVolume:volume];
//Show volume status window
[currentRemote setVolume:volume];
//Show volume status window
+ [statusWindowController showVolumeWindowWithLevel:volume];
}
- (void)decrementVolume
}
- (void)decrementVolume
@@
-470,6
+471,7
@@
static MainController *sharedController;
[currentRemote setVolume:volume];
//Show volume status window
[currentRemote setVolume:volume];
//Show volume status window
+ [statusWindowController showVolumeWindowWithLevel:volume];
}
- (void)incrementRating
}
- (void)incrementRating
@@
-482,6
+484,7
@@
static MainController *sharedController;
[currentRemote setCurrentSongRating:rating];
//Show rating status window
[currentRemote setCurrentSongRating:rating];
//Show rating status window
+ [statusWindowController showRatingWindowWithLevel:rating];
}
- (void)decrementRating
}
- (void)decrementRating
@@
-494,6
+497,7
@@
static MainController *sharedController;
[currentRemote setCurrentSongRating:rating];
//Show rating status window
[currentRemote setCurrentSongRating:rating];
//Show rating status window
+ [statusWindowController showRatingWindowWithLevel:rating];
}
- (void)toggleLoop
}
- (void)toggleLoop
@@
-514,12
+518,15
@@
static MainController *sharedController;
[currentRemote setRepeatMode:repeatMode];
//Show loop status window
[currentRemote setRepeatMode:repeatMode];
//Show loop status window
+ [statusWindowController showLoopWindowWithMode:repeatMode];
}
- (void)toggleShuffle
{
}
- (void)toggleShuffle
{
- [currentRemote setShuffleEnabled:![currentRemote shuffleEnabled]];
+ bool newShuffleEnabled = ![currentRemote shuffleEnabled];
+ [currentRemote setShuffleEnabled:newShuffleEnabled];
//Show shuffle status window
//Show shuffle status window
+ [statusWindowController showLoopWindowWithMode:newShuffleEnabled];
}
/*************************************************************************/
}
/*************************************************************************/