MCPcopy Create free account
hub / github.com/VCVRack/Rack / LedDisplayChoice

Method LedDisplayChoice

src/app/LedDisplay.cpp:91–97  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89
90
91LedDisplayChoice::LedDisplayChoice() {
92 box.size = window::mm2px(math::Vec(0, 28.0 / 3));
93 fontPath = asset::system("res/fonts/ShareTechMono-Regular.ttf");
94 textOffset = math::Vec(10, 18);
95 color = nvgRGB(0xff, 0xd7, 0x14);
96 bgColor = nvgRGBAf(0, 0, 0, 0);
97}
98
99
100void LedDisplayChoice::draw(const DrawArgs& args) {

Callers

nothing calls this directly

Calls 3

mm2pxFunction · 0.85
VecClass · 0.85
systemFunction · 0.85

Tested by

no test coverage detected