Mercurial > boomslang
comparison gamelib/gamescreen.py @ 401:92029c76b687
Different toolbar colour and remove highlighted cursor outside scene widget.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Sat, 28 Aug 2010 21:30:15 +0200 |
parents | 1555677d86f6 |
children | c7a6846262e3 |
comparison
equal
deleted
inserted
replaced
400:0fd5796a1562 | 401:92029c76b687 |
---|---|
169 class ToolBar(Row): | 169 class ToolBar(Row): |
170 def __init__(self, items): | 170 def __init__(self, items): |
171 for item in items: | 171 for item in items: |
172 item.height = BUTTON_SIZE | 172 item.height = BUTTON_SIZE |
173 Row.__init__(self, items, spacing=0, width=SCREEN[0]) | 173 Row.__init__(self, items, spacing=0, width=SCREEN[0]) |
174 self.bg_color = (127, 127, 127) | |
174 | 175 |
175 | 176 |
176 class GameScreen(Screen, CursorWidget): | 177 class GameScreen(Screen, CursorWidget): |
177 def __init__(self, shell): | 178 def __init__(self, shell): |
178 CursorWidget.__init__(self, self) | 179 CursorWidget.__init__(self, self) |