diff --git a/src/manager/.game_ui.py.swp b/src/manager/.game_ui.py.swp new file mode 100644 index 0000000..21e676e Binary files /dev/null and b/src/manager/.game_ui.py.swp differ diff --git a/src/manager/game_ui.py b/src/manager/game_ui.py new file mode 100644 index 0000000..7aa59df --- /dev/null +++ b/src/manager/game_ui.py @@ -0,0 +1,21 @@ +from utility import config + +class FrameUI: + + def __init__ (self, game_window): + self.game_window = game_window + + self.map_width = 0 + self.map_height = 0 + + self.right_width = 0 + self.right_height = 0 + + self.bottom_width = 0 + self.bottom_height = 0 + + @window.event + def on_resize(self, width, height): + pass + #TODO: Add calculations for width and height! + #NOTE: Switched to Vim diff --git a/src/manager/game_ui.py~ b/src/manager/game_ui.py~ new file mode 100644 index 0000000..1163be1 --- /dev/null +++ b/src/manager/game_ui.py~ @@ -0,0 +1,9 @@ +from utility import config + +class FrameUI: + + def __init__ (self): + pass + + def update_size(self): + pass