git.ithinksw.org
/
MenuTunes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3b5e8f8
)
Whoops, didn't remove something cleanly. Now I did. Also, the inactive bits of...
author
Matthew Judy
<mjudy@ithinksw.com>
Mon, 22 Sep 2003 11:35:07 +0000
(11:35 +0000)
committer
Matthew Judy
<mjudy@ithinksw.com>
Mon, 22 Sep 2003 11:35:07 +0000
(11:35 +0000)
StatusWindow.m
patch
|
blob
|
history
diff --git
a/StatusWindow.m
b/StatusWindow.m
index
28fca4f
..
5e1bcfd
100755
(executable)
--- a/
StatusWindow.m
+++ b/
StatusWindow.m
@@
-28,7
+28,6
@@
backgroundType:backgroundType] ) ) {
// Set default values.
_image = [[NSImage imageNamed:@"NSApplicationIcon"] retain];
backgroundType:backgroundType] ) ) {
// Set default values.
_image = [[NSImage imageNamed:@"NSApplicationIcon"] retain];
- _groupNoun = [@"Playlist" retain];
_locked = NO;
}
_locked = NO;
}
@@
-38,7
+37,6
@@
- (void)dealloc
{
[_image release];
- (void)dealloc
{
[_image release];
- [_groupNoun release];
[super dealloc];
}
[super dealloc];
}
@@
-54,12
+52,6
@@
_image = [newImage copy];
}
_image = [newImage copy];
}
-- (void)setGroupNoun:(NSString *)newNoun;
-{
- [_groupNoun autorelease];
- _groupNoun = [newNoun copy];
-}
-
- (void)setLocked:(BOOL)flag
{
_locked = flag;
- (void)setLocked:(BOOL)flag
{
_locked = flag;
@@
-168,6
+160,8
@@
NSEnumerator *cellEnum = nil;
id aCell = nil;
int activeCount = 0;
NSEnumerator *cellEnum = nil;
id aCell = nil;
int activeCount = 0;
+ NSColor *onColor = [NSColor whiteColor];
+ NSColor *offColor = [NSColor colorWithCalibratedWhite:0.0 alpha:0.50];
NSMatrix *volMatrix = [[[NSMatrix alloc] initWithFrame:dataRect
mode:NSHighlightModeMatrix
cellClass:NSClassFromString(@"ITTextFieldCell")
NSMatrix *volMatrix = [[[NSMatrix alloc] initWithFrame:dataRect
mode:NSHighlightModeMatrix
cellClass:NSClassFromString(@"ITTextFieldCell")
@@
-192,10
+186,10
@@
if ( active >= activeCount ) {
[aCell setCastsShadow:YES];
if ( active >= activeCount ) {
[aCell setCastsShadow:YES];
- [aCell setTextColor:
[NSColor whiteColor]
];
+ [aCell setTextColor:
onColor
];
} else {
[aCell setCastsShadow:NO];
} else {
[aCell setCastsShadow:NO];
- [aCell setTextColor:
[NSColor darkGrayColor]
];
+ [aCell setTextColor:
offColor
];
}
}
}
}