2009/4/21 Ochoa, Claudio J <[email protected]>

> Hi, in clutter 0.9 I can see that clutter_ramp_inc_func has been deprecated
> by CLUTTER_LINEAR, but the latter  one is just a enum value in
> ClutterAnimationMode, while clutter_ramp_inc_func  was  previously defined
> as
>
>
> clutter_ramp_inc_func ()
> guint32<
> http://www.clutter-project.org/usr/share/gtk-doc/html/glib/glib-Basic-Types.html>
>             clutter_ramp_inc_func               (ClutterAlpha<
> http://www.clutter-project.org/docs/clutter/0.8/ClutterAlpha.html> *alpha,
>                                                         gpointer<
> http://www.clutter-project.org/usr/share/gtk-doc/html/glib/glib-Basic-Types.html>
> dummy);
>
> Convenience alpha function for a monotonic increasing ramp. You can use
> this function as the alpha function for clutter_alpha_set_func()<
> http://www.clutter-project.org/docs/clutter/0.8/ClutterAlpha.html>.
>
> alpha : a ClutterAlpha<
> http://www.clutter-project.org/docs/clutter/0.8/ClutterAlpha.html>
>
> dummy : unused argument
>
> Returns :       an alpha value.
>
> Am I missing something here? How should I replace a call to
> clutter_ramp_inc_func() in a 0.9 clutter app?


Hi, Claudio, I think you can replace clutter_ramp_inc_func safely by call
clutter_alpha_set_mode with mode CLUTTER_LINEAR.
Thanks,
Jintao
_______________________________________________
Moblin dev Mailing List
[email protected]

To manage or unsubscribe from this mailing list visit:
https://lists.moblin.org/mailman/listinfo/dev or your user account on 
http://moblin.org once logged in.

For more information on the Moblin Developer Mailing lists visit:
http://moblin.org/community/mailing-lists

Reply via email to