Mercurial > boomslang
comparison gamelib/widgets.py @ 213:20998c650ce1
Fixed rect_drawer tool and adjusted JIM message background.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Thu, 26 Aug 2010 19:34:16 +0200 |
parents | eb101b6fb3dd |
children | 146cec58ddd8 |
comparison
equal
deleted
inserted
replaced
212:2b820b4ba3bf | 213:20998c650ce1 |
---|---|
51 self.border_width = 1 | 51 self.border_width = 1 |
52 self.border_color = (0, 0, 0) | 52 self.border_color = (0, 0, 0) |
53 self.bg_color = (127, 127, 127) | 53 self.bg_color = (127, 127, 127) |
54 self.fg_color = (0, 0, 0) | 54 self.fg_color = (0, 0, 0) |
55 if style == "JIM": | 55 if style == "JIM": |
56 self.bg_color = Color(127, 0, 0, 191) | 56 self.bg_color = Color(255, 127, 127, 207) |
57 self.fg_color = (0, 0, 0) | 57 self.fg_color = (0, 0, 0) |
58 self.border_color = (255, 0, 0) | 58 self.border_color = (127, 0, 0) |
59 | 59 |
60 def draw_all(self, surface): | 60 def draw_all(self, surface): |
61 BoomLabel.draw_all(self, surface) | 61 BoomLabel.draw_all(self, surface) |
62 | 62 |
63 def _draw_all_no_bg(self, surface): | 63 def _draw_all_no_bg(self, surface): |