Better meaning API on both sides for the drag-n-drop operations, but I _swear_ there's a way to do this in the GrabSource/DropTarget instead.
This commit is contained in:
parent
47c219b86e
commit
3e0adf0c22
6 changed files with 26 additions and 23 deletions
|
@ -14,6 +14,6 @@ namespace guecs {
|
|||
};
|
||||
|
||||
struct DropTarget {
|
||||
std::function<bool()> action;
|
||||
std::function<bool()> commit;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue