1
0
Fork 0
mutter-performance-source/doc/cookbook/examples
Elliot Smith a0f63a3153 cookbook: Example of using a bind constraint for an overlay
Example code which loads an image into a texture, and resizes
the image in response to +/- key presses. The overlay is
a transparent rectangle which is bound to the height and
width of the texture; on clicking the texture, the overlay
is made visible by increasing its opacity.

This demonstrates how to use constraints to simplify code
for resizing an actor which is "dependent" on another actor.
2010-09-17 15:58:48 +01:00
..
animations-complex-overlapping.json cookbook: Added a second example to show "overlapping" transitions 2010-09-03 14:19:51 +01:00
animations-complex.c cookbook: Added a second example to show "overlapping" transitions 2010-09-03 14:19:51 +01:00
animations-complex.json cookbook: Added complex animations example 2010-09-03 14:19:51 +01:00
animations-reuse-animation.json cookbook: Simplified and clarified example code 2010-09-13 12:25:47 +01:00
animations-reuse-ui.json cookbook: Simplified and clarified example code 2010-09-13 12:25:47 +01:00
animations-reuse.c cookbook: Simplified and clarified example code 2010-09-13 12:25:47 +01:00
animations-rotating.c cookbook: Add example code for animated rotation 2010-07-28 11:39:59 +01:00
events-mouse-scroll.c cookbook: Mentioned the animation in the sample code 2010-08-11 18:16:07 +01:00
events-pointer-motion-crossing.c cookbook: Made callback names more consistent 2010-08-20 12:54:19 +01:00
events-pointer-motion-scribbler.c cookbook: Made callback names more consistent 2010-08-20 12:54:19 +01:00
events-pointer-motion-stacked.c cookbook: Added example to show how stacking affects pointer events 2010-08-20 12:54:19 +01:00
events-pointer-motion.c cookbook: Use get_coords rather than struct members 2010-08-20 12:54:19 +01:00
layouts-bind-constraint-overlay.c cookbook: Example of using a bind constraint for an overlay 2010-09-17 15:58:48 +01:00
layouts-stacking-diff-sized-actors.c cookbook: Added layout introduction and "stacking actors" recipe 2010-08-09 16:25:48 +01:00
layouts-stacking.c cookbook: Added layout introduction and "stacking actors" recipe 2010-08-09 16:25:48 +01:00
Makefile.am cookbook: Example of using a bind constraint for an overlay 2010-09-17 15:58:48 +01:00
script-signals.c cookbook: Added example of connecting signals in ClutterScript 2010-08-31 10:06:08 +01:00
script-signals.json cookbook: Added example of connecting signals in ClutterScript 2010-08-31 10:06:08 +01:00
script-ui.c cookbook: Added comments to script example 2010-08-27 11:21:30 +01:00
script-ui.json cookbook: Use nicknames for enumeration values 2010-08-27 15:29:15 +01:00
smiley.png cookbook: Add a recipe on how to create sub-textures 2010-08-06 15:43:15 +01:00
text-shadow.c Replace cogl_color_set_from_* with cogl_color_init_from_* 2010-09-03 16:58:47 +01:00
textures-crossfade-cogl.c Replace cogl_color_set_from_* with cogl_color_init_from_* 2010-09-03 16:58:47 +01:00
textures-crossfade-slideshow.c cookbook: Renamed front/back to top/bottom in cross-fade example 2010-08-18 11:41:32 +01:00
textures-crossfade.c cookbook: Added video of two texture cross-fade 2010-08-18 11:41:32 +01:00
textures-reflection.c Replace cogl_color_set_from_* with cogl_color_init_from_* 2010-09-03 16:58:47 +01:00
textures-split-go.c cookbook: Add a recipe on how to create sub-textures 2010-08-06 15:43:15 +01:00
textures-sub-texture.c cookbook: Add a recipe on how to create sub-textures 2010-08-06 15:43:15 +01:00