Exemplo n.º 1
0
 def draw(self):
     scr = get_screen()
     scr.blit(self.bg.get_surface(), (self.x, self.y))
     Div.draw(self)
     Div.render(self, scr, self.x, self.y)
     if self.cursor is not None:
         self.cursor.draw()
         self.cursor.render(scr)
Exemplo n.º 2
0
 def draw(self):
     scr = get_screen()
     scr.blit(self.bg.get_surface(), (self.x, self.y))
     Div.draw(self)
     Div.render(self, scr, self.x, self.y)
     if self.cursor is not None:
         self.cursor.draw()
         self.cursor.render(scr)
Exemplo n.º 3
0
 def draw(self):
     r = pygame.Rect(0, 0, self.width, self.height)
     if self.image is None:
         self.image = self.theme.draw_panel(r)
     Div.draw(self)
Exemplo n.º 4
0
 def draw(self):
     r = pygame.Rect(0, 0, self.width, self.height)
     if self.image is None:
         self.image = self.theme.draw_panel(r)
     Div.draw(self)