A | Magic Number (确信)
This commit is contained in:
parent
3612d8b06e
commit
d69da9f1d0
@ -36,10 +36,27 @@ class ButtonDrawTheme(Options):
|
||||
直接绘制按钮的风格
|
||||
"""
|
||||
name = 'ButtonDrawTheme'
|
||||
untouch_batch: Batch
|
||||
untouched_batch: Batch
|
||||
touch_batch: Batch
|
||||
hit_batch: Batch
|
||||
|
||||
def init(self, **kwargs) -> bool:
|
||||
"""
|
||||
初始化绘制
|
||||
:param kwargs:
|
||||
:return:
|
||||
"""
|
||||
a = (72, 73, 74)
|
||||
b = (109, 109, 110)
|
||||
c = (88, 91, 92)
|
||||
d = (124, 124, 125)
|
||||
e = (49, 50, 51)
|
||||
touch_a = (49, 50, 51)
|
||||
touch_b = (90, 91, 92)
|
||||
touch_c = (71, 72, 72)
|
||||
touch_d = (106, 107, 108)
|
||||
return False
|
||||
|
||||
|
||||
class ButtonThemeOptions(Options):
|
||||
""" 基于 Options 写的 ButtonTheme """
|
||||
|
Loading…
Reference in New Issue
Block a user