aboutsummaryrefslogtreecommitdiff
path: root/guilib/GUIResizeControl.cpp
diff options
context:
space:
mode:
authorjmarshallnz <jmarshallnz@svn>2010-03-25 02:02:06 +0000
committerjmarshallnz <jmarshallnz@svn>2010-03-25 02:02:06 +0000
commit44a3d70de84e60ed25c6c15258d01324cfe3377d (patch)
tree886ea6798d7009593f531208d746098488923a51 /guilib/GUIResizeControl.cpp
parent002fb7812778df0dc924f5159236a19a052661cf (diff)
changed: Make On/SendMouseEvent() return an enum rather than true/false.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@28796 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'guilib/GUIResizeControl.cpp')
-rw-r--r--guilib/GUIResizeControl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/guilib/GUIResizeControl.cpp b/guilib/GUIResizeControl.cpp
index c71dd8b738..3b77268d51 100644
--- a/guilib/GUIResizeControl.cpp
+++ b/guilib/GUIResizeControl.cpp
@@ -123,7 +123,7 @@ void CGUIResizeControl::OnRight()
Resize(m_fSpeed, 0);
}
-bool CGUIResizeControl::OnMouseEvent(const CPoint &point, const CMouseEvent &event)
+EVENT_RESULT CGUIResizeControl::OnMouseEvent(const CPoint &point, const CMouseEvent &event)
{
if (event.m_id == ACTION_MOUSE_DRAG)
{
@@ -138,9 +138,9 @@ bool CGUIResizeControl::OnMouseEvent(const CPoint &point, const CMouseEvent &eve
SendWindowMessage(msg);
}
Resize(event.m_offsetX, event.m_offsetY);
- return true;
+ return EVENT_RESULT_HANDLED;
}
- return false;
+ return EVENT_RESULT_UNHANDLED;
}
void CGUIResizeControl::UpdateSpeed(int nDirection)