mirror of
https://github.com/brl/mutter.git
synced 2025-01-11 04:02:36 +00:00
473d0e9fc3
Bug #815 - Split up request, allocation, and paint box * clutter/clutter-actor.[ch]: Rework the size allocation, request and paint area. Now ::request_coords() is called ::allocate(), and ::query_coords() has been split into ::get_preferred_width() and ::get_preferred_height(). See the documentation and the layout test on how to implement a container and layout manager with the new API. (#915, based on a patch by Havoc Pennington, Lucas Rocha and Johan Bilien) * clutter/clutter-clone-texture.c: Port CloneTexture to the new size negotiation API; it just means forwarding the requests to the parent texture. * clutter/clutter-deprecated.h: Add deprecated and replaced API. * clutter/clutter-entry.c: Port Entry to the new size negotiation API. * clutter/clutter-group.c: Port Group to the new size negotiation API; the semantics of the Group actor do not change. * clutter/clutter-label.c: Port Label to the new size negotiation API, and vastly simplify the code. * clutter/clutter-main.[ch]: Add API for executing a relayout when needed. * clutter/clutter-private.h: Add new Stage private API. * clutter/clutter-rectangle.c: Update the get_abs_opacity() call to get_paint_opacity(). * clutter/clutter-stage.c: (clutter_stage_get_preferred_width), (clutter_stage_get_preferred_height), (clutter_stage_allocate), (clutter_stage_class_init): Port Stage to the new size negotiation API. * clutter/clutter-texture.c: Port Texture to the new size negotiation API. * clutter/clutter-types.h: Add ClutterRequestMode enumeration. * clutter/x11/clutter-stage-x11.c: Port the X11 stage implementation to the new size negotiation API. * tests/Makefile.am: Add the layout manager test case. * tests/test-opacity.c: Update. * tests/test-project.c: Update. * tests/test-layout.c: Test case for a layout manager implemented using the new size negotiation API; the layout manager handles both transformed and untransformed children. |
||
---|---|---|
.. | ||
cogl | ||
eglnative | ||
eglx | ||
fruity | ||
glx | ||
json | ||
osx | ||
pango | ||
sdl | ||
win32 | ||
x11 | ||
clutter-actor.c | ||
clutter-actor.h | ||
clutter-alpha.c | ||
clutter-alpha.h | ||
clutter-backend.c | ||
clutter-backend.h | ||
clutter-behaviour-bspline.c | ||
clutter-behaviour-bspline.h | ||
clutter-behaviour-depth.c | ||
clutter-behaviour-depth.h | ||
clutter-behaviour-ellipse.c | ||
clutter-behaviour-ellipse.h | ||
clutter-behaviour-opacity.c | ||
clutter-behaviour-opacity.h | ||
clutter-behaviour-path.c | ||
clutter-behaviour-path.h | ||
clutter-behaviour-rotate.c | ||
clutter-behaviour-rotate.h | ||
clutter-behaviour-scale.c | ||
clutter-behaviour-scale.h | ||
clutter-behaviour.c | ||
clutter-behaviour.h | ||
clutter-child-meta.c | ||
clutter-child-meta.h | ||
clutter-clone-texture.c | ||
clutter-clone-texture.h | ||
clutter-color.c | ||
clutter-color.h | ||
clutter-container.c | ||
clutter-container.h | ||
clutter-debug.h | ||
clutter-deprecated.h | ||
clutter-effect.c | ||
clutter-effect.h | ||
clutter-entry.c | ||
clutter-entry.h | ||
clutter-enum-types.c.in | ||
clutter-enum-types.h.in | ||
clutter-event.c | ||
clutter-event.h | ||
clutter-feature.c | ||
clutter-feature.h | ||
clutter-fixed.c | ||
clutter-fixed.h | ||
clutter-frame-source.c | ||
clutter-frame-source.h | ||
clutter-group.c | ||
clutter-group.h | ||
clutter-id-pool.c | ||
clutter-id-pool.h | ||
clutter-json.h.in | ||
clutter-keysyms-table.h | ||
clutter-keysyms.h | ||
clutter-label.c | ||
clutter-label.h | ||
clutter-list-model.c | ||
clutter-list-model.h | ||
clutter-main.c | ||
clutter-main.h | ||
clutter-marshal.list | ||
clutter-media.c | ||
clutter-media.h | ||
clutter-model-private.h | ||
clutter-model.c | ||
clutter-model.h | ||
clutter-private.h | ||
clutter-rectangle.c | ||
clutter-rectangle.h | ||
clutter-score.c | ||
clutter-score.h | ||
clutter-script-parser.c | ||
clutter-script-private.h | ||
clutter-script.c | ||
clutter-script.h | ||
clutter-scriptable.c | ||
clutter-scriptable.h | ||
clutter-shader.c | ||
clutter-shader.h | ||
clutter-stage-manager.c | ||
clutter-stage-manager.h | ||
clutter-stage-window.c | ||
clutter-stage-window.h | ||
clutter-stage.c | ||
clutter-stage.h | ||
clutter-texture.c | ||
clutter-texture.h | ||
clutter-timeline.c | ||
clutter-timeline.h | ||
clutter-timeout-pool.c | ||
clutter-timeout-pool.h | ||
clutter-types.h | ||
clutter-units.c | ||
clutter-units.h | ||
clutter-util.c | ||
clutter-util.h | ||
clutter-version.h.in | ||
clutter.h | ||
Makefile.am |