docs: Add example of setting background color with ClutterEffect
authorElliot Smith <elliot.smith@intel.com>
Tue, 8 Mar 2011 14:54:00 +0000 (14:54 +0000)
committerElliot Smith <elliot.smith@intel.com>
Thu, 17 Mar 2011 15:56:55 +0000 (15:56 +0000)
commit5732b1184f013ce9ca33580e214d60400f00d271
tree2deef9f255c3cc29366dfe59bc6ed095a0b55e53
parenta81dbcf4837a589e63bd026fbc3759b109f96a41
docs: Add example of setting background color with ClutterEffect

Add example of a simple background color effect applied via
pre_paint() implementation in a ClutterEffect subclass.

This is a simple effect with an incomplete GObject
implementation (no properties, setters or getters)
to make it as easy to follow as possible.
doc/cookbook/examples/Makefile.am
doc/cookbook/examples/cb-background-effect.c [new file with mode: 0644]
doc/cookbook/examples/cb-background-effect.h [new file with mode: 0644]
doc/cookbook/examples/effects-basic.c