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

1575762: of pixmask

hard coded 3 pixels margin.  it should actually be configurable, but better
this than nothing.  and on the right side we need some more margin to get a
symmetrical effect.
This commit is contained in:
mfrasca
2006-10-12 19:22:57 +00:00
parent 651b44127d
commit b35d05a73b

View File

@@ -220,9 +220,9 @@ def initPixmap(xpm_background=None,
] + [ ] + [
'0'*64 + item for item in xpm_background[:3] '0'*64 + item for item in xpm_background[:3]
] + [ ] + [
'000'+bg*(64-6)+'000' + item for item in xpm_background[3:-3] '000'+bg*(64-8)+'00000' + item for item in xpm_background[3:-4]
] + [ ] + [
'0'*64 + item for item in xpm_background[-3:] '0'*64 + item for item in xpm_background[-4:]
] + [ ] + [
line.replace('%', fg).replace(' ', bg) line.replace('%', fg).replace(' ', bg)
for line in char_map for line in char_map