def drawNumber(self):
     self.screen.fill([0,0,0])             # just black, no graphic background image
     image = numberDraw(self.number,self.mode,
                        self.color,
                        self.height /  2,
                        title=self.title,
                        boxWidth=4)
     self.screen.blit(image,((self.width - image.get_width())/2,(self.height-image.get_height())/2))
     self.needsUpdate = True
 def numberDraw(self):
     self.matchImage = numberDraw(Settings.matchNumber,1,BLUE,20,boxWidth=0,outlined=False)
     self.autoImage = numberDraw(Settings.autoTime,0,YELLOW,20,boxWidth=0,outlined=False)
     self.teleopImage = numberDraw(Settings.teleopTime,0,GREEN,20,boxWidth=0,outlined=False)
     self.endGameImage = numberDraw(Settings.endGameTime,0,RED,20,boxWidth=0,outlined=False)
 def numberImages(self,imageHeight):
     matchImage = numberDraw(globalVariables.matchNumber,1,BLUE,imageHeight, title="Match:")
     autoImage = numberDraw(globalVariables.autoTime,0,YELLOW,imageHeight, title="Autonomous:")
     teleopImage = numberDraw(globalVariables.teleopTime,0,GREEN,imageHeight, title="Teleop:")
     endGameImage = numberDraw(globalVariables.endGameTime,0,RED,imageHeight, title="End Game:")
     return((matchImage,autoImage,teleopImage,endGameImage))