mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 16:20:38 +00:00
Updated for change in NSView ivars
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5719 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0a6a692734
commit
475b802dee
16 changed files with 169 additions and 164 deletions
|
@ -153,18 +153,18 @@
|
|||
|
||||
// Draw the Bezel
|
||||
if (isBezeled)
|
||||
NSDrawGrayBezel(bounds,rect);
|
||||
NSDrawGrayBezel(_bounds,rect);
|
||||
|
||||
// Calc the inside rect to be drawn
|
||||
if (isBezeled)
|
||||
{
|
||||
r = NSMakeRect(NSMinX(bounds) + 2.0,
|
||||
NSMinY(bounds) + 2.0,
|
||||
NSWidth(bounds) - 4.0,
|
||||
NSHeight(bounds) - 4.0);
|
||||
r = NSMakeRect(NSMinX(_bounds) + 2.0,
|
||||
NSMinY(_bounds) + 2.0,
|
||||
NSWidth(_bounds) - 4.0,
|
||||
NSHeight(_bounds) - 4.0);
|
||||
}
|
||||
else
|
||||
r = bounds;
|
||||
r = _bounds;
|
||||
|
||||
if (isIndeterminate) // Draw indeterminate
|
||||
{
|
||||
|
@ -261,10 +261,10 @@
|
|||
|
||||
- (void)_update
|
||||
{
|
||||
if (window != nil)
|
||||
if ([window isVisible])
|
||||
if (_window != nil)
|
||||
if ([_window isVisible])
|
||||
{
|
||||
[window display];
|
||||
[_window display];
|
||||
[GSCurrentContext() flush];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue