Add a bit more FBC stuff for the Layout API, which I missed before.
This commit is contained in:
parent
d56e7bd64d
commit
182e2ee973
@ -37,6 +37,11 @@ protected:
|
||||
virtual status_t AllArchived(BMessage* archive) const;
|
||||
virtual status_t AllUnarchived(const BMessage* from);
|
||||
|
||||
virtual status_t ItemArchived(BMessage* into, BLayoutItem* item,
|
||||
int32 index) const;
|
||||
virtual status_t ItemUnarchived(const BMessage* from,
|
||||
BLayoutItem* item, int32 index);
|
||||
|
||||
virtual void LayoutInvalidated(bool children = false);
|
||||
virtual void DoLayout();
|
||||
virtual bool ItemAdded(BLayoutItem* item, int32 atIndex);
|
||||
@ -58,6 +63,10 @@ private:
|
||||
virtual void _ReservedCardLayout9();
|
||||
virtual void _ReservedCardLayout10();
|
||||
|
||||
// forbidden methods
|
||||
BCardLayout(const BCardLayout&);
|
||||
void operator =(const BCardLayout&);
|
||||
|
||||
BSize fMin;
|
||||
BSize fMax;
|
||||
BSize fPreferred;
|
||||
|
@ -85,6 +85,10 @@ private:
|
||||
virtual void _ReservedLayoutItem9();
|
||||
virtual void _ReservedLayoutItem10();
|
||||
|
||||
// forbidden methods
|
||||
BLayoutItem(const BLayoutItem&);
|
||||
void operator =(const BLayoutItem&);
|
||||
|
||||
friend class BLayout;
|
||||
|
||||
BLayout* fLayout;
|
||||
|
@ -39,6 +39,22 @@ public:
|
||||
static BArchivable* Instantiate(BMessage* from);
|
||||
|
||||
private:
|
||||
// FBC padding
|
||||
virtual void _ReservedSpaceLayoutItem1();
|
||||
virtual void _ReservedSpaceLayoutItem2();
|
||||
virtual void _ReservedSpaceLayoutItem3();
|
||||
virtual void _ReservedSpaceLayoutItem4();
|
||||
virtual void _ReservedSpaceLayoutItem5();
|
||||
virtual void _ReservedSpaceLayoutItem6();
|
||||
virtual void _ReservedSpaceLayoutItem7();
|
||||
virtual void _ReservedSpaceLayoutItem8();
|
||||
virtual void _ReservedSpaceLayoutItem9();
|
||||
virtual void _ReservedSpaceLayoutItem10();
|
||||
|
||||
// forbidden methods
|
||||
BSpaceLayoutItem(const BSpaceLayoutItem&);
|
||||
void operator =(const BSpaceLayoutItem&);
|
||||
|
||||
BRect fFrame;
|
||||
BSize fMinSize;
|
||||
BSize fMaxSize;
|
||||
|
@ -235,6 +235,22 @@ BCardLayout::AllUnarchived(const BMessage* from)
|
||||
}
|
||||
|
||||
|
||||
status_t
|
||||
BCardLayout::ItemArchived(BMessage* into, BLayoutItem* item, int32 index) const
|
||||
{
|
||||
return BAbstractLayout::ItemArchived(into, item, index);
|
||||
}
|
||||
|
||||
|
||||
status_t
|
||||
BCardLayout::ItemUnarchived(const BMessage* from, BLayoutItem* item,
|
||||
int32 index)
|
||||
{
|
||||
return BAbstractLayout::ItemUnarchived(from, item, index);
|
||||
}
|
||||
|
||||
|
||||
|
||||
BArchivable*
|
||||
BCardLayout::Instantiate(BMessage* from)
|
||||
{
|
||||
|
@ -226,3 +226,15 @@ BSpaceLayoutItem::Instantiate(BMessage* from)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
void BSpaceLayoutItem::_ReservedSpaceLayoutItem1() {}
|
||||
void BSpaceLayoutItem::_ReservedSpaceLayoutItem2() {}
|
||||
void BSpaceLayoutItem::_ReservedSpaceLayoutItem3() {}
|
||||
void BSpaceLayoutItem::_ReservedSpaceLayoutItem4() {}
|
||||
void BSpaceLayoutItem::_ReservedSpaceLayoutItem5() {}
|
||||
void BSpaceLayoutItem::_ReservedSpaceLayoutItem6() {}
|
||||
void BSpaceLayoutItem::_ReservedSpaceLayoutItem7() {}
|
||||
void BSpaceLayoutItem::_ReservedSpaceLayoutItem8() {}
|
||||
void BSpaceLayoutItem::_ReservedSpaceLayoutItem9() {}
|
||||
void BSpaceLayoutItem::_ReservedSpaceLayoutItem10() {}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user