-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathreceiver_start.fd
More file actions
250 lines (234 loc) · 4.75 KB
/
receiver_start.fd
File metadata and controls
250 lines (234 loc) · 4.75 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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
Magic: 14000
Internal Form Definition File
(do not change)
Number of forms: 1
Unit of measure: FL_COORD_PIXEL
=============== FORM ===============
Name: receiver_start
Width: 518
Height: 302
Number of Objects: 12
--------------------
class: FL_BOX
type: UP_BOX
box: 0 0 518 302
boxtype: FL_UP_BOX
colors: FL_INDIANRED FL_COL1
alignment: FL_ALIGN_BOTTOM|FL_ALIGN_INSIDE
style: FL_BOLD_STYLE
size: FL_LARGE_SIZE
lcol: FL_YELLOW
label: Integrated RA Receiver Startup
shortcut:
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: receiver_starter
callback:
argument:
--------------------
class: FL_BUTTON
type: NORMAL_BUTTON
box: 380 10 120 40
boxtype: FL_EMBOSSED_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_CENTER
style: FL_BOLD_STYLE
size: FL_NORMAL_SIZE
lcol: FL_BLACK
label: Start RA Receiver
shortcut:
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: start_button
callback: start_receiver
argument: 0
--------------------
class: FL_TEXT
type: NORMAL_TEXT
box: 25 210 450 30
boxtype: FL_ROUNDED_BOX
colors: FL_PALEGREEN FL_MCOL
alignment: FL_ALIGN_LEFT|FL_ALIGN_INSIDE
style: FL_BOLDITALIC_STYLE
size: FL_NORMAL_SIZE
lcol: FL_BLACK
label: Science Radio Laboratories http://www.science-radio-labs.com
shortcut:
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name:
callback:
argument:
--------------------
class: FL_INPUT
type: NORMAL_INPUT
box: 10 140 290 30
boxtype: FL_EMBOSSED_BOX
colors: FL_COL1 FL_MCOL
alignment: FL_ALIGN_BOTTOM
style: FL_BOLD_STYLE
size: FL_NORMAL_SIZE
lcol: FL_BLACK
label: License Key
shortcut:
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: license_input
callback: input_license_key
argument: 0
return: FL_RETURN_END_CHANGED
--------------------
class: FL_INPUT
type: NORMAL_INPUT
box: 240 80 110 30
boxtype: FL_EMBOSSED_BOX
colors: FL_COL1 FL_MCOL
alignment: FL_ALIGN_BOTTOM
style: FL_BOLD_STYLE
size: FL_NORMAL_SIZE
lcol: FL_BLACK
label: Longitude
shortcut:
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: longitude_input
callback: set_longitude
argument: 0
return: FL_RETURN_END_CHANGED
--------------------
class: FL_BUTTON
type: NORMAL_BUTTON
box: 420 255 70 30
boxtype: FL_UP_BOX
colors: FL_SLATEBLUE FL_COL1
alignment: FL_ALIGN_CENTER
style: FL_BOLD_STYLE
size: FL_NORMAL_SIZE
lcol: FL_BLACK
label: HELP
shortcut:
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: help_button
callback: show_help
argument: 0
--------------------
class: FL_CHOICE
type: NORMAL_CHOICE2
box: 160 10 90 30
boxtype: FL_EMBOSSED_BOX
colors: FL_COL1 FL_BLACK
alignment: FL_ALIGN_BOTTOM
style: FL_BOLD_STYLE
size: FL_NORMAL_SIZE
lcol: FL_BLACK
label: RA Mode
shortcut:
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: ra_choice
callback: set_ra_mode
argument: 0
content: manual
mode: FL_PUP_NONE
content: transit
mode: FL_PUP_NONE
content: external
mode: FL_PUP_NONE
value: 1
--------------------
class: FL_CHOICE
type: NORMAL_CHOICE2
box: 260 10 90 30
boxtype: FL_EMBOSSED_BOX
colors: FL_COL1 FL_BLACK
alignment: FL_ALIGN_BOTTOM
style: FL_BOLD_STYLE
size: FL_NORMAL_SIZE
lcol: FL_BLACK
label: DEC Mode
shortcut:
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: dec_choice
callback: set_dec_mode
argument: 0
content: manual
content: external
value: 1
--------------------
class: FL_BUTTON
type: NORMAL_BUTTON
box: 400 120 100 40
boxtype: FL_EMBOSSED_BOX
colors: FL_COL1 FL_COL1
alignment: FL_ALIGN_CENTER
style: FL_BOLD_STYLE
size: FL_MEDIUM_SIZE
lcol: FL_BLACK
label: EXIT
shortcut:
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name:
callback: exit_receiver
argument: 0
--------------------
class: FL_CHOICE
type: NORMAL_CHOICE2
box: 20 10 130 30
boxtype: FL_EMBOSSED_BOX
colors: FL_COL1 FL_BLACK
alignment: FL_ALIGN_BOTTOM
style: FL_BOLD_STYLE
size: FL_MEDIUM_SIZE
lcol: FL_BLACK
label: Bandwidth
shortcut:
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: bw_choice
callback: select_bandwidth
argument: 0
--------------------
class: FL_CHOICE
type: NORMAL_CHOICE2
box: 20 80 80 30
boxtype: FL_UP_BOX
colors: FL_COL1 FL_BLACK
alignment: FL_ALIGN_BOTTOM
style: FL_BOLD_STYLE
size: FL_MEDIUM_SIZE
lcol: FL_BLACK
label: Side
shortcut:
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: side_choice
callback: set_side_choice
argument: 0
content: A
content: B
value: 1
--------------------
class: FL_CHOICE
type: NORMAL_CHOICE2
box: 110 80 120 30
boxtype: FL_UP_BOX
colors: FL_COL1 FL_BLACK
alignment: FL_ALIGN_BOTTOM
style: FL_BOLD_STYLE
size: FL_MEDIUM_SIZE
lcol: FL_BLACK
label: Mode
shortcut:
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity
name: rcvr_mode
callback: select_single
argument: 0
content: single
content: interferometer
value: 1
==============================
create_the_forms