BDragger: add layout-aware constructor.
Somehow no one needed this yet.
This commit is contained in:
parent
66d980dfe8
commit
4cada3807c
@ -26,6 +26,8 @@ public:
|
||||
BDragger(BRect frame, BView* target,
|
||||
uint32 resizingMode = B_FOLLOW_NONE,
|
||||
uint32 flags = B_WILL_DRAW);
|
||||
BDragger(BView* target,
|
||||
uint32 flags = B_WILL_DRAW);
|
||||
BDragger(BMessage* data);
|
||||
virtual ~BDragger();
|
||||
|
||||
|
@ -130,6 +130,22 @@ BDragger::BDragger(BRect frame, BView* target, uint32 resizingMode,
|
||||
}
|
||||
|
||||
|
||||
BDragger::BDragger(BView* target, uint32 flags)
|
||||
:
|
||||
BView("_dragger_", flags),
|
||||
fTarget(target),
|
||||
fRelation(TARGET_UNKNOWN),
|
||||
fShelf(NULL),
|
||||
fTransition(false),
|
||||
fIsZombie(false),
|
||||
fErrCount(0),
|
||||
fPopUpIsCustom(false),
|
||||
fPopUp(NULL)
|
||||
{
|
||||
_InitData();
|
||||
}
|
||||
|
||||
|
||||
BDragger::BDragger(BMessage* data)
|
||||
:
|
||||
BView(data),
|
||||
|
Loading…
Reference in New Issue
Block a user