| 113 | bool isDragDropSource() override { return true; } |
| 114 | |
| 115 | std::string startDragDropSource() override { |
| 116 | redraw(); |
| 117 | dragging_ = true; |
| 118 | source_file_ = visage::createTemporaryFile("txt"); |
| 119 | visage::replaceFileWithText(source_file_, "Example drag and drop source file."); |
| 120 | return source_file_.string(); |
| 121 | } |
| 122 | |
| 123 | void cleanupDragDropSource() override { |
| 124 | redraw(); |
nothing calls this directly
no test coverage detected