examples/canvas: Resize the canvas on allocation changes
authorEmmanuele Bassi <ebassi@linux.intel.com>
Fri, 11 May 2012 16:38:53 +0000 (17:38 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Fri, 11 May 2012 16:38:53 +0000 (17:38 +0100)
commit193bf6123daac301636f1dc52dc1908564c6d1a4
tree1f921c3283afc3326a3552e9fbea78da0c90c97d
parentae32136fccf5774865ff86e33996d91daabe58a8
examples/canvas: Resize the canvas on allocation changes

This should show how to make a Canvas resize whenever the actor that
uses it as content changes size. For good measure, it also shows how to
coalesce multiple allocations into one Canvas resize through a timeout
source.
examples/canvas.c