summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-05-13 10:32:58 -0600
committerJared Adams <jaxad0127@gmail.com>2009-05-13 10:32:58 -0600
commitd401dcb26695bddec8c39edc8151dbe309378519 (patch)
tree9c2eb6f6fe5c49887ad397c8c3c0bef306d7ec0b
parent41465e6770a901ceb9a252f396bb369eab67ff7f (diff)
downloadmana-d401dcb26695bddec8c39edc8151dbe309378519.tar.gz
mana-d401dcb26695bddec8c39edc8151dbe309378519.tar.bz2
mana-d401dcb26695bddec8c39edc8151dbe309378519.tar.xz
mana-d401dcb26695bddec8c39edc8151dbe309378519.zip
Disable keyboard control of ItemContainers for now
-rw-r--r--src/gui/itemcontainer.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/itemcontainer.cpp b/src/gui/itemcontainer.cpp
index 26382cd2..54aa818b 100644
--- a/src/gui/itemcontainer.cpp
+++ b/src/gui/itemcontainer.cpp
@@ -192,7 +192,7 @@ void ItemContainer::distributeValueChangedEvent()
void ItemContainer::keyPressed(gcn::KeyEvent &event)
{
- switch (event.getKey().getValue())
+ /*switch (event.getKey().getValue())
{
case Key::LEFT:
moveHighlight(Left);
@@ -216,12 +216,12 @@ void ItemContainer::keyPressed(gcn::KeyEvent &event)
case Key::RIGHT_CONTROL:
mDescItems = true;
break;
- }
+ }*/
}
void ItemContainer::keyReleased(gcn::KeyEvent &event)
{
- switch (event.getKey().getValue())
+ /*switch (event.getKey().getValue())
{
case Key::LEFT_ALT:
case Key::RIGHT_ALT:
@@ -230,7 +230,7 @@ void ItemContainer::keyReleased(gcn::KeyEvent &event)
case Key::RIGHT_CONTROL:
mDescItems = false;
break;
- }
+ }*/
}
void ItemContainer::mousePressed(gcn::MouseEvent &event)