home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OpenStep 4.2
/
Openstep-4.2-Intel-Developer.iso
/
NextLibrary
/
Frameworks
/
AppKit.framework
/
Versions
/
B
/
Headers
/
NSClipView.h
< prev
next >
Wrap
Text File
|
1996-10-17
|
1KB
|
54 lines
/*
NSClipView.h
Application Kit
Copyright (c) 1994-1996, NeXT Software, Inc.
All rights reserved.
*/
#import <AppKit/NSView.h>
@class NSColor;
@interface NSClipView : NSView
{
NSColor *_backgroundColor;
NSView *_docView;
NSRect _docRect;
NSRect _oldDocFrame;
NSCursor *_cursor;
void *_halftone;
struct __cvFlags {
unsigned int isFlipped:1;
unsigned int onlyUncovered:1;
unsigned int reflectScroll:1;
unsigned int usedByCell:1;
unsigned int scrollClipTo:1;
unsigned int noCopyOnScroll:1;
unsigned int drawsBackground:1;
unsigned int scrollInProgress:1;
unsigned int RESERVED:24;
} _cvFlags;
}
- (void)setBackgroundColor:(NSColor *)color;
- (NSColor *)backgroundColor;
- (void)setDocumentView:(NSView *)aView;
- (id)documentView;
- (NSRect)documentRect;
- (void)setDocumentCursor:(NSCursor *)anObj;
- (NSCursor *)documentCursor;
- (NSRect)documentVisibleRect;
- (void)viewFrameChanged:(NSNotification *)notification;
- (void)setCopiesOnScroll:(BOOL)flag;
- (BOOL)copiesOnScroll;
- (BOOL)autoscroll:(NSEvent *)theEvent;
- (NSPoint)constrainScrollPoint:(NSPoint)newOrigin;
- (void)scrollToPoint:(NSPoint)newOrigin;
@end
@interface NSView(NSClipViewSuperview)
- (void)reflectScrolledClipView:(NSClipView *)aClipView;
- (void)scrollClipView:(NSClipView *)aClipView toPoint:(NSPoint)aPoint;
@end