| 1 |
/* |
| 2 |
* Clutter. |
| 3 |
* |
| 4 |
* An OpenGL based 'interactive canvas' library. |
| 5 |
* |
| 6 |
* Authored By Matthew Allum <[email protected]> |
| 7 |
* Jorn Baayen <[email protected]> |
| 8 |
* Emmanuele Bassi <[email protected]> |
| 9 |
* |
| 10 |
* Copyright (C) 2006 OpenedHand |
| 11 |
* |
| 12 |
* This library is free software; you can redistribute it and/or |
| 13 |
* modify it under the terms of the GNU Lesser General Public |
| 14 |
* License as published by the Free Software Foundation; either |
| 15 |
* version 2 of the License, or (at your option) any later version. |
| 16 |
* |
| 17 |
* This library is distributed in the hope that it will be useful, |
| 18 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 19 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 20 |
* Lesser General Public License for more details. |
| 21 |
* |
| 22 |
* You should have received a copy of the GNU Lesser General Public |
| 23 |
* License along with this library. If not, see <http://www.gnu.org/licenses/>. |
| 24 |
*/ |
| 25 |
|
| 26 |
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION) |
| 27 |
#error "Only <clutter/clutter.h> can be included directly." |
| 28 |
#endif |
| 29 |
|
| 30 |
#ifndef __CLUTTER_BEHAVIOUR_DEPTH__ |
| 31 |
#define __CLUTTER_BEHAVIOUR_DEPTH__ |
| 32 |
|
| 33 |
#include <clutter/clutter-types.h> |
| 34 |
|
| 35 |
G_BEGIN_DECLS |
| 36 |
|
| 37 |
#define CLUTTER_TYPE_BEHAVIOUR_DEPTH (clutter_behaviour_depth_get_type ()) |
| 38 |
#define CLUTTER_BEHAVIOUR_DEPTH(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CLUTTER_TYPE_BEHAVIOUR_DEPTH, ClutterBehaviourDepth)) |
| 39 |
#define CLUTTER_IS_BEHAVIOUR_DEPTH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CLUTTER_TYPE_BEHAVIOUR_DEPTH)) |
| 40 |
#define CLUTTER_BEHAVIOUR_DEPTH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), CLUTTER_TYPE_BEHAVIOUR_DEPTH, ClutterBehaviourDepthClass)) |
| 41 |
#define CLUTTER_IS_BEHAVIOUR_DEPTH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), CLUTTER_TYPE_BEHAVIOUR_DEPTH)) |
| 42 |
#define CLUTTER_BEHAVIOUR_DEPTH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), CLUTTER_TYPE_BEHAVIOUR_DEPTH, ClutterBehaviourDepthClass)) |
| 43 |
|
| 44 |
typedef struct _ClutterBehaviourDepth ClutterBehaviourDepth; |
| 45 |
typedef struct _ClutterBehaviourDepthPrivate ClutterBehaviourDepthPrivate; |
| 46 |
typedef struct _ClutterBehaviourDepthClass ClutterBehaviourDepthClass; |
| 47 |
|
| 48 |
/** |
| 49 |
* ClutterBehaviourDepth: |
| 50 |
* |
| 51 |
* The #ClutterBehaviourDepth structure contains only private data |
| 52 |
* and should be accessed using the provided API |
| 53 |
* |
| 54 |
* Since: 0.2 |
| 55 |
* |
| 56 |
* Deprecated: 1.6: Use clutter_actor_animate() with #ClutterActor:depth |
| 57 |
* instead. |
| 58 |
*/ |
| 59 |
struct _ClutterBehaviourDepth |
| 60 |
{ |
| 61 |
/*< private >*/ |
| 62 |
ClutterBehaviour parent_instance; |
| 63 |
|
| 64 |
ClutterBehaviourDepthPrivate *priv; |
| 65 |
}; |
| 66 |
|
| 67 |
/** |
| 68 |
* ClutterBehaviourDepthClass: |
| 69 |
* |
| 70 |
* The #ClutterBehaviourDepthClass structure contains only private data |
| 71 |
* |
| 72 |
* Since: 0.2 |
| 73 |
* |
| 74 |
* Deprecated: 1.6 |
| 75 |
*/ |
| 76 |
struct _ClutterBehaviourDepthClass |
| 77 |
{ |
| 78 |
/*< private >*/ |
| 79 |
ClutterBehaviourClass parent_class; |
| 80 |
}; |
| 81 |
|
| 82 |
CLUTTER_DEPRECATED_IN_1_6 |
| 83 |
GType clutter_behaviour_depth_get_type (void) G_GNUC_CONST; |
| 84 |
|
| 85 |
CLUTTER_DEPRECATED_IN_1_6_FOR(clutter_actor_animate and ClutterActor:depth) |
| 86 |
ClutterBehaviour *clutter_behaviour_depth_new (ClutterAlpha *alpha, |
| 87 |
gint depth_start, |
| 88 |
gint depth_end); |
| 89 |
|
| 90 |
CLUTTER_DEPRECATED_IN_1_6 |
| 91 |
void clutter_behaviour_depth_set_bounds (ClutterBehaviourDepth *behaviour, |
| 92 |
gint depth_start, |
| 93 |
gint depth_end); |
| 94 |
CLUTTER_DEPRECATED_IN_1_6 |
| 95 |
void clutter_behaviour_depth_get_bounds (ClutterBehaviourDepth *behaviour, |
| 96 |
gint *depth_start, |
| 97 |
gint *depth_end); |
| 98 |
|
| 99 |
G_END_DECLS |
| 100 |
|
| 101 |
#endif /* __CLUTTER_BEHAVIOUR_DEPTH__ */ |