mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 04:30:37 +00:00
NSBrowser rewrite.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5339 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
009e69756d
commit
135cf168a5
6 changed files with 2198 additions and 1180 deletions
|
@ -110,7 +110,7 @@ static NSFont *leafFont;
|
|||
// A GNUstep experimental feature
|
||||
if ([[NSUserDefaults standardUserDefaults]
|
||||
boolForKey: @"GSBrowserCellFontify"])
|
||||
{
|
||||
{
|
||||
gsFontifyCells = YES;
|
||||
cellClass = [NSTextFieldCell class];
|
||||
//nonLeafColor = RETAIN ([colorClass colorWithCalibratedWhite: 0.222
|
||||
|
@ -315,6 +315,8 @@ static NSFont *leafFont;
|
|||
NSColor *backColor;
|
||||
|
||||
control_view = controlView; // remember last view cell was drawn in
|
||||
if (![controlView window])
|
||||
return;
|
||||
[controlView lockFocus];
|
||||
if (cell_highlighted || cell_state)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue