mirror of
https://github.com/gryf/wmdocklib.git
synced 2025-12-18 12:00:20 +01:00
Moved redraw from helpers to base class.
This commit is contained in:
@@ -70,3 +70,6 @@ class DockApp:
|
||||
self.font,
|
||||
self.background_color,
|
||||
self.palette)
|
||||
|
||||
def redraw(self):
|
||||
pywmgeneral.redraw_window()
|
||||
|
||||
@@ -283,11 +283,6 @@ def init_pixmap(background=None, patterns=None, style='3d', width=64,
|
||||
return char_width, char_height, charset_start, charset_width
|
||||
|
||||
|
||||
def redraw():
|
||||
"""Redraw the window."""
|
||||
pywmgeneral.redraw_window()
|
||||
|
||||
|
||||
def redraw_xy(x, y):
|
||||
"""Redraw a given region of the window."""
|
||||
pywmgeneral.redraw_window_xy(x, y)
|
||||
|
||||
Reference in New Issue
Block a user