2011-02-18 11:27:49 -05:00
|
|
|
#ifndef __CLUTTER_EVENT_PRIVATE_H__
|
|
|
|
#define __CLUTTER_EVENT_PRIVATE_H__
|
|
|
|
|
|
|
|
#include <clutter/clutter-event.h>
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
2019-03-22 08:53:00 -04:00
|
|
|
CLUTTER_EXPORT
|
2012-03-19 10:28:34 -04:00
|
|
|
void _clutter_event_set_pointer_emulated (ClutterEvent *event,
|
|
|
|
gboolean is_emulated);
|
|
|
|
|
2011-02-18 11:27:49 -05:00
|
|
|
/* Reinjecting queued events for processing */
|
|
|
|
void _clutter_process_event (ClutterEvent *event);
|
2013-08-29 12:10:56 -04:00
|
|
|
|
|
|
|
gboolean _clutter_event_process_filters (ClutterEvent *event);
|
2011-02-18 11:27:49 -05:00
|
|
|
|
|
|
|
/* clears the event queue inside the main context */
|
|
|
|
void _clutter_clear_events_queue (void);
|
|
|
|
void _clutter_clear_events_queue_for_stage (ClutterStage *stage);
|
|
|
|
|
2019-03-22 08:53:00 -04:00
|
|
|
CLUTTER_EXPORT
|
2011-02-18 11:27:49 -05:00
|
|
|
void _clutter_event_set_platform_data (ClutterEvent *event,
|
|
|
|
gpointer data);
|
2019-03-22 08:53:00 -04:00
|
|
|
CLUTTER_EXPORT
|
2011-02-18 11:27:49 -05:00
|
|
|
gpointer _clutter_event_get_platform_data (const ClutterEvent *event);
|
|
|
|
|
2019-03-22 08:53:00 -04:00
|
|
|
CLUTTER_EXPORT
|
2013-09-04 08:42:56 -04:00
|
|
|
void _clutter_event_set_state_full (ClutterEvent *event,
|
|
|
|
ClutterModifierType button_state,
|
|
|
|
ClutterModifierType base_state,
|
|
|
|
ClutterModifierType latched_state,
|
|
|
|
ClutterModifierType locked_state,
|
|
|
|
ClutterModifierType effective_state);
|
|
|
|
|
2019-03-22 08:53:00 -04:00
|
|
|
CLUTTER_EXPORT
|
2011-02-18 11:27:49 -05:00
|
|
|
void _clutter_event_push (const ClutterEvent *event,
|
|
|
|
gboolean do_copy);
|
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __CLUTTER_EVENT_PRIVATE_H__ */
|