Mercurial > libervia-backend
diff frontends/src/wix/card_game.py @ 587:952322b1d490
Remove trailing whitespaces.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Fri, 18 Jan 2013 17:55:34 +0100 |
parents | ca13633d3b6b |
children | 84a6e83157c2 |
line wrap: on
line diff
--- a/frontends/src/wix/card_game.py Fri Jan 18 17:55:27 2013 +0100 +++ b/frontends/src/wix/card_game.py Fri Jan 18 17:55:34 2013 +0100 @@ -49,7 +49,7 @@ def draw(self, dc, x, y): """Draw the card on the device context @param dc: device context - @param x: abscissa + @param x: abscissa @param y: ordinate""" dc.DrawBitmap(self.bitmap, x, y, True) @@ -152,7 +152,7 @@ def onPaint(self, event): dc = wx.PaintDC(self) - + #We print the names to know who play where TODO: print avatars when available max_x, max_y = self.GetSize() border = 10 #border between nick and end of panel @@ -214,7 +214,7 @@ def onMouseClick(self, event): print "mouse click:",event.GetPosition() pos_x,pos_y = event.GetPosition() - + if self.state == "chien": self.to_show = [] self.state = "wait"