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

Method __init__

brainworkshop.py:2943–2949  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2941# this is the word "workshop" below the brain logo.
2942class LogoLowerLabel:
2943 def __init__(self):
2944 self.label = pyglet.text.Label(
2945 'Workshop',
2946 font_size=calc_fontsize(11), bold = True,
2947 color=cfg.COLOR_TEXT,
2948 x=field.center_x, y=field.center_y - scale_to_height(27),
2949 anchor_x='center', anchor_y='center')
2950 def draw(self):
2951 self.label.draw()
2952

Callers

nothing calls this directly

Calls 2

calc_fontsizeFunction · 0.85
scale_to_heightFunction · 0.85

Tested by

no test coverage detected