Esempio n. 1
0
 def draw_state_rect(self,x,y):
     """Store the pos and draw a rectangle to it."""
     self.state = x,y
     decors.drawRect(self.statex,self.statey,x,y)
Esempio n. 2
0
 def draw_state_rect(self,x,y):
     """Store the pos and draw a rectangle to it."""
     self.state = x,y
     #GD.debug("Rect (%s,%s) - (%s,%s)" % (self.statex,self.statey,x,y))
     decors.drawRect(self.statex,self.statey,x,y)