Example #1
0
void CaptureApp::keyDown( KeyEvent event )
{
#if defined( CINDER_MAC )
	if( event.getChar() == 'f' )
		setFullScreen( ! isFullScreen() );
	else if( event.getChar() == ' ' )
		( mCapture && mCapture.isCapturing() ) ? mCapture.stop() : mCapture.start();
#endif
}
Example #2
0
void PhotoBoothApp::quit(){
    if(mCapture.isCapturing()){
        mCapture.stop();
    }
}