(self)
| 3176 | # this is the text that shows the seconds per trial and the number of trials. |
| 3177 | class SessionInfoLabel: |
| 3178 | def __init__(self): |
| 3179 | self.label = pyglet.text.Label( |
| 3180 | '', |
| 3181 | multiline = True, width = scale_to_width(128), |
| 3182 | font_size=calc_fontsize(11), |
| 3183 | color=cfg.COLOR_TEXT, |
| 3184 | x=from_left_edge(20), y=from_bottom_edge(145), |
| 3185 | anchor_x='left', anchor_y='top', batch=batch) |
| 3186 | self.update() |
| 3187 | def update(self): |
| 3188 | if mode.started or CLINICAL_MODE: |
| 3189 | self.label.text = '' |
nothing calls this directly
no test coverage detected