mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 21:02:14 +00:00
b5af8fbfac
Add a recipe showing how to implement two simple effects, based on ClutterEffect: an always gray background, and a border with configurable width and color. Also explains the necessity to queue a redraw on the associated actor if the effect's properties change, and shows how to implement that. The example gives the GObject code for both effects, as well as an example application showing how to use them. The example also demonstrates how to disable/enable an effect, making the border round an actor togglable. |
||
---|---|---|
.. | ||
actors-opacity-container-affects-opacity.png | ||
actors-opacity.png | ||
clutter-logo.png | ||
effects-basic-background.png | ||
effects-basic.png | ||
effects-built-in.png | ||
effects-custom-deform-back-material.png | ||
effects-custom-deform.png | ||
events-pointer-motion-stacking.png | ||
layouts-bind-constraint-stage.png | ||
layouts-box.png | ||
layouts-stacking-diff-actor-sizes.png | ||
text-shadow.png | ||
textures-reflection.png | ||
textures-sub-texture.png |