| 1756 | } |
| 1757 | |
| 1758 | void DurationController::drawTooltips(){ |
| 1759 | |
| 1760 | ofVec2f mousepoint(ofGetMouseX(), ofGetMouseY()); |
| 1761 | for(int i = 0; i < tooltips.size(); i++){ |
| 1762 | if(tooltips[i].sourceRect.inside(mousepoint)){ |
| 1763 | tooltipFont.drawString(tooltips[i].text, |
| 1764 | tooltips[i].displayPoint.x, |
| 1765 | tooltips[i].displayPoint.y); |
| 1766 | } |
| 1767 | } |
| 1768 | } |
| 1769 | |
| 1770 | void DurationController::drawTooltipDebug(){ |
| 1771 | //draw tool tip position finder |
nothing calls this directly
no outgoing calls
no test coverage detected