[tests] Update the script test JSON

The test-script.json UI definition still used old types, like
ClutterLabel and ClutterCloneTexture. It should move to the classes
that have replaced them.
This commit is contained in:
Emmanuele Bassi 2009-08-26 16:50:37 +01:00
parent bb17dc1ce5
commit b766a1cc10

View File

@ -30,6 +30,7 @@
"y" : 50,
"width" : 100,
"height" : 100,
"depth" : -200.0,
"reactive" : true,
"signals" : [
{ "name" : "button-press-event", "handler" : "clutter_main_quit" }
@ -41,32 +42,31 @@
"filename" : "redhand.png",
"x" : 100,
"y" : 100,
"width" : "20mm",
"width" : "20 mm",
"keep-aspect-ratio" : true,
"anchor-x" : "5mm",
"anchor-y" : "5pt",
"anchor-x" : "5 em",
"anchor-y" : "5 pt",
"opacity" : 100,
"behaviours" : [ "rotate-behaviour", "fade-behaviour" ]
},
{
"id" : "red-hand-clone",
"type" : "ClutterCloneTexture",
"parent-texture" : "red-hand",
"type" : "ClutterClone",
"source" : "red-hand",
"x" : 250,
"y" : 150,
"opacity" : 100,
},
{
"id" : "label",
"type" : "ClutterLabel",
"type" : "ClutterText",
"x" : 50,
"y" : 200,
"width" : 400,
"text" : "Clutter\tScript",
"font-name" : "Sans 24px",
"color" : "black",
"alignment" : "center",
"wrap" : false,
"line-alignment" : "center",
"line-wrap" : false,
"ellipsize" : "none",
"rotation" : [
{ "y-axis" : [ 60.0, [ 275, 100 ] ] },