More mousewheel support

This commit is contained in:
Henrik Rydgard committed 2013-07-08 12:34:39 +02:00
1 parent 57d3fa0134
commit 28fb341cb2
9 files changed
+71 -3

No files matched your search

+8
View File
@@ -41,6 +41,14 @@ void UIScreen::touch(const TouchInput &touch) {
}
}
void UIScreen::key(const KeyInput &key) {
if (root_) {
root_->Key(key);
} else {
ELOG("Tried to key without a view root");
}
}
UI::EventReturn UIScreen::OnBack(UI::EventParams &e) {
screenManager()->finishDialog(this, DR_OK);
return UI::EVENT_DONE;