L3-Bataille-Navale/source/gui/texture/Button.py
2023-03-14 23:20:37 +01:00

16 lines
366 B
Python

from .abc import Style
from source.gui.texture.type import Texture
from source.path import path_image
path = path_image / "button"
class Button:
"""
Regroupe les textures de bouton
"""
class Style1(Style):
normal = Texture(path / "normal.png")
click = Texture(path / "clicking.png")
hover = Texture(path / "hovering.png")