MCPcopy Create free account
hub / github.com/cinder/Cinder / keyDown

Method keyDown

samples/QuickTimeBasic/src/QuickTimeBasicApp.cpp:47–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45}
46
47void QuickTimeSampleApp::keyDown( KeyEvent event )
48{
49#if ! defined( CINDER_ANDROID )
50 if( event.getChar() == 'o' ) {
51 fs::path moviePath = getOpenFilePath();
52 if( ! moviePath.empty() )
53 loadMovieFile( moviePath );
54 }
55#endif
56}
57
58void QuickTimeSampleApp::loadMovieFile( const fs::path &moviePath )
59{

Callers

nothing calls this directly

Calls 2

getOpenFilePathFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected