-
Notifications
You must be signed in to change notification settings - Fork 0
/
err.kv
48 lines (45 loc) · 1.06 KB
/
err.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
<MyLayout>:
orientation: 'vertical'
padding: 0
spacing: 0
size: root.width, root.height
Label:
size_hint: 1, None
pos_hint: 0, 0
text_size: self.width, None
font_size: self.height * 0.5
text: {err}
AndroidCamera:
index: 0
id: a_cam
size_hint: 0, 0
resolution: self.camera_resolution
allow_stretch: True
play: True
disabled: True
opacity: 0
canvas.before:
PushMatrix
Rotate:
angle: -90
origin: self.center
Scale:
x: self.cam_ratio
y: self.cam_ratio
origin: self.center
canvas.after:
PopMatrix
Label:
size_hint: 0, 0
id: text_out
font_size: self.height * 0.1
disabled: True
opacity: 0
text: ''
Label:
size_hint: 0, 0
id: fps_text
font_size: self.height * 0.1
disabled: True
opacity: 0
text: ''