Make BALM::InsetForTab() methods const.
This commit is contained in:
parent
0da6f2e916
commit
7e021d45da
@ -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);
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user