-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathgame_inspector.py
More file actions
28 lines (22 loc) · 809 Bytes
/
game_inspector.py
File metadata and controls
28 lines (22 loc) · 809 Bytes
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
from kivy.config import Config
Config.set('input', 'mouse', 'mouse,multitouch_on_demand')
Config.set('graphics', 'width', '1280')
Config.set('graphics', 'height', '960')
import kivy
from kivy.app import App
from kivy.uix.screenmanager import ScreenManager
import info
import config_session
import session
class GameInspector(App):
def build(self):
self.root = ScreenManager()
self.root.add_widget(info.Info(self.root))
self.game_inspector = session.GameInspector()
self.session_settings = config_session.SessionSettings(self.root, self.game_inspector)
self.root.add_widget(self.session_settings)
self.root.add_widget(self.game_inspector)
self.root.current = 'Info'
return self.root
if __name__ == '__main__':
GameInspector().run()