mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 03:21:04 +00:00
Use new flags in initWithCoder:
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28081 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
748f579ecf
commit
e4fcef380e
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2009-03-15 22:09-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Source/NSScrollView.m: Use the flags in initWithCoder:
|
||||
|
||||
2009-03-15 20:28-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Source/NSScrollView.m: Added more flags for nib loading.
|
||||
|
|
|
@ -1547,7 +1547,7 @@ static float scrollerWidth;
|
|||
_hasHorizScroller = scrollViewFlags.hasHScroller;
|
||||
_autohidesScrollers = scrollViewFlags.autohidesScrollers;
|
||||
_scrollsDynamically = (!scrollViewFlags.nonDynamic);
|
||||
// _rulersVisible = scrollViewFlags.rulersVisible;
|
||||
_rulersVisible = scrollViewFlags.showRulers;
|
||||
_hasHorizRuler = scrollViewFlags.hasHRuler;
|
||||
_hasVertRuler = scrollViewFlags.hasVRuler;
|
||||
// [self setDrawsBackground: (!scrollViewFlags.doesNotDrawBack)];
|
||||
|
@ -1571,6 +1571,7 @@ static float scrollerWidth;
|
|||
[content setFrame: frame];
|
||||
}
|
||||
|
||||
// set the document view into the content.
|
||||
[self setContentView: content];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue