(svn r21982) -Add: Wheel scrolling to console.

This commit is contained in:
frosch 2011-02-05 17:54:36 +00:00
parent 82f260e15f
commit e9e6444138
1 changed files with 5 additions and 0 deletions

View File

@ -342,6 +342,11 @@ struct IConsoleWindow : Window
}
return ES_HANDLED;
}
virtual void OnMouseWheel(int wheel)
{
this->Scroll(-wheel);
}
};
int IConsoleWindow::scroll = 0;