| 94 | } |
| 95 | |
| 96 | void TremoloEffect::DrawModule() |
| 97 | { |
| 98 | if (!mEnabled) |
| 99 | return; |
| 100 | |
| 101 | mAmountSlider->Draw(); |
| 102 | mIntervalSelector->Draw(); |
| 103 | mOffsetSlider->Draw(); |
| 104 | mOscSelector->Draw(); |
| 105 | mDutySlider->Draw(); |
| 106 | |
| 107 | ofPushStyle(); |
| 108 | ofSetColor(0, 200, 0, gModuleDrawAlpha * .3f); |
| 109 | ofFill(); |
| 110 | ofRect(5, 4, mLFO.Value() * 85 * mAmount, 14); |
| 111 | ofPopStyle(); |
| 112 | } |
| 113 | |
| 114 | float TremoloEffect::GetEffectAmount() |
| 115 | { |
nothing calls this directly
no test coverage detected