diff options
author | Max Horn | 2007-06-30 12:26:59 +0000 |
---|---|---|
committer | Max Horn | 2007-06-30 12:26:59 +0000 |
commit | 2243197f502c06076f493151429e3188b9c2a760 (patch) | |
tree | e80f331d5cdd944cec632a74dd081a166858b093 /gui/TabWidget.cpp | |
parent | 9720742722bc61bb3cb0c8240417816855ea4ef7 (diff) | |
download | scummvm-rg350-2243197f502c06076f493151429e3188b9c2a760.tar.gz scummvm-rg350-2243197f502c06076f493151429e3188b9c2a760.tar.bz2 scummvm-rg350-2243197f502c06076f493151429e3188b9c2a760.zip |
Changed GUI system to use Common::KeyState state
svn-id: r27786
Diffstat (limited to 'gui/TabWidget.cpp')
-rw-r--r-- | gui/TabWidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/TabWidget.cpp b/gui/TabWidget.cpp index 38ea6229ec..c414f6bf3b 100644 --- a/gui/TabWidget.cpp +++ b/gui/TabWidget.cpp @@ -198,11 +198,11 @@ void TabWidget::handleMouseDown(int x, int y, int button, int clickCount) { } } -bool TabWidget::handleKeyDown(uint16 ascii, int keycode, int modifiers) { +bool TabWidget::handleKeyDown(Common::KeyState state) { // TODO: maybe there should be a way to switch between tabs // using the keyboard? E.g. Alt-Shift-Left/Right-Arrow or something // like that. - return Widget::handleKeyDown(ascii, keycode, modifiers); + return Widget::handleKeyDown(state); } void TabWidget::reflowLayout() { |