mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 13:20:47 +00:00
Added isOpaque method.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5214 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
54765435d2
commit
a5f9364730
2 changed files with 12 additions and 1 deletions
|
@ -110,6 +110,12 @@
|
|||
[the_color drawSwatchInRect: insideRect];
|
||||
}
|
||||
|
||||
- (BOOL) isOpaque
|
||||
{
|
||||
return is_bordered;
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// Activating
|
||||
//
|
||||
|
|
|
@ -192,7 +192,7 @@ static Class cellClass;
|
|||
- (void) setStringValue: (NSString *)aString
|
||||
{
|
||||
[self abortEditing];
|
||||
|
||||
|
||||
[[self selectedCell] setStringValue: aString];
|
||||
[self setNeedsDisplay: YES];
|
||||
}
|
||||
|
@ -301,6 +301,11 @@ static Class cellClass;
|
|||
/*
|
||||
* Displaying the Control and Cell
|
||||
*/
|
||||
- (BOOL) isOpaque
|
||||
{
|
||||
return [cell isOpaque];
|
||||
}
|
||||
|
||||
- (void) drawRect: (NSRect)aRect
|
||||
{
|
||||
[self drawCell: cell];
|
||||
|
|
Loading…
Reference in a new issue