Mercurial > boomslang
comparison gamelib/widgets.py @ 476:c72946d3a59a
Some minor pylint driven style fixes
author | Neil Muller <neil@dip.sun.ac.za> |
---|---|
date | Sun, 29 Aug 2010 11:36:16 +0200 |
parents | 03dcb25d8370 |
children | a9925aaf5f61 0ce08d5e2acb |
comparison
equal
deleted
inserted
replaced
475:ee6dfee88912 | 476:c72946d3a59a |
---|---|
73 | 73 |
74 | 74 |
75 class BoomButton(BoomLabel): | 75 class BoomButton(BoomLabel): |
76 | 76 |
77 def __init__(self, text, action, screen): | 77 def __init__(self, text, action, screen): |
78 super(BoomLabel, self).__init__(text, font=get_font(20, 'Vera.ttf'), margin=4) | 78 super(BoomButton, self).__init__(text, font=get_font(20, 'Vera.ttf'), margin=4) |
79 self.bg_color = (0, 0, 0) | 79 self.bg_color = (0, 0, 0) |
80 self._frame_color = Color(50, 50, 50) | 80 self._frame_color = Color(50, 50, 50) |
81 self.action = action | 81 self.action = action |
82 self.screen = screen | 82 self.screen = screen |
83 | 83 |