mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 06:40:47 +00:00
Redisplay after colours changed.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18580 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f3047913c8
commit
95bc0d2d96
2 changed files with 11 additions and 0 deletions
|
@ -2612,6 +2612,7 @@ static SEL getSel;
|
|||
- (void) setBackgroundColor: (NSColor*)aColor
|
||||
{
|
||||
ASSIGN(_backgroundColor, aColor);
|
||||
[self setNeedsDisplay: YES];
|
||||
}
|
||||
|
||||
- (NSColor*) backgroundColor
|
||||
|
@ -2622,6 +2623,7 @@ static SEL getSel;
|
|||
- (void) setCellBackgroundColor: (NSColor*)aColor
|
||||
{
|
||||
ASSIGN(_cellBackgroundColor, aColor);
|
||||
[self setNeedsDisplay: YES];
|
||||
}
|
||||
|
||||
- (NSColor*) cellBackgroundColor
|
||||
|
@ -2730,6 +2732,7 @@ static SEL getSel;
|
|||
- (void) setDrawsBackground: (BOOL)flag
|
||||
{
|
||||
_drawsBackground = flag;
|
||||
[self setNeedsDisplay: YES];
|
||||
}
|
||||
|
||||
- (BOOL) drawsBackground
|
||||
|
@ -2744,6 +2747,7 @@ static SEL getSel;
|
|||
- (void) setDrawsCellBackground: (BOOL)flag
|
||||
{
|
||||
_drawsCellBackground = flag;
|
||||
[self setNeedsDisplay: YES];
|
||||
}
|
||||
|
||||
- (BOOL) drawsCellBackground
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue