Use new countdown glyphs.
[naja.git] / naja / widgets / text.py
index 6501fd730e6dd3912f581282181ee0250f516a0d..c4ac45600ec398a5679656eb668dbb3c174d41ce 100644 (file)
@@ -24,6 +24,7 @@ MARKUP_MAP = {
     'ANTICLOCKWISE': ('glyphs/anticlockwise.png', None),
     'SHIFT_LEFT': ('glyphs/shift_left.png', None),
     'SHIFT_RIGHT': ('glyphs/shift_right.png', None),
+    'COUNTDOWN': ('glyphs/countdown_4.png', PALETTE.DARK_VIOLET),
 
     'HEALTH_NOCOLOUR': ('glyphs/health.png', None),
     'WINTOKEN_NOCOLOUR': ('glyphs/win.png', None),
@@ -59,7 +60,7 @@ class TextWidget(Widget):
         self.centre = centre
         self.centre_pos = pos
         self.border = border
-        self.border_colour = border_colour
+        self.border_colour = convert_colour(border_colour)
         self.padding = padding
 
     def render_line(self, text):