-
Notifications
You must be signed in to change notification settings - Fork 0
/
mockup.json
102 lines (100 loc) · 2.46 KB
/
mockup.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{
"id" : "root",
"type" : "ClutterGroup",
"width" : 500,
"height" : 200,
"children" :
[
{
"id" : "label0",
"type" : "MxLabel",
"text" : "Button:",
"x" : 50,
"y" : 50
},
{
"id" : "button",
"type" : "MxButton",
"label" : "OK",
"x" : 150,
"y" : 50,
"width" : 200,
"signals" :
[
{
"name": "clicked",
"handler" : "on_button_clicked"
}
]
},
{
"id" : "label1",
"type" : "MxLabel",
"text" : "Combo box:",
"x" : 50,
"y" : 100
},
{
"id" : "combo_box",
"type" : "MxComboBox",
"x" : 150,
"y" : 100,
"width" : 200
},
{
"id" : "label2",
"type" : "MxLabel",
"text" : "Combo box:",
"x" : 50,
"y" : 150
},
{
"id" : "slider",
"type" : "MxSlider",
"x" : 150,
"y" : 150,
"width" : 200
},
{
"id" : "grid",
"type" : "MxGrid",
"x" : 5,
"y" : 200,
"column-spacing" : 5,
"row-spacing" : 5,
"max-stride" : 2,
"homogenous-rows" : true,
"children" :
[
{
"id" : "rect0",
"type" : "ClutterRectangle",
"width" : 200,
"height" : 50,
"color" : "#ffcc33ff"
},
{
"id" : "rect1",
"type" : "ClutterRectangle",
"width" : 200,
"height" : 50,
"color" : "#ff9900ff"
},
{
"id" : "rect2",
"type" : "ClutterRectangle",
"width" : 200,
"height" : 50,
"color" : "#ff6600ff"
},
{
"id" : "rect3",
"type" : "ClutterRectangle",
"width" : 200,
"height" : 50,
"color" : "#ff3300ff"
}
]
}
]
}