| 243 | |
| 244 | |
| 245 | static void dropCallback(GLFWwindow* win, int count, const char** paths) { |
| 246 | contextSet((Context*) glfwGetWindowUserPointer(win)); |
| 247 | std::vector<std::string> pathsVec; |
| 248 | for (int i = 0; i < count; i++) { |
| 249 | pathsVec.push_back(paths[i]); |
| 250 | } |
| 251 | APP->event->handleDrop(APP->window->internal->lastMousePos, pathsVec); |
| 252 | } |
| 253 | |
| 254 | |
| 255 | static void errorCallback(int error, const char* description) { |
nothing calls this directly
no test coverage detected