mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 10:00:45 -05:00
[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:
parent
bb17dc1ce5
commit
b766a1cc10
@ -30,6 +30,7 @@
|
|||||||
"y" : 50,
|
"y" : 50,
|
||||||
"width" : 100,
|
"width" : 100,
|
||||||
"height" : 100,
|
"height" : 100,
|
||||||
|
"depth" : -200.0,
|
||||||
"reactive" : true,
|
"reactive" : true,
|
||||||
"signals" : [
|
"signals" : [
|
||||||
{ "name" : "button-press-event", "handler" : "clutter_main_quit" }
|
{ "name" : "button-press-event", "handler" : "clutter_main_quit" }
|
||||||
@ -41,32 +42,31 @@
|
|||||||
"filename" : "redhand.png",
|
"filename" : "redhand.png",
|
||||||
"x" : 100,
|
"x" : 100,
|
||||||
"y" : 100,
|
"y" : 100,
|
||||||
"width" : "20mm",
|
"width" : "20 mm",
|
||||||
"keep-aspect-ratio" : true,
|
"keep-aspect-ratio" : true,
|
||||||
"anchor-x" : "5mm",
|
"anchor-x" : "5 em",
|
||||||
"anchor-y" : "5pt",
|
"anchor-y" : "5 pt",
|
||||||
"opacity" : 100,
|
"opacity" : 100,
|
||||||
"behaviours" : [ "rotate-behaviour", "fade-behaviour" ]
|
"behaviours" : [ "rotate-behaviour", "fade-behaviour" ]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : "red-hand-clone",
|
"id" : "red-hand-clone",
|
||||||
"type" : "ClutterCloneTexture",
|
"type" : "ClutterClone",
|
||||||
"parent-texture" : "red-hand",
|
"source" : "red-hand",
|
||||||
"x" : 250,
|
"x" : 250,
|
||||||
"y" : 150,
|
"y" : 150,
|
||||||
"opacity" : 100,
|
"opacity" : 100,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id" : "label",
|
"id" : "label",
|
||||||
"type" : "ClutterLabel",
|
"type" : "ClutterText",
|
||||||
"x" : 50,
|
"x" : 50,
|
||||||
"y" : 200,
|
"y" : 200,
|
||||||
"width" : 400,
|
|
||||||
"text" : "Clutter\tScript",
|
"text" : "Clutter\tScript",
|
||||||
"font-name" : "Sans 24px",
|
"font-name" : "Sans 24px",
|
||||||
"color" : "black",
|
"color" : "black",
|
||||||
"alignment" : "center",
|
"line-alignment" : "center",
|
||||||
"wrap" : false,
|
"line-wrap" : false,
|
||||||
"ellipsize" : "none",
|
"ellipsize" : "none",
|
||||||
"rotation" : [
|
"rotation" : [
|
||||||
{ "y-axis" : [ 60.0, [ 275, 100 ] ] },
|
{ "y-axis" : [ 60.0, [ 275, 100 ] ] },
|
||||||
|
Loading…
Reference in New Issue
Block a user