Skip to content

Commit

Permalink
Update my.kv
Browse files Browse the repository at this point in the history
  • Loading branch information
Blue-Killer87 authored Sep 19, 2023
1 parent e22f5cb commit 5c84f66
Showing 1 changed file with 34 additions and 4 deletions.
38 changes: 34 additions & 4 deletions my.kv
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,50 @@ WindowManager:

<WelcomeScreen>:
name: "welcomescreen"

Button:
text: "Welcome!"
on_release: app.root.current = "choosescreen"
canvas.before:
Rectangle:
pos: self.pos
size: self.size
source: 'Data/Orient_Welcome.jpg'
FloatLayout:
Label:
text: "Vítej!"
size_hint: .5, .5
pos_hint: {"x": .25, "y": .25}
font_size: '100sp'
markup: True
Button:
text: "Začít"
on_release: app.root.current = "choosescreen"
size_hint: .5, .2
pos_hint: {"x": .25, "y": .15}
background_normal: 'Data/normal.png'
background_down: 'Data/down.png'
border: 30,30,30,30
<ChooseScreen>:
name: "choosescreen"
canvas.before:
Rectangle:
pos: self.pos
size: self.size
source: 'Data/Orient_Choose.jpg'

BoxLayout:
Button:
text: "Load a Track"
on_release: app.root.current = "runscreen"
background_color: 0, 0, 0, .3
markup: True
font_size: '50sp'
color: 1,1,1,1

Button:
text: "Create Track"
on_release: app.root.current = "createscreen"
background_color: 0, 0, 0, .3
markup: True
font_size: '50sp'
color: 1,1,1,1
<CreateScreen>:
name: "createscreen"

Expand Down

0 comments on commit 5c84f66

Please sign in to comment.