projects
/
naja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some MSB is required when required.
[naja.git]
/
naja
/
widgets
/
info_area.py
diff --git
a/naja/widgets/info_area.py
b/naja/widgets/info_area.py
index d8e77b9b8103bbbfc6df76f0672b8b8b579ac006..f0f8eefee7c86b1ac291c9f418d915cba17d2118 100644
(file)
--- 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
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)))
for glyph in action.get_glyphs():
img = resources.get_image(
glyph, transforms=(EIGHT_BIT, blender(PALETTE.GREY)))