MCPcopy Create free account
hub / github.com/christophhart/HISE / getHelpSize

Method getHelpSize

hi_scripting/scripting/scriptnode/api/NodeBase.cpp:1510–1523  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1508}
1509
1510juce::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
1525bool HelpManager::isHelpBelow() const
1526{

Callers 6

getBoundsToDisplayMethod · 0.80
getBoundsWithoutHelpMethod · 0.80
resizedMethod · 0.80
drawHelpMethod · 0.80
resizeNodesMethod · 0.80
paintOverChildrenMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected