Make Area insets more consistent with other HAIKU inset APIs.

This commit is contained in:
Alex Wilson
2012-05-03 08:44:29 +12:00
parent b99cf18c18
commit 7dd17203c8
2 changed files with 66 additions and 0 deletions
+7
View File
@@ -90,10 +90,17 @@ public:
void SetShrinkPenalties(BSize shrink);
void SetGrowPenalties(BSize grow);
void GetInsets(float* left, float* top, float* right,
float* bottom) const;
float LeftInset() const;
float TopInset() const;
float RightInset() const;
float BottomInset() const;
void SetInsets(float insets);
void SetInsets(float horizontal, float vertical);
void SetInsets(float left, float top, float right,
float bottom);
void SetLeftInset(float left);
void SetTopInset(float top);
void SetRightInset(float right);