| 273 | } |
| 274 | |
| 275 | int EffectChain::GetRowHeight(int row) const |
| 276 | { |
| 277 | float max = 0; |
| 278 | for (int i = 0; i < mEffects.size(); ++i) |
| 279 | { |
| 280 | if (i / mNumFXWide == row) |
| 281 | { |
| 282 | float w, h; |
| 283 | mEffects[i]->GetDimensions(w, h); |
| 284 | h += IDrawableModule::TitleBarHeight(); |
| 285 | h += 20; |
| 286 | max = MAX(h, max); |
| 287 | } |
| 288 | } |
| 289 | |
| 290 | return max; |
| 291 | } |
| 292 | |
| 293 | ofVec2f EffectChain::GetEffectPos(int index) const |
| 294 | { |
nothing calls this directly
no test coverage detected