-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapplication.kv
More file actions
103 lines (81 loc) · 1.64 KB
/
application.kv
File metadata and controls
103 lines (81 loc) · 1.64 KB
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<Journal>:
BoxLayout:
orientation: 'horizontal'
ScrollView:
orientation: 'horizontal'
size_hint: 0.5,1
GridLayout:
id: box_share
cols: 1
size_hint_y: None
spacing: 10
padding: 10
height: self.minimum_height
canvas:
Color:
rgb: 0.3, 0.3, 0.3
Rectangle:
pos: self.pos
size: self.size
BoxLayout:
orientation: 'vertical'
TextInput:
id: title_input
size_hint: 1,0.1
hint_text: 'Title here.'
TextInput:
id: input
hint_text: 'Journal entry here.'
Button:
size_hint: 1, 0.1
text: 'Save Input'
on_release: root.create_entry()
<Character>:
BoxLayout:
orientation: 'vertical'
Label:
id:Strength
text_size: self.size
padding_x: 5
text: 'Strength:' + root.fetch_stat("Strength")
color: 1,0,0,1
Label:
id:Endurance
text_size: self.size
padding_x: 5
text: 'Endurance:' + root.fetch_stat("Endurance")
color: 1,0,0,1
Label:
id:Intelligence
text_size: self.size
padding_x: 5
text: 'Intelligence:' + root.fetch_stat("Intelligence")
color: 1,0,0,1
Label:
id:Spirit
text_size: self.size
padding_x: 5
text: 'Spirit:' + root.fetch_stat("Spirit")
color: 1,0,0,1
<Quest>:
BoxLayout:
orientation: 'vertical'
StackLayout:
id: available_quests
orientation:
Label:
size_hint: 1,0.1
halign: 'center'
valign: 'top'
text: "Available Quests"
StackLayout:
id: accepted_quests
Label:
size_hint: 1,0.1
halign: 'center'
valign: 'top'
text: "Accepted Quests"
<Notice>:
id: quest_button
text: "Placeholder text"
size_hint: .4, .4