Logo Search packages:      
Sourcecode: blender version File versions

GHOST_EventConsumerHandle GHOST_CreateEventConsumer ( GHOST_EventCallbackProcPtr  eventCallback,
GHOST_TUserDataPtr  userdata 
)

Creates an event consumer object

Parameters:
eventCallback The event callback routine.
userdata Pointer to user data returned to the callback routine.

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

References GHOST_CreateEventConsumer().

Referenced by GHOST_CreateEventConsumer().

{
      return (GHOST_EventConsumerHandle) new GHOST_CallbackEventConsumer (eventCallback, userdata);
}


Generated by  Doxygen 1.6.0   Back to index