Mercurial > pyntnclick
comparison gamelib/gamescreen.py @ 134:faac82748f5a
Put the leg inside the cryo unit.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Tue, 24 Aug 2010 20:21:07 +0200 |
parents | 0530547a131f |
children | d264850806dc |
comparison
equal
deleted
inserted
replaced
133:0530547a131f | 134:faac82748f5a |
---|---|
112 result.process(self) | 112 result.process(self) |
113 | 113 |
114 def mouse_move(self, event): | 114 def mouse_move(self, event): |
115 self.state.mouse_move_detail(event.pos) | 115 self.state.mouse_move_detail(event.pos) |
116 | 116 |
117 def show_message(self, message): | |
118 # Display the message as a modal dialog | |
119 MessageDialog(message, 60).present() | |
120 # queue a redraw to show updated state | |
121 self.invalidate() | |
122 | |
117 | 123 |
118 class ToolBar(Row): | 124 class ToolBar(Row): |
119 def __init__(self, items): | 125 def __init__(self, items): |
120 for item in items: | 126 for item in items: |
121 item.height = BUTTON_SIZE | 127 item.height = BUTTON_SIZE |