예제 #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();
    }
}
예제 #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);
	}
}
예제 #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());
	}
}