bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

implementation of [NSWindow cacheImageInRect:]


From: Benhur Stein
Subject: implementation of [NSWindow cacheImageInRect:]
Date: Tue, 09 Jul 2002 20:20:27 -0300

Hi,

The attached patch implements three missing methods in NSWindow:
- cacheImageInRect:
- restoreCachedImage
- discardCachedImage
It adds 2 new instance variables to NSWindow, forcing the recompilation of 
everything.

Apple's documentation on this is not very clear, in many places it seems that 
more than one
rectangle could be cached and restored. In this implementation, only the last 
rectangle is
kept. There is this phrase in the documentation: "Only the last cached rectangle is 
remembered, and can be restored."

Benhur Stein

<NSWindow.h.diff><NSWindow.m.diff>

Attachment: NSWindow.h.diff
Description: Binary data

Attachment: NSWindow.m.diff
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]