Make BALM::InsetForTab() methods const.

This commit is contained in:
Alex Wilson 2012-01-17 16:07:48 +13:00
parent 0da6f2e916
commit 7e021d45da
2 changed files with 4 additions and 4 deletions

View File

@ -120,8 +120,8 @@ private:
friend class YTab;
friend class Area;
float InsetForTab(XTab* tab);
float InsetForTab(YTab* tab);
float InsetForTab(XTab* tab) const;
float InsetForTab(YTab* tab) const;
BLayoutItem* _LayoutItemToAdd(BView* view);

View File

@ -851,7 +851,7 @@ BALMLayout::GetSpacing(float *_hSpacing, float *_vSpacing) const
float
BALMLayout::InsetForTab(XTab* tab)
BALMLayout::InsetForTab(XTab* tab) const
{
if (tab == fLeft.Get())
return fLeftInset;
@ -862,7 +862,7 @@ BALMLayout::InsetForTab(XTab* tab)
float
BALMLayout::InsetForTab(YTab* tab)
BALMLayout::InsetForTab(YTab* tab) const
{
if (tab == fTop.Get())
return fTopInset;