MCPcopy Create free account
hub / github.com/VitalAudio/visage / dragFilesEnter

Method dragFilesEnter

examples/Showcase/examples_frame.cpp:155–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153 std::string dragDropFileExtensionRegex() override { return ".*"; }
154
155 void dragFilesEnter(const std::vector<std::string>& paths) override {
156 dragging_ = true;
157 dropped_ = false;
158 filename_ = visage::fileName(paths[0]);
159 redraw();
160 }
161
162 void dragFilesExit() override {
163 dragging_ = false;

Callers

nothing calls this directly

Calls 1

fileNameFunction · 0.85

Tested by

no test coverage detected