mirror of
https://github.com/brl/mutter.git
synced 2024-11-27 10:30:47 -05:00
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().
222 lines
2.7 KiB
Plaintext
222 lines
2.7 KiB
Plaintext
<!-- ##### SECTION Title ##### -->
|
|
ClutterTexture
|
|
|
|
<!-- ##### SECTION Short_Description ##### -->
|
|
|
|
|
|
<!-- ##### SECTION Long_Description ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### SECTION See_Also ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### SECTION Stability_Level ##### -->
|
|
|
|
|
|
<!-- ##### STRUCT ClutterTexture ##### -->
|
|
<para>
|
|
#ClutterTexture has no publicly available members.
|
|
</para>
|
|
|
|
|
|
<!-- ##### SIGNAL ClutterTexture::pixbuf-change ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@cluttertexture: the object which received the signal.
|
|
|
|
<!-- ##### SIGNAL ClutterTexture::size-change ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@cluttertexture: the object which received the signal.
|
|
@arg1:
|
|
@arg2:
|
|
|
|
<!-- ##### ARG ClutterTexture:filter-quality ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### ARG ClutterTexture:pixbuf ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### ARG ClutterTexture:pixel-format ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### ARG ClutterTexture:pixel-type ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### ARG ClutterTexture:repeat-x ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### ARG ClutterTexture:repeat-y ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### ARG ClutterTexture:sync-size ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### ARG ClutterTexture:tile-waste ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### ARG ClutterTexture:tiled ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
<!-- ##### STRUCT ClutterTextureClass ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@parent_class:
|
|
@size_change:
|
|
@pixbuf_change:
|
|
@_clutter_texture1:
|
|
@_clutter_texture2:
|
|
@_clutter_texture3:
|
|
@_clutter_texture4:
|
|
@_clutter_texture5:
|
|
@_clutter_texture6:
|
|
|
|
<!-- ##### FUNCTION clutter_texture_new_from_pixbuf ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@pixbuf:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION clutter_texture_new ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION clutter_texture_set_from_data ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@texture:
|
|
@data:
|
|
@has_alpha:
|
|
@width:
|
|
@height:
|
|
@rowstride:
|
|
@bpp:
|
|
|
|
|
|
<!-- ##### FUNCTION clutter_texture_set_pixbuf ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@texture:
|
|
@pixbuf:
|
|
|
|
|
|
<!-- ##### FUNCTION clutter_texture_get_pixbuf ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@texture:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION clutter_texture_get_base_size ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@texture:
|
|
@width:
|
|
@height:
|
|
|
|
|
|
<!-- ##### FUNCTION clutter_texture_bind_tile ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@texture:
|
|
@index:
|
|
|
|
|
|
<!-- ##### FUNCTION clutter_texture_get_n_tiles ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@texture:
|
|
@n_x_tiles:
|
|
@n_y_tiles:
|
|
|
|
|
|
<!-- ##### FUNCTION clutter_texture_get_x_tile_detail ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@texture:
|
|
@x_index:
|
|
@pos:
|
|
@size:
|
|
@waste:
|
|
|
|
|
|
<!-- ##### FUNCTION clutter_texture_get_y_tile_detail ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@texture:
|
|
@y_index:
|
|
@pos:
|
|
@size:
|
|
@waste:
|
|
|
|
|
|
<!-- ##### FUNCTION clutter_texture_has_generated_tiles ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@texture:
|
|
@Returns:
|
|
|
|
|
|
<!-- ##### FUNCTION clutter_texture_is_tiled ##### -->
|
|
<para>
|
|
|
|
</para>
|
|
|
|
@texture:
|
|
@Returns:
|
|
|
|
|