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

Method fileDrop

test/eventTest/src/eventTest.cpp:115–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115void EventTestApp::fileDrop( FileDropEvent event )
116{
117 stringstream ss;
118 ss << "You dropped files @ " << event.getPos() << "pt " << toPixels( event.getPos() ) << "px and the files were: " << endl;
119 for( size_t s = 0; s < event.getNumFiles(); ++s )
120 ss << event.getFile( s ) << endl;
121 console() << ss.str() << endl;
122}
123
124void EventTestApp::draw()
125{

Callers

nothing calls this directly

Calls 5

getNumFilesMethod · 0.80
getFileMethod · 0.80
toPixelsFunction · 0.50
getPosMethod · 0.45
strMethod · 0.45

Tested by

no test coverage detected