Mercurial > boomslang
diff gamelib/widgets.py @ 528:0ce08d5e2acb
pyflakes-induced cleanup.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Fri, 10 Sep 2010 18:47:17 +0200 |
parents | c72946d3a59a |
children | 2d87cb7eee50 2f1952748cdb |
line wrap: on
line diff
--- a/gamelib/widgets.py Thu Sep 09 11:11:37 2010 +0200 +++ b/gamelib/widgets.py Fri Sep 10 18:47:17 2010 +0200 @@ -10,7 +10,7 @@ from albow.resource import get_font, get_image from pygame.color import Color from pygame.rect import Rect -from pygame.draw import lines +from pygame.draw import lines as draw_lines from pygame import mouse from constants import BUTTON_SIZE @@ -93,7 +93,7 @@ r = surface.get_rect() w = 2 top, bottom, left, right = r.top, r.bottom, r.left, r.right - lines(surface, self._frame_color, False, [ + draw_lines(surface, self._frame_color, False, [ (left, bottom), (left, top), (right-w, top), (right-w, bottom) ], w)