L3-Bataille-Navale/source/gui/texture/Button.py

12 lines
291 B
Python

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