MCPcopy Create free account
hub / github.com/YCAMInterlab/Duration / drawTooltips

Method drawTooltips

Duration/src/DurationController.cpp:1758–1768  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1756}
1757
1758void 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
1770void DurationController::drawTooltipDebug(){
1771 //draw tool tip position finder

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected