[actor] Use flags to control allocations
authorEmmanuele Bassi <ebassi@linux.intel.com>
Wed, 3 Jun 2009 13:02:06 +0000 (14:02 +0100)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Thu, 4 Jun 2009 15:30:31 +0000 (16:30 +0100)
commit0187bb396524435fe32696176bcb234f36be326f
tree81d78849e04c04b73cc39d0267d08d29051f41df
parent0d5e17ecd12c680e52144e9f3493616cf96cbd05
[actor] Use flags to control allocations

Instead of passing a boolean value, the ::allocate virtual function
should use a bitmask and flags. This gives us room for expansion
without breaking API/ABI, and allows to encode more information to
the allocation process instead of just changes of absolute origin.
13 files changed:
clutter/clutter-actor.c
clutter/clutter-actor.h
clutter/clutter-clone.c
clutter/clutter-group.c
clutter/clutter-main.c
clutter/clutter-stage.c
clutter/clutter-text.c
clutter/clutter-texture.c
clutter/osx/clutter-stage-osx.c
clutter/sdl/clutter-stage-sdl.c
clutter/win32/clutter-stage-win32.c
clutter/x11/clutter-stage-x11.c
tests/interactive/test-layout.c