Ejemplo n.º 1
0
 def _createButton(self, button_id, message, rect):
     button = Button(button_id, self, message, Consts.LIGHT_GOLD_COLOR, rect)
     self.inputManager.attach(button)
     button.font_object = self.font_object
     button._setColors(Consts.LIGHT_GOLD_COLOR, Consts.HOVER_GOLD_COLOR, Consts.PRESSED_GOLD_COLOR)
     
     return button