|
Packit |
31ecd5 |
/*
|
|
Packit |
31ecd5 |
* Clutter.
|
|
Packit |
31ecd5 |
*
|
|
Packit |
31ecd5 |
* An OpenGL based 'interactive canvas' library.
|
|
Packit |
31ecd5 |
*
|
|
Packit |
31ecd5 |
* Copyright (C) 2010 Intel Corporation.
|
|
Packit |
31ecd5 |
*
|
|
Packit |
31ecd5 |
* This library is free software; you can redistribute it and/or
|
|
Packit |
31ecd5 |
* modify it under the terms of the GNU Lesser General Public
|
|
Packit |
31ecd5 |
* License as published by the Free Software Foundation; either
|
|
Packit |
31ecd5 |
* version 2 of the License, or (at your option) any later version.
|
|
Packit |
31ecd5 |
*
|
|
Packit |
31ecd5 |
* This library is distributed in the hope that it will be useful,
|
|
Packit |
31ecd5 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
31ecd5 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Packit |
31ecd5 |
* Lesser General Public License for more details.
|
|
Packit |
31ecd5 |
*
|
|
Packit |
31ecd5 |
* You should have received a copy of the GNU Lesser General Public
|
|
Packit |
31ecd5 |
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
|
Packit |
31ecd5 |
*
|
|
Packit |
31ecd5 |
* Author:
|
|
Packit |
31ecd5 |
* Emmanuele Bassi <ebassi@linux.intel.com>
|
|
Packit |
31ecd5 |
*/
|
|
Packit |
31ecd5 |
|
|
Packit |
31ecd5 |
#ifndef __CLUTTER_BIND_CONSTRAINT_H__
|
|
Packit |
31ecd5 |
#define __CLUTTER_BIND_CONSTRAINT_H__
|
|
Packit |
31ecd5 |
|
|
Packit |
31ecd5 |
#if !defined(__CLUTTER_H_INSIDE__) && !defined(CLUTTER_COMPILATION)
|
|
Packit |
31ecd5 |
#error "Only <clutter/clutter.h> can be included directly."
|
|
Packit |
31ecd5 |
#endif
|
|
Packit |
31ecd5 |
|
|
Packit |
31ecd5 |
#include <clutter/clutter-constraint.h>
|
|
Packit |
31ecd5 |
|
|
Packit |
31ecd5 |
G_BEGIN_DECLS
|
|
Packit |
31ecd5 |
|
|
Packit |
31ecd5 |
#define CLUTTER_TYPE_BIND_CONSTRAINT (clutter_bind_constraint_get_type ())
|
|
Packit |
31ecd5 |
#define CLUTTER_BIND_CONSTRAINT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CLUTTER_TYPE_BIND_CONSTRAINT, ClutterBindConstraint))
|
|
Packit |
31ecd5 |
#define CLUTTER_IS_BIND_CONSTRAINT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), CLUTTER_TYPE_BIND_CONSTRAINT))
|
|
Packit |
31ecd5 |
|
|
Packit |
31ecd5 |
/**
|
|
Packit |
31ecd5 |
* ClutterBindConstraint:
|
|
Packit |
31ecd5 |
*
|
|
Packit |
31ecd5 |
* #ClutterBindConstraint is an opaque structure
|
|
Packit |
31ecd5 |
* whose members cannot be directly accessed
|
|
Packit |
31ecd5 |
*
|
|
Packit |
31ecd5 |
* Since: 1.4
|
|
Packit |
31ecd5 |
*/
|
|
Packit |
31ecd5 |
typedef struct _ClutterBindConstraint ClutterBindConstraint;
|
|
Packit |
31ecd5 |
typedef struct _ClutterBindConstraintClass ClutterBindConstraintClass;
|
|
Packit |
31ecd5 |
|
|
Packit |
31ecd5 |
CLUTTER_AVAILABLE_IN_1_4
|
|
Packit |
31ecd5 |
GType clutter_bind_constraint_get_type (void) G_GNUC_CONST;
|
|
Packit |
31ecd5 |
|
|
Packit |
31ecd5 |
CLUTTER_AVAILABLE_IN_1_4
|
|
Packit |
31ecd5 |
ClutterConstraint * clutter_bind_constraint_new (ClutterActor *source,
|
|
Packit |
31ecd5 |
ClutterBindCoordinate coordinate,
|
|
Packit |
31ecd5 |
gfloat offset);
|
|
Packit |
31ecd5 |
|
|
Packit |
31ecd5 |
CLUTTER_AVAILABLE_IN_1_4
|
|
Packit |
31ecd5 |
void clutter_bind_constraint_set_source (ClutterBindConstraint *constraint,
|
|
Packit |
31ecd5 |
ClutterActor *source);
|
|
Packit |
31ecd5 |
CLUTTER_AVAILABLE_IN_1_4
|
|
Packit |
31ecd5 |
ClutterActor * clutter_bind_constraint_get_source (ClutterBindConstraint *constraint);
|
|
Packit |
31ecd5 |
CLUTTER_AVAILABLE_IN_1_4
|
|
Packit |
31ecd5 |
void clutter_bind_constraint_set_coordinate (ClutterBindConstraint *constraint,
|
|
Packit |
31ecd5 |
ClutterBindCoordinate coordinate);
|
|
Packit |
31ecd5 |
CLUTTER_AVAILABLE_IN_1_4
|
|
Packit |
31ecd5 |
ClutterBindCoordinate clutter_bind_constraint_get_coordinate (ClutterBindConstraint *constraint);
|
|
Packit |
31ecd5 |
CLUTTER_AVAILABLE_IN_1_4
|
|
Packit |
31ecd5 |
void clutter_bind_constraint_set_offset (ClutterBindConstraint *constraint,
|
|
Packit |
31ecd5 |
gfloat offset);
|
|
Packit |
31ecd5 |
CLUTTER_AVAILABLE_IN_1_4
|
|
Packit |
31ecd5 |
gfloat clutter_bind_constraint_get_offset (ClutterBindConstraint *constraint);
|
|
Packit |
31ecd5 |
|
|
Packit |
31ecd5 |
G_END_DECLS
|
|
Packit |
31ecd5 |
|
|
Packit |
31ecd5 |
#endif /* __CLUTTER_BIND_CONSTRAINT_H__ */
|