-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout.json
More file actions
158 lines (158 loc) · 8.05 KB
/
layout.json
File metadata and controls
158 lines (158 loc) · 8.05 KB
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
{
"info": {"version": 1, "license": "GPL-2.1-or-later", "author": "Cyril Hrubis <metan@ucw.cz>"},
"layout": {
"rows": 2,
"widgets": [
{
"type": "tbox",
"halign": "fill",
"text": "",
"uid": "edit",
"on_event": "edit_event",
"focused": true
},
{
"type": "layout_switch",
"uid": "layout_switch",
"align": "fill",
"widgets": [
{
"rows": 5,
"cols": 6,
"uniform": true,
"border": "none",
"align": "fill",
"widgets": [
{"type": "button", "btype": "left", "align": "fill", "on_event": "prev_layout"},
{"type": "button", "label": "sqrt(", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "cbrt(", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "^", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "(", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "7", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "4", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "1", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "0", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": ")", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "8", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "5", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "2", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": ".", "align": "fill", "on_event": "do_append"},
{"type": "button", "btype": "first", "align": "fill", "on_event": "cursor_home"},
{"type": "button", "label": "9", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "6", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "3", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "E", "align": "fill", "on_event": "do_append"},
{"type": "button", "btype": "last", "align": "fill", "on_event": "cursor_end"},
{"type": "button", "label": "+", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "-", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "\u00d7", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "\u00f7", "align": "fill", "on_event": "do_append"},
{"type": "button", "btype": "up", "align": "fill", "on_event": "prev_input"},
{"type": "button", "btype": "right", "align": "fill", "on_event": "next_layout"},
{"type": "button", "btype": "clear", "align": "fill", "on_event": "clear"},
{"type": "button", "btype": "backspace", "align": "fill", "on_event": "do_backspace"},
{"type": "button", "label": "=", "align": "fill", "on_event": "do_eq"},
{"type": "button", "btype": "down", "align": "fill", "on_event": "next_input"}
]
},
{
"rows": 4,
"cols": 6,
"uniform": true,
"border": "none",
"align": "fill",
"widgets": [
{"type": "button", "btype": "left", "align": "fill", "on_event": "prev_layout"},
{"type": "button", "label": "pow(", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "cbrt(", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": ",", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "A", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "B", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "C", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "D", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "A<-", "align": "fill", "on_event": "var_store"},
{"type": "button", "label": "B<-", "align": "fill", "on_event": "var_store"},
{"type": "button", "label": "C<-", "align": "fill", "on_event": "var_store"},
{"type": "button", "label": "D<-", "align": "fill", "on_event": "var_store"},
{"type": "button", "label": "E", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "F", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "G", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "H", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "E<-", "align": "fill", "on_event": "var_store"},
{"type": "button", "label": "F<-", "align": "fill", "on_event": "var_store"},
{"type": "button", "label": "G<-", "align": "fill", "on_event": "var_store"},
{"type": "button", "label": "H<-", "align": "fill", "on_event": "var_store"},
{"type": "button", "btype": "right", "align": "fill", "on_event": "next_layout"},
{"type": "button", "label": "mod(", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "rem(", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "atan2(", "align": "fill", "on_event": "do_append"}
]
},
{
"rows": 4,
"cols": 6,
"uniform": true,
"border": "none",
"align": "fill",
"widgets": [
{"type": "button", "btype": "left", "align": "fill", "on_event": "prev_layout"},
{"type": "button", "label": "sin(", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "cos(", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "tan(", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "exp(", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "asin(", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "acos(", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "atan(", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "exp2(", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "sinh(", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "cosh(", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "tanh(", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "ln(", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "asinh(", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "acosh(", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "atanh(", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "log(", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "pi", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "ceil(", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "floor(", "align": "fill", "on_event": "do_append"},
{"type": "button", "btype": "right", "align": "fill", "on_event": "next_layout"},
{"type": "button", "label": "e", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "trunc(", "align": "fill", "on_event": "do_append"},
{"type": "button", "label": "round(", "align": "fill", "on_event": "do_append"}
]
},
{
"rows": 2,
"border": "none",
"rfill": "0, 1",
"align": "fill",
"widgets": [
{
"cols": 6,
"uniform": true,
"border": "none",
"halign": "fill",
"valign": "top",
"widgets": [
{"type": "button", "btype": "left", "align": "hfill", "on_event": "prev_layout"},
null,
null,
null,
null,
{"type": "button", "btype": "right", "align": "hfill", "on_event": "next_layout"}
]
},
{
"type": "radiobutton",
"align": "center",
"choices": ["degrees", "radians", "gradians"],
"selected": 0,
"on_event": "set_angle_unit"
}
]
}
]
}
]
}
}