1
0
mirror of https://github.com/gryf/wmdocklib.git synced 2025-12-19 20:38:03 +01:00

Adjust attributes for the base dockapp class.

This commit is contained in:
2022-04-13 17:11:29 +02:00
parent a6f372be91
commit 4426988388

View File

@@ -7,14 +7,18 @@ class DockApp:
width = 64 width = 64
height = 64 height = 64
x_offset = 4 x_offset = 4
y_offset = 4 y_offset = 3
palette = {"1": "black", palette = {"1": "black",
"2": "white"} "2": "white"}
background_color = 'black'
def __init__(self, args=None): def __init__(self, args=None):
self._args = args self.args = args
self._charset_start = None self.charset_start = None
self._charset_width = None self.charset_width = None
self.char_width = None
self.char_height = None
self.font = ''
def check_for_events(self): def check_for_events(self):
event = helpers.get_event() event = helpers.get_event()