mirror of
https://github.com/brl/mutter.git
synced 2025-02-19 06:34:09 +00:00

This allows the creation of ClutterTransition objects in ClutterScript: { "id" : "scripted-transition", "type" : "ClutterPropertyTransition", "property-name" : "background-color", "interval" : { "type" : "ClutterInterval", "value-type" : "ClutterColor", "initial" : "red", "final" : "blue" } }
17 lines
274 B
JSON
17 lines
274 B
JSON
[
|
|
{
|
|
"id" : "int-1",
|
|
"type" : "ClutterInterval",
|
|
"value-type" : "gfloat",
|
|
"initial" : 23.3,
|
|
"final" : 42.2
|
|
},
|
|
{
|
|
"id" : "int-2",
|
|
"type" : "ClutterInterval",
|
|
"value-type" : "ClutterColor",
|
|
"initial" : "red",
|
|
"final" : "blue"
|
|
}
|
|
]
|