mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 05:30:54 +00:00
drawInteriorWithFrame: inView: removed the code that drew the background
(osx doesn't draw background) git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@11780 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
13ed0a690a
commit
a83fb608b9
1 changed files with 2 additions and 0 deletions
|
@ -621,6 +621,7 @@
|
||||||
cellFrame = NSOffsetRect(cellFrame, 1., flippedView ? 1. : -1.);
|
cellFrame = NSOffsetRect(cellFrame, 1., flippedView ? 1. : -1.);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
// determine the background color
|
// determine the background color
|
||||||
if (mask & (NSChangeGrayCellMask | NSChangeBackgroundCellMask))
|
if (mask & (NSChangeGrayCellMask | NSChangeBackgroundCellMask))
|
||||||
{
|
{
|
||||||
|
@ -633,6 +634,7 @@
|
||||||
// set cell's background color
|
// set cell's background color
|
||||||
[backgroundColor set];
|
[backgroundColor set];
|
||||||
NSRectFill(cellFrame);
|
NSRectFill(cellFrame);
|
||||||
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Determine the image and the title that will be
|
* Determine the image and the title that will be
|
||||||
|
|
Loading…
Reference in a new issue