mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05:00
aa623df78f
* clutter/clutter-behaviour.h: Add a function prototype for the foreach function: we need something more specific than GFunc; add clutter_behaviour_get_actors(), used to get a list of the actors. * clutter/clutter-behaviour.c: Add debugging notes; add a warning for behaviour implementations missing the alpha_notify vfunc; add api documentation * clutter/clutter-behaviour-opacity.c: * clutter/clutter-behaviour-path.c: * clutter/clutter-behaviour-scale.c: Reimplement the alpha_notify functions using the new foreach function and, where possible, by directly iterating on the actors: this shaves off the number of recalculations of the property/alpha values, and the number of functions.
20 lines
863 B
C
20 lines
863 B
C
#ifndef __CLUTTER_VERSION_H__
|
|
#define __CLUTTER_VERSION_H__
|
|
|
|
#define CLUTTER_MAJOR_VERSION @CLUTTER_MAJOR_VERSION@
|
|
#define CLUTTER_MINOR_VERSION @CLUTTER_MINOR_VERSION@
|
|
#define CLUTTER_MICRO_VERSION @CLUTTER_MICRO_VERSION@
|
|
|
|
#define CLUTTER_VERSION @CLUTTER_VERSION@
|
|
#define CLUTTER_VERSION_S "@CLUTTER_VERSION@"
|
|
#define CLUTTER_VERSION_HEX ((CLUTTER_MAJOR_VERSION << 24) | \
|
|
(CLUTTER_MINOR_VERSION << 16) | \
|
|
(CLUTTER_MICRO_VERSION << 8))
|
|
|
|
#define CLUTTER_CHECK_VERSION(major,minor,micro) \
|
|
(CLUTTER_MAJOR_VERSION > (major) || \
|
|
(CLUTTER_MAJOR_VERSION == (major) && CLUTTER_MINOR_VERSION > (minor)) || \
|
|
(CLUTTER_MAJOR_VERSION == (major) && CLUTTER_MINOR_VERSION == (minor) && CLUTTER_MICRO_VERSION > (micro)))
|
|
|
|
#endif /* __CLUTTER_VERSION_H__ */
|