X-Git-Url: https://git.ctpug.org.za/?p=naja.git;a=blobdiff_plain;f=naja%2Fwidgets%2Finfo_area.py;h=f0f8eefee7c86b1ac291c9f418d915cba17d2118;hp=d8e77b9b8103bbbfc6df76f0672b8b8b579ac006;hb=a2e00020315065e5730f9fcdd50bf9200d575195;hpb=4c8d6169da3babec7982b14bf6647d3fbe268399 diff --git a/naja/widgets/info_area.py b/naja/widgets/info_area.py index d8e77b9..f0f8eef 100644 --- a/naja/widgets/info_area.py +++ b/naja/widgets/info_area.py @@ -150,6 +150,14 @@ class InfoAreaWidget(Widget): else: glyphs_x_offset = INFO_LEFT_PADDING + if BITS.MSB in action.required_bits: + msb = resources.get_image('board/msb_lock_decoration.png', + transforms=(EIGHT_BIT,)) + msb_rect = msb.get_rect() + self.surface.blit( + msb, (glyphs_x_offset - msb_rect.width - 4, glyphs_y_offset) + ) + for glyph in action.get_glyphs(): img = resources.get_image( glyph, transforms=(EIGHT_BIT, blender(PALETTE.GREY)))