Lines 1988-1993
Link Here
|
1988 |
break; |
1988 |
break; |
1989 |
} |
1989 |
} |
|
|
1990 |
#if defined(MACOSX) && defined(QUARTZ) |
1991 |
// busy loops currently render nothing on OSX - have to |
1992 |
// go through main loop each time |
1993 |
break; |
1994 |
#else |
1990 |
// if UI input pending: quit busy loop (and setup timer |
1995 |
// if UI input pending: quit busy loop (and setup timer |
1991 |
// below) |
1996 |
// below) |
1992 |
if( Application::AnyInput(INPUT_MOUSE|INPUT_KEYBOARD|INPUT_PAINT) ) |
1997 |
if( Application::AnyInput(INPUT_MOUSE|INPUT_KEYBOARD|INPUT_PAINT) ) |
Lines 1998-2003
Link Here
|
1998 |
// get CPU (e.g. X11). |
2003 |
// get CPU (e.g. X11). |
1999 |
TimeValue aTimeout={0,1000}; |
2004 |
TimeValue aTimeout={0,1000}; |
2000 |
osl_waitThread(&aTimeout); |
2005 |
osl_waitThread(&aTimeout); |
|
|
2006 |
#endif |
2001 |
} |
2007 |
} |
2002 |
if( mxShow.is() && ( fUpdate >= 0.0 ) ) |
2008 |
if( mxShow.is() && ( fUpdate >= 0.0 ) ) |
2003 |
{ |
2009 |
{ |