Convert Qt main window setup into Kivy app.

This commit is contained in:
Dorian 2017-02-22 17:55:44 -05:00
parent e5dae0520d
commit ea9de695fd
2 changed files with 9 additions and 3 deletions

View File

@ -19,6 +19,9 @@ LOG = logging.getLogger(__name__)
class JustCheckersApp(App): class JustCheckersApp(App):
title = 'justCheckers'
icon = 'images/icon.png'
def on_start(self): def on_start(self):
log_system_and_game_info() log_system_and_game_info()
super(JustCheckersApp, self).on_start() super(JustCheckersApp, self).on_start()

View File

@ -1,5 +1,8 @@
#: import justcheckers justcheckers #: import justcheckers justcheckers
FloatLayout:
Image:
source: 'images/backdrop.jpg'
BoxLayout: BoxLayout:
Label: Label:
text: "justCheckers {}".format(justcheckers.__version__) text: "justCheckers {}".format(justcheckers.__version__)