(self)
| 3507 | |
| 3508 | class TodayLabel: |
| 3509 | def __init__(self): |
| 3510 | self.labelTitle = pyglet.text.Label( |
| 3511 | '', |
| 3512 | font_size=calc_fontsize(9), |
| 3513 | color = cfg.COLOR_TEXT, |
| 3514 | x=window.width, y=from_top_edge(5), |
| 3515 | anchor_x='right', anchor_y='top',width=scale_to_width(280), multiline=True, batch=batch) |
| 3516 | self.update() |
| 3517 | def update(self): |
| 3518 | if mode.started: |
| 3519 | self.labelTitle.text = '' |
nothing calls this directly
no test coverage detected