-
Notifications
You must be signed in to change notification settings - Fork 0
/
lobos_video.kv
69 lines (58 loc) · 1.82 KB
/
lobos_video.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
<CameraWidget>:
orientation: 'vertical'
image: camera
label: label
Camera:
id: camera
index: 0
resolution: (1920,1080)
BoxLayout:
id: label
orientation: 'horizontal'
size_hint_y: None
height: '32dp'
Button:
id: start
text: 'Start Record'
on_press: root.start()
font_size: app.font_size
Button:
text: 'All off /MWF'
on_press: root.SetMode(app.ser2,1)
background_color: (0.3, 0.5, 0.7, 1.0)
font_size: app.font_size
Button:
text: 'Lights/Lasers /MWF'
on_press: root.SetMode(app.ser2,4)
background_color: (0.3, 0.5, 0.7, 1.0)
font_size: app.font_size0
Button:
text: 'LED /MACRO'
on_press: root.SetMode(app.ser2,5)
background_color: (0.7, 0.5, 0.3, 1.0)
font_size: app.font_size
BoxLayout:
id: label
orientation: 'horizontal'
size_hint_y: None
height: '32dp'
Button:
id: stop
text: 'Stop Record'
on_press: root.stop()
font_size: app.font_size
Button:
text: 'Lights /MWF'
on_press: root.SetMode(app.ser2,2)
background_color: (0.3, 0.5, 0.7, 1.0)
font_size: app.font_size
Button:
text: 'Lasers /MWF'
on_press: root.SetMode(app.ser2,3)
background_color: (0.3, 0.5, 0.7, 1.0)
font_size: app.font_size
Button:
text: 'Recal MACRO'
on_press: root.SetMode(app.ser2,6)
background_color: (0.7, 0.5, 0.3, 1.0)
font_size: app.font_size0