mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 15:11: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
|
@ -1,3 +1,9 @@
|
|||
2002-01-31 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
|
||||
|
||||
* Source/NSCell.m
|
||||
* Headers/gnustep/gui/NSCell.h : new [NSCell -setHighlighted:]
|
||||
method
|
||||
|
||||
2002-01-30 Adam Fedor <fedor@gnu.org>
|
||||
|
||||
* Version: 0.7.5
|
||||
|
|
|
@ -392,6 +392,7 @@ typedef enum _NSControlSize {
|
|||
withFrame:(NSRect)cellFrame
|
||||
inView:(NSView *)controlView;
|
||||
- (BOOL)isHighlighted;
|
||||
- (void)setHighlighted: (BOOL) flag;
|
||||
|
||||
//
|
||||
// Editing Text
|
||||
|
|
|
@ -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…
Reference in a new issue