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:
Fred Kiefer 2004-02-11 22:52:40 +00:00
parent 548cfea1d5
commit 4237cbd996
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2004-02-11 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSMatrix.m: (-setBackgroundColor:,
-setCellBackgroundColor:, -setDrawsBackground:,
-setDrawsCellBackground:) call setNeedsDisplay: to give better
feedback on change.
2004-02-11 17:27 Alexander Malmberg <alexander@malmberg.org>
* Headers/Additions/GNUstepGUI/GSServicesManager.h,

View file

@ -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