diff options
author | jmarshallnz <jmarshallnz@svn> | 2010-03-25 01:47:49 +0000 |
---|---|---|
committer | jmarshallnz <jmarshallnz@svn> | 2010-03-25 01:47:49 +0000 |
commit | 4c60cde8e90155bc71d564adbad820f4f438133d (patch) | |
tree | 3cdb9862bf3ee8e87edab0534e34b64ed5258b77 /guilib | |
parent | 7917bc7658f5fcf725d0569d767eba88686e6e8b (diff) |
changed: made CGUIBaseContainer::InsideLayout const
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@28794 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib')
-rw-r--r-- | guilib/GUIBaseContainer.cpp | 2 | ||||
-rw-r--r-- | guilib/GUIBaseContainer.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/guilib/GUIBaseContainer.cpp b/guilib/GUIBaseContainer.cpp index a69c01e454..87d87113fc 100644 --- a/guilib/GUIBaseContainer.cpp +++ b/guilib/GUIBaseContainer.cpp @@ -928,7 +928,7 @@ void CGUIBaseContainer::FreeMemory(int keepStart, int keepEnd) } } -bool CGUIBaseContainer::InsideLayout(const CGUIListItemLayout *layout, const CPoint &point) +bool CGUIBaseContainer::InsideLayout(const CGUIListItemLayout *layout, const CPoint &point) const { if (!layout) return false; if ((m_orientation == VERTICAL && layout->Size(HORIZONTAL) && point.x > layout->Size(HORIZONTAL)) || diff --git a/guilib/GUIBaseContainer.h b/guilib/GUIBaseContainer.h index d4e76c8fa3..ab6cf2626b 100644 --- a/guilib/GUIBaseContainer.h +++ b/guilib/GUIBaseContainer.h @@ -112,7 +112,7 @@ protected: virtual void Reset(); virtual unsigned int GetNumItems() const { return m_items.size(); }; virtual int GetCurrentPage() const; - bool InsideLayout(const CGUIListItemLayout *layout, const CPoint &point); + bool InsideLayout(const CGUIListItemLayout *layout, const CPoint &point) const; inline float Size() const; void MoveToRow(int row); |