| 367 | |
| 368 | |
| 369 | juce::Rectangle<int> NodeBase::getBoundsWithoutHelp(Rectangle<int> originalHeight) const |
| 370 | { |
| 371 | auto helpBounds = helpManager.getHelpSize().toNearestInt(); |
| 372 | |
| 373 | auto isBelow = helpManager.isHelpBelow(); |
| 374 | |
| 375 | if(isBelow) |
| 376 | originalHeight.removeFromBottom(helpBounds.getHeight()); |
| 377 | else |
| 378 | originalHeight.removeFromRight(helpBounds.getWidth()); |
| 379 | |
| 380 | if (v_data[PropertyIds::Folded]) |
| 381 | return originalHeight.withHeight(UIValues::HeaderHeight); |
| 382 | else |
| 383 | { |
| 384 | return originalHeight; |
| 385 | } |
| 386 | } |
| 387 | |
| 388 | int NodeBase::getNumParameters() const |
| 389 | { |
no test coverage detected