Update BTabView for layout-friendly archiving. Added _InitContainerView() method that is called from _InitObject() but also called on its own during unarchival. Implemented BTabView::AllUnarchived() and implemented a case for this in BTabView::Perform().
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37796 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -96,6 +96,7 @@ public:
|
||||
static BArchivable* Instantiate(BMessage* archive);
|
||||
virtual status_t Archive(BMessage* into,
|
||||
bool deep = true) const;
|
||||
virtual status_t AllUnarchived(const BMessage* from);
|
||||
virtual status_t Perform(perform_code d, void* arg);
|
||||
|
||||
virtual void AttachedToWindow();
|
||||
@@ -182,6 +183,7 @@ private:
|
||||
|
||||
private:
|
||||
void _InitObject(bool layouted, button_width width);
|
||||
void _InitContainerView(bool layouted);
|
||||
BSize _TabsMinSize() const;
|
||||
float _BorderWidth() const;
|
||||
void _LayoutContainerView(bool layouted);
|
||||
|
||||
Reference in New Issue
Block a user