diff options
author | jmarshallnz <jmarshallnz@svn> | 2010-01-09 09:05:41 +0000 |
---|---|---|
committer | jmarshallnz <jmarshallnz@svn> | 2010-01-09 09:05:41 +0000 |
commit | 8bd9964d8a756ac92149efe980e2616f8f2e5c4a (patch) | |
tree | 3e09129bec0c4c533d7d5fd1592faceca358dbb8 /guilib/GUIControlGroup.h | |
parent | f2508d4a464540428c7c0f293b356b5a5d1003b4 (diff) |
changed: Improved mouse event handling - we now pass events down through the control structure, giving better context for the performed event. Allows groups to react if their children don't.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@26577 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/GUIControlGroup.h')
-rw-r--r-- | guilib/GUIControlGroup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guilib/GUIControlGroup.h b/guilib/GUIControlGroup.h index e55393b657..b108812d0b 100644 --- a/guilib/GUIControlGroup.h +++ b/guilib/GUIControlGroup.h @@ -51,7 +51,7 @@ public: virtual void DynamicResourceAlloc(bool bOnOff); virtual bool CanFocus() const; - virtual void GetControlsFromPoint(const CPoint &point, std::vector< std::pair<CGUIControl *, CPoint> > &controls) const; + virtual bool SendMouseEvent(const CPoint &point, const CMouseEvent &event); virtual void UnfocusFromPoint(const CPoint &point); virtual void SetInitialVisibility(); |