Exemplo 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();
    }
}
Exemplo 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);
	}
}
Exemplo 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());
	}
}