MCPcopy Create free account
hub / github.com/DISTRHO/DPF / ExampleUIMeters

Function ExampleUIMeters

examples/Meters/ExampleUIMeters.cpp:36–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34{
35public:
36 ExampleUIMeters()
37 : UI(128, 512),
38 // default color is green
39 fColor(93, 231, 61),
40 // which is value 0
41 fColorValue(0),
42 // init meter values to 0
43 fOutLeft(0.0f),
44 fOutRight(0.0f)
45 {
46 setGeometryConstraints(32, 128, false);
47 }
48
49protected:
50 /* --------------------------------------------------------------------------------------------------------

Callers 1

Calls 1

setGeometryConstraintsFunction · 0.50

Tested by

no test coverage detected