| 1508 | } |
| 1509 | |
| 1510 | juce::Rectangle<float> HelpManager::getHelpSize() const |
| 1511 | { |
| 1512 | if(showCommentButton()) |
| 1513 | { |
| 1514 | if(lastHeight != 0.0f || lastWidth != 0.0f) |
| 1515 | return { 0.0f, 0.0f, 30.0f, 30.0f }; |
| 1516 | |
| 1517 | return {}; |
| 1518 | } |
| 1519 | else |
| 1520 | { |
| 1521 | return { 0.0f, 0.0f, lastHeight > 0.0f ? lastWidth + 30.0f : 0.0f, lastHeight > 0.0f ? lastHeight + 20.0f : 0.0f }; |
| 1522 | } |
| 1523 | } |
| 1524 | |
| 1525 | bool HelpManager::isHelpBelow() const |
| 1526 | { |
no outgoing calls
no test coverage detected