Logo Search packages:      
Sourcecode: blender version File versions

int GHOST_ProcessEvents ( GHOST_SystemHandle  systemhandle,
int  waitForEvent 

Retrieves events from the system and stores them in the queue.

systemhandle The handle to the system
waitForEvent Boolean to indicate that ProcessEvents should wait (block) until the next event before returning.
Indication of the presence of events.

Definition at line 238 of file GHOST_C-api.cpp.

References GHOST_ProcessEvents(), and GHOST_ISystem::processEvents().

Referenced by GHOST_ProcessEvents().

      GHOST_ISystem* system = (GHOST_ISystem*) systemhandle;
      return (int) system->processEvents(waitForEvent?true:false);

Generated by  Doxygen 1.6.0   Back to index