Exemplo n.º 1
0
 def draw_item(self, surf, n, rect):
     buf = self.font.render(self.labels[n], True, self.fg_color)
     blit_in_rect(surf, buf, rect, self.align, self.margin)
Exemplo n.º 2
0
	def draw_item(self, surf, n, rect):
		buf = self.font.render(self.labels[n], True, self.fg_color)
		blit_in_rect(surf, buf, rect, self.align, self.margin)
Exemplo n.º 3
0
 def draw_item(self, surf, n, rect):
     image = self.images[n]
     blit_in_rect(surf, image, rect, self.align, self.margin)
Exemplo n.º 4
0
	def draw_item(self, surf, n, rect):
		image = self.images[n]
		blit_in_rect(surf, image, rect, self.align, self.margin)