# HG changeset patch # User Jeremy Thurgood # Date 1282939212 -7200 # Node ID 75f4ee46ac58c37d682a48389291ddf4b6ae1b7f # Parent d78ce15bccc854801c0da8cc08780bd90a68e970 Better (and fixed) rect tool with toolbar overlay. diff -r d78ce15bccc8 -r 75f4ee46ac58 tools/rect_drawer.py --- 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 = {}