diff --git a/Headers/gnustep/gui/NSClipView.h b/Headers/gnustep/gui/NSClipView.h index 7620d5016..fd30ea301 100644 --- a/Headers/gnustep/gui/NSClipView.h +++ b/Headers/gnustep/gui/NSClipView.h @@ -39,6 +39,7 @@ NSView* _documentView; NSCursor* _cursor; NSColor* _backgroundColor; + BOOL _drawsBackground; BOOL _copiesOnScroll; } @@ -67,6 +68,12 @@ - (void)setBackgroundColor:(NSColor*)aColor; - (NSColor*)backgroundColor; +#ifndef STRICT_OPENSTEP +/* Setting the background drawing */ +- (void)setDrawsBackground:(BOOL)flag; +- (BOOL)drawsBackground; +#endif + /* Overridden NSView methods */ - (BOOL)acceptsFirstResponder; - (BOOL)isFlipped; @@ -84,13 +91,6 @@ @end - -@interface NSClipView (SuperviewMethods) -- (void)reflectScrolledClipView:(NSClipView*)aClipView; -- (void)scrollClipView:(NSClipView*)aClipView toPoint:(NSPoint)newOrigin; -@end - - @interface NSClipView (BackendMethods) - (void)_translateToPoint:(NSPoint)point oldPoint:(NSPoint)oldPoint; @end diff --git a/Headers/gnustep/gui/NSScrollView.h b/Headers/gnustep/gui/NSScrollView.h index 5c0318993..6e810f546 100644 --- a/Headers/gnustep/gui/NSScrollView.h +++ b/Headers/gnustep/gui/NSScrollView.h @@ -129,6 +129,9 @@ - (void) setHorizontalPageScroll: (float)aFloat; - (void) setVerticalLineScroll: (float)aFloat; - (void) setVerticalPageScroll: (float)aFloat; +/* Setting the background drawing */ +- (void)setDrawsBackground:(BOOL)flag; +- (BOOL)drawsBackground; #endif /* Updating display after scrolling */