4bd3fa583e
* clutter/clutter-private.h: Remove inclusion of backend-specific headers; update the main context object; add the declarations for the event queue functions. * clutter/clutter-backend.[ch]: Add the abstract ClutterBackend object, which holds backend-specific settings, the main stage, and the event queue. Every backend must implement a subclass of ClutterBackend and ClutterStage. * clutter/clutter-feature.c: Protect the GLX specific calls behing #ifdef HAVE_CLUTTER_GLX. * clutter/clutter-actor.c: * clutter/clutter-group.c: * clutter/clutter-clone-texture.c: Include GL/gl.h * clutter/clutter-event.[ch]: Update public API and implement the event queue private API; hold a reference on the event objects; move out the keysym-to-unicode table; add the new event types. * clutter/clutter-color.h: Include clutter-fixed.h * clutter/clutter-main.c: Update API; get the main stage from the backend object; process the event received from the queue; lock/unlock the main mutex if we have one; move the initialisation process sooner in the init sequence, in order to have the backend object when we check for options; call the backed vfuncs in the pre/post parse hooks. * clutter/clutter-stage.c: Make ClutterStage and abstract class, implemented by the backends. * clutter/clutter/glx/clutter-glx.h: * clutter/clutter/glx/clutter-backend-glx.[ch]: * clutter/clutter/glx/clutter-event-glx.c: * clutter/clutter/glx/clutter-stage-glx.[ch]: * clutter/clutter/glx/Makefile.am: Add the GLX backend. * clutter/clutter/egl/clutter-backend-egl.[ch]: * clutter/clutter/egl/clutter-event-egl.c: * clutter/clutter/egl/clutter-stage-egl.[ch]: * clutter/clutter/egl/Makefile.am: Add the stub for a EGL backend. * examples/*.c: Update for the new API.
162 lines
1.8 KiB
Plaintext
162 lines
1.8 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
clutter-event
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
User and window system event functionality
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
Windowing events handled by Clutter.
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### SECTION Stability_Level ##### -->
|
|
|
|
|
|
<!-- ##### ENUM ClutterEventType ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@CLUTTER_NOTHING:
|
|
@CLUTTER_KEY_PRESS:
|
|
@CLUTTER_KEY_RELEASE:
|
|
@CLUTTER_MOTION:
|
|
@CLUTTER_BUTTON_PRESS:
|
|
@CLUTTER_2BUTTON_PRESS:
|
|
@CLUTTER_BUTTON_RELEASE:
|
|
@CLUTTER_STAGE_STATE:
|
|
|
|
<!-- ##### STRUCT ClutterAnyEvent ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@type:
|
|
|
|
<!-- ##### STRUCT ClutterKeyEvent ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@type:
|
|
@time:
|
|
@modifier_state:
|
|
@keyval:
|
|
@hardware_keycode:
|
|
|
|
<!-- ##### STRUCT ClutterButtonEvent ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@type:
|
|
@time:
|
|
@x:
|
|
@y:
|
|
@modifier_state:
|
|
@button:
|
|
@axes:
|
|
@device:
|
|
|
|
<!-- ##### STRUCT ClutterMotionEvent ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@type:
|
|
@time:
|
|
@x:
|
|
@y:
|
|
@modifier_state:
|
|
@axes:
|
|
@device:
|
|
|
|
<!-- ##### STRUCT ClutterInputDevice ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
<!-- ##### UNION ClutterEvent ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
|
|
<!-- ##### FUNCTION clutter_event_new ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@type:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION clutter_event_copy ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@event:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION clutter_event_free ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@event:
|
|
|
|
|
|
<!-- ##### FUNCTION clutter_event_type ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@event:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION clutter_key_event_symbol ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@keyev:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION clutter_key_event_code ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@keyev:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION clutter_key_event_unicode ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@keyev:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION clutter_keysym_to_unicode ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@keyval:
|
|
@Returns:
|
|
|
|
|