1
0
mirror of https://github.com/gryf/wmdocklib.git synced 2025-12-19 04:20:17 +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

@@ -68,11 +68,11 @@ graphStartX = 7
graphStartY = 53
graphHeight = 4
graphBgStartX = 72
graphBgStartY = 53
graphBgStartX = 72-64
graphBgStartY = 53+64
graphLineStartX = 66
graphLineStartY = 58
graphLineStartX = 2
graphLineStartY = 58+64
defaultConfigFile = os.environ['HOME']+'/.pywmhdmonrc'
defaultProcStat = '/proc/stat'
@@ -415,7 +415,7 @@ def main():
font = clConfig.get('font', '6x8')
global char_width, char_height
char_width, char_height = wmdocklib.initPixmap(background,
char_width, char_height = wmdocklib.initPixmap(patterns=patterns,
font_name=font,
palette=palette,
bg=0, fg=2)
@@ -464,7 +464,7 @@ def main():
hdmon = PywmHDMon(pathsToMonitor, procStat, actMonEnabled, skipping)
hdmon.mainLoop()
background = \
patterns = \
['0000000000000000000000000000000000000000000000000000000000000000',
'0000000000000000000000000000000000000000000000000000000000000000',
'0077700555002220055500555000000000000000000000000000000000000000',