Set up correctly text color attributes when editing

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5148 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
nico 1999-11-09 23:08:58 +00:00
parent 29ac8fa334
commit 900e070d25

View file

@ -129,9 +129,13 @@
text_color = aColor;
}
- (id) setUpFieldEditorAttributes: (id)textObject
- (NSText *) setUpFieldEditorAttributes: (NSText *)textObject
{
return nil;
textObject = [super setUpFieldEditorAttributes: textObject];
[textObject setDrawsBackground: draw_background];
[textObject setBackgroundColor: background_color];
[textObject setTextColor: text_color];
return textObject;
}
- (NSColor *) textColor