mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 08:00:42 -05:00
Read-only mirror of https://gitlab.gnome.org/GNOME/mutter
10fbfb1659
Rework part of the show/hide machinery. Allow groups sub-classes and composite actors to override show_all/hide_all in order to decide which children they wish to show/hide. This means that if an actor overrides the default show/hide virtual methods, it'll have to chain up to the parent class show/hide. While we're at it, provide the fully recursive clutter_actor_show_all() and clutter_actor_hide_all() methods. * clutter/clutter-behaviour-path.c: Add apidoc for the ClutterKnot functions; add pathological equality case for clutter_knot_equal(). * clutter/clutter-event.h: * clutter/clutter-feature.h: * clutter/clutter-behaviour.c: * clutter/clutter-behaviour-scale.c:Fix parameters name so that gtk-doc doesn't complain. * clutter/clutter-actor.c: * clutter/clutter-event.c: Add apidoc * clutter/clutter-actor.h: * clutter/clutter-actor.c: Add a clutter_actor_show_all() and a clutter_actor_hide_all() functions; provide a mechanism for groups and composited actors to programmatically select what to show/hide when clutter_actor_show_all() and clutter_actor_hide_all() are called. If you are overriding the ClutterActor::show or the ClutterActor::hide virtual methods you should chain up with the parent class. * clutter/clutter-group.c: Override show_all and hide_all and recursively show/hide every child inside the group; clutter_group_show_all() and clutter_group_hide_all() remain as non recursive versions of clutter_actor_show_all() and clutter_actor_hide_all() (maybe we should rename them in order to avoid name clashes with the bindings). * clutter/clutter-stage.c: * clutter/clutter-texture.c: Chain up with parent class show and hide vfuncs. * clutter/clutter-clone-texture.h: * clutter/clutter-clone-texture.c: Provide API for changing the parent texture of a clone texture actor. * examples/behave.c: * examples/super-oh.c: * examples/test.c: Use clutter_actor_show_all() instead of clutter_group_show_all(). |
||
---|---|---|
clutter | ||
doc | ||
examples | ||
AUTHORS | ||
autogen.sh | ||
ChangeLog | ||
clutter.doap | ||
clutter.pc.in | ||
configure.ac | ||
COPYING | ||
Makefile.am | ||
NEWS | ||
README | ||
TODO |
Clutter README. =============== Clutter aims to give a nice easy GObject based API for creating fast, mainly 2D single window stylalised applications such as media box UI's, presentaions, kiosk style apps etc. It uses OpenGL for rendering. Its not meant to be a full featured GUI toolkit for regular desktop apps nor provide a general interface to *all* openGL functionality. It currently uses fairly low end GL functionality with an aim to still work well on open source graphics drivers as well as possibly making an eventual GL ES port feasable. Clutter currently requires GLib >= 2.8, GdkPixbuf and OpenGL >= 1.2. Its also recommended you have some kind of working hardware OpenGL on your target system. Clutter is LGPL licensed. If you want to hack on and improve clutter check the TODO file.