- Add colors for up to 8 cpus.

This commit is contained in:
jeff 2007-01-06 04:40:44 +00:00
parent c933a59d56
commit c164b22f4a

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,