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:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user