struct EE::Window::FileSaveDrop

Overview

A drop whose source creates the file itself where it is dropped (the XDS direct save protocol, XdndDirectSave0): archive managers extracting entries, browsers saving images. More…

#include <draganddrop.hpp>

struct FileSaveDrop {
    // fields

    std::string fileName;
    Math::Vector2f position;
};

Detailed Documentation

A drop whose source creates the file itself where it is dropped (the XDS direct save protocol, XdndDirectSave0): archive managers extracting entries, browsers saving images.

Fields

std::string fileName

The name the source suggests for the file. Archive managers send a placeholder: they only use the folder.

Math::Vector2f position

Where it was dropped, in window coordinates.