From: Matthew Judy Date: Wed, 1 Oct 2003 15:42:22 +0000 (+0000) Subject: Positioning and hidden ratings for radio X-Git-Tag: v1.0~24 X-Git-Url: http://git.ithinksw.org/MenuTunes.git/commitdiff_plain/5ba3df3581e79b113dcf5eb6346baf246fa49da2 Positioning and hidden ratings for radio --- diff --git a/MainController.m b/MainController.m index 518d86f..e6d338b 100755 --- a/MainController.m +++ b/MainController.m @@ -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 { diff --git a/StatusWindow.m b/StatusWindow.m index 91aba66..aa78cf1 100755 --- a/StatusWindow.m +++ b/StatusWindow.m @@ -103,7 +103,10 @@ // 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. diff --git a/TODO.rtf b/TODO.rtf index 86e1598..62e01a3 100755 --- 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 diff --git a/libValidate.a b/libValidate.a index 3a9091b..5834778 100755 Binary files a/libValidate.a and b/libValidate.a differ