mirror of
https://github.com/brl/mutter.git
synced 2024-12-25 20:32:16 +00:00
53 lines
1.1 KiB
JSON
53 lines
1.1 KiB
JSON
|
{
|
||
|
"My Scene" : {
|
||
|
"id" : "main-stage",
|
||
|
"type" : "ClutterStage",
|
||
|
"color" : "white",
|
||
|
"width" : 500,
|
||
|
"height" : 200,
|
||
|
"children" : [
|
||
|
{
|
||
|
"id" : "red-button",
|
||
|
"type" : "ClutterRectangle",
|
||
|
"color" : "#ff0000ff",
|
||
|
"x" : 50,
|
||
|
"y" : 50,
|
||
|
"width" : 100,
|
||
|
"height" : 100,
|
||
|
"visible" : true,
|
||
|
},
|
||
|
{
|
||
|
"id" : "green-button",
|
||
|
"type" : "ClutterRectangle",
|
||
|
"color" : "#00ff00ff",
|
||
|
"x" : 200,
|
||
|
"y" : 50,
|
||
|
"width" : 100,
|
||
|
"height" : 100,
|
||
|
"visible" : true,
|
||
|
"behaviours" : [ "fade-behaviour" ]
|
||
|
},
|
||
|
{
|
||
|
"id" : "blue-button",
|
||
|
"type" : "ClutterRectangle",
|
||
|
"color" : "#0000ffff",
|
||
|
"x" : 350,
|
||
|
"y" : 50,
|
||
|
"width" : 100,
|
||
|
"height" : 100,
|
||
|
"visible" : true,
|
||
|
},
|
||
|
{
|
||
|
"id" : "red-hand",
|
||
|
"type" : "ClutterTexture",
|
||
|
"pixbuf" : "redhand.png",
|
||
|
"x" : 50,
|
||
|
"y" : 50,
|
||
|
"opacity" : 100,
|
||
|
"visible" : true,
|
||
|
"behaviours" : [ "rotate-behaviour", "fade-behaviour" ]
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
}
|