Mercurial > boomslang
comparison pyntnclick/state.py @ 640:e8daeb766939 pyntnclick
Fix missing case
author | Neil Muller <neil@dip.sun.ac.za> |
---|---|
date | Sun, 12 Feb 2012 01:34:39 +0200 |
parents | d1ec9e739e23 |
children | 143c67501c79 |
comparison
equal
deleted
inserted
replaced
639:fdc63049b08c | 640:e8daeb766939 |
---|---|
313 def _get_description(self): | 313 def _get_description(self): |
314 text = (self.game.current_thing and | 314 text = (self.game.current_thing and |
315 self.game.current_thing.get_description()) | 315 self.game.current_thing.get_description()) |
316 if text is None: | 316 if text is None: |
317 return None | 317 return None |
318 label = TextWidget((10, 10), text) | 318 label = TextWidget((10, 10), self.gd, text) |
319 label.set_margin(5) | 319 label.set_margin(5) |
320 label.border_width = 1 | 320 label.border_width = 1 |
321 label.border_color = (0, 0, 0) | 321 label.border_color = (0, 0, 0) |
322 label.bg_color = Color(210, 210, 210, 255) | 322 label.bg_color = Color(210, 210, 210, 255) |
323 label.fg_color = (0, 0, 0) | 323 label.fg_color = (0, 0, 0) |