Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/physics.py
diff options
context:
space:
mode:
authorBrian <brian@laptop.org>2008-07-10 00:55:50 (GMT)
committer Brian <brian@laptop.org>2008-07-10 00:55:50 (GMT)
commitd853520ea8d5c1ee1ee70133f1dbf9d8369a64db (patch)
treec10399468fcce9fd224b0db2d5ad08b302ccb1e2 /physics.py
parent95dd414c3d8f15d85a84238a1d747dc2a346a36a (diff)
ToolButtons --> RadioToolButtons
Diffstat (limited to 'physics.py')
-rw-r--r--physics.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/physics.py b/physics.py
index 706f0d5..ecbab80 100644
--- a/physics.py
+++ b/physics.py
@@ -84,10 +84,11 @@ class PhysicsGame:
def main():
toolbarheight = 75
+ tabheight = 30
pygame.init()
pygame.display.init()
x,y = pygame.display.list_modes()[0]
- screen = pygame.display.set_mode((x,y-toolbarheight))
+ screen = pygame.display.set_mode((x,y-toolbarheight-tabheight))
# create an instance of the game
game = PhysicsGame(screen)
# start the main loop