Moving radio bug fixing to iTunes remote, and updated MenuController.
[MenuTunes.git] / StatusWindow.m
index 0a1ba7f..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.
         id            aCell       = nil;
         int           activeCount = 0;
         NSColor      *onColor     = [NSColor whiteColor];
-        NSColor      *offColor    = [NSColor colorWithCalibratedWhite:0.0 alpha:0.50];
+        NSColor      *offColor    = [NSColor colorWithCalibratedWhite:0.15 alpha:0.50];
         NSMatrix     *volMatrix   = [[[NSMatrix alloc] initWithFrame:dataRect
                                                                 mode:NSHighlightModeMatrix
                                                            cellClass:NSClassFromString(@"ITTextFieldCell")