Mercurial > boomslang
diff pyntnclick/tools/utils.py @ 691:60bf20849231 pyntnclick
Fix detail loading in rect_drawer. Improve error reporting when loading fails
author | Neil Muller <neil@dip.sun.ac.za> |
---|---|
date | Tue, 14 Feb 2012 13:05:10 +0200 |
parents | 4a933444c99b |
children | f4853f817a7a |
line wrap: on
line diff
--- a/pyntnclick/tools/utils.py Tue Feb 14 12:24:33 2012 +0200 +++ b/pyntnclick/tools/utils.py Tue Feb 14 13:05:10 2012 +0200 @@ -11,6 +11,7 @@ for detail in state.detail_views: print ' ', detail + def draw_rect_image(surface, color, rect, thickness): """Draw a rectangle with lines thickness wide""" # top @@ -23,4 +24,3 @@ # right surface.fill(color, (rect.right - thickness, rect.top, thickness, rect.height)) -