These are justsome formatting changes, but if I dont check them in, I'll keep having...
authorMatthew Judy <mjudy@ithinksw.com>
Wed, 26 Feb 2003 00:58:53 +0000 (00:58 +0000)
committerMatthew Judy <mjudy@ithinksw.com>
Wed, 26 Feb 2003 00:58:53 +0000 (00:58 +0000)
EffectSupport.txt [new file with mode: 0755]
English.lproj/InfoPlist.strings
MenuTunes.h
MenuTunes.m
iTunesRemote.m

diff --git a/EffectSupport.txt b/EffectSupport.txt
new file mode 100755 (executable)
index 0000000..d380500
--- /dev/null
@@ -0,0 +1,35 @@
+POSITIONS:
+
++-------------------+
+| A       B       C |
+|                   |
+| D       E       F |
+|                   |
+| G       H       I |
++-------------------+
+
+
+EFFECTS:
+
+0-) None
+1-) Dissolve
+2-) Slide Vertically
+3-) Slide Horizontally
+4-) Pivot
+
+
+MATCHES
+
+Pos. | Possible Effects      + = Maybe (Future)
+-----+--------------------   - = Not Supported
+  A  | 0   1   2   3   4
+  B  | 0   1   2   -   +
+  C  | 0   1   2   3   4
+  D  | 0   1   -   3   +
+  E  | 0   1   -   -   -
+  F  | 0   1   -   3   +
+  G  | 0   1   2   3   4
+  H  | 0   1   2   -   +
+  I  | 0   1   2   3   4
+
+
index d7798ba..4763eb9 100755 (executable)
Binary files a/English.lproj/InfoPlist.strings and b/English.lproj/InfoPlist.strings differ
index 466c4e4..6402eb1 100755 (executable)
 
 @interface MenuTunes : NSObject
 {
-    ITStatusItem *statusItem;
-    NSMenu *menu;
-    ITMTRemote *currentRemote;
+    ITStatusItem   *statusItem;
+    NSMenu         *menu;
+    ITMTRemote     *currentRemote;
     NSMutableArray *remoteArray;
     
     //Used in updating the menu automatically
     NSTimer *refreshTimer;
-    int trackInfoIndex, lastSongIndex, lastPlaylistIndex;
-    BOOL isPlayingRadio;
+    int      trackInfoIndex;
+    int      lastSongIndex;
+    int      lastPlaylistIndex;
+    BOOL     isPlayingRadio;
     
     BOOL isAppRunning;
-    BOOL didHaveAlbumName, didHaveArtistName; //Helper variable for creating the menu
+    BOOL didHaveAlbumName;
+    BOOL didHaveArtistName; //Helper variable for creating the menu
     
     //For upcoming songs
     NSMenuItem *upcomingSongsItem;
-    NSMenu *upcomingSongsMenu;
+    NSMenu     *upcomingSongsMenu;
     
     //For playlist selection
     NSMenuItem *playlistItem;
-    NSMenu *playlistMenu;
+    NSMenu     *playlistMenu;
     
     //For EQ sets
     NSMenuItem *eqItem;
-    NSMenu *eqMenu;
+    NSMenu     *eqMenu;
     
     NSMenuItem *playPauseMenuItem; //Toggle between 'Play' and 'Pause'
     
index a1121d7..1d8f67e 100755 (executable)
@@ -67,6 +67,7 @@ Things to do:
     [statusItem setMenu:menu];
     // Below line of code is for creating builds for Beta Testers
     // [statusItem setToolTip:@[NSString stringWithFormat:@"This Nontransferable Beta (Built on %s) of iThink Software's MenuTunes is Registered to: Beta Tester (betatester@somedomain.com).",__DATE__]];
+    [statusWindow orderFront:self]; //DEBUG
 }
 
 - (ITMTRemote *)loadRemote
@@ -93,14 +94,14 @@ Things to do:
             }
         }
 
-//      if ( [remoteArray count] > 0 ) {
+//      if ( [remoteArray count] > 0 ) {  // UNCOMMENT WHEN WE HAVE > 1 PLUGIN
 //          if ( [remoteArray count] > 1 ) {
 //              [remoteArray sortUsingSelector:@selector(sortAlpha:)];
 //          }
 //          [self loadModuleAccessUI]; //Comment out this line to disable remote visibility
 //      }
     }
-    NSLog(@"%@", [remoteArray objectAtIndex:0]);
+//  NSLog(@"%@", [remoteArray objectAtIndex:0]);  //DEBUG
     return [remoteArray objectAtIndex:0];
 }
 
index c4079df..7c300b4 100755 (executable)
@@ -46,7 +46,8 @@
 - (BOOL)isAppRunning
 {
     NSArray *apps = [[NSWorkspace sharedWorkspace] launchedApplications];
-    int i,count = [apps count];
+    int i;
+    int count = [apps count];
 
     for (i = 0; i < count; i++) {
         if ([[[apps objectAtIndex:i] objectForKey:@"NSApplicationName"]
 {
     NSArray *apps = [[NSWorkspace sharedWorkspace] launchedApplications];
     ProcessSerialNumber number;
-    int i, count = [apps count];
+    int i;
+    int count = [apps count];
     
     number.highLongOfPSN = kNoProcess;