A | Add theme

This commit is contained in:
shenjack 2023-09-30 10:25:58 +08:00
parent 3dab607d19
commit 1fe2054130
Signed by: shenjack
GPG Key ID: 7B1134A979775551
2 changed files with 25 additions and 7 deletions

View File

@ -4,13 +4,6 @@
# All rights reserved
# -------------------------------
"""
writen by shenjackyuanjie
mail: 3695888@qq.com
github: @shenjackyuanjie
gitee: @shenjackyuanjie
"""
from typing import Optional, Tuple
# from libs import pyglet

View File

@ -0,0 +1,25 @@
# -------------------------------
# Difficult Rocket
# Copyright © 2020-2023 by shenjackyuanjie 3695888@qq.com
# All rights reserved
# -------------------------------
from typing import Optional, Tuple
from pyglet.shapes import Rectangle
from pyglet.graphics import Batch, Group
class BaseTheme(dict):
"""
Base class of themes
"""
theme_name = 'BaseTheme'
class ButtonBaseTheme(BaseTheme):
"""
Base theme of button
"""
theme_name = 'Button Base Theme'