--------------------------------------------------------------
| 208 | |
| 209 | //-------------------------------------------------------------- |
| 210 | void testApp::draw(){ |
| 211 | ofPushStyle(); |
| 212 | |
| 213 | if(hoveringSeek){ |
| 214 | ofFill(); |
| 215 | ofSetColor(blueColor, 75+50 * sin(ofGetElapsedTimef()*10)*.5+.5); |
| 216 | ofRect(seekRect); |
| 217 | } |
| 218 | |
| 219 | ofNoFill(); |
| 220 | ofSetColor(redColor); |
| 221 | ofRect(seekRect); |
| 222 | |
| 223 | ofSetLineWidth(3); |
| 224 | ofLine(seekRect.x + seekPercent*seekRect.width, seekRect.getMinY(), |
| 225 | seekRect.x + seekPercent*seekRect.width, seekRect.getMaxY()); |
| 226 | |
| 227 | ofPopStyle(); |
| 228 | } |
| 229 | |
| 230 | //-------------------------------------------------------------- |
| 231 | void testApp::keyPressed(int key){ |
nothing calls this directly
no outgoing calls
no test coverage detected