This repository has been archived by the owner on May 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
eyedaq.kv
87 lines (72 loc) · 2.51 KB
/
eyedaq.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
<CameraWidget>:
orientation: 'vertical'
image: camera
label: label
txt_inpt: txt_inpt
Camera:
id: camera
resolution: (640, 480)
BoxLayout:
id: label
orientation: 'horizontal'
size_hint_y: None
height: '48dp'
Button:
text: 'Station Up'
on_release: root.station_up()
TextInput:
id: txt_inpt
text: '35'
multiline: False
focus: False
on_text_validate: root.change_st()
Button:
text: 'Mud'
on_press: root.TakePictureMud()
background_color: (0.5, 0.5, 0.0, 1.0)
Button:
text: 'Rock'
on_press: root.TakePictureRock()
background_color: (1.0, 0.0, 0.5, 0.5)
Button:
text: 'Sand/Rock'
on_press: root.TakePictureSandRock()
background_color: (0.5, 0.0, 1.0, 0.5)
Button:
text: 'Fortune'
background_color: (0.0, 0.5, 0.5, 1.0)
on_press: root.fortune()
Button:
text: 'Waypoint'
on_press: root.MarkWaypoint()
BoxLayout:
id: label
orientation: 'horizontal'
size_hint_y: None
height: '48dp'
Button:
text: 'Station Down'
on_release: root.station_down()
Button:
text: 'Sand'
on_press: root.TakePicture()
background_color: (0.5, 0.1, 0.25, 1.0)
Button:
text: 'Gravel'
on_press: root.TakePictureGravel()
background_color: (1.0, 1.0, 0.1, 0.5)
Button:
text: 'Gravel/Sand'
on_press: root.TakePictureGravelSand()
background_color: (0.25, 1.0, 0.1, 0.5)
Button:
text: 'Sand/Gravel'
on_press: root.TakePictureSandGravel()
background_color: (0.1, 0.25, 0.5, 1.0)
Button:
text: 'Star Wars'
background_color: (1.0, 0.5, 0.25, 0.1)
on_press: root.starwars()
Button:
text: 'Timestamp'
on_press: root.TakeTimeStamp()