diff options
author | jmarshallnz <jmarshallnz@svn> | 2010-01-10 09:51:44 +0000 |
---|---|---|
committer | jmarshallnz <jmarshallnz@svn> | 2010-01-10 09:51:44 +0000 |
commit | 6bad1095f41a98b72b9e8e49a2a44ea72508fb7c (patch) | |
tree | e7a6466ececbfa2b445fd976557f9601040e75a4 /guilib/GUIButtonScroller.h | |
parent | 2ebfc8547d04f17a9c21690a4ce49c46d8b4ec48 (diff) |
cleanup: Replaced OnMouseClick/DoubleClick/Wheel/Drag with OnMouseEvent
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@26626 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/GUIButtonScroller.h')
-rw-r--r-- | guilib/GUIButtonScroller.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/guilib/GUIButtonScroller.h b/guilib/GUIButtonScroller.h index 9405323864..4cb1d9cbfa 100644 --- a/guilib/GUIButtonScroller.h +++ b/guilib/GUIButtonScroller.h @@ -65,8 +65,6 @@ public: virtual void OnRight(); virtual void OnDown(); virtual bool OnMouseOver(const CPoint &point); - virtual bool OnMouseClick(int button, const CPoint &point); - virtual bool OnMouseWheel(char wheel, const CPoint &point); virtual void Render(); virtual void AllocResources(); virtual void FreeResources(); @@ -82,6 +80,7 @@ public: void LoadButtons(TiXmlNode *node); protected: + virtual bool OnMouseEvent(const CPoint &point, const CMouseEvent &event); virtual void UpdateColors(); int GetNext(int iCurrent) const; int GetPrevious(int iCurrent); |