Save and restore layout.
This commit is contained in:
@@ -67,6 +67,7 @@ public:
|
||||
|
||||
Area* AreaFor(const BView* view) const;
|
||||
Area* AreaFor(const BLayoutItem* item) const;
|
||||
int32 CountAreas() const;
|
||||
Area* AreaAt(int32 index) const;
|
||||
Area* CurrentArea() const;
|
||||
bool SetCurrentArea(const Area* area);
|
||||
@@ -122,6 +123,9 @@ public:
|
||||
YTab* bottom = NULL, XTab* left = NULL,
|
||||
XTab* right = NULL);
|
||||
|
||||
bool SaveLayout(BMessage* archive) const;
|
||||
bool RestoreLayout(const BMessage* archive);
|
||||
|
||||
virtual BSize BaseMinSize();
|
||||
virtual BSize BaseMaxSize();
|
||||
virtual BSize BasePreferredSize();
|
||||
|
||||
Reference in New Issue
Block a user