forked from TwentyTwoHW/portal-software
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gui.fl
169 lines (169 loc) · 5.35 KB
/
gui.fl
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
159
160
161
162
163
164
165
166
167
168
169
# data file for the Fltk User Interface Designer (fluid)
version 1.0308
header_name {.h}
code_name {.cxx}
class Emulator {open
} {
Function {make_window()} {open
} {
Fl_Window window {
label Emulator open
xywh {1162 204 565 1085} type Double size_range {561 980 561 0} visible
} {
Fl_Box display {
xywh {25 25 511 255} labeltype NO_LABEL
}
Fl_Pack main_pack {open
xywh {25 305 511 365}
code0 {main_pack.set_spacing(5);}
} {
Fl_Pack inner_pack_1 {open
xywh {30 300 511 35} type HORIZONTAL labeltype NO_LABEL
code0 {inner_pack_1.set_spacing(5);}
} {
Fl_Choice num_words {open
xywh {35 305 150 35} down_box BORDER_BOX textfont 4
code0 {let num_words = num_words.with_id("num_words");}
} {}
Fl_Input generate_mnemonic_password {
xywh {35 430 180 35} textfont 4
code0 { let generate_mnemonic_password = generate_mnemonic_password.with_id("generate_mnemonic_password"); }
}
Fl_Button generate_mnemonic_btn {
label GenerateMnemonic
xywh {285 305 176 35}
}
}
Fl_Pack inner_pack_4 {open
xywh {35 405 525 35} type HORIZONTAL
code0 {inner_pack_4.set_spacing(5);}
} {
Fl_Input restore_mnemonic {
xywh {35 430 256 35} textfont 4
code0 {let restore_mnemonic = restore_mnemonic.with_id("restore_mnemonic");}
}
Fl_Input restore_mnemonic_password {
xywh {35 430 150 35} textfont 4
code0 { let restore_mnemonic_password = restore_mnemonic_password.with_id("restore_mnemonic_password"); }
}
Fl_Button restore_mnemonic_btn {
label Restore
xywh {300 430 100 35}
}
}
Fl_Pack inner_pack_7 {open
xywh {35 405 525 35} type HORIZONTAL
code0 {inner_pack_7.set_spacing(5);}
} {
Fl_Input unlock_pwd {
xywh {35 430 357 35} textfont 4
code0 {let unlock_pwd = unlock_pwd.with_id("unlock_pwd");}
}
Fl_Button unlock_pwd_btn {
label Unlock
xywh {300 430 150 35}
}
}
Fl_Pack inner_pack_10 {open
xywh {35 405 525 35} type HORIZONTAL
code0 {inner_pack_10.set_spacing(5);}
} {
Fl_Button get_info_btn {
label GetInfo
xywh {305 365 167 35}
}
Fl_Button public_descriptor_btn {
label PublicDescriptor
xywh {305 365 167 35}
}
Fl_Button show_mnemonic_btn {
label ShowMnemonic
xywh {305 365 167 35}
}
}
Fl_Pack inner_pack_3 {open
xywh {35 405 525 35} type HORIZONTAL
code0 {inner_pack_3.set_spacing(5);}
} {
Fl_Input display_address_num {
xywh {35 430 356 35} textfont 4
code0 {let display_address_num = display_address_num.with_id("display_address_num");}
}
Fl_Button display_address_btn {
label DisplayAddress
xywh {300 430 150 35}
}
}
Fl_Pack inner_pack_5 {open
xywh {35 405 525 35} type HORIZONTAL
code0 {inner_pack_5.set_spacing(5);}
} {
Fl_Input sign_psbt {
xywh {35 430 356 35} textfont 4
code0 {let sign_psbt = sign_psbt.with_id("sign_psbt");}
}
Fl_Button sign_psbt_btn {
label SignPsbt
xywh {300 430 150 35}
}
}
Fl_Pack inner_pack_8 {open
xywh {35 405 525 35} type HORIZONTAL
code0 {inner_pack_8.set_spacing(5);}
} {
Fl_Input get_xpub {
xywh {35 430 356 35} textfont 4
code0 {let get_xpub = get_xpub.with_id("get_xpub");}
}
Fl_Button get_xpub_btn {
label GetXpub
xywh {300 430 150 35}
}
}
Fl_Pack inner_pack_9 {open
xywh {35 405 525 35} type HORIZONTAL
code0 {inner_pack_9.set_spacing(5);}
} {
Fl_Input set_descriptor {
xywh {35 430 356 35} textfont 4
code0 {let set_descriptor = set_descriptor.with_id("set_descriptor");}
}
Fl_Button set_descriptor_btn {
label SetDescriptor
xywh {300 430 150 35}
}
}
Fl_Pack inner_pack_6 {open
xywh {35 405 525 35} type HORIZONTAL
code0 {inner_pack_6.set_spacing(5);}
} {
Fl_Input fw_path {
xywh {35 430 356 35} textfont 4
code0 {let fw_path = fw_path.with_id("fw_path");}
}
Fl_Button fw_path_btn {
label FwUpdate
xywh {300 430 150 35}
}
}
Fl_Pack inner_pack_11 {open
xywh {35 405 525 35} type HORIZONTAL
code0 {inner_pack_11.set_spacing(5);}
} {
Fl_Button resume_btn {
label Resume
xywh {315 375 253 35}
}
Fl_Button reset_btn {
label Reset
xywh {315 375 253 35}
}
}
}
Fl_Text_Display console {selected
xywh {25 710 511 250} labeltype NO_LABEL textfont 4
code0 {console.set_buffer(text::TextBuffer::default());}
}
}
}
}