code: def draw_progress_bar(cb, message, value, max_value):
      
      m_x = cb.width // 2
      m_y = cb.height // 2
      w = len(message) + 4
      h = 3
      draw_box(cb, m_x - w // 2, m_y - 1, w, h)
      message = " %s " % message
      i = int((value / max_value) * (len(message) + 2))
      message = "$" + message[:i] + "$" + message[i:]
      draw_text(cb, m_x - w // 2 + 1, m_y, message)
docs: :type cb: cursebox.Cursebox