+# This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3
+# or any later version. For details on its copyright, license, and warranties,
+# see the file NOTICE in the root directory of the PlomRogue source package.
+
+
import curses
import types
self.size = size
-def set_window_geometries():
+def set_windows():
def size_window(config):
size = [0, 0]
curses.endwin()
stdscr = curses.initscr()
screen_size = stdscr.getmaxyx()
+ global windows
+ windows = []
for config in windows_config:
size = size_window(config["config"])
window = Window(config["title"], config["func"], size)