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

Method VCVLightBezel

include/componentlibrary.hpp:932–937  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

930 app::ModuleLightWidget* light;
931
932 VCVLightBezel() {
933 light = new VCVBezelLight<TLightBase>;
934 // Move center of light to center of box
935 light->box.pos = box.size.div(2).minus(light->box.size.div(2));
936 addChild(light);
937 }
938
939 app::ModuleLightWidget* getLight() {
940 return light;

Callers

nothing calls this directly

Calls 2

minusMethod · 0.80
divMethod · 0.80

Tested by

no test coverage detected