mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 20:32:16 +00:00
e56785501b
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"
|
|
}
|
|
]
|