-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlayoutActionBar.kv
83 lines (64 loc) · 1.82 KB
/
layoutActionBar.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
#:kivy 1.1.0
<ykpActionBar>:
ActionView:
ActionPrevious:
title: 'ykpilot'
with_previous: False
app_icon: "icons/ico_sailboat_256_256.png"
on_release: app.screenChange(self.title)
# ActionOverflow:
ActionButton:
text: "Sensors"
icon: "icons/ico_find_256_256.png"
on_release: app.screenChange(self.text)
ActionButton:
text: "Model Screen"
icon: "icons/ico_sailboat_256_256.png"
on_release: app.screenChange(self.text)
ActionButton:
text:"Simulator"
icon: "icons/ico_sum_256_256.png"
on_release: app.screenChange(self.text)
ActionButton:
text: "Compass"
on_release: app.screenChange(self.text)
#ActionButton(text="3dtextures")
# ab.bind(on_release=self.screenChange)
# av.add_widget(ab)
# ab = ActionButton(text="3dtextures2")
# ab.bind(on_release=self.screenChange)
# av.add_widget(ab)
#if self.virtualButtons:
# ab = ActionButton(text="Virtual Buttons",
# icon = "icons/ico_in_256_256.png")
# ab.bind(on_release=self.screenChange)
# av.add_widget(ab)
#
ActionButton:
text: "Race"
icon: "icons/ico_time_256_256.png"
on_release: app.screenChange(self.text)
ActionButton:
text: "Autopilot"
on_release: app.screenChange(self.text)
ActionButton:
text: "Triangulate"
on_release: app.screenChange(self.text)
#ActionButton:
# text: "Mic Screen"
# on_release: app.screenChange(self.text)
ActionButton:
text: "Day"
on_release: app.screenDay()
ActionButton:
text: "Night"
on_release: app.screenNight()
ActionButton:
text: "Widgets"
on_release: app.screenChange(self.text)
#ab = ActionButton(text="MSM")
#ab.bind(on_release=self.screenChange)
#av.add_widget(ab)
ActionButton:
text: "NMEA multiplexer"
on_release: app.screenChange(self.text)