(svn r21982) -Add: Wheel scrolling to console.
This commit is contained in:
@@ -342,6 +342,11 @@ struct IConsoleWindow : Window
|
|||||||
}
|
}
|
||||||
return ES_HANDLED;
|
return ES_HANDLED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
virtual void OnMouseWheel(int wheel)
|
||||||
|
{
|
||||||
|
this->Scroll(-wheel);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
int IConsoleWindow::scroll = 0;
|
int IConsoleWindow::scroll = 0;
|
||||||
|
Reference in New Issue
Block a user