MCPcopy Create free account
hub / github.com/bluescan/tacentview / FileDropCallback

Method FileDropCallback

Src/TacentView.cpp:4079–4088  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4077
4078
4079void Viewer::FileDropCallback(GLFWwindow* window, int count, const char** files)
4080{
4081 if (count < 1)
4082 return;
4083
4084 tString file = tString(files[0]);
4085 ImageToLoad = file;
4086 PopulateImages();
4087 SetCurrentImage(file);
4088}
4089
4090
4091void Viewer::FocusCallback(GLFWwindow* window, int gotFocus)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected