Implemented BSize returning layout methods.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27406 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2008-09-10 20:34:10 +00:00
parent 8bd9493d55
commit 7bf5abf425
2 changed files with 56 additions and 1 deletions
+7 -1
View File
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2001-2006, Haiku, Inc.
* Copyright (c) 2001-2008, Haiku, Inc. All rights reserved.
* Distributed under the terms of the MIT license.
*
* Authors:
@@ -71,6 +71,10 @@ class BScrollBar : public BView {
virtual void AllDetached();
virtual status_t GetSupportedSuites(BMessage *data);
virtual BSize MinSize();
virtual BSize MaxSize();
virtual BSize PreferredSize();
virtual status_t Perform(perform_code d, void *arg);
#if DISABLES_ON_WINDOW_DEACTIVATION
@@ -106,6 +110,8 @@ class BScrollBar : public BView {
const BRect& updateRect,
bool enabled, bool down);
BSize _MinSize() const;
float fMin;
float fMax;
float fSmallStep;