-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlayout.json
57 lines (57 loc) · 1.88 KB
/
layout.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
{
"info": {"version": 1, "license": "GPL-2.1-or-later", "author": "Richard Palethorpe (richiejp.com)"},
"layout": {
"cols": 1, "rows": 3,
"align": "fill",
"rfill": "1, 0, 0",
"widgets": [
{"type": "pixmap", "on_event": "pixmap_on_event", "align": "fill", "w": 64, "h": 64, "uid": "pixmap"},
{"type": "frame", "title": "Settings", "halign": "fill",
"widget": {
"rows": 3,
"halign": "fill",
"widgets": [
{
"halign": "fill",
"cols": 5,
"cfill": "5 * 0",
"cpadf": "0, 0, 1, 1, 0, 0",
"border": "none",
"widgets": [
{"type": "label", "text": "Rules No.", "halign": "left"},
{"type": "tbox", "on_event": "rule_widget_on_event", "len": 10, "text": "110"},
{"type": "checkbox", "label": "Reversible", "on_event": "rule_widget_on_event"},
{"type": "label", "text": "Meta Rule No."},
{"type": "tbox", "on_event": "meta_rule_widget_on_event", "len": 3, "text": "0"}
]
},
{
"halign": "fill",
"cols": 4,
"cpadf": "0, 0, 1, 0, 0",
"cfill": "0, 0, 0, 0",
"border": "none",
"widgets": [
{"type": "label", "text": "Width (x64)", "halign": "left"},
{"type": "tbox", "len": 2, "max_len": 2, "text": "1", "on_event": "width_widget_on_event"},
{"type": "label", "text": "Height", "halign": "left"},
{"type": "tbox", "len": 4, "max_len": 4, "text": "64", "on_event": "height_widget_on_event"}
]
},
{
"halign": "fill",
"cols": 2,
"cfill": "0, 1",
"border": "none",
"widgets": [
{"type": "label", "text": "Initial Conditions:"},
{"type": "tbox", "uid": "init", "halign": "fill", "on_event": "init_widget_on_event", "len": 40}
]
}
]
}
},
{"type": "button", "btype": "save", "label": "Save Image", "on_event": "save_on_event"}
]
}
}