- (instancetype)init
{
- NSColor *col = [NSColor colorWithCalibratedRed: 1.0 green: 1.0
+ NSColor *bgcol = [NSColor colorWithCalibratedRed: 1.0 green: 1.0
blue: 0.792 alpha: 0.95];
+ NSColor *fgcol = [NSColor blackColor];
NSFont *font = [NSFont toolTipsFontOfSize: 0];
NSFont *sfont = [font screenFont];
int height = [sfont ascender] - [sfont descender];
textField = [[NSTextField alloc] initWithFrame: r];
[textField setFont: font];
- [textField setBackgroundColor: col];
+ [textField setTextColor: fgcol];
+ [textField setBackgroundColor: bgcol];
[textField setEditable: NO];
[textField setSelectable: NO];
[win setReleasedWhenClosed: NO];
[win setDelegate: self];
[[win contentView] addSubview: textField];
-/* [win setBackgroundColor: col]; */
+/* [win setBackgroundColor: bgcol]; */
[win setOpaque: NO];
return self;