mirror of
https://github.com/brl/mutter.git
synced 2024-11-27 02:20:43 -05:00
62844d5f04
Bug 1014 - Clutter Animation API Improvements * clutter/Makefile.am: * clutter/clutter.h: Update the build * clutter/clutter-types.h: Add AnimationMode, an enumeration for easing functions. * clutter/clutter-alpha.[ch]: Add the :mode property to control the function bound to an Alpha instance using an enumeration value. Also add six new alpha functions: - ease-in, ease-out, ease-in-out - sine-in, sine-out, sine-in-out * clutter/clutter-deprecated.h: Deprecate the #defines for the alpha functions. They will be replaced by entries in the ClutterAnimationMode. * clutter/clutter-interval.[ch]: Add ClutterInterval, an object for defining, validating and computing an interval between two values. * clutter/clutter-animation.[ch]: Add ClutterAnimation, an object responsible for animation the properties of a single actor along an interval of values. ClutterAnimation memory management is automatic. A simple wrapper method for ClutterActor is provided: clutter_actor_animate() which will create, or update, an animation for the passed actor. * clutter/clutter-debug.h: * clutter/clutter-main.c: Add a new 'animation' debug note. * clutter/clutter-script.c: Clean up the alpha functions whitelist, and add the new functions. * doc/reference/clutter/Makefile.am: * doc/reference/clutter/clutter-sections.txt: Update the API reference. * doc/reference/clutter/clutter-animation.xml: Renamed to doc/reference/clutter/clutter-animation-tutorial.xml to avoid clashes with the ClutterAnimation section. * doc/reference/clutter/clutter-docs.sgml: Renamed to doc/reference/clutter/clutter-docs.xml, as it was an XML file and not a SGML file. * tests/Makefile.am: * tests/interactive/Makefile.am: * tests/interactive/test-animation.c: * tests/interactive/test-easing.c: Add two tests for the new simple animation API and the easing functions. * tests/interactive/test-actors.c: * tests/interactive/test-behave.c: * tests/interactive/test-depth.c: * tests/interactive/test-effects.c: * tests/interactive/test-layout.c: * tests/interactive/test-multistage.c: * tests/interactive/test-paint-wrapper.c: * tests/interactive/test-rotate.c: * tests/interactive/test-scale.c: * tests/interactive/test-texture-quality.c: * tests/interactive/test-threads.c: * tests/interactive/test-viewport.c: Update interactive tests to the deprecations and new alpha API.
80 lines
2.3 KiB
C
80 lines
2.3 KiB
C
/*
|
|
* Clutter.
|
|
*
|
|
* An OpenGL based 'interactive canvas' library.
|
|
*
|
|
* Authored By Matthew Allum <mallum@openedhand.com>
|
|
*
|
|
* Copyright (C) 2006 OpenedHand
|
|
*
|
|
* 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, write to the
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
* Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#ifndef __CLUTTER_H__
|
|
#define __CLUTTER_H__
|
|
|
|
#define __CLUTTER_H_INSIDE__
|
|
|
|
#include "clutter-actor.h"
|
|
#include "clutter-alpha.h"
|
|
#include "clutter-animation.h"
|
|
#include "clutter-backend.h"
|
|
#include "clutter-color.h"
|
|
#include "clutter-container.h"
|
|
#include "clutter-behaviour.h"
|
|
#include "clutter-behaviour-bspline.h"
|
|
#include "clutter-behaviour-depth.h"
|
|
#include "clutter-behaviour-ellipse.h"
|
|
#include "clutter-behaviour-opacity.h"
|
|
#include "clutter-behaviour-path.h"
|
|
#include "clutter-behaviour-rotate.h"
|
|
#include "clutter-behaviour-scale.h"
|
|
#include "clutter-child-meta.h"
|
|
#include "clutter-clone-texture.h"
|
|
#include "clutter-deprecated.h"
|
|
#include "clutter-effect.h"
|
|
#include "clutter-entry.h"
|
|
#include "clutter-event.h"
|
|
#include "clutter-feature.h"
|
|
#include "clutter-rectangle.h"
|
|
#include "clutter-group.h"
|
|
#include "clutter-interval.h"
|
|
#include "clutter-keysyms.h"
|
|
#include "clutter-label.h"
|
|
#include "clutter-list-model.h"
|
|
#include "clutter-main.h"
|
|
#include "clutter-media.h"
|
|
#include "clutter-model.h"
|
|
#include "clutter-stage.h"
|
|
#include "clutter-stage-manager.h"
|
|
#include "clutter-texture.h"
|
|
#include "clutter-frame-source.h"
|
|
#include "clutter-timeout-pool.h"
|
|
#include "clutter-timeline.h"
|
|
#include "clutter-score.h"
|
|
#include "clutter-script.h"
|
|
#include "clutter-scriptable.h"
|
|
#include "clutter-types.h"
|
|
#include "clutter-units.h"
|
|
#include "clutter-util.h"
|
|
#include "clutter-version.h"
|
|
|
|
#include "clutter-enum-types.h"
|
|
|
|
#undef __CLUTTER_H_INSIDE__
|
|
|
|
#endif /* __CLUTTER_H__ */
|