mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 04:30:37 +00:00
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:
parent
d96c2abb44
commit
e62b1743a6
3 changed files with 13 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue