diff options
author | jmarshallnz <jmarshallnz@svn> | 2010-01-06 04:46:12 +0000 |
---|---|---|
committer | jmarshallnz <jmarshallnz@svn> | 2010-01-06 04:46:12 +0000 |
commit | 5da130fb49b997deea4845b4d665f3ddd9ac15a0 (patch) | |
tree | 445d4cfa0a6aa5c5e499554b0defc5378bbff7a4 /guilib/GUIBaseContainer.h | |
parent | 0498d2938afb198acf3226ce842ed1174aba49b6 (diff) |
cleanup: removed unused function, and moved the list implementation of SelectItemFromPoint out of CGUIBaseContainer
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@26447 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/GUIBaseContainer.h')
-rw-r--r-- | guilib/GUIBaseContainer.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/guilib/GUIBaseContainer.h b/guilib/GUIBaseContainer.h index 3081446d8d..6daa93dcd6 100644 --- a/guilib/GUIBaseContainer.h +++ b/guilib/GUIBaseContainer.h @@ -91,13 +91,11 @@ public: #endif protected: bool OnClick(int actionID); - virtual bool SelectItemFromPoint(const CPoint &point); virtual void Render(); virtual void RenderItem(float posX, float posY, CGUIListItem *item, bool focused); virtual void Scroll(int amount); virtual bool MoveDown(bool wrapAround); virtual bool MoveUp(bool wrapAround); - virtual void MoveToItem(int item); virtual void ValidateOffset(); virtual int CorrectOffset(int offset, int cursor) const; virtual void UpdateLayout(bool refreshAllItems = false); @@ -105,6 +103,7 @@ protected: virtual void UpdatePageControl(int offset); virtual void CalculateLayout(); virtual void SelectItem(int item) {}; + virtual bool SelectItemFromPoint(const CPoint &point) { return false; }; virtual void Reset(); virtual unsigned int GetNumItems() const { return m_items.size(); }; virtual int GetCurrentPage() const; |