MCPcopy Create free account
hub / github.com/brain-workshop/brainworkshop / __init__

Method __init__

brainworkshop.py:2931–2937  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2929# this is the word "brain" above the brain logo.
2930class LogoUpperLabel:
2931 def __init__(self):
2932 self.label = pyglet.text.Label(
2933 'Brain', # I think we shouldn't translate the program name. Yes?
2934 font_size=calc_fontsize(11), bold = True,
2935 color=cfg.COLOR_TEXT,
2936 x=field.center_x, y=field.center_y + scale_to_height(30),
2937 anchor_x='center', anchor_y='center')
2938 def draw(self):
2939 self.label.draw()
2940

Callers

nothing calls this directly

Calls 2

calc_fontsizeFunction · 0.85
scale_to_heightFunction · 0.85

Tested by

no test coverage detected