-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbase.kv
44 lines (39 loc) · 906 Bytes
/
base.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
#:kivy 1.0.9
<InfoScreen>
scrmgr: iscreenmgr
id: iscreen
ScreenManager:
id: iscreenmgr
auto_bring_to_front: False
HiddenButton:
id: btn_left
size: 50, root.height
size_hint: None, None
pos: root.width - 50, 0
on_press: root.next_screen()
HiddenButton:
size: 50, root.height
size_hint: None, None
pos: 0, 0
on_press: root.next_screen(True)
<BGLabel>
padding: 2, 2
canvas.before:
Color:
rgba: self.bgcolour
Rectangle:
size: self.size
pos: self.pos
<BGImage>
canvas.before:
Color:
rgba: self.bgcolour
Rectangle:
size: self.size
pos: self.pos
canvas.after:
Color:
rgba: self.fgcolour
Rectangle:
size: self.size
pos: self.pos