diff --git a/Difficult_Rocket/gui/widget/button.py b/Difficult_Rocket/gui/widget/button.py index a49cfd3..6556c4a 100644 --- a/Difficult_Rocket/gui/widget/button.py +++ b/Difficult_Rocket/gui/widget/button.py @@ -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 """