- Add colors for up to 8 cpus.
This commit is contained in:
parent
c933a59d56
commit
c164b22f4a
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user