Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/VCVRack/Rack
/ SmallSimpleLight
Method
SmallSimpleLight
include/componentlibrary.hpp:204–206 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
202
template <typename TBase = GrayModuleLightWidget>
203
struct SmallSimpleLight : TBase {
204
SmallSimpleLight() {
205
this->box.size = mm2px(math::Vec(2, 2));
206
}
207
};
208
209
/** Based on the size of 1mm LEDs */
Callers
nothing calls this directly
Calls
2
mm2px
Function · 0.85
Vec
Class · 0.85
Tested by
no test coverage detected