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

1580293: initialization of pixmask - drawing areas

this again is a radical modification...  more or less as requested in pr.
This commit is contained in:
mfrasca
2006-10-20 20:01:54 +00:00
parent ee27c27f3b
commit 504b2419f8
5 changed files with 102 additions and 110 deletions

View File

@@ -159,7 +159,7 @@ def addString(s, x, y):
def clearLine(y):
"""Clear a line of text at position y."""
wmdocklib.copyXPMArea(72, yOffset,
wmdocklib.copyXPMArea(0, 64+yOffset,
width - 2 * xOffset, char_height,
xOffset, y + yOffset)
@@ -663,7 +663,7 @@ def main():
sys.argv[0] = programName
global char_width, char_height
char_width, char_height = wmdocklib.initPixmap(background,
char_width, char_height = wmdocklib.initPixmap(patterns=background,
font_name=font,
bg='_', fg='%',
palette=palette)