Add FBC padding to ALM classes.
This commit is contained in:
@@ -60,6 +60,8 @@ private:
|
||||
|
||||
std::vector<ALMGroup> fGroups;
|
||||
enum orientation fOrientation;
|
||||
|
||||
uint32 _reserved[4];
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -108,6 +108,8 @@ public:
|
||||
virtual BSize BasePreferredSize();
|
||||
virtual BAlignment BaseAlignment();
|
||||
|
||||
virtual status_t Perform(perform_code d, void* arg);
|
||||
|
||||
protected:
|
||||
virtual bool ItemAdded(BLayoutItem* item, int32 atIndex);
|
||||
virtual void ItemRemoved(BLayoutItem* item, int32 fromIndex);
|
||||
@@ -116,6 +118,24 @@ protected:
|
||||
virtual void DoLayout();
|
||||
|
||||
private:
|
||||
|
||||
// FBC padding
|
||||
virtual void _ReservedALMLayout1();
|
||||
virtual void _ReservedALMLayout2();
|
||||
virtual void _ReservedALMLayout3();
|
||||
virtual void _ReservedALMLayout4();
|
||||
virtual void _ReservedALMLayout5();
|
||||
virtual void _ReservedALMLayout6();
|
||||
virtual void _ReservedALMLayout7();
|
||||
virtual void _ReservedALMLayout8();
|
||||
virtual void _ReservedALMLayout9();
|
||||
virtual void _ReservedALMLayout10();
|
||||
|
||||
// forbidden methods
|
||||
BALMLayout(const BALMLayout&);
|
||||
void operator =(const BALMLayout&);
|
||||
|
||||
|
||||
friend class XTab;
|
||||
friend class YTab;
|
||||
friend class Area;
|
||||
@@ -154,6 +174,8 @@ private:
|
||||
YTabList fYTabList;
|
||||
|
||||
RowColumnManager* fRowColumnManager;
|
||||
|
||||
uint32 _reserved[5];
|
||||
};
|
||||
|
||||
} // namespace BALM
|
||||
|
||||
@@ -112,6 +112,9 @@ private:
|
||||
void _UpdateMinSizeConstraint(BSize min);
|
||||
void _UpdateMaxSizeConstraint(BSize max);
|
||||
private:
|
||||
friend class BALMLayout;
|
||||
friend class RowColumnManager;
|
||||
|
||||
BLayoutItem* fLayoutItem;
|
||||
int32 fID;
|
||||
|
||||
@@ -141,10 +144,7 @@ private:
|
||||
LinearProgramming::Constraint* fMaxContentHeight;
|
||||
LinearProgramming::Constraint* fContentAspectRatioC;
|
||||
|
||||
public:
|
||||
friend class BALMLayout;
|
||||
friend class RowColumnManager;
|
||||
|
||||
uint32 _reserved[2];
|
||||
};
|
||||
|
||||
} // namespace BALM
|
||||
|
||||
@@ -30,6 +30,8 @@ protected:
|
||||
|
||||
private:
|
||||
BALMLayout* fALMLayout;
|
||||
|
||||
uint32 _reserved[2];
|
||||
};
|
||||
|
||||
|
||||
@@ -43,6 +45,8 @@ protected:
|
||||
|
||||
private:
|
||||
BALMLayout* fALMLayout;
|
||||
|
||||
uint32 _reserved[2];
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -941,3 +941,23 @@ BALMLayout::_UpdateAreaConstraints()
|
||||
AreaFor(ItemAt(i))->InvalidateSizeConstraints();
|
||||
fRowColumnManager->UpdateConstraints();
|
||||
}
|
||||
|
||||
|
||||
status_t
|
||||
BALMLayout::Perform(perform_code d, void* arg)
|
||||
{
|
||||
return BAbstractLayout::Perform(d, arg);
|
||||
}
|
||||
|
||||
|
||||
void BALMLayout::_ReservedALMLayout1() {}
|
||||
void BALMLayout::_ReservedALMLayout2() {}
|
||||
void BALMLayout::_ReservedALMLayout3() {}
|
||||
void BALMLayout::_ReservedALMLayout4() {}
|
||||
void BALMLayout::_ReservedALMLayout5() {}
|
||||
void BALMLayout::_ReservedALMLayout6() {}
|
||||
void BALMLayout::_ReservedALMLayout7() {}
|
||||
void BALMLayout::_ReservedALMLayout8() {}
|
||||
void BALMLayout::_ReservedALMLayout9() {}
|
||||
void BALMLayout::_ReservedALMLayout10() {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user