I managed to miss these two files the last time I worked on resedit. How it took this long for me to notice, I'll never know. :/
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37771 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
ba12b8a9c1
commit
f8f48f3d14
|
@ -0,0 +1,26 @@
|
|||
/*
|
||||
* Copyright (c) 2005-2010, Haiku, Inc.
|
||||
* Distributed under the terms of the MIT license.
|
||||
*
|
||||
* Author:
|
||||
* DarkWyrm <darkwyrm@gmail.com>
|
||||
*/
|
||||
#include "ResListView.h"
|
||||
|
||||
ResListView::ResListView(const BRect &frame, const char *name, int32 resize, int32 flags,
|
||||
border_style border)
|
||||
: BColumnListView(frame,name,resize,flags,border)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
ResListView::MessageDropped(BMessage *msg, BPoint pt)
|
||||
{
|
||||
if (!Parent())
|
||||
return;
|
||||
|
||||
BMessenger messenger(Parent());
|
||||
msg->what = B_REFS_RECEIVED;
|
||||
messenger.SendMessage(msg);
|
||||
}
|
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
* Copyright (c) 2005-2010, Haiku, Inc.
|
||||
* Distributed under the terms of the MIT license.
|
||||
*
|
||||
* Author:
|
||||
* DarkWyrm <darkwyrm@gmail.com>
|
||||
*/
|
||||
#ifndef RESLISTVIEW_H
|
||||
#define RESLISTVIEW_H
|
||||
|
||||
#include "ColumnListView.h"
|
||||
|
||||
class ResListView : public BColumnListView
|
||||
{
|
||||
public:
|
||||
ResListView(const BRect &frame, const char *name, int32 resize, int32 flags,
|
||||
border_style border);
|
||||
void MessageDropped(BMessage *msg, BPoint pt);
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Reference in New Issue