# HG changeset patch # User Neil Muller # Date 1336648585 -7200 # Node ID 591a85a4edace58753fe682b4c6009fd1ccc0e80 # Parent 0f205b1384db3f0853bedce2918d2357a3aa0b3a Use 'done' rather than exit in equipment selection screen diff -r 0f205b1384db -r 591a85a4edac gamelib/gamegui.py --- a/gamelib/gamegui.py Thu May 10 13:13:57 2012 +0200 +++ b/gamelib/gamegui.py Thu May 10 13:16:25 2012 +0200 @@ -64,6 +64,11 @@ super(NextTurnButton, self).__init__(((WIDTH - 128), 10), 'Next Turn') +class DoneButton(PopWindowButton): + def __init__(self): + super(DoneButton, self).__init__(((WIDTH - 128), 10), 'Done') + + class ResetButton(BigButton): def __init__(self, parent): @@ -248,8 +253,8 @@ def __init__(self, screen, mission, game, parent): super(EquipWindow, self).__init__(screen) - exitbut = ExitGameButton() - self.add_child(exitbut) + donebut = DoneButton() + self.add_child(donebut) reset = ResetButton(self) self.add_child(reset) title = TextLabel((200, 20, 400, 50), "Choose equipment for %s"