From 4426988388362b6422fe1aaf0f73cc92db9a9776 Mon Sep 17 00:00:00 2001 From: gryf Date: Wed, 13 Apr 2022 17:11:29 +0200 Subject: [PATCH] Adjust attributes for the base dockapp class. --- wmdocklib/__init__.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/wmdocklib/__init__.py b/wmdocklib/__init__.py index b947567..1ffd6c7 100644 --- a/wmdocklib/__init__.py +++ b/wmdocklib/__init__.py @@ -7,14 +7,18 @@ class DockApp: width = 64 height = 64 x_offset = 4 - y_offset = 4 + y_offset = 3 palette = {"1": "black", "2": "white"} + background_color = 'black' def __init__(self, args=None): - self._args = args - self._charset_start = None - self._charset_width = None + self.args = args + self.charset_start = None + self.charset_width = None + self.char_width = None + self.char_height = None + self.font = '' def check_for_events(self): event = helpers.get_event()