Source/NSCell.m

Headers/gnustep/gui/NSCell.h: [NSCell -setHighlighted:] new method


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12354 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Pierre-Yves Rivaille 2002-01-31 21:17:29 +00:00
parent d96c2abb44
commit e62b1743a6
3 changed files with 13 additions and 0 deletions

View file

@ -603,6 +603,7 @@ static NSColor *shadowCol;
}
}
/*
* Setting the NSCell's State
*/
@ -1666,6 +1667,11 @@ static NSColor *shadowCol;
[self drawInteriorWithFrame: cellFrame inView: controlView];
}
- (void) setHighlighted: (BOOL) flag
{
_cell.is_highlighted = flag;
}
- (BOOL) isHighlighted
{
return _cell.is_highlighted;