mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 19:30:38 +00:00
flushWindow updates
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4201 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a14735b7e9
commit
8a2bbcaae2
6 changed files with 33 additions and 19 deletions
|
@ -159,6 +159,7 @@
|
|||
[miniaturized_title release];
|
||||
[miniaturized_image release];
|
||||
[window_title release];
|
||||
[rectsBeingDrawn release];
|
||||
|
||||
[super dealloc];
|
||||
}
|
||||
|
@ -217,7 +218,7 @@
|
|||
/* rectBeingDrawn is variable used to optimize flushing the backing store.
|
||||
It is set by NSGraphicContext during a lockFocus to tell NSWindow what
|
||||
part a view is drawing in, so NSWindow only has to flush that portion */
|
||||
rectBeingDrawn = NSZeroRect;
|
||||
rectsBeingDrawn = [[NSMutableArray arrayWithCapacity: 10] retain];
|
||||
NSDebugLog(@"NSWindow end of init\n");
|
||||
|
||||
return self;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue