2007-10-09 16:44:44 +00:00
|
|
|
{
|
|
|
|
"My Scene" : {
|
|
|
|
"id" : "main-stage",
|
|
|
|
"type" : "ClutterStage",
|
|
|
|
"color" : "white",
|
|
|
|
"width" : 500,
|
2007-10-25 14:46:02 +00:00
|
|
|
"height" : 400,
|
2007-10-09 16:44:44 +00:00
|
|
|
"children" : [
|
|
|
|
{
|
|
|
|
"id" : "red-button",
|
|
|
|
"type" : "ClutterRectangle",
|
|
|
|
"color" : "#ff0000ff",
|
|
|
|
"x" : 50,
|
|
|
|
"y" : 50,
|
|
|
|
"width" : 100,
|
|
|
|
"height" : 100,
|
|
|
|
"visible" : true,
|
2007-10-25 14:46:02 +00:00
|
|
|
"reactive" : true,
|
|
|
|
"behaviours" : [ "fade-behaviour", "path-behaviour" ]
|
2007-10-09 16:44:44 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id" : "green-button",
|
|
|
|
"type" : "ClutterRectangle",
|
|
|
|
"color" : "#00ff00ff",
|
2007-10-27 19:49:39 +00:00
|
|
|
"border-width" : 5,
|
|
|
|
"border-color" : "#00cc00ff",
|
2007-10-09 16:44:44 +00:00
|
|
|
"x" : 200,
|
|
|
|
"y" : 50,
|
|
|
|
"width" : 100,
|
|
|
|
"height" : 100,
|
|
|
|
"visible" : true,
|
2007-10-25 14:46:02 +00:00
|
|
|
"reactive" : true
|
2007-10-18 12:31:07 +00:00
|
|
|
},
|
2007-10-09 16:44:44 +00:00
|
|
|
{
|
|
|
|
"id" : "red-hand",
|
|
|
|
"type" : "ClutterTexture",
|
|
|
|
"pixbuf" : "redhand.png",
|
|
|
|
"x" : 50,
|
|
|
|
"y" : 50,
|
|
|
|
"opacity" : 100,
|
|
|
|
"visible" : true,
|
|
|
|
"behaviours" : [ "rotate-behaviour", "fade-behaviour" ]
|
2007-10-18 12:31:07 +00:00
|
|
|
},
|
2007-10-25 14:46:02 +00:00
|
|
|
{
|
|
|
|
"id" : "label",
|
|
|
|
"type" : "ClutterLabel",
|
|
|
|
"x" : 50,
|
|
|
|
"y" : 200,
|
|
|
|
"width" : 400,
|
|
|
|
"text" : "Clutter\tScript",
|
|
|
|
"font-name" : "Sans 24px",
|
|
|
|
"color" : "black",
|
|
|
|
"alignment" : "center",
|
|
|
|
"wrap" : false,
|
|
|
|
"ellipsize" : "none",
|
|
|
|
"visible" : true
|
|
|
|
}
|
|
|
|
"blue-button",
|
2007-10-09 16:44:44 +00:00
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|