Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
drag_drop.hpp File Reference
#include <pulp/view/geometry.hpp>
#include <pulp/view/view.hpp>
#include <cstdint>
#include <functional>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  pulp::view::DropData
class  pulp::view::DropReceiver
class  pulp::view::DropTarget
struct  pulp::view::DragSource
struct  pulp::view::FileDragRequest
class  pulp::view::detail::DragSessionState
struct  pulp::view::DragSession
struct  pulp::view::ActiveDrag

Namespaces

namespace  pulp
namespace  pulp::view
 Hover-cursor tracking for platform window hosts.
namespace  pulp::view::detail

Typedefs

using pulp::view::FileDragBackend = std::function<bool(const FileDragRequest&)>

Functions

bool pulp::view::begin_file_drag (void *native_view, const FileDragRequest &request)
FileDragBackend pulp::view::set_file_drag_backend (FileDragBackend backend)
bool pulp::view::invoke_file_drag_backend (const FileDragRequest &request)
bool pulp::view::register_drop_target (void *native_view, DropTarget &target)
void pulp::view::unregister_drop_target (void *native_view)
bool pulp::view::dispatch_drag_enter (View &root, DragSession &session, const DropData &data, Point root_pos)
void pulp::view::dispatch_drag_move (View &root, DragSession &session, const DropData &data, Point root_pos)
void pulp::view::dispatch_drag_exit (View &root, DragSession &session)
bool pulp::view::dispatch_drop (View &root, DragSession &session, const DropData &data, Point root_pos)