mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
[script] Parse easing modes by name
The easing modes for a ClutterAlpha can either be parsed by using the enumeration "nickname" (the shorthand form of the enumeration value) or by using the common naming policy used in other animation frameworks, like: easeInCubic easeOutElastic easeInOutBounce
This commit is contained in:
@ -43,7 +43,7 @@ static const gchar *test_behaviour =
|
||||
" \"path\" : \"M 50 50 L 100 100\","
|
||||
" \"alpha\" : {"
|
||||
" \"timeline\" : \"main-timeline\","
|
||||
" \"function\" : \"ramp\""
|
||||
" \"mode\" : \"linear\""
|
||||
" }"
|
||||
" },"
|
||||
" {"
|
||||
@ -54,7 +54,7 @@ static const gchar *test_behaviour =
|
||||
" \"axis\" : \"y-axis\","
|
||||
" \"alpha\" : {"
|
||||
" \"timeline\" : \"main-timeline\","
|
||||
" \"function\" : \"sine\""
|
||||
" \"mode\" : \"ease-in-sine\""
|
||||
" }"
|
||||
" },"
|
||||
" {"
|
||||
@ -64,7 +64,7 @@ static const gchar *test_behaviour =
|
||||
" \"opacity-end\" : 0,"
|
||||
" \"alpha\" : {"
|
||||
" \"timeline\" : \"main-timeline\","
|
||||
" \"function\" : \"ramp-inc\""
|
||||
" \"mode\" : \"easeOutCubic\""
|
||||
" }"
|
||||
" }"
|
||||
"]";
|
||||
|
Reference in New Issue
Block a user