summaryrefslogtreecommitdiff
path: root/asciifarm/client/display/infopad.py
diff options
context:
space:
mode:
authortroido <troido@hotmail.com>2018-01-17 20:26:16 +0100
committertroido <troido@hotmail.com>2018-01-17 20:26:16 +0100
commitf72c658220a78ec058ceca25118e3e9a499a6c2b (patch)
tree2a965a693d95f0ee651732ddc47b7e22bd188030 /asciifarm/client/display/infopad.py
parent0bed6616326348b41c6a907552fff62956ce6f18 (diff)
updated maps and refactored client: renamed display parts and removed selector
Diffstat (limited to 'asciifarm/client/display/infopad.py')
-rw-r--r--asciifarm/client/display/infopad.py29
1 files changed, 0 insertions, 29 deletions
diff --git a/asciifarm/client/display/infopad.py b/asciifarm/client/display/infopad.py
deleted file mode 100644
index 974e3fc..0000000
--- a/asciifarm/client/display/infopad.py
+++ /dev/null
@@ -1,29 +0,0 @@
-
-import curses
-
-
-
-class InfoPad:
-
-
-
- def __init__(self):
- self.changed = False
- self.lines = []
- self.widget = None
-
- def setWidget(self, widget):
- self.widget = widget
-
- def showString(self, string):
- self.lines = string.split('\n')
- self.widget.change()
-
- def update(self):
- win = self.widget.getWin()
- width, height = win.getSize()
- lines = [line[:width-1] for line in self.lines][:height]
- win.erase()
- for i, line in enumerate(lines):
- win.addLine((0, i), line)
- win.noutrefresh()