Rewrote display methods to conform to spec.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3693 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-02-12 13:39:44 +00:00
parent dc1695e8f8
commit fadb539151
3 changed files with 420 additions and 338 deletions

View file

@ -1,3 +1,10 @@
Fri Feb 12 12:56:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
* Headers/AppKit/NSView.h: Added missing method declarations for
display methods.
* Source/NSView.m: Rewrote all the display methods to the current spec
(I hope).
Thu Feb 11 14:10:00 1999 Richard Frith-Macdonald <richard@brainstorm.co.uk>
Coordinate fixes by Benhur to -

View file

@ -207,19 +207,21 @@ enum { // resized when the view's superview is resized
//
// Displaying
//
- (BOOL)canDraw;
- (void)display;
- (void)displayIfNeeded;
- (void)displayIfNeededIgnoringOpacity;
- (void)displayRect:(NSRect)aRect;
- (void)displayRectIgnoringOpacity:(NSRect)aRect;
- (void)drawRect:(NSRect)rect;
- (NSRect)visibleRect;
- (BOOL)isOpaque;
- (BOOL)needsDisplay;
- (void)setNeedsDisplay:(BOOL)flag;
- (void)setNeedsDisplayInRect:(NSRect)invalidRect;
- (BOOL)shouldDrawColor;
- (BOOL) canDraw;
- (void) display;
- (void) displayIfNeeded;
- (void) displayIfNeededIgnoringOpacity;
- (void) displayIfNeededInRect: (NSRect)aRect;
- (void) displayIfNeededInRectIgnoringOpacity: (NSRect)aRect;
- (void) displayRect: (NSRect)aRect;
- (void) displayRectIgnoringOpacity: (NSRect)aRect;
- (void) drawRect: (NSRect)rect;
- (NSRect) visibleRect;
- (BOOL) isOpaque;
- (BOOL) needsDisplay;
- (void) setNeedsDisplay: (BOOL)flag;
- (void) setNeedsDisplayInRect: (NSRect)invalidRect;
- (BOOL) shouldDrawColor;
//
// Scrolling

File diff suppressed because it is too large Load diff