示例#1
0
 def __init__(self, ingame, width, height):
     Widget.__init__(self, width, height, focusable=False)
     self.ingame = ingame
     
     self.s = pygame.Surface((width, height), SRCALPHA, 32)
     self.image = Image(self.s)
     
     self.pitch_surface = None
     
     self.line_width = width / 100
示例#2
0
文件: tab.py 项目: xjzpguob/libRPG
 def render(self, screen, x_offset, y_offset):
     Widget.render(self, screen, x_offset, y_offset)
     Div.render(self, screen, x_offset, y_offset)