From 88a188f0aa37a7a6402d3d71031244e88104f7a0 Mon Sep 17 00:00:00 2001 From: Matthew Judy Date: Wed, 26 Feb 2003 00:58:53 +0000 Subject: [PATCH] These are justsome formatting changes, but if I dont check them in, I'll keep having conflicts. Be sure to update. Also, adding the Effect Support file in case I b0rk it. --- EffectSupport.txt | 35 ++++++++++++++++++++++++++++++++ English.lproj/InfoPlist.strings | Bin 502 -> 512 bytes MenuTunes.h | 21 +++++++++++-------- MenuTunes.m | 5 +++-- iTunesRemote.m | 6 ++++-- 5 files changed, 54 insertions(+), 13 deletions(-) create mode 100755 EffectSupport.txt diff --git a/EffectSupport.txt b/EffectSupport.txt new file mode 100755 index 0000000..d380500 --- /dev/null +++ b/EffectSupport.txt @@ -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 + + diff --git a/English.lproj/InfoPlist.strings b/English.lproj/InfoPlist.strings index d7798ba7f3c8daf702d4a736edb11f27477f2082..4763eb9262385f0381afcb85f8bd6077559db2ce 100755 GIT binary patch delta 21 bcmeyy+`zKoJR_$rgAs!P5E@TD$EX1SM8XAw delta 11 ScmZo*`Nq8AJmch>jOqX#AOw;C diff --git a/MenuTunes.h b/MenuTunes.h index 466c4e4..6402eb1 100755 --- a/MenuTunes.h +++ b/MenuTunes.h @@ -24,30 +24,33 @@ @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' diff --git a/MenuTunes.m b/MenuTunes.m index a1121d7..1d8f67e 100755 --- a/MenuTunes.m +++ b/MenuTunes.m @@ -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]; } diff --git a/iTunesRemote.m b/iTunesRemote.m index c4079df..7c300b4 100755 --- a/iTunesRemote.m +++ b/iTunesRemote.m @@ -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"] @@ -248,7 +249,8 @@ { NSArray *apps = [[NSWorkspace sharedWorkspace] launchedApplications]; ProcessSerialNumber number; - int i, count = [apps count]; + int i; + int count = [apps count]; number.highLongOfPSN = kNoProcess; -- 2.20.1