Add a bit more FBC stuff for the Layout API, which I missed before.
This commit is contained in:
@@ -37,6 +37,11 @@ protected:
|
|||||||
virtual status_t AllArchived(BMessage* archive) const;
|
virtual status_t AllArchived(BMessage* archive) const;
|
||||||
virtual status_t AllUnarchived(const BMessage* from);
|
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 LayoutInvalidated(bool children = false);
|
||||||
virtual void DoLayout();
|
virtual void DoLayout();
|
||||||
virtual bool ItemAdded(BLayoutItem* item, int32 atIndex);
|
virtual bool ItemAdded(BLayoutItem* item, int32 atIndex);
|
||||||
@@ -58,6 +63,10 @@ private:
|
|||||||
virtual void _ReservedCardLayout9();
|
virtual void _ReservedCardLayout9();
|
||||||
virtual void _ReservedCardLayout10();
|
virtual void _ReservedCardLayout10();
|
||||||
|
|
||||||
|
// forbidden methods
|
||||||
|
BCardLayout(const BCardLayout&);
|
||||||
|
void operator =(const BCardLayout&);
|
||||||
|
|
||||||
BSize fMin;
|
BSize fMin;
|
||||||
BSize fMax;
|
BSize fMax;
|
||||||
BSize fPreferred;
|
BSize fPreferred;
|
||||||
|
|||||||
@@ -85,6 +85,10 @@ private:
|
|||||||
virtual void _ReservedLayoutItem9();
|
virtual void _ReservedLayoutItem9();
|
||||||
virtual void _ReservedLayoutItem10();
|
virtual void _ReservedLayoutItem10();
|
||||||
|
|
||||||
|
// forbidden methods
|
||||||
|
BLayoutItem(const BLayoutItem&);
|
||||||
|
void operator =(const BLayoutItem&);
|
||||||
|
|
||||||
friend class BLayout;
|
friend class BLayout;
|
||||||
|
|
||||||
BLayout* fLayout;
|
BLayout* fLayout;
|
||||||
|
|||||||
@@ -39,6 +39,22 @@ public:
|
|||||||
static BArchivable* Instantiate(BMessage* from);
|
static BArchivable* Instantiate(BMessage* from);
|
||||||
|
|
||||||
private:
|
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;
|
BRect fFrame;
|
||||||
BSize fMinSize;
|
BSize fMinSize;
|
||||||
BSize fMaxSize;
|
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*
|
BArchivable*
|
||||||
BCardLayout::Instantiate(BMessage* from)
|
BCardLayout::Instantiate(BMessage* from)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -226,3 +226,15 @@ BSpaceLayoutItem::Instantiate(BMessage* from)
|
|||||||
return NULL;
|
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() {}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user