diff options
author | Tametomo <irarice@gmail.com> | 2009-04-20 02:14:19 -0600 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-20 22:23:44 +0200 |
commit | 899f8e62b670726c61f8105f2226de448b180a19 (patch) | |
tree | 26ded058d794f2eb5345fbc5f2819b68d152d6a4 /src/gui/widgets/dropdown.h | |
parent | 4244e0f4b1cb1973ed2919dfbb4ce5beaf3eff96 (diff) | |
download | mana-899f8e62b670726c61f8105f2226de448b180a19.tar.gz mana-899f8e62b670726c61f8105f2226de448b180a19.tar.bz2 mana-899f8e62b670726c61f8105f2226de448b180a19.tar.xz mana-899f8e62b670726c61f8105f2226de448b180a19.zip |
Fixed key handling in dropdowns when the dropdown portion isn't visible.
Signed-off-by: Tametomo <irarice@gmail.com>
Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
Diffstat (limited to 'src/gui/widgets/dropdown.h')
-rw-r--r-- | src/gui/widgets/dropdown.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/gui/widgets/dropdown.h b/src/gui/widgets/dropdown.h index 83d43f63..e593b4e0 100644 --- a/src/gui/widgets/dropdown.h +++ b/src/gui/widgets/dropdown.h @@ -53,6 +53,16 @@ class DropDown : public gcn::DropDown void drawFrame(gcn::Graphics *graphics); + // Inherited from KeyListener + + void keyPressed(gcn::KeyEvent& keyEvent); + + // Inherited from MouseListener + + void mouseWheelMovedUp(gcn::MouseEvent& mouseEvent); + + void mouseWheelMovedDown(gcn::MouseEvent& mouseEvent); + protected: /** * Draws the button with the little down arrow. |