Rev 259 | Rev 288 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 259 | Rev 268 | ||
---|---|---|---|
Line 334... | Line 334... | ||
334 | if(pb->abortProc()) |
334 | if(pb->abortProc()) |
335 | return userCanceledErr; |
335 | return userCanceledErr; |
336 | else |
336 | else |
337 | pb->progressProc((int)y - filterRect.top,filterRect.bottom - filterRect.top); |
337 | pb->progressProc((int)y - filterRect.top,filterRect.bottom - filterRect.top); |
338 | } |
338 | } |
339 | } |
339 | }else{ |
340 | #ifdef MAC_ENV |
340 | #ifdef MAC_ENV |
341 | else{ |
- | |
342 | /* to stop delays during typing of expressions, |
341 | /* to stop delays during typing of expressions, |
343 | immediately abort preview calculation if a key or mouse has been pressed. */ |
342 | immediately abort preview calculation if a key or mouse has been pressed. */ |
344 | EventRecord event; |
343 | EventRecord event; |
345 | if(EventAvail(mDownMask|keyDownMask|autoKeyMask,&event)) |
344 | if(EventAvail(mDownMask|keyDownMask|autoKeyMask,&event)) { |
346 | return userCanceledErr; |
345 | return userCanceledErr; |
347 | } |
346 | } |
348 | #endif |
347 | #endif |
349 | } |
348 | } |
- | 349 | } |
|
350 | 350 | ||
351 | // Note for state_changing_funcs_used: We will not evaluate the gap between bottom border |
351 | // Note for state_changing_funcs_used: We will not evaluate the gap between bottom border |
352 | // of preview area and the bottom border of the selection/filter, because there are no |
352 | // of preview area and the bottom border of the selection/filter, because there are no |
353 | // preview output pixels left that could be affected by these gap evaluations. |
353 | // preview output pixels left that could be affected by these gap evaluations. |
354 | 354 |