2004-09-13 Matt Rice <ratmice@yahoo.com>

* NSScrollView.h: Declare new ivar _cornerView and private method
        -_synchronizeCornerAndHeaderView
        * NSScrollView.m (tile): Call _synchronizeCornerAndHeaderView method
        from here. Replace local cornerView variable with _cornerView.
        (-setDocumentView:): Remove code to set the corner and header views.
        (-_synchronizeCornerAndHeaderView): Implement new method.
        * NSTableView.m (-setHeaderView:, -setCornerView:): call tile on the
        scroll view we're in. Remove comments and warnings for cases which are
        now implemented.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20049 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Matt Rice 2004-09-13 19:57:44 +00:00
parent afaa68f9d5
commit 8b3d930318
4 changed files with 98 additions and 49 deletions

View file

@ -59,6 +59,7 @@
BOOL _hasHeaderView;
BOOL _hasCornerView;
NSClipView *_headerClipView;
NSView *_cornerView;
}
/* Calculating layout */
@ -140,6 +141,8 @@
/* Arranging components */
- (void)tile;
/* GNUstep private methods */
- (void)_synchronizeHeaderAndCornerView;
@end
#endif /* _GNUstep_H_NSScrollView */