diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-11-09 01:53:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-11-12 18:54:58 +0300 |
commit | 363223352ee9c4c7c1d65e49cf48b38b538abaf2 (patch) | |
tree | fd43f37cdcbe02083ef66fdd54baca3f0c709f0b /src/guichan/gui.cpp | |
parent | 9d66ae92ac714b4a4b21e588a3e2d481c352cd60 (diff) | |
download | ManaVerse-363223352ee9c4c7c1d65e49cf48b38b538abaf2.tar.gz ManaVerse-363223352ee9c4c7c1d65e49cf48b38b538abaf2.tar.bz2 ManaVerse-363223352ee9c4c7c1d65e49cf48b38b538abaf2.tar.xz ManaVerse-363223352ee9c4c7c1d65e49cf48b38b538abaf2.zip |
Moving Android on screen keyboard button from SDL to ManaPlus.
Also add basic functions for handling other on screen buttons.
Diffstat (limited to 'src/guichan/gui.cpp')
-rw-r--r-- | src/guichan/gui.cpp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/src/guichan/gui.cpp b/src/guichan/gui.cpp index ed4417650..f77a121d3 100644 --- a/src/guichan/gui.cpp +++ b/src/guichan/gui.cpp @@ -161,39 +161,6 @@ namespace gcn void Gui::handleMouseInput() { - BLOCK_START("Gui::handleMouseInput") - while (!mInput->isMouseQueueEmpty()) - { - const MouseInput mouseInput = mInput->dequeueMouseInput(); - - // Save the current mouse state. It will be needed if modal focus - // changes or modal mouse input focus changes. - mLastMouseX = mouseInput.getX(); - mLastMouseY = mouseInput.getY(); - - switch (mouseInput.getType()) - { - case MouseInput::PRESSED: - handleMousePressed(mouseInput); - break; - case MouseInput::RELEASED: - handleMouseReleased(mouseInput); - break; - case MouseInput::MOVED: - handleMouseMoved(mouseInput); - break; - case MouseInput::WHEEL_MOVED_DOWN: - handleMouseWheelMovedDown(mouseInput); - break; - case MouseInput::WHEEL_MOVED_UP: - handleMouseWheelMovedUp(mouseInput); - break; - default: - throw GCN_EXCEPTION("Unknown mouse input type."); - break; - } - } - BLOCK_END("Gui::handleMouseInput") } void Gui::handleKeyInput() |