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:
Nicola Pero 1999-11-09 23:08:58 +00:00
parent f69dea3ac0
commit 816b109bc8

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