Mercurial > boomslang
comparison pyntnclick/tools/rect_drawer.py @ 661:5dc866e1d71d pyntnclick
Misc pep8 and pyflakes fixes
author | Neil Muller <neil@dip.sun.ac.za> |
---|---|
date | Sun, 12 Feb 2012 15:00:53 +0200 |
parents | b2c2b6f56291 |
children | 6daaeffb37d1 |
comparison
equal
deleted
inserted
replaced
660:dbec226debe3 | 661:5dc866e1d71d |
---|---|
1 # Quickly hacked together helper for working out | 1 # Quickly hacked together helper for working out |
2 # interactive regions in Suspended Sentence | 2 # interactive regions in Suspended Sentence |
3 | |
4 import sys | |
5 import os.path | |
6 | 3 |
7 # XXX: Threw away albow | 4 # XXX: Threw away albow |
8 #from albow.root import RootWidget | 5 #from albow.root import RootWidget |
9 #from albow.utils import frame_rect | 6 #from albow.utils import frame_rect |
10 #from albow.widget import Widget | 7 #from albow.widget import Widget |
675 | 672 |
676 | 673 |
677 def make_rect_display(): | 674 def make_rect_display(): |
678 pygame.display.init() | 675 pygame.display.init() |
679 pygame.font.init() | 676 pygame.font.init() |
680 return pygame.display.set_mode((constants.screen[0] | 677 pygame.display.set_mode((constants.screen[0] |
681 + constants.menu_width, | 678 + constants.menu_width, constants.screen[1])) |
682 constants.screen[1])) |