| 1 |
/* |
| 2 |
* Clutter. |
| 3 |
* |
| 4 |
* An OpenGL based 'interactive canvas' library. |
| 5 |
* |
| 6 |
* Authored By Matthew Allum <[email protected]> |
| 7 |
* |
| 8 |
* Copyright (C) 2006, 2007, 2008 OpenedHand Ltd |
| 9 |
* Copyright (C) 2009, 2010 Intel Corp |
| 10 |
* |
| 11 |
* This library is free software; you can redistribute it and/or |
| 12 |
* modify it under the terms of the GNU Lesser General Public |
| 13 |
* License as published by the Free Software Foundation; either |
| 14 |
* version 2 of the License, or (at your option) any later version. |
| 15 |
* |
| 16 |
* This library is distributed in the hope that it will be useful, |
| 17 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 18 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 19 |
* Lesser General Public License for more details. |
| 20 |
* |
| 21 |
* You should have received a copy of the GNU Lesser General Public |
| 22 |
* License along with this library. If not, see <http://www.gnu.org/licenses/>. |
| 23 |
*/ |
| 24 |
|
| 25 |
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION) |
| 26 |
#error "Only <clutter/clutter.h> can be included directly." |
| 27 |
#endif |
| 28 |
|
| 29 |
#ifndef __CLUTTER_ACTOR_DEPRECATED_H__ |
| 30 |
#define __CLUTTER_ACTOR_DEPRECATED_H__ |
| 31 |
|
| 32 |
#include <clutter/clutter-types.h> |
| 33 |
|
| 34 |
G_BEGIN_DECLS |
| 35 |
|
| 36 |
CLUTTER_DEPRECATED_IN_1_10 |
| 37 |
void clutter_actor_set_geometry (ClutterActor *self, |
| 38 |
const ClutterGeometry *geometry); |
| 39 |
|
| 40 |
CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_actor_get_allocation_geometry) |
| 41 |
void clutter_actor_get_geometry (ClutterActor *self, |
| 42 |
ClutterGeometry *geometry); |
| 43 |
CLUTTER_DEPRECATED_IN_1_8 |
| 44 |
guint32 clutter_actor_get_gid (ClutterActor *self); |
| 45 |
|
| 46 |
CLUTTER_DEPRECATED_IN_1_8 |
| 47 |
ClutterActor * clutter_get_actor_by_gid (guint32 id_); |
| 48 |
|
| 49 |
CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_actor_remove_child() and clutter_actor_add_child()) |
| 50 |
void clutter_actor_reparent (ClutterActor *self, |
| 51 |
ClutterActor *new_parent); |
| 52 |
|
| 53 |
CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_actor_add_child) |
| 54 |
void clutter_actor_set_parent (ClutterActor *self, |
| 55 |
ClutterActor *parent); |
| 56 |
|
| 57 |
CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_actor_remove_child) |
| 58 |
void clutter_actor_unparent (ClutterActor *self); |
| 59 |
|
| 60 |
CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_actor_set_child_above_sibling) |
| 61 |
void clutter_actor_raise (ClutterActor *self, |
| 62 |
ClutterActor *below); |
| 63 |
|
| 64 |
CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_actor_set_child_below_sibling) |
| 65 |
void clutter_actor_lower (ClutterActor *self, |
| 66 |
ClutterActor *above); |
| 67 |
|
| 68 |
CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_actor_set_child_above_sibling() with NULL sibling) |
| 69 |
void clutter_actor_raise_top (ClutterActor *self); |
| 70 |
|
| 71 |
CLUTTER_DEPRECATED_IN_1_10_FOR(clutter_actor_set_child_below_sibling() with NULL sibling) |
| 72 |
void clutter_actor_lower_bottom (ClutterActor *self); |
| 73 |
|
| 74 |
CLUTTER_DEPRECATED_IN_1_10 |
| 75 |
void clutter_actor_push_internal (ClutterActor *self); |
| 76 |
|
| 77 |
CLUTTER_DEPRECATED_IN_1_10 |
| 78 |
void clutter_actor_pop_internal (ClutterActor *self); |
| 79 |
|
| 80 |
CLUTTER_DEPRECATED_IN_1_10 |
| 81 |
void clutter_actor_show_all (ClutterActor *self); |
| 82 |
|
| 83 |
CLUTTER_DEPRECATED_IN_1_10 |
| 84 |
void clutter_actor_hide_all (ClutterActor *self); |
| 85 |
|
| 86 |
CLUTTER_DEPRECATED_IN_1_12_FOR(clutter_actor_set_z_position) |
| 87 |
void clutter_actor_set_depth (ClutterActor *self, |
| 88 |
gfloat depth); |
| 89 |
|
| 90 |
CLUTTER_DEPRECATED_IN_1_12_FOR(clutter_actor_get_z_position) |
| 91 |
gfloat clutter_actor_get_depth (ClutterActor *self); |
| 92 |
|
| 93 |
CLUTTER_DEPRECATED_IN_1_12_FOR(clutter_actor_set_rotation_angle) |
| 94 |
void clutter_actor_set_rotation (ClutterActor *self, |
| 95 |
ClutterRotateAxis axis, |
| 96 |
gdouble angle, |
| 97 |
gfloat x, |
| 98 |
gfloat y, |
| 99 |
gfloat z); |
| 100 |
CLUTTER_DEPRECATED_IN_1_12_FOR(clutter_actor_set_rotation_angle and clutter_actor_set_pivot_point) |
| 101 |
void clutter_actor_set_z_rotation_from_gravity (ClutterActor *self, |
| 102 |
gdouble angle, |
| 103 |
ClutterGravity gravity); |
| 104 |
CLUTTER_DEPRECATED_IN_1_12_FOR(clutter_actor_get_rotation_angle) |
| 105 |
gdouble clutter_actor_get_rotation (ClutterActor *self, |
| 106 |
ClutterRotateAxis axis, |
| 107 |
gfloat *x, |
| 108 |
gfloat *y, |
| 109 |
gfloat *z); |
| 110 |
CLUTTER_DEPRECATED_IN_1_12 |
| 111 |
ClutterGravity clutter_actor_get_z_rotation_gravity (ClutterActor *self); |
| 112 |
|
| 113 |
CLUTTER_DEPRECATED_IN_1_12_FOR(clutter_actor_set_scale and clutter_actor_set_pivot_point) |
| 114 |
void clutter_actor_set_scale_full (ClutterActor *self, |
| 115 |
gdouble scale_x, |
| 116 |
gdouble scale_y, |
| 117 |
gfloat center_x, |
| 118 |
gfloat center_y); |
| 119 |
CLUTTER_DEPRECATED_IN_1_12_FOR(clutter_actor_set_scale and clutter_actor_set_pivot_point) |
| 120 |
void clutter_actor_set_scale_with_gravity (ClutterActor *self, |
| 121 |
gdouble scale_x, |
| 122 |
gdouble scale_y, |
| 123 |
ClutterGravity gravity); |
| 124 |
CLUTTER_DEPRECATED_IN_1_12_FOR(clutter_actor_get_pivot_point) |
| 125 |
void clutter_actor_get_scale_center (ClutterActor *self, |
| 126 |
gfloat *center_x, |
| 127 |
gfloat *center_y); |
| 128 |
CLUTTER_DEPRECATED_IN_1_12_FOR(clutter_actor_get_pivot_point) |
| 129 |
ClutterGravity clutter_actor_get_scale_gravity (ClutterActor *self); |
| 130 |
|
| 131 |
CLUTTER_DEPRECATED_IN_1_12 |
| 132 |
void clutter_actor_set_anchor_point (ClutterActor *self, |
| 133 |
gfloat anchor_x, |
| 134 |
gfloat anchor_y); |
| 135 |
CLUTTER_DEPRECATED_IN_1_12 |
| 136 |
void clutter_actor_move_anchor_point (ClutterActor *self, |
| 137 |
gfloat anchor_x, |
| 138 |
gfloat anchor_y); |
| 139 |
CLUTTER_DEPRECATED_IN_1_12 |
| 140 |
void clutter_actor_get_anchor_point (ClutterActor *self, |
| 141 |
gfloat *anchor_x, |
| 142 |
gfloat *anchor_y); |
| 143 |
CLUTTER_DEPRECATED_IN_1_12 |
| 144 |
ClutterGravity clutter_actor_get_anchor_point_gravity (ClutterActor *self); |
| 145 |
CLUTTER_DEPRECATED_IN_1_12 |
| 146 |
void clutter_actor_set_anchor_point_from_gravity (ClutterActor *self, |
| 147 |
ClutterGravity gravity); |
| 148 |
CLUTTER_DEPRECATED_IN_1_12 |
| 149 |
void clutter_actor_move_anchor_point_from_gravity (ClutterActor *self, |
| 150 |
ClutterGravity gravity); |
| 151 |
CLUTTER_DEPRECATED_IN_1_12 |
| 152 |
void clutter_actor_get_transformation_matrix (ClutterActor *self, |
| 153 |
ClutterMatrix *matrix); |
| 154 |
|
| 155 |
CLUTTER_DEPRECATED_IN_1_12_FOR (clutter_actor_get_allocation_box) |
| 156 |
void clutter_actor_get_allocation_geometry (ClutterActor *self, |
| 157 |
ClutterGeometry *geom); |
| 158 |
|
| 159 |
G_END_DECLS |
| 160 |
|
| 161 |
#endif /* __CLUTTER_ACTOR_DEPRECATED_H__ */ |