Positioning and hidden ratings for radio
authorMatthew Judy <mjudy@ithinksw.com>
Wed, 1 Oct 2003 15:42:22 +0000 (15:42 +0000)
committerMatthew Judy <mjudy@ithinksw.com>
Wed, 1 Oct 2003 15:42:22 +0000 (15:42 +0000)
MainController.m
StatusWindow.m
TODO.rtf
libValidate.a

index 518d86f..e6d338b 100755 (executable)
@@ -533,7 +533,10 @@ static MainController *sharedController;
         }
 
         if ( [df boolForKey:@"showTrackRating"] ) {
-            rating = ( [currentRemote currentSongRating] * 5 );
+            float currentRating = [currentRemote currentSongRating];
+            if (currentRating >= 0.0) {
+                rating = ( currentRating * 5 );
+            }
         }
         
     } else {
index 91aba66..aa78cf1 100755 (executable)
 //  Setup the Window, and remove all its contentview's subviews.
     windowWidth  = ( SW_PAD + imageWidth + SW_SPACE + dataWidth + SW_PAD );
     windowHeight = ( SW_PAD + contentHeight + SW_PAD );
-    [self setFrame:NSMakeRect(SW_BORDER, SW_BORDER, windowWidth, windowHeight) display:YES];
+    [self setFrame:NSMakeRect( (SW_BORDER + [[self screen] visibleFrame].origin.x),
+                               (SW_BORDER + [[self screen] visibleFrame].origin.y),
+                               windowWidth,
+                               windowHeight) display:YES];
     [[[self contentView] subviews] makeObjectsPerformSelector:@selector(removeFromSuperview)];
 
 //  Setup, position, fill, and add the image view to the content view.
index 86e1598..62e01a3 100755 (executable)
--- a/TODO.rtf
+++ b/TODO.rtf
@@ -78,4 +78,10 @@ No entries yet.\
        Issue: Menu - Needs to show "Space" as the key equivalent.\
 \pard\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\li720\ql\qnatural
 \cf0 \
+\pard\tx720\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\ql\qnatural
+\cf0     Priority: FUTURE\
+      Status: Future\
+       Issue: Hot Keys - Need hotkey for "Show Song File".\
+\pard\tx1440\tx2160\tx2880\tx3600\tx4320\tx5040\tx5760\tx6480\tx7200\tx7920\tx8640\li720\ql\qnatural
+\cf0 \
 }
\ No newline at end of file
index 3a9091b..5834778 100755 (executable)
Binary files a/libValidate.a and b/libValidate.a differ