Implement mouse event propagation
This commit is contained in:
parent
a0f52411d3
commit
8cc531e283
18 changed files with 135 additions and 60 deletions
|
|
@ -212,7 +212,7 @@ void LogViewer::OnPaint(Canvas* canvas)
|
|||
}
|
||||
}
|
||||
|
||||
void LogViewer::OnMouseWheel(const Point& pos, EInputKey key)
|
||||
bool LogViewer::OnMouseWheel(const Point& pos, EInputKey key)
|
||||
{
|
||||
if (key == IK_MouseWheelUp)
|
||||
{
|
||||
|
|
@ -222,6 +222,7 @@ void LogViewer::OnMouseWheel(const Point& pos, EInputKey key)
|
|||
{
|
||||
ScrollDown(4);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
void LogViewer::OnKeyDown(EInputKey key)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue