ControlLook: Rename border param to borderStyle

border vs. borders is confusing.

BTabView: Rename border param to borderStyle

BTabView docs: rename border param to borderStyle

enumerate border styles in docs
This commit is contained in:
John Scipione
2016-04-29 14:31:05 -07:00
parent 262ddba25c
commit 3490eda827
5 changed files with 23 additions and 17 deletions
+2 -2
View File
@@ -240,7 +240,7 @@ public:
BRect verticalScrollBarFrame,
BRect horizontalScrollBarFrame,
const rgb_color& base,
border_style border,
border_style borderStyle,
uint32 flags = 0,
uint32 borders = B_ALL_BORDERS);
@@ -307,7 +307,7 @@ public:
virtual void DrawBorder(BView* view, BRect& rect,
const BRect& updateRect,
const rgb_color& base,
border_style border, uint32 flags = 0,
border_style borderStyle, uint32 flags = 0,
uint32 borders = B_ALL_BORDERS);
virtual void DrawRaisedBorder(BView* view, BRect& rect,
+1 -1
View File
@@ -162,7 +162,7 @@ public:
virtual void SetTabHeight(float height);
float TabHeight() const;
virtual void SetBorder(border_style border);
virtual void SetBorder(border_style borderStyle);
border_style Border() const;
BView* ContainerView() const;