mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 07:01:22 +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
548cfea1d5
commit
4237cbd996
2 changed files with 11 additions and 0 deletions
|
@ -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>
|
2004-02-11 17:27 Alexander Malmberg <alexander@malmberg.org>
|
||||||
|
|
||||||
* Headers/Additions/GNUstepGUI/GSServicesManager.h,
|
* Headers/Additions/GNUstepGUI/GSServicesManager.h,
|
||||||
|
|
|
@ -2612,6 +2612,7 @@ static SEL getSel;
|
||||||
- (void) setBackgroundColor: (NSColor*)aColor
|
- (void) setBackgroundColor: (NSColor*)aColor
|
||||||
{
|
{
|
||||||
ASSIGN(_backgroundColor, aColor);
|
ASSIGN(_backgroundColor, aColor);
|
||||||
|
[self setNeedsDisplay: YES];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSColor*) backgroundColor
|
- (NSColor*) backgroundColor
|
||||||
|
@ -2622,6 +2623,7 @@ static SEL getSel;
|
||||||
- (void) setCellBackgroundColor: (NSColor*)aColor
|
- (void) setCellBackgroundColor: (NSColor*)aColor
|
||||||
{
|
{
|
||||||
ASSIGN(_cellBackgroundColor, aColor);
|
ASSIGN(_cellBackgroundColor, aColor);
|
||||||
|
[self setNeedsDisplay: YES];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSColor*) cellBackgroundColor
|
- (NSColor*) cellBackgroundColor
|
||||||
|
@ -2730,6 +2732,7 @@ static SEL getSel;
|
||||||
- (void) setDrawsBackground: (BOOL)flag
|
- (void) setDrawsBackground: (BOOL)flag
|
||||||
{
|
{
|
||||||
_drawsBackground = flag;
|
_drawsBackground = flag;
|
||||||
|
[self setNeedsDisplay: YES];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (BOOL) drawsBackground
|
- (BOOL) drawsBackground
|
||||||
|
@ -2744,6 +2747,7 @@ static SEL getSel;
|
||||||
- (void) setDrawsCellBackground: (BOOL)flag
|
- (void) setDrawsCellBackground: (BOOL)flag
|
||||||
{
|
{
|
||||||
_drawsCellBackground = flag;
|
_drawsCellBackground = flag;
|
||||||
|
[self setNeedsDisplay: YES];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (BOOL) drawsCellBackground
|
- (BOOL) drawsCellBackground
|
||||||
|
|
Loading…
Reference in a new issue