| 62 | } |
| 63 | |
| 64 | void ofApp::windowResized(int w, int h) |
| 65 | { |
| 66 | // reset the bounds to the new window dimensions // |
| 67 | if (mUseCustomBounds) setBounds(); |
| 68 | // and recenter the 2dpad component onscreen // |
| 69 | pad->setPosition(ofGetWidth()/2 - pad->getWidth()/2, ofGetHeight()/2 - pad->getHeight()/2); |
| 70 | } |
| 71 |
nothing calls this directly
no test coverage detected