A number of fixes relating to how CPSplitView divides itself by default, as well as adding CPView-viewWillDraw.

Reviewed by Tom.
This commit is contained in:
Francisco Ryan Tolmasky I committed 2008-09-23 00:01:12 -07:00
1 parent 89516d4a38
commit f4cedf5acc
2 files changed
+90 -37

No files matched your search

+6
View File
@@ -1435,6 +1435,8 @@ setBoundsOrigin:
*/
- (void)displayRect:(CPRect)aRect
{
[self viewWillDraw];
[self displayRectIgnoringOpacity:aRect inContext:nil];
_dirtyRect = NULL;
@@ -1450,6 +1452,10 @@ setBoundsOrigin:
[self unlockFocus];
}
- (void)viewWillDraw
{
}
/*
Locks focus on the receiver, so drawing commands apply to it.
*/