-
Notifications
You must be signed in to change notification settings - Fork 0
/
lobos_test_backup.kv
141 lines (118 loc) · 3.92 KB
/
lobos_test_backup.kv
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
<CameraWidget>:
orientation: 'vertical'
image: camera
label: label
txt_inpt: txt_inpt
e_txt: e_txt
n_txt: n_txt
Camera:
id: camera
index: 0
resolution: (1920,1080)
BoxLayout:
id: label
orientation: 'horizontal'
size_hint_y: None
height: '32dp'
TextInput:
id: e_txt
text: ''
font_size: app.font_sizezero
width: '1dp'
Button:
text: 'Station +'
on_release: root.station_up()
font_size: app.font_size1
TextInput:
id: txt_inpt
text: '1303'
font_size: app.font_size2
Button:
text: 'Boulder'
on_press: root.TakePicture(app.fig,9)
background_color: (0.4, 0.4, 0.0, 1.0)
font_size: app.font_size1
Button:
text: 'Cobble'
on_press: root.TakePicture(app.fig,8)
background_color: (0.5, 0.5, 0.0, 1.0)
font_size: app.font_size1
Button:
text: 'Gravel'
on_press: root.TakePicture(app.fig,2)
background_color: (0.6, 0.6, 0.0, 1.0)
font_size: app.font_size1
Button:
text: 'Sand'
on_press: root.TakePicture(app.fig,1)
background_color: (1.0, 1.0, 0.0, 1.0)
font_size: app.font_size2
Button:
text: 'CamOnly'
on_press: root.SetMode(app.ser2,1)
background_color: (0.0, 0.5, 0.0, 1.0)
font_size: app.font_size
Button:
text: 'Lasers'
on_press: root.SetMode(app.ser2,3)
background_color: (0.0, 0.9, 0.0, 1.0)
font_size: app.font_size1
Button:
text: 'MACRO'
on_press: root.SetMode(app.ser2,5)
background_color: (1.0, 0.0, 0.0, 1.0)
font_size: app.font_size1
BoxLayout:
id: label
orientation: 'horizontal'
size_hint_y: None
height: '32dp'
TextInput:
id: n_txt
text: ''
font_size: app.font_sizezero
width: '1dp'
Button:
text: 'Station - '
on_release: root.station_down()
font_size: app.font_size1
Button:
text: 'Tranny'
on_press: root.TakePicture(app.fig,7)
background_color: (0.0, 0.0, 0.8, 1.0)
font_size: app.font_size1
Button:
text: 'Sand on'+'\n'+'Rocks'
on_press: root.TakePicture(app.fig,4)
background_color: (0.4, 0.4, 0.0, 1.0)
font_size: app.font_size
Button:
text: 'Cobbles'+'\n'+'w Gravel'
on_press: root.TakePicture(app.fig,3)
background_color: (0.5, 0.5, 0.0, 1.0)
font_size: app.font_size
Button:
text: 'Gravel'+'\n'+'w Sand'
on_press: root.TakePicture(app.fig,6)
background_color: (0.6, 0.6, 0.0, 1.0)
font_size: app.font_size
Button:
text: ' Sand'+'\n'+'w Gravel'
on_press: root.TakePicture(app.fig,5)
background_color: (0.7, 0.7, 0.0, 1.0)
font_size: app.font_size
Button:
text: 'Lights'
on_press: root.SetMode(app.ser2,2)
background_color: (0.0, 0.5, 0.0, 1.0)
font_size: app.font_size1
Button:
text: 'Laser +'+'\n'+'Light'
on_press: root.SetMode(app.ser2,4)
background_color: (0.0, 0.5, 0.0, 1.0)
font_size: app.font_size
Button:
text: 'Re-Cal'+'\n'+'Macro'
on_press: root.SetMode(app.ser2,6)
background_color: (0.0, 0.5, 0.0, 1.0)
font_size: app.font_size