(self)
| 3409 | # this controls the title of the session history chart. |
| 3410 | class ChartTitleLabel: |
| 3411 | def __init__(self): |
| 3412 | self.label = pyglet.text.Label( |
| 3413 | '', |
| 3414 | font_size=calc_fontsize(10), |
| 3415 | bold = True, |
| 3416 | color = cfg.COLOR_TEXT, |
| 3417 | x = from_right_edge(30), |
| 3418 | y = from_top_edge(85), |
| 3419 | anchor_x = 'right', |
| 3420 | anchor_y = 'top', |
| 3421 | batch = batch) |
| 3422 | self.update() |
| 3423 | def update(self): |
| 3424 | if mode.started: |
| 3425 | self.label.text = '' |
nothing calls this directly
no test coverage detected