* Added FixSizeConstraints() functions, which adjust the elements of a (min,
max, preferred) size triple so that they are compatible with each other. * Implemented AlignInFrame(BView*, BRect). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21353 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -22,6 +22,11 @@ public:
|
||||
// static float SubtractSizesFloat(float a, float b);
|
||||
static int32 SubtractSizesInt32(int32 a, int32 b);
|
||||
static float SubtractDistances(float a, float b);
|
||||
|
||||
static void FixSizeConstraints(float& min, float& max,
|
||||
float& preferred);
|
||||
static void FixSizeConstraints(BSize& min, BSize& max,
|
||||
BSize& preferred);
|
||||
|
||||
static BSize ComposeSize(BSize size, BSize layoutSize);
|
||||
static BAlignment ComposeAlignment(BAlignment alignment,
|
||||
|
||||
Reference in New Issue
Block a user