The R Project SVN R-packages

Rev

Rev 1558 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1558 Rev 1620
Line 119... Line 119...
119
	[self lockFocus];
119
	[self lockFocus];
120
 	RQuartz_DiplayGList(self);
120
 	RQuartz_DiplayGList(self);
121
	[deviceWindow flushWindow];
121
	[deviceWindow flushWindow];
122
	[self unlockFocus];
122
	[self unlockFocus];
123
	[[RController sharedController] handleBusy: NO];
123
	[[RController sharedController] handleBusy: NO];
124
 
-
 
125
    // could do something here if needed
-
 
126
	[[RController sharedController] updatePreferences];
-
 
127
}
124
}
128
 
125
 
129
- (void)drawRect:(NSRect)aRect
126
- (void)drawRect:(NSRect)aRect
130
{
127
{
131
    NSRect		frame = [self frame];
128
    NSRect		frame = [self frame];
132
 
129
 
133
    if ([self inLiveResize])
130
    if ([self inLiveResize])
134
    {
131
    {
-
 
132
		[self lockFocus];
135
        NSString *str = [NSString stringWithFormat: NLS(@"Resizing to %g x %g"),
133
        NSString *str = [NSString stringWithFormat: NLS(@"Resizing to %g x %g"),
136
                                                    frame.size.width, frame.size.height];
134
                                                    frame.size.width, frame.size.height];
137
        drawStringInRect(frame, str, 20);
135
        drawStringInRect(frame, str, 20);
-
 
136
		[self unlockFocus];
138
        return;
137
        return;
139
    }
138
    }
140
	
139
	
141
	if (PDFDrawing) {
140
	if (PDFDrawing) {
142
		RQuartz_DiplayGList(self);
141
		RQuartz_DiplayGList(self);