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

Method setup

samples/QuickTimeBasic/src/QuickTimeBasicApp.cpp:35–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33};
34
35void QuickTimeSampleApp::setup()
36{
37#if defined( CINDER_ANDROID ) || defined( CINDER_LINUX )
38 fs::path moviePath = getAssetPath( "bbb.mp4" );
39#else
40 fs::path moviePath = getOpenFilePath();
41 console() << "moviePath: " << moviePath << std::endl;
42#endif
43 if( ! moviePath.empty() )
44 loadMovieFile( moviePath );
45}
46
47void QuickTimeSampleApp::keyDown( KeyEvent event )
48{

Callers

nothing calls this directly

Calls 3

getAssetPathFunction · 0.85
getOpenFilePathFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected