Patch by Łukasz 'Sil2100' Zemczak: Made BStatusBar layout friendly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21936 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -14,6 +14,8 @@ class BStatusBar : public BView {
|
||||
public:
|
||||
BStatusBar(BRect frame, const char* name, const char* label = NULL,
|
||||
const char* trailingLabel = NULL);
|
||||
BStatusBar(const char* name, const char* label = NULL,
|
||||
const char* trailingLabel = NULL);
|
||||
BStatusBar(BMessage* archive);
|
||||
virtual ~BStatusBar();
|
||||
|
||||
@@ -69,6 +71,11 @@ class BStatusBar : public BView {
|
||||
|
||||
virtual status_t Perform(perform_code d, void* arg);
|
||||
|
||||
// Layout methods
|
||||
virtual BSize MinSize();
|
||||
virtual BSize MaxSize();
|
||||
virtual BSize PreferredSize();
|
||||
|
||||
private:
|
||||
virtual void _ReservedStatusBar2();
|
||||
virtual void _ReservedStatusBar3();
|
||||
|
||||
Reference in New Issue
Block a user