(mac) initial support for adding and removing trackers

This commit is contained in:
Mitchell Livingston
2008-06-02 17:26:02 +00:00
parent 53a426c738
commit 88d357539e
8 changed files with 372 additions and 67 deletions
+7 -1
View File
@@ -26,6 +26,12 @@
@implementation TrackerTableView
- (void) mouseDown: (NSEvent *) event
{
[[self window] makeKeyWindow];
[super mouseDown: event];
}
- (void) setTrackers: (NSArray *) trackers
{
fTrackers = trackers;
@@ -68,7 +74,7 @@
continue;
}
if (!start)
if (!start && ![self isRowSelected: i])
NSRectFill([self rectOfRow: i]);
start = !start;