#define USEREVENT_NONE 0
#define USEREVENT_ANIM_DELAY_ACTION 1
#define USEREVENT_ANIM_EVENT_ACTION 2
+#define USEREVENT_GADGET_PRESSED 3
int FilterMouseMotionEvents(void *, Event *);
boolean NextValidEvent(Event *);
+void StopProcessingEvents(void);
void EventLoop(void);
void HandleOtherEvents(Event *);