Mercurial > rinkhals
changeset 37:497b53b69280
Always update the vidwidget.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Mon, 31 Aug 2009 13:27:27 +0000 |
parents | 5569430fd82e |
children | 03121c89d5fd |
files | gamelib/gameboard.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gamelib/gameboard.py Mon Aug 31 12:55:00 2009 +0000 +++ b/gamelib/gameboard.py Mon Aug 31 13:27:27 2009 +0000 @@ -73,7 +73,8 @@ tbl = gui.Table() tbl.tr() tbl.td(ToolBar(self), width=self.TOOLBAR_WIDTH) - tbl.td(VidWidget(self, self.tv, width=width-self.TOOLBAR_WIDTH, height=height)) + self.tvw = VidWidget(self, self.tv, width=width-self.TOOLBAR_WIDTH, height=height) + tbl.td(self.tvw) self.disp = gui.App() self.disp.init(tbl) @@ -81,6 +82,7 @@ self.disp.paint(screen) def update(self, screen): + self.tvw.reupdate() return self.disp.update(screen) def loop(self):