mirror of
https://github.com/brl/mutter.git
synced 2024-11-23 08:30:42 -05:00
8a537b6299
* clutter/Makefile.am: * clutter/clutter.h: Add ClutterBindingPool to the build. * clutter/clutter-binding-pool.c: * clutter/clutter-binding-pool.h: Add ClutterBindingPool, a data structure meant to hold (key symbol, modifiers) pairs and associate them to a closure. The ClutterBindingPool can be used to install key bindings for actors and then execute closures inside the key-press-event signal handlers, removing the need for big switch() or if() blocks for each key. * clutter/clutter-event.c: Consistently use "key symbol" instead of "key value". * clutter/clutter-event.h: Add more modifier masks. * clutter/clutter-marshal.list: * tests/conform/Makefile.am: * tests/conform/test-binding-pool.c: * tests/conform/test-conform-main.c: Add ClutterBindingPool conformance test. * tests/interactive/Makefile.am: * tests/interactive/test-binding-pool.c: Add interactive test (and example code) for the ClutterBindingPool usage. |
||
---|---|---|
.. | ||
ADDING_NEW_TESTS | ||
Makefile.am | ||
test-actor-invariants.c | ||
test-backface-culling.c | ||
test-binding-pool.c | ||
test-clutter-entry.c | ||
test-clutter-fixed.c | ||
test-clutter-rectangle.c | ||
test-conform-common.c | ||
test-conform-common.h | ||
test-conform-main.c | ||
test-label-cache.c | ||
test-mesh-contiguous.c | ||
test-mesh-interleved.c | ||
test-mesh-mutability.c | ||
test-paint-opacity.c | ||
test-path.c | ||
test-pick.c | ||
test-timeline-dup-frames.c | ||
test-timeline-interpolate.c | ||
test-timeline-rewind.c | ||
test-timeline-smoothness.c | ||
test-timeline.c | ||
wrapper.sh |