- Add colors for up to 8 cpus.

This commit is contained in:
Jeff Roberson 2007-01-06 04:40:44 +00:00
parent fe1903bcff
commit 93fb94795c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=165824

View File

@ -739,6 +739,14 @@ def drawcpu(self, canvas, xpos, ypos):
color = 'light blue'
elif (cpu == 3):
color = 'light green'
elif (cpu == 4):
color = 'blanched almond'
elif (cpu == 5):
color = 'slate grey'
elif (cpu == 6):
color = 'light slate blue'
elif (cpu == 7):
color = 'thistle'
else:
color = "white"
l = canvas.create_rectangle(self.cpux,