mirror of
https://github.com/gryf/wmdocklib.git
synced 2025-12-19 12:28:10 +01:00
Adjust attributes for the base dockapp class.
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user