def __init__(self, display, text, font_index=7, size=config.CLOCK_FONT_SIZE): View.__init__(self, display) self.text = text self.size = size self.font_path = f"./fonts/{config.FONTS[font_index][0]}" self._create_font()
def __init__(self, display): View.__init__(self, display) self._set_clock_font()
def __init__(self, display): View.__init__(self, display) self.font = ImageFont.truetype(f"./fonts/{config.FONTS[3][0]}", floor(8 * config.FONTS[3][1]))
def __init__(self, display): View.__init__(self, display)
def __init__(self, display): View.__init__(self, display) random.seed() self._randomize()