-
Notifications
You must be signed in to change notification settings - Fork 1
/
mangala.kv
76 lines (62 loc) · 1.41 KB
/
mangala.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
#:import JACKPOT_TYPES_CODES defs.JACKPOT_TYPES_CODES
#:import PIT_TYPES_CODES defs.PIT_TYPES_CODES
<UiPit>:
pit_type: -1
stones_text: stones_text
id: stones_text
# args is the class
font_size: 30
<PitRaw>:
orientation: 'horizontal'
spacing: 10
UiPit:
pit_type: PIT_TYPES_CODES[root.pit_type]
UiPit:
pit_type: PIT_TYPES_CODES[root.pit_type]
UiPit:
pit_type: PIT_TYPES_CODES[root.pit_type]
UiPit:
pit_type: PIT_TYPES_CODES[root.pit_type]
UiPit:
pit_type: PIT_TYPES_CODES[root.pit_type]
UiPit:
pit_type: PIT_TYPES_CODES[root.pit_type]
<PitColumn>:
orientation: 'vertical'
spacing: 5
PitRaw:
pit_type: 0
PitRaw:
pit_type: 1
<PlayLayout>:
spacing: 10
size_hint: (1, 0.9)
Label:
size_hint_x: 0.01
UiPit:
pit_type: JACKPOT_TYPES_CODES[0]
size_hint_x: 0.4
PitColumn
UiPit:
pit_type: JACKPOT_TYPES_CODES[1]
size_hint_x: 0.4
Label:
size_hint_x: 0.01
<MainLayout>
#Image:
#Rectangle:
#source: "wood.jpg"
pits_layout: pits_layout
orientation: 'vertical'
title_text: title_text
Label:
size_hint_y: 0.02
Label:
text: 'Mangala'
size_hint_y: 0.4
font_size: 80
id: title_text
PlayLayout:
id: pits_layout
Label:
size_hint_y: 0.02