mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Added method to set backgound drawing.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@8034 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
eaeca6efb0
commit
21e88fbeb4
2 changed files with 10 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue