mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 21:40:36 +00:00
Add support to auto hide scrollers.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24730 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d2964b147e
commit
d4fe1a2399
3 changed files with 87 additions and 28 deletions
|
@ -41,11 +41,13 @@
|
|||
|
||||
@interface NSScrollView : NSView
|
||||
{
|
||||
NSClipView* _contentView;
|
||||
NSScroller* _horizScroller;
|
||||
NSScroller* _vertScroller;
|
||||
NSRulerView* _horizRuler;
|
||||
NSRulerView* _vertRuler;
|
||||
NSClipView *_contentView;
|
||||
NSScroller *_horizScroller;
|
||||
NSScroller *_vertScroller;
|
||||
NSRulerView *_horizRuler;
|
||||
NSRulerView *_vertRuler;
|
||||
NSClipView *_headerClipView;
|
||||
NSView *_cornerView;
|
||||
float _hLineScroll;
|
||||
float _hPageScroll;
|
||||
float _vLineScroll;
|
||||
|
@ -60,8 +62,7 @@
|
|||
BOOL _knobMoved;
|
||||
BOOL _hasHeaderView;
|
||||
BOOL _hasCornerView;
|
||||
NSClipView *_headerClipView;
|
||||
NSView *_cornerView;
|
||||
BOOL _autohidesScrollers;
|
||||
}
|
||||
|
||||
/* Calculating layout */
|
||||
|
@ -136,6 +137,10 @@
|
|||
- (void)setDrawsBackground:(BOOL)flag;
|
||||
- (BOOL)drawsBackground;
|
||||
#endif
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_3, GS_API_LATEST)
|
||||
- (BOOL)autohidesScrollers;
|
||||
- (void)setAutohidesScrollers:(BOOL)flag;
|
||||
#endif
|
||||
|
||||
/* Updating display after scrolling */
|
||||
- (void)reflectScrolledClipView:(NSClipView*)aClipView;
|
||||
|
@ -143,8 +148,6 @@
|
|||
/* Arranging components */
|
||||
- (void)tile;
|
||||
|
||||
/* GNUstep private methods */
|
||||
- (void)_synchronizeHeaderAndCornerView;
|
||||
@end
|
||||
|
||||
#endif /* _GNUstep_H_NSScrollView */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue