GGUI::DragBridge struct

Lets a host route a drag between documents (windows). Called from the source document while it handles input.

Public variables

void* Context
bool(* Moved
The drag moved to (x, y) in from's space; may be outside it.
bool(* Released
The drag ended with no target in from. bDrop is false on cancel. Returns true if another document took it.

Variable documentation

void* GGUI::DragBridge::Context

passed to each function

bool(* GGUI::DragBridge::Moved

The drag moved to (x, y) in from's space; may be outside it.

Returns true if a release here would be taken outside from (another document, or the host itself), so the cursor shows the drop as allowed.