mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 01:36:10 -05:00
34 lines
536 B
JSON
34 lines
536 B
JSON
|
[
|
||
|
{
|
||
|
"type" : "ClutterRectangle",
|
||
|
"id" : "rect",
|
||
|
"width" : 100,
|
||
|
"height" : 100
|
||
|
},
|
||
|
{
|
||
|
"type" : "ClutterState",
|
||
|
"id" : "state",
|
||
|
|
||
|
"transitions" : [
|
||
|
{
|
||
|
"source" : "*",
|
||
|
"target" : "clicked",
|
||
|
"duration" : 250,
|
||
|
|
||
|
"keys" : [
|
||
|
[ "rect", "opacity", "linear", 128 ]
|
||
|
]
|
||
|
},
|
||
|
{
|
||
|
"source" : "clicked",
|
||
|
"target" : "*",
|
||
|
"duration" : 150,
|
||
|
|
||
|
"keys" : [
|
||
|
[ "rect", "opacity", "linear", 255 ]
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
]
|