diff options
Diffstat (limited to 'BiblioJAM/JAMButton.py')
-rw-r--r-- | BiblioJAM/JAMButton.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/BiblioJAM/JAMButton.py b/BiblioJAM/JAMButton.py index b302d51..efa4160 100644 --- a/BiblioJAM/JAMButton.py +++ b/BiblioJAM/JAMButton.py @@ -29,7 +29,8 @@ class JAMButton(pygame.sprite.Sprite): COLORCARA, COLORBAS, COLORBOR, GROSORBOR, DETALLE, ESPESOR= VG.get_default_jambutton_values() - self.base= {"tamanio":None, "colorbas":COLORBAS, "colorbor":COLORBOR, "grosorbor":GROSORBOR, "detalle":DETALLE, "espesor":ESPESOR} + self.base= {"tamanio":None, "colorbas":COLORBAS, "colorbor":COLORBOR, + "grosorbor":GROSORBOR, "detalle":DETALLE, "espesor":ESPESOR} self.cara= {"tamanio":None, "color":COLORCARA} self.borde_label= {"grosor": 0, "color":VG.get_negro()} @@ -38,7 +39,9 @@ class JAMButton(pygame.sprite.Sprite): self.etiqueta_select= JAMLabel(texto) self.etiqueta_select.set_contenedor(colorbas=self.base["colorbor"]) - self.JAMObjects = {"JAMLabelunselect": self.etiqueta_unselect, "JAMLabelselect": self.etiqueta_select, "Base": self.base, "Cara": self.cara, "Borde": self.borde_label} + self.JAMObjects = {"JAMLabelunselect": self.etiqueta_unselect, + "JAMLabelselect": self.etiqueta_select, "Base": self.base, + "Cara": self.cara, "Borde": self.borde_label} self.imagen_cara_unselect= None self.imagen_cara_select= None |