# HG changeset patch # User Neil Muller # Date 1336866908 -7200 # Node ID 6f96e28e6cfdc05615f9a0f4c110dba3b4b73806 # Parent 2a658a2f5d3b4dbed4fae158727c337c2a10e308 Tweak text position diff -r 2a658a2f5d3b -r 6f96e28e6cfd gamelib/gamegui.py --- a/gamelib/gamegui.py Sun May 13 01:51:31 2012 +0200 +++ b/gamelib/gamegui.py Sun May 13 01:55:08 2012 +0200 @@ -48,6 +48,9 @@ class ExitGameButton(PopWindowButton): + + HEIGHT = 72 + def __init__(self): super(ExitGameButton, self).__init__((WIDTH - 128, HEIGHT - 60), 'Exit') @@ -55,6 +58,8 @@ class EndTurnButton(BigButton): + HEIGHT = 72 + def __init__(self, parent): super(EndTurnButton, self).__init__(((WIDTH - 128), 0), 'End Turn') self.parent = parent @@ -64,11 +69,17 @@ class NextTurnButton(PopWindowButton): + + HEIGHT = 72 + def __init__(self): super(NextTurnButton, self).__init__(((WIDTH - 128), 0), 'Next Turn') class AssignButton(PopWindowButton): + + HEIGHT = 72 + def __init__(self, parent): super(AssignButton, self).__init__(((WIDTH - 128), 0), 'Assign Scheme') @@ -80,6 +91,9 @@ class CancelButton(PopWindowButton): + + HEIGHT = 72 + def __init__(self, parent): super(CancelButton, self).__init__(((WIDTH - 256), 0), 'Cancel Scheme') @@ -92,6 +106,8 @@ class ResetButton(BigButton): + HEIGHT = 72 + def __init__(self, parent, text='Clear calendars'): super(ResetButton, self).__init__((10, 0), text) self.parent = parent @@ -102,6 +118,8 @@ class SwitchWinButton(BigButton): + HEIGHT = 72 + def __init__(self, pos, text, new_window): super(SwitchWinButton, self).__init__(pos, text) self.new_window = new_window