First steps at getting drag & drop to work properly. Simple drag & drop (draging Tracker items) should work now. Not sure about the negotiated version (with mimetype exchange). Fixed left behind drag bitmaps. Some cleanup.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17058 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Michael Lotz
2006-04-10 21:22:05 +00:00
parent a4237b2a8e
commit 39cdae74a7
7 changed files with 67 additions and 50 deletions
+9
View File
@@ -136,6 +136,15 @@ class BMessage::Private {
return fMessage->fHeader->target == B_PREFERRED_TOKEN;
}
void
SetWasDropped(bool wasDropped)
{
if (wasDropped)
fMessage->fHeader->flags |= MESSAGE_FLAG_WAS_DROPPED;
else
fMessage->fHeader->flags &= ~MESSAGE_FLAG_WAS_DROPPED;
}
status_t
Clear()
{