From 28632c48ce10b1bd393dd0e92dbfcfe7244db119 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 20 Feb 2004 18:43:34 +0000 Subject: [PATCH] Added a private static BorderSize() method. I wonder why those functions are exposed at all... git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6663 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/interface/ScrollView.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/headers/os/interface/ScrollView.h b/headers/os/interface/ScrollView.h index 8e24a807ac..26ae19e510 100644 --- a/headers/os/interface/ScrollView.h +++ b/headers/os/interface/ScrollView.h @@ -15,7 +15,7 @@ class BScrollView : public BView { public: BScrollView(const char *name, BView *target, - uint32 resizeMask = B_FOLLOW_LEFT | B_FOLLOW_TOP, + uint32 resizingMode = B_FOLLOW_LEFT | B_FOLLOW_TOP, uint32 flags = 0, bool horizontal = false, bool vertical = false, border_style border = B_FANCY_BORDER); BScrollView(BMessage *archive); @@ -75,6 +75,7 @@ class BScrollView : public BView { BScrollView &operator=(const BScrollView &); static BRect CalcFrame(BView *target, bool h, bool v, border_style); + static float BorderSize(border_style border); static int32 ModifyFlags(int32 flags, border_style); BView *fTarget;