Mercurial > boomslang
changeset 276:75f4ee46ac58
Better (and fixed) rect tool with toolbar overlay.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Fri, 27 Aug 2010 22:00:12 +0200 |
parents | d78ce15bccc8 |
children | 01b22664a12c |
files | tools/rect_drawer.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/tools/rect_drawer.py Fri Aug 27 21:57:13 2010 +0200 +++ b/tools/rect_drawer.py Fri Aug 27 22:00:12 2010 +0200 @@ -147,9 +147,9 @@ if self.draw_toolbar: toolbar_rect = pygame.rect.Rect(0, 550, 800, 50) tb_surf = surface.subsurface(0, 550, 800, 50).convert_alpha() - tb_surf.fill(Color(127, 0, 0, 127)) - surface.blit(tb_surf) - frame_rect(surface, (127, 0, 0), toolbar_rect, 5) + tb_surf.fill(pygame.color.Color(127, 0, 0, 191)) + surface.blit(tb_surf, (0, 550)) + # frame_rect(surface, (127, 0, 0), toolbar_rect, 2) def _make_dict(self): d = {}