diff options
author | Stijn Buys <ingar@osirion.org> | 2008-11-05 21:26:45 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-11-05 21:26:45 +0000 |
commit | 27ab3566118e77754fefb32a41ee06cf24a59dfe (patch) | |
tree | e736ec12975eac6ddbb91a8adf6b4af970dae0aa /src/ui/console.cc | |
parent | 4be6238b85e9d4b39c4f1fc23ba05952df78179a (diff) |
console scrollwheel, glowing ok button
Diffstat (limited to 'src/ui/console.cc')
-rw-r--r-- | src/ui/console.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/console.cc b/src/ui/console.cc index 759d67d..0b7c278 100644 --- a/src/ui/console.cc +++ b/src/ui/console.cc @@ -155,11 +155,12 @@ bool Console::on_keypress(const int key, const unsigned int modifier) } return true; break; + case 512 + SDL_BUTTON_WHEELUP: case SDLK_PAGEUP: console_scrollpane->inc_scroll(scroll_offset); return true; break; - + case 512 + SDL_BUTTON_WHEELDOWN: case SDLK_PAGEDOWN: console_scrollpane->dec_scroll(scroll_offset); return true; |