2011-12-28 18:32:00 +00:00
|
|
|
/*
|
|
|
|
* Clutter.
|
|
|
|
*
|
|
|
|
* An OpenGL based 'interactive canvas' library.
|
|
|
|
*
|
|
|
|
* Authored By Matthew Allum <mallum@openedhand.com>
|
|
|
|
*
|
|
|
|
* Copyright (C) 2006, 2007, 2008 OpenedHand Ltd
|
|
|
|
* Copyright (C) 2009, 2010 Intel Corp
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
|
|
|
|
#error "Only <clutter/clutter.h> can be included directly."
|
|
|
|
#endif
|
|
|
|
|
2011-11-02 12:47:46 +00:00
|
|
|
#ifndef __CLUTTER_ACTOR_DEPRECATED_H__
|
|
|
|
#define __CLUTTER_ACTOR_DEPRECATED_H__
|
|
|
|
|
|
|
|
#include <clutter/clutter-types.h>
|
|
|
|
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
2012-02-27 15:10:13 +00:00
|
|
|
CLUTTER_DEPRECATED_IN_1_10
|
2012-07-06 10:58:19 +00:00
|
|
|
void clutter_actor_set_geometry (ClutterActor *self,
|
|
|
|
const ClutterGeometry *geometry);
|
2011-11-02 12:47:46 +00:00
|
|
|
|
2012-02-27 15:10:13 +00:00
|
|
|
CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_actor_get_allocation_geometry)
|
2012-07-06 10:58:19 +00:00
|
|
|
void clutter_actor_get_geometry (ClutterActor *self,
|
|
|
|
ClutterGeometry *geometry);
|
2012-02-27 15:10:13 +00:00
|
|
|
CLUTTER_DEPRECATED_IN_1_8
|
2012-07-06 10:58:19 +00:00
|
|
|
guint32 clutter_actor_get_gid (ClutterActor *self);
|
2011-11-08 14:46:55 +00:00
|
|
|
|
2012-02-27 15:10:13 +00:00
|
|
|
CLUTTER_DEPRECATED_IN_1_8
|
2012-07-06 10:58:19 +00:00
|
|
|
ClutterActor * clutter_get_actor_by_gid (guint32 id_);
|
2011-11-02 12:47:46 +00:00
|
|
|
|
2012-02-27 15:10:13 +00:00
|
|
|
CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_actor_remove_child() and clutter_actor_add_child())
|
2012-07-06 10:58:19 +00:00
|
|
|
void clutter_actor_reparent (ClutterActor *self,
|
|
|
|
ClutterActor *new_parent);
|
2011-12-18 21:18:27 +00:00
|
|
|
|
2012-02-27 15:10:13 +00:00
|
|
|
CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_actor_add_child)
|
2012-07-06 10:58:19 +00:00
|
|
|
void clutter_actor_set_parent (ClutterActor *self,
|
|
|
|
ClutterActor *parent);
|
2011-12-18 21:18:27 +00:00
|
|
|
|
2012-02-27 15:10:13 +00:00
|
|
|
CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_actor_remove_child)
|
2012-07-06 10:58:19 +00:00
|
|
|
void clutter_actor_unparent (ClutterActor *self);
|
2011-12-18 21:18:27 +00:00
|
|
|
|
2012-02-27 15:10:13 +00:00
|
|
|
CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_actor_set_child_above_sibling)
|
2012-07-06 10:58:19 +00:00
|
|
|
void clutter_actor_raise (ClutterActor *self,
|
|
|
|
ClutterActor *below);
|
2011-12-27 18:57:32 +00:00
|
|
|
|
2012-02-27 15:10:13 +00:00
|
|
|
CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_actor_set_child_below_sibling)
|
2012-07-06 10:58:19 +00:00
|
|
|
void clutter_actor_lower (ClutterActor *self,
|
|
|
|
ClutterActor *above);
|
2011-12-27 18:57:32 +00:00
|
|
|
|
2012-02-27 15:10:13 +00:00
|
|
|
CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_actor_set_child_above_sibling() with NULL sibling)
|
2012-07-06 10:58:19 +00:00
|
|
|
void clutter_actor_raise_top (ClutterActor *self);
|
2011-12-27 18:57:32 +00:00
|
|
|
|
2012-02-27 15:10:13 +00:00
|
|
|
CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_actor_set_child_below_sibling() with NULL sibling)
|
2012-07-06 10:58:19 +00:00
|
|
|
void clutter_actor_lower_bottom (ClutterActor *self);
|
2011-12-27 18:57:32 +00:00
|
|
|
|
2012-02-27 15:10:13 +00:00
|
|
|
CLUTTER_DEPRECATED_IN_1_10
|
2012-07-06 10:58:19 +00:00
|
|
|
void clutter_actor_push_internal (ClutterActor *self);
|
2012-01-03 14:36:32 +00:00
|
|
|
|
2012-02-27 15:10:13 +00:00
|
|
|
CLUTTER_DEPRECATED_IN_1_10
|
2012-07-06 10:58:19 +00:00
|
|
|
void clutter_actor_pop_internal (ClutterActor *self);
|
2012-01-03 14:36:32 +00:00
|
|
|
|
2012-02-27 15:10:13 +00:00
|
|
|
CLUTTER_DEPRECATED_IN_1_10
|
2012-07-06 10:58:19 +00:00
|
|
|
void clutter_actor_show_all (ClutterActor *self);
|
2012-01-17 16:11:29 +00:00
|
|
|
|
2012-02-27 15:10:13 +00:00
|
|
|
CLUTTER_DEPRECATED_IN_1_10
|
2012-07-06 10:58:19 +00:00
|
|
|
void clutter_actor_hide_all (ClutterActor *self);
|
2012-01-17 16:11:29 +00:00
|
|
|
|
2012-07-05 17:57:38 +00:00
|
|
|
CLUTTER_DEPRECATED_IN_1_12_FOR(clutter_actor_set_z_position)
|
2012-07-06 10:58:19 +00:00
|
|
|
void clutter_actor_set_depth (ClutterActor *self,
|
|
|
|
gfloat depth);
|
2012-07-05 17:57:38 +00:00
|
|
|
|
|
|
|
CLUTTER_DEPRECATED_IN_1_12_FOR(clutter_actor_get_z_position)
|
2012-07-06 10:58:19 +00:00
|
|
|
gfloat clutter_actor_get_depth (ClutterActor *self);
|
|
|
|
|
|
|
|
CLUTTER_DEPRECATED_IN_1_12_FOR(clutter_actor_set_rotation_angle)
|
|
|
|
void clutter_actor_set_rotation (ClutterActor *self,
|
|
|
|
ClutterRotateAxis axis,
|
|
|
|
gdouble angle,
|
|
|
|
gfloat x,
|
|
|
|
gfloat y,
|
|
|
|
gfloat z);
|
|
|
|
CLUTTER_DEPRECATED_IN_1_12_FOR(clutter_actor_set_rotation_angle and clutter_actor_set_pivot_point)
|
|
|
|
void clutter_actor_set_z_rotation_from_gravity (ClutterActor *self,
|
|
|
|
gdouble angle,
|
|
|
|
ClutterGravity gravity);
|
|
|
|
CLUTTER_DEPRECATED_IN_1_12_FOR(clutter_actor_get_rotation_angle)
|
|
|
|
gdouble clutter_actor_get_rotation (ClutterActor *self,
|
|
|
|
ClutterRotateAxis axis,
|
|
|
|
gfloat *x,
|
|
|
|
gfloat *y,
|
|
|
|
gfloat *z);
|
|
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
|
|
ClutterGravity clutter_actor_get_z_rotation_gravity (ClutterActor *self);
|
2012-07-05 17:57:38 +00:00
|
|
|
|
2012-07-06 11:14:44 +00:00
|
|
|
CLUTTER_DEPRECATED_IN_1_12_FOR(clutter_actor_set_scale and clutter_actor_set_pivot_point)
|
|
|
|
void clutter_actor_set_scale_full (ClutterActor *self,
|
|
|
|
gdouble scale_x,
|
|
|
|
gdouble scale_y,
|
|
|
|
gfloat center_x,
|
|
|
|
gfloat center_y);
|
|
|
|
CLUTTER_DEPRECATED_IN_1_12_FOR(clutter_actor_set_scale and clutter_actor_set_pivot_point)
|
|
|
|
void clutter_actor_set_scale_with_gravity (ClutterActor *self,
|
|
|
|
gdouble scale_x,
|
|
|
|
gdouble scale_y,
|
|
|
|
ClutterGravity gravity);
|
|
|
|
CLUTTER_DEPRECATED_IN_1_12_FOR(clutter_actor_get_pivot_point)
|
|
|
|
void clutter_actor_get_scale_center (ClutterActor *self,
|
|
|
|
gfloat *center_x,
|
|
|
|
gfloat *center_y);
|
|
|
|
CLUTTER_DEPRECATED_IN_1_12_FOR(clutter_actor_get_pivot_point)
|
|
|
|
ClutterGravity clutter_actor_get_scale_gravity (ClutterActor *self);
|
|
|
|
|
2012-07-06 17:06:48 +00:00
|
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
|
|
void clutter_actor_set_anchor_point (ClutterActor *self,
|
|
|
|
gfloat anchor_x,
|
|
|
|
gfloat anchor_y);
|
|
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
|
|
void clutter_actor_move_anchor_point (ClutterActor *self,
|
|
|
|
gfloat anchor_x,
|
|
|
|
gfloat anchor_y);
|
|
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
|
|
void clutter_actor_get_anchor_point (ClutterActor *self,
|
|
|
|
gfloat *anchor_x,
|
|
|
|
gfloat *anchor_y);
|
|
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
|
|
ClutterGravity clutter_actor_get_anchor_point_gravity (ClutterActor *self);
|
|
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
|
|
void clutter_actor_set_anchor_point_from_gravity (ClutterActor *self,
|
|
|
|
ClutterGravity gravity);
|
|
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
|
|
void clutter_actor_move_anchor_point_from_gravity (ClutterActor *self,
|
|
|
|
ClutterGravity gravity);
|
2012-07-20 20:56:43 +00:00
|
|
|
CLUTTER_DEPRECATED_IN_1_12
|
|
|
|
void clutter_actor_get_transformation_matrix (ClutterActor *self,
|
|
|
|
ClutterMatrix *matrix);
|
2012-07-06 17:06:48 +00:00
|
|
|
|
2012-08-10 13:17:56 +00:00
|
|
|
CLUTTER_DEPRECATED_IN_1_12_FOR (clutter_actor_get_allocation_box)
|
|
|
|
void clutter_actor_get_allocation_geometry (ClutterActor *self,
|
|
|
|
ClutterGeometry *geom);
|
|
|
|
|
2011-11-02 12:47:46 +00:00
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif /* __CLUTTER_ACTOR_DEPRECATED_H__ */
|