Esempio n. 1
0
void YamlImporterApp::fileDrop(ci::app::FileDropEvent event) {
    for(auto it = event.getFiles().begin(); it < event.getFiles().end(); ++it) {
        ModelMaker mm;
        mm.mYamlFileLocation = (*it).string();
        mm.run();
    }
}
Esempio n. 2
0
void https_example::fileDrop(ci::app::FileDropEvent event){
	std::vector<std::string> paths;
	for(auto it = event.getFiles().begin(); it < event.getFiles().end(); ++it){
		//paths.push_back((*it).string());

		ds::ui::MediaViewer* mv = new ds::ui::MediaViewer(mEngine, (*it).string(), true);
		mv->initialize();
		mEngine.getRootSprite().addChildPtr(mv);
	}
}
Esempio n. 3
0
void https_example::fileDrop(ci::app::FileDropEvent event){
	std::vector<std::string> paths;
	for(auto it = event.getFiles().begin(); it < event.getFiles().end(); ++it){
		//paths.push_back((*it).string());
	}
}