坏了,忘记水commit了(
This commit is contained in:
parent
6229e8447c
commit
24ab22f4d8
@ -130,7 +130,6 @@ class PressTextButton(widgets.WidgetBase):
|
|||||||
self.back_rec.position = self._x, self._y
|
self.back_rec.position = self._x, self._y
|
||||||
self.back_rec.width = self._width
|
self.back_rec.width = self._width
|
||||||
self.back_rec.height = self._height
|
self.back_rec.height = self._height
|
||||||
...
|
|
||||||
|
|
||||||
|
|
||||||
PressTextButton.register_event_type('on_press')
|
PressTextButton.register_event_type('on_press')
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
# All rights reserved
|
# All rights reserved
|
||||||
# -------------------------------
|
# -------------------------------
|
||||||
|
|
||||||
|
from pyglet.graphics import Batch, Group
|
||||||
|
|
||||||
from Difficult_Rocket.client import ClientWindow
|
from Difficult_Rocket.client import ClientWindow
|
||||||
from Difficult_Rocket.api.screen import BaseScreen
|
from Difficult_Rocket.api.screen import BaseScreen
|
||||||
|
|
||||||
@ -19,5 +21,8 @@ class Menu(BaseScreen):
|
|||||||
def __init__(self,
|
def __init__(self,
|
||||||
main_window: ClientWindow):
|
main_window: ClientWindow):
|
||||||
super().__init__(main_window)
|
super().__init__(main_window)
|
||||||
|
self.main_batch = Batch()
|
||||||
|
self.main_group = Group(parent=main_window.main_group, order=1)
|
||||||
|
|
||||||
# 占位, 高二看看能不能咕出来点啥 (20230911)
|
# 占位, 高二看看能不能咕出来点啥 (20230911)
|
||||||
# 欸呀, 正好是 911 纪念日哦
|
# 欸呀, 正好是 911 纪念日哦
|
||||||
|
Loading…
Reference in New Issue
Block a user